NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

What Does a Sparse Autoencoder Feature Do? A Weight-Based Account

Yiting Liu, Zhi-Hong DengNeurIPS 2026

TL;DR

Currently, we interpret the inner workings of language models by feeding them lots of text, seeing what lights up, and asking another AI to guess what those patterns have in common. This paper flips the script: instead of asking when a feature activates, it looks directly at the static model weights to ask what a feature actually does. Without needing a single prompt or external LLM judge, the authors uncover hidden "computational" features that silently steer attention—revealing how neural networks organize their labor from input to output.

What Problem Does This Paper Address?

Inside a Large Language Model (LLM), individual neurons tend to multitask, tangling unrelated concepts together—a phenomenon called superposition. To untangle this mess, researchers train Sparse Autoencoders (SAEs), auxiliary networks that expand compressed activations into clean, single-concept "features."

Once you have thousands of unlabeled SAE features, how do you figure out what they mean? The standard playbook is activation-based: run millions of text snippets through the model, collect the top sentences that make Feature #11,433 fire, and ask an LLM (like GPT-4) to summarize them.

The catch? Correlation isn't mechanism. In one striking example from the paper, an LLM looks at activating medical texts and labels a feature "scientific terminology related to genetic research." Yet when you inspect the weights directly, that feature's actual job is dead simple: predict the next word is "among." Activation-based methods assume every feature represents a human-readable topic, completely overlooking features whose main job is internal computation—like routing information between words.

Figure 1: Two views of SAE features. (a) An activation-based explanation read off the feature’s top-activating contexts: tokens where the feature fires are highlighted and the highest activations are boxed, and GPT-4o-mini summarizes the co-occurring text. The summary does not specify what changes in the model’s computation when the feature is suppressed. (b) A uniform sample of features that pass all three weight-based metrics in Section 4 on Gemma-2-9B at layer 27, shown with their top-10 predicted tokens. “L” is Levenshtein similarity, “C” is cosine similarity, and “E” is top-100 entropy; boxed scores correspond to the range of displayed tokens.

Methods

The authors ditch text corpora and LLM judges for pure linear algebra on the model's static weights. Whereas prior work mostly looked at what an SAE feature writes back into the model (its decoder weights), the authors treat each feature as a two-sided coin: an encoder that reads and a decoder that writes.

They project each feature onto four structural components of the host LLM:

  1. Input-token recognition: Multiplying the SAE encoder by the LLM's token embeddings to see which input words switch the feature on.
  2. Output-token prediction: Multiplying the SAE decoder by the unembedding matrix to see which output words the feature pushes the model toward.
  3. Query & Key participation: Projecting the SAE decoder into the very next layer's attention heads to see if a feature changes what a token searches for (query specialists) or makes a token an attractive target for others (key hubs).

To classify whether a feature is genuinely "semantic" (tied to a coherent concept), they check if its top-10 associated tokens share similar spelling (Levenshtein distance), similar embedding directions (cosine similarity), and a sharp, decisive probability spike (low entropy). Finally, to prove these mathematical projections aren't mirages, they run causal interventions: clamping a feature to zero (do(z_i = 0)) during live inference to verify that the predicted logits or attention patterns actually break.

Datasets

Rather than training new models on text datasets, the authors analyze open-source, pre-trained LLM and SAE weight suites: Gemma-2 (2B and 9B via Gemma-Scope) and Llama-3.1-8B (via Llama-Scope). While the core framework is completely corpus-free, the authors use a small set of max-activating prompts strictly at the end to run causal ablation checks, alongside Llama-3-70B-Instruct as a blind judge to validate their automated metric thresholds.

Key Insights and Ideas

  • Architecture shapes feature destiny (Tied vs. Untied): Gemma-2 shares the same matrix for reading input tokens and predicting output tokens ("tied" embeddings). Consequently, its semantic SAE features form a neat U-shape—abundant in early and late layers, dipping in the middle. Llama-3.1 separates its input and output matrices ("untied"), causing its SAE features to cleanly bifurcate: early layers specialize purely in recognizing input words, while late layers specialize in predicting output words.
Figure 2: Joint and per-metric pass rates for the decoder–unembedding classifier on Gemma-2-2B and 9B. Both sizes show a U-shaped distribution; ablating any single metric uniformly increases the pass rate, confirming the three are complementary.
Figure 3: Pass rates for Llama-3.1-8B under the two projections of the dual analysis. The decoder– unembedding pairing (left) is near-zero in early layers and rises with depth; the encoder–embedding pairing (right) is high in early layers and falls. The two trajectories partition the network into an input-recognition regime and an output-prediction regime, each captured by a different projection.
  • The "Dark Matter" of middle layers is doing attention: Why do semantic features dip in the middle layers? Because those features are busy steering attention! Pre-softmax attention participation peaks right in the middle of the network—where heavy-duty information routing happens.
  • SAEs inherit architectural quirks: Gemma-2 alternates between local sliding-window attention and full global attention every other layer. Remarkably, the number of attention-specialist SAE features oscillates in an exact 2-layer rhythm to match.
  • Semantics and computation trade off—usually: In output-oriented layers, features face a budget: non-semantic features dominate heavy attention routing, while semantic ones stay out of QK circuits. Yet in Llama's early input-reading layers, this flips—recognizing incoming words and broadcasting them via attention go hand-in-hand.

Key Results

  • Semantic populations: Roughly 24.0%–25.6% of features in Gemma-2 and 20.8% in Llama-3.1 pass the output-semantic test. Blind evaluations by Llama-3-70B-Instruct agree with this zero-cost weight classifier at a mean Cohen’s $\kappa = 0.83$ (near-perfect agreement).
  • Causal logit impact: Zeroing out a weight-flagged semantic feature drops its top predicted token's logit 88%–100% more often than ablating a matched-norm non-semantic feature firing at the exact same spot (median $|\Delta\text{logit}|$ of 0.8–7.1 vs. 0.02–0.13).
  • Causal attention steering: Ablating weight-identified "query specialists" perturbs the next layer's attention 43$\times$ to 2,161$\times$ more than matched baselines (win-rates of 93%–100%). Ablating "key hubs" disrupts incoming attention 9$\times$ to 37$\times$ more (88%–98% win-rate).

Limitations and Future Work

The authors note three nuanced modeling trade-offs in their framework:

  1. Static LayerNorm approximation: Projecting individual features requires applying LayerNormalization per-feature in isolation, rather than using the true, dynamic in-context normalization computed across the whole residual stream during live text processing.
  2. Intervention asymmetry: Clamping a feature's activation to zero (do(z_i = 0)) cleanly tests what its decoder writes downstream (unembedding and next-layer attention), but isn't the right causal tool to validate what the encoder reads from the input embeddings.
  3. One-hop horizon: Their computational analysis focuses strictly on how an SAE feature interacts with the very next attention layer ($L+1$), leaving multi-layer circuits and MLP interactions ripe for future weight-based exploration.

Ultimately, the authors call on the interpretability community to stop relying solely on prompt-by-prompt correlations and integrate static weight geometry into standard feature analysis pipelines.

Summary updated

BibTeX
@inproceedings{liu2026what,
  author = {Yiting Liu and Zhi-Hong Deng},
  title = {{What Does a Sparse Autoencoder Feature Do? A Weight-Based Account}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nQXn6YRf2P},
}
Figure