Low-Rank Adapting Models for Sparse Autoencoders
Matthew Chen, Joshua Engels, Max Tegmark
TL;DR
This work tackles interpretability of language models by leveraging Sparse Autoencoders (SAEs) to decompose hidden representations and proposes finetuning around a fixed SAE using Low-Rank Adaptation (LoRA). By freezing both the SAE and the base model and training low-rank adapters, the approach reduces the SAE loss gap $L_{\text{SAE}}-L_{\text{BASE}}$ by roughly $30\%-55\%$, while delivering 2×–20× speedups over end-to-end SAE training and enabling multiple SAEs to be adapted concurrently without harming general capabilities. Across diverse SAE families (TopK, JumpReLU) and model scales, the method yields consistent downstream benefits, as evidenced by SAEBench metrics and steering evaluations, and maintains general-domain performance on MMLU, HellaSwag, and TruthfulQA. The findings suggest that Pareto improvements in interpretability can be achieved not only through post-hoc decomposition but also via targeted, parameter-efficient modifications to the underlying language model when SAEs are present.
Abstract
Sparse autoencoders (SAEs) decompose language model representations into a sparse set of linear latent vectors. Recent works have improved SAEs using language model gradients, but these techniques require many expensive backward passes during training and still cause a significant increase in cross entropy loss when SAE reconstructions are inserted into the model. In this work, we improve on these limitations by taking a fundamentally different approach: we use low-rank adaptation (LoRA) to finetune the \textit{language model itself} around a previously trained SAE. We analyze our method across SAE sparsity, SAE width, language model size, LoRA rank, and model layer on the Gemma Scope family of SAEs. In these settings, our method reduces the cross entropy loss gap by 30\% to 55\% when SAEs are inserted during the forward pass. We also find that compared to end-to-end (e2e) SAEs, our approach achieves the same downstream cross entropy loss 3$\times$ to 20$\times$ faster on \gemma and 2$\times$ to 10$\times$ faster on \llama. We further show that our technique improves downstream metrics and can adapt multiple SAEs at once without harming general language model capabilities. Our results demonstrate that improving model interpretability is not limited to post-hoc SAE training; Pareto improvements can also be achieved by directly optimizing the model itself.
