Matryoshka Transcoders and Hierarchy Misalignment: When SAE Absorption Protection Does Not Transfer

Quoc Dat Ngo, Hung NguyenNeurIPS 2026

TL;DR

In mechanistic interpretability, a clever nested-dictionary training trick ("Matryoshka") fixes a frustrating failure mode in Sparse Autoencoders (SAEs) where broad conceptual features mysteriously stop firing. Researchers assumed this protection would effortlessly transfer to transcoders—models that map a neural network layer's input to its output—but this paper proves it fails completely. Why? Because when you change what a model is predicting, you change what its internal hierarchy cares about organizing.

What Problem Does This Paper Address?

To reverse-engineer Large Language Models, researchers use Sparse Autoencoders (SAEs) to break dense, inscrutable activation vectors into sparse, human-readable concepts (like "words starting with S"). Recently, the field has begun shifting toward transcoders. Instead of reconstructing an activation from itself ($x \to x$), a transcoder reads an MLP layer's input and predicts its output ($x \to y$). While SAEs tell you what is present at a single point, transcoders explain what the layer actually computes, making them ideal for tracing full circuits.

However, sparse dictionaries suffer from feature absorption. Imagine a broad parent feature ("starts with S") and a narrow child feature ("the name Sarah"). Because training penalizes firing too many features at once, the model gets lazy: whenever "Sarah" appears, the child feature absorbs the parent's job, and the "starts with S" detector quietly turns off. This breaks circuit tracing because parent features become unreliable classifiers.

In SAEs, Matryoshka training largely solves this. Like Russian nesting dolls, it forces smaller prefixes of the dictionary (say, the first 1,024 features) to reconstruct the target on their own, while the full dictionary (16,384 features) reconstructs it too. Because early features participate in every nested loss, broadly useful parent concepts are naturally protected in the innermost dolls.

An open question in the community was whether Matryoshka training also protects transcoders. Ngo and Nguyen put this natural hypothesis to the test.

Methods

The authors ran the first controlled, head-to-head comparison of five transcoder architectures (Matryoshka, BatchTopK, TopK, JumpReLU, and ReLU) across five MLP layers of Gemma-2-2B (plus a directional check on Llama-3.1-8B) at a 16,384 dictionary width. All models shared an identical training recipe and matched sparsity budgets.

To measure performance, they adapted standard SAE evaluations—specifically full absorption (whether the main first-letter feature fails to fire) and first-letter F1@1 (how cleanly a single feature classifies a letter)—to the two-space ($x \to y$) transcoder setting.

To diagnose why Matryoshka transcoders behaved unexpectedly, they designed two clever experiments:

  1. Bridge Controls: Keeping everything identical at Layer 12, they swapped only the reconstruction target: input-to-input ($x \to x$ SAE), output-to-output ($y \to y$ SAE), and input-to-output ($x \to y$ transcoder).
  2. Joint Source-Target Loss: A constructive intervention where they added a temporary decoder during training that forced the transcoder's prefixes to reconstruct the input $x$ alongside the output $y$, discarding the $x$-decoder before evaluation.

Datasets

  • Training: Models were trained on a 500M-token budget from The Pile.
  • Evaluation: The authors adapted the SAEBench evaluation suite to handle separate input and output spaces. This encompasses first-letter classification/absorption benchmarks, sparse probing, Spurious Correlation Removal (SCR), AutoInterp, and RAVEL, rather than introducing a brand-new dataset from scratch.

Key Insights and Ideas

  • Hierarchy Misalignment: Why does Matryoshka protection vanish in transcoders? A nested prefix loss mathematically rewards covariance with the reconstruction target. In an input SAE, "starts with S" is a clean direction in input space $x$, so reconstructing $x$ rewards keeping it early. In a transcoder, the target is the MLP output $y$. An MLP does very different things to S-tokens depending on whether they are verbs, names, or prepositions, scattering them into different output directions. Early Matryoshka groups do form a hierarchy, but they prioritize features that predict MLP updates, not clean input concepts.
  • The Hierarchy Still Exists—It Just Organizes Something Else: Looking at reconstruction error (FVU), every added Matryoshka prefix improves accuracy. Group 0 (just 6.25% of the dictionary) captures 3.25× its fair share of target covariance, yet holds zero of the 26 best first-letter detectors at Layer 12!
  • Full vs. Fractional Absorption Split: Matryoshka loses on full absorption (one reliable parent feature firing) on 4 of 5 layers, yet wins on fractional absorption (sharing the representation across multiple features) on 4 of 5 layers. Without pressure to match $x$'s geometry, Matryoshka smears the letter signal across multiple output-predictive features rather than consolidating it into one clean parent.

Key Results

  • No Transfer at 16k Width: Across five Gemma-2-2B layers, flat BatchTopK beats Matryoshka on reconstruction FVU (0.2373 vs. 0.2533), full absorption (0.1184 vs. 0.1358), and first-letter F1@1 (0.5002 vs. 0.4455).
Per-layer comparison showing BatchTopK achieving lower full absorption at 4 of 5 layers and higher first-letter F1@1 across all 5 layers compared to Matryoshka.
  • Bridge Controls Isolate the Cross-Space Map: At Layer 12, an $x \to x$ Matryoshka SAE slashes full absorption by 40% relative over BatchTopK (0.0164 vs. 0.0272), and retains a slight edge in a $y \to y$ SAE (0.1032 vs. 0.1099). The advantage only flips to a loss in the $x \to y$ transcoder (0.0983 vs. 0.0628).
  • Target Geometry Sets Absorption Levels: Adding source-space ($x$) reconstruction back into the loss drops full absorption by a massive factor of 5 to 17 at Layers 6 and 12 (e.g., Matryoshka Layer 12 plummets from 0.0983 to 0.0064, while doubling F1@1 from 0.33 to 0.64). However, flat BatchTopK improves just as dramatically (0.0628 to 0.0116), showing that the target space, not the nesting structure, is doing the heavy lifting—at the cost of 9–15% worse output reconstruction.

Limitations and Future Work

  • Scale and Width: The core findings focus on Gemma-2-2B at 16k dictionary width. When sweeping up to 32k width at Layer 12, the ordering between BatchTopK and Matryoshka actually reversed on two out of three random seeds, leaving width-scaling dynamics an open question.
  • Benchmark Scope: Because evaluating absorption requires knowing ground-truth parent-child relationships in advance, current benchmarks rely exclusively on surface-level first-letter spelling features.
  • Future Directions: The authors highlight an urgent need for multi-dimensional or circuit-level absorption benchmarks to see how hierarchy misalignment affects deeper semantic computations, alongside testing larger models to see how cross-space dictionary objectives scale.

Summary updated

BibTeX
@inproceedings{ngo2026matryoshka,
  author = {Quoc Dat Ngo and Hung Nguyen},
  title = {{Matryoshka Transcoders and Hierarchy Misalignment: When SAE Absorption Protection Does Not Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Kx6IJ8I6C8},
}
Figure