Home Knowledge Base Sparse Autoencoders (SAEs)

Sparse Autoencoders (SAEs) are the interpretability tools that decompose the internal representations of neural networks into large sets of sparse, interpretable features — addressing the superposition problem where networks encode more concepts than they have neurons by projecting compressed representations into a much higher-dimensional, nearly-orthogonal feature space.

What Is a Sparse Autoencoder?

Why Sparse Autoencoders Matter

The Superposition Problem SAEs Solve

Neural networks face a dimensionality constraint: a transformer with embedding dimension d_model can represent at most d_model orthogonal directions. But the world has millions of concepts.

Superposition: Networks encode ~N concepts in d << N dimensions by using nearly-orthogonal (not exactly orthogonal) directions — packing features so they minimally interfere with each other.

Result — Polysemanticity: A single neuron activates for multiple unrelated concepts (e.g., "banana" AND "the Eiffel Tower" AND "C++ code"). Direct neuron analysis is impossible.

SAE Solution: Project the d-dimensional activations into a much larger d_SAE-dimensional space, enforce sparsity so each input activates only K of the d_SAE dimensions. With d_SAE >> d, there's enough room for each concept to get its own dedicated dimension.

SAE Architecture and Training

Encoder: h = ReLU(W_enc(x - b_dec) + b_enc)

Decoder: x_reconstructed = W_dec × h + b_dec

Training Loss: L = ||x - x_reconstructed||² + λ × ||h||₁

What Features SAEs Find

Anthropic's analysis of Claude using SAEs (2024) found features corresponding to:

SAE Feature Validation Methods

SAE Research Trajectory

Scaled_SAEFeatures FoundInterpretable %
Toy model (Anthropic 2023)512~100~90%
1-layer transformer4,096~500~70%
Claude Sonnet (2024)1M+MillionsOngoing analysis

Sparse autoencoders are the microscope of mechanistic interpretability — by resolving the superposition blur into millions of sharp, identifiable features, SAEs are enabling the systematic mapping of what frontier AI systems know, believe, and represent, creating the first comprehensive atlas of concepts encoded inside large language models.

sparse autoencoderfeaturedecompose

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.