Improving Robustness In Sparse Autoencoders via Masked Regularization
Organizations: Lawrence Livermore National Laboratory, CA, USA
Abstract
Sparse autoencoders (SAEs) are widely used in mechanistic interpretability to project LLM activations onto sparse latent spaces. However, sparsity alone is an imperfect proxy for interpretability, and current training objectives often result in brittle latent representations. SAEs are known to be prone to feature absorption, where general features are subsumed by more specific ones due to co-occurrence, degrading interpretability despite high reconstruction fidelity. Recent negative results on Out-of-Distribution (OOD) performance further underscore broader robustness related failures tied to under-specified training objectives. We address this by proposing a masking-based regularization that randomly replaces tokens during training to disrupt co-occurrence patterns. This improves robustness across SAE architectures and sparsity levels reducing absorption, enhancing probing performance, and narrowing the OOD gap. Our results point toward a practical path for more reliable interpretability tools.
Figures & tables
| Metric | Method | ||||
|---|---|---|---|---|---|
| Mean Full Absorption ( ) | w/o Masking | 86.119 | 91.646 | 94.650 | 97.434 |
| w/ Masking | 88.475 | 93.450 | 96.437 | 98.003 | |
| Explained Variance ( ) | w/o Masking | 72.172 | 77.421 | 82.303 | 87.841 |
| w/ Masking | 71.266 | 76.874 | 82.419 | 88.823 | |
| Sparse Probing ( ) | w/o Masking | 73.483 | 75.099 | 78.705 | 79.574 |
| w/ Masking | 75.574 | 77.112 | 77.749 | 79.639 |
| Metric | Method | ||||
|---|---|---|---|---|---|
| Mean Full Absorption ( ) | w/o Masking | 90.805 | 97.365 | 98.969 | 99.174 |
| w/ Masking | 94.559 | 98.753 | 97.322 | 98.979 | |
| Explained Variance ( ) | w/o Masking | 53.516 | 58.984 | 64.453 | 69.922 |
| w/ Masking | 53.125 | 59.375 | 64.844 | 71.094 | |
| Sparse Probing ( ) | w/o Masking | 74.473 | 73.300 | 74.659 | 75.659 |
| w/ Masking | 74.206 | 77.341 | 74.243 | 75.363 |
| Metric | ||||
|---|---|---|---|---|
| Mean Full Absorption ( ) | 86.119 | 87.379 | 88.475 | 89.602 |
| Explained Variance ( ) | 72.171 | 71.860 | 71.270 | 69.540 |
Sparse Autoencoders
Sparse autoencoders decompose neural network activations into sparse features to study, interpret, and control learned representations.
See all 217 papers