What is Sparse autoencoder?
In Turkish: Seyrek otomatik kodlayıcı · Topic: Safety and ethics
An auxiliary neural network that learns to reproduce a model's internal activity by breaking it into many simpler components, only a few of which are active at any one time.
How does it work?
First, the activation values of one layer are collected from the language model under study. The sparse autoencoder expands these values into a much wider layer, but during training only a few units are allowed to be active at once, and it then tries to rebuild the original values. This constraint encourages each unit to correspond to a single concept. Researchers assign meaning to a unit by looking at the texts where it activates, and test it by strengthening or weakening it to see how the model's behavior changes.
Why does it matter?
Individual neurons in a model often carry several concepts mixed together, so they cannot be read directly. Sparse autoencoders are among the most widely used tools in mechanistic interpretability for untangling this mix. Still, not every unit carries a clean meaning, and some information is lost in the reconstruction.
Example
Anthropic published a demo in which it amplified a feature linked to the Golden Gate Bridge in a Claude model, making the model bring up the bridge even in unrelated questions.
FAQ
Why is it called sparse?
Because only a small number of units are allowed to be active at the same time. That constraint makes it easier for each unit to specialize in a particular concept.
Does a sparse autoencoder change the original model?
No, the original model stays as it is; the autoencoder is a separate tool that reads its internal activity. Experiments that amplify a feature work by intervening in the model's activations.