ScopeSAE: Model-Scope Feature Discovery with Interpretable Layer Selection

Qingwen Zeng, Zehao Fu, Shuyu Meng, Linghan Huang, Jiayi Zhang, Chenglin Wu, Ling Chen, Huaming Chen

TL;DR

ScopeSAE moves beyond traditional layer-by-layer sparse autoencoders (SAEs) by dynamically selecting the most "prediction-relevant" layer for each token using gradient-based attribution. This approach not only improves feature utilization and interpretability but also produces a surprising "reconstruction-better-than-original" effect, where the SAE's decoded activations actually improve the model's next-token prediction accuracy compared to its original, unmodified states.

What Problem Does This Paper Address?

Mechanistic interpretability aims to crack open the "black box" of Large Language Models (LLMs) by decomposing their dense, entangled internal representations into sparse, human-understandable features. Sparse Autoencoders (SAEs) are the primary tool for this, but they have a major structural limitation: they are typically trained on a single, fixed layer.

The authors argue that this "layer-local" assumption is flawed. LLM computation is distributed across depth; for one token, the most critical information for prediction might reside in layer 4, while for another, it might be in layer 12. By forcing an SAE to model a fixed layer regardless of its relevance to the final output, we end up with features that lack behavioral grounding, high dictionary redundancy (many features doing the same thing), and low feature utilization (many features never firing).

Methods

The core innovation is ScopeSAE, which shifts the modeling subspace from "layer identity" to "predictive relevance."

  1. Gradient-Based Attribution: For every token during training, the method performs a backward pass to calculate the sensitivity of the next-token prediction to the hidden state at each layer. It uses the inner product of the gradient and the hidden state as an attribution score.
  2. Normalized Selection: These scores are normalized across layers to account for varying gradient magnitudes at different depths. The layer with the highest normalized score—the one most "influential" for that specific prediction—is selected.
  3. Unified Training: A single TopK SAE is trained on the union of these selected states across all tokens. This forces the SAE to learn a dictionary that spans the model's effective computational subspace rather than just one layer's representational space.
  4. Inference & Write-back: At inference, the same selection logic identifies the critical layer, and the SAE reconstruction is "written back" into the residual stream at that specific position.
Figure 1: Overview of the ScopeSAE framework. For each token, normalized gradient-based attribu- tion scores identify the most prediction-relevant token-layer state, over which a sparse autoencoder is trained. At inference, the reconstruction is written back only to the selected position, enabling behaviorally grounded feature discovery while remaining compatible with standard SAE evaluation and intervention pipelines.

Datasets

  • Models: Llama-3.2-1B-Instruct (primary), Qwen2.5 (0.5B and 7B), and Llama-3.1-8B.
  • Training/Evaluation: OpenWebText2 (~100M tokens for training, 10M for eval).
  • Generalization: FineWeb was used to verify that results weren't tied to a specific corpus.
  • Causal Steering: The HH-RLHF (Helpful and Harmless) dataset was used to identify features related to model safety and helpfulness for intervention experiments.

Key Insights and Ideas

  • Reconstruction-Better-Than-Original: This is the paper's most striking finding. Usually, SAEs are "lossy" reconstructions. However, ScopeSAE reconstructions often yield lower next-token cross-entropy than the original activations.
  • The Denoising Mechanism: Through geometric analysis, the authors found that the SAE's sparse bottleneck acts as a filter. It discards components of the activation that are orthogonal to the prediction gradient. By removing this "noise" that doesn't contribute to the task, the SAE effectively sharpens the model's focus on the correct next token.
  • Breaking the Layer-Role Myth: Traditional views suggest early layers handle syntax and deep layers handle semantics. ScopeSAE shows this is an oversimplification. Many high-level semantic features are most "predictively relevant" in shallow layers for specific contexts, a nuance that fixed-layer SAEs miss entirely.
  • Efficiency through Relevance: Because ScopeSAE only targets states that actually matter for behavior, it achieves near 100% feature utilization. It populates its dictionary with distinct, useful directions rather than redundant ones.

Key Results

  • Behavioral Fidelity: ScopeSAE achieved a negative DeltaCE (change in cross-entropy), reaching -0.20 at sparsity $K=64$. All other baselines remained positive (worse than original).
  • Feature Quality: ScopeSAE extracted 5,319 interpretable features, roughly 1.8x more than standard TopK SAEs. It also achieved the highest interpretability scores when evaluated by GPT-4o.
  • Causal Steering: In "win rate" tests (judged by GPT-4o), ScopeSAE was the only method that consistently improved responses when amplifying "helpful" features and degraded them when amplifying "harmful" features across all tested directions.
DeltaCE and Recovered metrics showing the better-than-original effect

Limitations and Future Work

  • Computational Overhead: ScopeSAE requires an additional backward pass during both training and inference to compute attribution scores, roughly doubling the forward-pass cost.
  • Steering Saturation: Like all activation-level interventions, there is a "finite steering strength range." Pushing the features too hard (e.g., doubling the intervention strength) eventually moves the model's state too far out-of-distribution, causing performance to collapse.
  • Interpretive Contract: While most features anchor to a single layer, a small percentage (5-13%) draw from multiple layers. This changes the "interpretive contract" for researchers, as a feature's meaning might be slightly more context-dependent than in a fixed-layer SAE.

Summary updated

BibTeX
@inproceedings{zeng2026scopesae,
  author = {Qingwen Zeng and Zehao Fu and Shuyu Meng and Linghan Huang and Jiayi Zhang and Chenglin Wu and Ling Chen and Huaming Chen},
  title = {{ScopeSAE: Model-Scope Feature Discovery with Interpretable Layer Selection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NnmH2t52Uc},
}
Figure