© Neuronpedia 2026
Privacy & Terms
Blog
GitHub
Slack
Twitter
Contact
Neuronpedia
Jacobian Lens
NEW
Natural Language
Autoencoders
MAY 26
Assistant Axis
JAN 26
Circuit Tracer
APR 26
Releases
Jump To
Search
Steer
SAE Evals
Exports
interp-engine
NEW
Guides
Docs
Community
Blog
Privacy & Terms
Contact
Sign In
Home
Karvonen · Rager · Unifying Evaluation Metrics of Dictionary Learning
Gemma-2-2B
12-SAE_BENCH_0125-MATRYOSHKA_BATCH_TOPK-RES-16K__TRAINER_1
gemma-2-2b · 12-sae_bench_0125-matryoshka_batch_topk-res-16k__trainer_1
Source from
sae-bench-0125
·
· Layer 12
Configuration
Features
16,384
Data Type
bfloat16
Hook Name
blocks.12.hook_resid_post
Hook Layer
12
Architecture
matryoshka_batch_topk
Context Size
null
Dataset
Activation Function
Show All
SAE Evaluations
SAE Bench
Search Explanations
All
By Release
By Model
By Sources
MODEL
No SAEs Available
Layer 12 trainer_1
Show Dashboards
Hide Dashboards
Core
EVAL Code
EVAL Details
Core SAE evaluations measuring reconstruction quality, sparsity, and model preservation. From SAELens.
Configuration
Metrics
Miscellaneous Metrics
Fraction of Alive Features
0.98
Activation Frequency Over 1%
0.05
Activation Frequency Over 10%
0.00
Average Max Decoder Cosine Similarity
0.20
Average Max Encoder Cosine Similarity
0.16
Normalized Activation Frequency Over 1%
0.56
Normalized Activation Frequency Over 10%
0.14
Model Behavior Preservation
KL Divergence Score
0.98
KL Divergence with SAE
0.21
KL Divergence with Ablation
10.06
Model Performance Preservation
Cross Entropy Loss Score
0.98
CE Loss with SAE
3.14
CE Loss without SAE
2.94
CE Loss with Ablation
12.44
Reconstruction Quality
Mean Squared Error
2.13
Cosine Similarity
0.89
Explained Variance
0.66
Shrinkage
L2 Ratio
0.91
Input L2 Norm
149.00
Output L2 Norm
136.00
Relative Reconstruction Bias
1.02
Sparsity
L0 Sparsity
40.66
L1 Sparsity
446.00
Token Statistics
Total Tokens (Reconstruction)
409,600
Total Tokens (Sparsity/Variance)
4,096,000
Feature Density
Feature Density (x) vs Consistent Activation Heuristic (y) [Log10]
Feature Scatter Matrix
Encoder-Decoder Cosine Similarity
Absorption
EVAL Code
EVAL Details
The feature absorption evaluation looking at the first letter.
Configuration
Metrics
Mean Number of Split Features
1.04
Mean Full Absorption Score
0.04
Standard Deviation of Number of Split Features
0.20
Standard Deviation of Full Absorption Score
0.06
Mean Absorption Fraction Score
0.03
Standard Deviation of Absorption Fraction Score
0.06
Absorption Rate by First Letter
AutoInterp
EVAL Code
EVAL Details
An evaluation of the interpretability of SAE latents. This evaluation is based on Eleuther's 'Open Source Automated Interpretability for Sparse Autoencoder Features'
Configuration
Activation Threshold Fraction
0.01
Buffer Size
10
Dataset Name
monology/pile-uncopyrighted
Dead Latent Threshold
15
LLM Batch Size
32
LLM Context Size
128
LLM Data Type
bfloat16
Max Tokens in Explanation
30
Model Name
gemma-2-2b
Number of IW Sampled Examples for Generation
5
Number of IW Sampled Examples for Scoring
2
Number of Latents
1000
Number of Random Examples for Scoring
10
Number of Top Examples for Generation
10
Number of Top Examples for Scoring
2
No Overlap
true
Override Latents
Hover to View
Random Seed
42
Scoring
true
Total Tokens
2000000
Use Demos in Explanation
true
Metrics
AutoInterp Score
0.87
AutoInterp Standard Deviation
0.12
SCR
EVAL Code
EVAL Details
The Spurious Correlation Removal (SCR) evaluation ablates SAE latents to shift the bias of a biased linear probe. The methodology is from `Evaluating Sparse Autoencoders on Targeted Concept Removal Tasks`.
Configuration
Column 1 Values Lookup
Hover to View
LLM Context Length
128
Dataset Names
LabHC/bias_in_bios_class_set1
canrager/amazon_reviews_mcauley_1and5
Early Stopping Patience
20
LLM Batch Size
32
LLM Data Type
bfloat16
Lower Memory Usage
false
Model Name
gemma-2-2b
N Values
[2,5,10,20,50,100,500]
Perform Spurious Correlation Removal
true
Probe Epochs
20
Probe L1 Penalty
0.001
Probe LR
0.001
Probe Test Batch Size
500
Probe Train Batch Size
16
Random Seed
42
SAE Batch Size
125
Test Set Size
1000
Train Set Size
4000
Metrics
SCR Dir 1, Top 2 SAE latents
0.22
SCR Dir 1, Top 5 SAE latents
0.22
SCR Dir 2, Top 2 SAE latents
0.14
SCR Dir 2, Top 5 SAE latents
0.24
SCR Dir 1, Top 10 SAE latents
0.22
SCR Dir 1, Top 20 SAE latents
0.26
SCR Dir 1, Top 50 SAE latents
0.11
SCR Dir 2, Top 10 SAE latents
0.33
SCR Dir 2, Top 20 SAE latents
0.36
SCR Dir 2, Top 50 SAE latents
0.40
SCR Dir 1, Top 100 SAE latents
0.00
SCR Dir 1, Top 500 SAE latents
-0.36
SCR Dir 2, Top 100 SAE latents
0.32
SCR Dir 2, Top 500 SAE latents
0.27
SCR Metric, Top 2 SAE latents
0.14
SCR Metric, Top 5 SAE latents
0.24
SCR Metric, Top 10 SAE latents
0.32
SCR Metric, Top 20 SAE latents
0.35
SCR Metric, Top 50 SAE latents
0.39
SCR Metric, Top 100 SAE latents
0.32
SCR Metric, Top 500 SAE latents
0.24
Sparse Probing
EVAL Code
EVAL Details
An evaluation using SAEs to probe for supervised concepts in LLMs. We use sparse probing with the top K SAE latents and probe for over 30 different classes across 5 datasets.
Configuration
LLM Context Length
128
Dataset Names
LabHC/bias_in_bios_class_set1
LabHC/bias_in_bios_class_set2
LabHC/bias_in_bios_class_set3
canrager/amazon_reviews_mcauley_1and5
canrager/amazon_reviews_mcauley_1and5_sentiment
codeparrot/github-code
fancyzhx/ag_news
Helsinki-NLP/europarl
K Values
[1,2,5]
LLM Batch Size
32
LLM Data Type
bfloat16
Lower Memory Usage
false
Model Name
gemma-2-2b
Probe Test Set Size
1000
Probe Train Set Size
4000
Random Seed
42
SAE Batch Size
125
Metrics
LLM
LLM Test Accuracy
0.96
LLM Top 1 Test Accuracy
0.65
LLM Top 2 Test Accuracy
0.72
LLM Top 5 Test Accuracy
0.78
LLM Top 10 Test Accuracy
LLM Top 20 Test Accuracy
LLM Top 50 Test Accuracy
LLM Top 100 Test Accuracy
SAE
SAE Test Accuracy
0.95
SAE Top 1 Test Accuracy
0.78
SAE Top 2 Test Accuracy
0.81
SAE Top 5 Test Accuracy
0.87
SAE Top 10 Test Accuracy
SAE Top 20 Test Accuracy
SAE Top 50 Test Accuracy
SAE Top 100 Test Accuracy
TPP
EVAL Code
EVAL Details
The Targeted Probe Pertubation (TPP) evaluation ablates a set of SAE latents to damage a single targeted linear probe. The methodology is from `Evaluating Sparse Autoencoders on Targeted Concept Removal Tasks`.
Configuration
Column 1 Values Lookup
Hover to View
LLM Context Length
128
Dataset Names
LabHC/bias_in_bios_class_set1
canrager/amazon_reviews_mcauley_1and5
Early Stopping Patience
20
LLM Batch Size
32
LLM Data Type
bfloat16
Lower Memory Usage
false
Model Name
gemma-2-2b
N Values
[2,5,10,20,50,100,500]
Perform Spurious Correlation Removal
false
Probe Epochs
20
Probe L1 Penalty
0.001
Probe LR
0.001
Probe Test Batch Size
500
Probe Train Batch Size
16
Random Seed
42
SAE Batch Size
125
Test Set Size
1000
Train Set Size
4000
Metrics
TPP Metric, Top 2 SAE latents
0.01
TPP Metric, Top 5 SAE latents
0.02
TPP Metric, Top 10 SAE latents
0.03
TPP Metric, Top 20 SAE latents
0.06
TPP Metric, Top 50 SAE latents
0.14
TPP Metric, Top 100 SAE latents
0.22
TPP Metric, Top 500 SAE latents
0.36
TPP Intended Class, Top 2 SAE latents
0.01
TPP Intended Class, Top 5 SAE latents
0.02
TPP Intended Class, Top 10 SAE latents
0.04
TPP Intended Class, Top 20 SAE latents
0.07
TPP Intended Class, Top 50 SAE latents
0.15
TPP Intended Class, Top 100 SAE latents
0.24
TPP Unintended Class, Top 2 SAE latents
0.00
TPP Intended Class, Top 500 SAE latents
0.38
TPP Unintended Class, Top 5 SAE latents
0.01
TPP Unintended Class, Top 10 SAE latents
0.01
TPP Unintended Class, Top 20 SAE latents
0.01
TPP Unintended Class, Top 50 SAE latents
0.01
TPP Unintended Class, Top 100 SAE latents
0.02
TPP Unintended Class, Top 500 SAE latents
0.02
Unlearning
EVAL Code
EVAL Details
An evaluation of the ability of SAEs to unlearn biology knowledge from LLMs, using methodology from `Applying Sparse Autoencoders to Unlearn Knowledge in Language Models`
Configuration
Dataset Names
wmdp-bio
high_school_us_history
college_computer_science
high_school_geography
human_aging
Dataset Size
1024
Intervention Method
clamp_feature_activation
LLM Batch Size
4
LLM Data Type
bfloat16
Model Name
gemma-2-2b-it
Multipliers
[25,50,100,200]
N Batch Loss Added
50
N Features List
[10,20]
Random Seed
42
Retain Thresholds
0.001
0.01
Save Metrics Flag
true
Sequence Length
1024
Target Metric
correct
Metrics
Unlearning Score
0.06
RAVEL
EVAL Code
EVAL Details
An evaluation using SAEs for targeted modification of language model output. We leverage the RAVEL dataset of entity-attribute pairs. After filtering for known pairs, we identify attribute-related SAE latents and deterimine the effect on model predictions with activation patching experiments.
Configuration
Artifact Directory
artifacts/ravel
Selection of entity and attribute classes
Hover to View
Force Dataset Recompute
false
Full Dataset Downsample
Hover to View
Learning Rate
0.001
LLM Batch Size
32
LLM Data Type
bfloat16
Model Name
google/gemma-2-2b
Number of Generated Tokens
6
Number of Epochs
2
Number of Pairs per Attribute
5000
Random Seed
42
Number of distinct entities in the dataset
500
Number of distinct templates in the dataset
90
Train MDAS
false
Train Test Split
0.7
Metrics
Cause Score
0.66
Isolation Score
0.67
Disentanglement Score
0.67