Time-Aware Feature Selection: Adaptive Temporal Masking for Stable Sparse Autoencoder Training

Abstract

Understanding the internal representations of large language models is crucial for ensuring their reliability and safety, with sparse autoencoders (SAEs) emerging as a promising interpretability approach. However, current SAE training methods face feature absorption, where features (or neurons) are absorbed into each other to minimize $L_1$ penalty, making it difficult to consistently identify and analyze model behaviors. We introduce Adaptive Temporal Masking (ATM), a novel training approach that dynamically adjusts feature selection by tracking activation magnitudes, frequencies, and reconstruction contributions to compute importance scores that evolve over time. ATM applies a probabilistic masking mechanism based on statistical thresholding of these importance scores, creating a more natural feature selection process. Through extensive experiments on the Gemma-2-2b model, we demonstrate that ATM achieves substantially lower absorption scores compared to existing methods like TopK and JumpReLU SAEs, while maintaining excellent reconstruction quality. These results establish ATM as a principled solution for learning stable, interpretable features in neural networks, providing a foundation for more reliable model analysis.

Cite

Text

Li and Ren. "Time-Aware Feature Selection: Adaptive Temporal Masking for Stable Sparse Autoencoder Training." ICLR 2025 Workshops: XAI4Science, 2025. doi:10.48550/arxiv.2510.08855

Markdown

[Li and Ren. "Time-Aware Feature Selection: Adaptive Temporal Masking for Stable Sparse Autoencoder Training." ICLR 2025 Workshops: XAI4Science, 2025.](https://mlanthology.org/iclrw/2025/li2025iclrw-timeaware/) doi:10.48550/arxiv.2510.08855

BibTeX

@inproceedings{li2025iclrw-timeaware,
  title     = {{Time-Aware Feature Selection: Adaptive Temporal Masking for Stable Sparse Autoencoder Training}},
  author    = {Li, Ed and Ren, Junyu},
  booktitle = {ICLR 2025 Workshops: XAI4Science},
  year      = {2025},
  doi       = {10.48550/arxiv.2510.08855},
  url       = {https://mlanthology.org/iclrw/2025/li2025iclrw-timeaware/}
}