Tokenized SAEs: Disentangling SAE Reconstructions
Thomas Dooms, Daniel Wilhelm
TL;DR
This work shows that sparse auto-encoders trained for language often learn features tied to local token statistics, a consequence of training data imbalance. It introduces Tokenized SAEs, adding a per-token bias via a lookup table to disentangle token reconstruction from context reconstruction, improving reconstruction quality while producing sparser, more semantically meaningful features. Across GPT-2 small and preliminary Pythia-1.4B experiments, TSAEs yield better Pareto-frontier performance, faster training, and robustness to deeper models, suggesting a practical path to more interpretable and efficient mechanistic analyses. The approach highlights the importance of accounting for data distribution biases when interpreting learned representations and opens avenues for incorporating multi-token statistics in interpretability pipelines.
Abstract
Sparse auto-encoders (SAEs) have become a prevalent tool for interpreting language models' inner workings. However, it is unknown how tightly SAE features correspond to computationally important directions in the model. This work empirically shows that many RES-JB SAE features predominantly correspond to simple input statistics. We hypothesize this is caused by a large class imbalance in training data combined with a lack of complex error signals. To reduce this behavior, we propose a method that disentangles token reconstruction from feature reconstruction. This improvement is achieved by introducing a per-token bias, which provides an enhanced baseline for interesting reconstruction. As a result, significantly more interesting features and improved reconstruction in sparse regimes are learned.
