Skip to content

AI Glossary · Concepts

What is Sparse autoencoder?

Sparse autoencoder

A sparse autoencoder is a neural network trained to reconstruct its input using a representation with relatively few active features at a time. In language-model interpretability, researchers train it on internal model activations to study features that can be easier to interpret than individual neurons.

Also known as: sparse autoencoders

· Chain of Thought

AI Evaluation & ReliabilityModel Architecture

  • 2 sources

An autoencoder learns to reconstruct its input. Sparsity limits how many features participate in each reconstruction. Applied to a language model’s internal activations, this can help separate patterns mixed together across neurons.

Anthropic’s 2023 research found features associated with patterns such as HTTP requests and DNA sequences in a small transformer. Gao and colleagues describe the tradeoff between reconstructing activations accurately and keeping the representation sparse, along with tests of feature quality.

How to read a result: a feature label is an interpretation to investigate. Check where the feature activates, where it fails to match that interpretation, and whether interventions support a claimed effect on behavior. Reconstruction and feature quality also need evaluation; one decomposition should not be treated as a complete inventory of what the model represents. Even an observed effect on behavior falls short of a complete causal explanation.

This is a research method for studying internal representations. It does not by itself make a deployed model smaller or prove that the model’s generated explanation is faithful. Explainability covers the broader question of understanding an output.

Sources