ReSAE: Residualized Sparse Autoencoders for Multi-Layer Transformer Interventions

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Poduval, Prathyush, Yeung, Calvin, Desai, Neel, Imani, Mohsen
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910264153079808
author Poduval, Prathyush
Yeung, Calvin
Desai, Neel
Imani, Mohsen
author_facet Poduval, Prathyush
Yeung, Calvin
Desai, Neel
Imani, Mohsen
contents Sparse autoencoders are usually trained one layer at a time, even though transformer residual stream activations are strongly coupled across depth. This creates a practical problem for multi-layer interventions: different layerwise dictionaries can spend capacity representing the same carried-forward information, and replacing several layers at once can produce interactions that are not predicted by single-layer behavior. We introduce Residualized Sparse Autoencoders (ReSAEs), which fit an affine map between selected layers and train each later-layer SAE on the unexplained residual rather than on the full activation. Reconstructions are mapped back into the original activation space through the fitted affine chain, so ReSAEs can be evaluated with the same intervention protocols as ordinary SAEs. On Pythia-1.4B and Gemma-2-9B, residualization reduces decoder redundancy and improves sparse probing and targeted perturbation in most tested settings. Despite reconstructing less of the raw activation variance, ReSAEs recover more transformer cross entropy under multi-layer replacement. This gain is clearest under teacher-forcing and at sufficient sparsity online, indicating that ReSAEs preserve the components of the activation most relevant to the model's downstream computation. These results suggest that removing linearly predictable cross-layer structure is a useful default for multi-layer SAE interventions.
format Preprint
id arxiv_https___arxiv_org_abs_2605_27819
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle ReSAE: Residualized Sparse Autoencoders for Multi-Layer Transformer Interventions
Poduval, Prathyush
Yeung, Calvin
Desai, Neel
Imani, Mohsen
Machine Learning
Artificial Intelligence
Sparse autoencoders are usually trained one layer at a time, even though transformer residual stream activations are strongly coupled across depth. This creates a practical problem for multi-layer interventions: different layerwise dictionaries can spend capacity representing the same carried-forward information, and replacing several layers at once can produce interactions that are not predicted by single-layer behavior. We introduce Residualized Sparse Autoencoders (ReSAEs), which fit an affine map between selected layers and train each later-layer SAE on the unexplained residual rather than on the full activation. Reconstructions are mapped back into the original activation space through the fitted affine chain, so ReSAEs can be evaluated with the same intervention protocols as ordinary SAEs. On Pythia-1.4B and Gemma-2-9B, residualization reduces decoder redundancy and improves sparse probing and targeted perturbation in most tested settings. Despite reconstructing less of the raw activation variance, ReSAEs recover more transformer cross entropy under multi-layer replacement. This gain is clearest under teacher-forcing and at sufficient sparsity online, indicating that ReSAEs preserve the components of the activation most relevant to the model's downstream computation. These results suggest that removing linearly predictable cross-layer structure is a useful default for multi-layer SAE interventions.
title ReSAE: Residualized Sparse Autoencoders for Multi-Layer Transformer Interventions
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.27819