Approximating a transformer’s dense MLP block with a wider, sparsely activating MLP layer, called a transcoder, produces features rated interpretable in 41 of 50 blind human checks (versus 38 of 50 for input sparse autoencoders) while cleanly splitting circuit edges into input-dependent activations and input-invariant weights. Dunefsky, Chlenski, and Nanda evaluate transcoders across GPT2-small (120M), Pythia-410M, and Pythia-1.4B, showing they match or beat sparse autoencoders on the sparsity-loss frontier and solve GPT2-small’s "greater-than" circuit with far fewer units than raw neurons.
- Higher blind interpretability with less memorization: On Pythia-410M layer 15, a human rater blinded to source marked 41/50 transcoder features interpretable (only 1 uninterpretable, 6 single-token context-free) versus 38/50 for an MLP-in SAE (4 uninterpretable, 16 context-free).
- Pareto parity and scaling advantage: Across 3.2M OpenWebText tokens with 32x expansion dictionaries, transcoders equal or beat MLP-out SAEs on cross-entropy loss versus
L0sparsity, with the fidelity gap widening on Pythia-1.4B. - Blind reverse-engineering works: Without seeing any prompt tokens, researchers correctly inferred feature semantics in 7 of 9 blind case studies (5 full successes, 2 partial) using weight paths and de-embeddings alone.
- Sparser than MLP neurons on greater-than: On 100
"The war lasted from 17YY to 17"prompts in GPT2-small, zero-ablating all but under 24 layer-10 transcoder features beats raw MLP10 neurons on probability difference.
How It Works
Standard sparse feature circuits built on SAEs hit a structural wall at MLP layers: an SAE decomposes activations at a single point (x -> SAE(x)), so tracing how an earlier feature drives a later feature through a dense MLP requires differentiating through thousands of polysemantic neurons (dz'/dy * dy/dz), which changes on every prompt.
A transcoder replaces the MLP sublayer itself with a wide one-layer ReLU network TC(x) = W_dec ReLU(W_enc x + b_enc) + b_dec trained to minimize ||MLP(x) - TC(x)||^2 + lambda_1 ||z_TC(x)||_1 over 60M OpenWebText tokens. Because TC directly maps MLP inputs to MLP outputs, the attribution of layer-l feature i to layer-l' feature i' factorizes into an input-dependent scalar activation z_TC^(l,i)(x) multiplied by an input-invariant weight dot product f_dec^(l,i) . f_enc^(l',i') (or f_dec . W_OV^T f_enc across an attention head with fixed QK weights). Multiplying the token embedding matrix by an encoder vector (W_E^T f_enc) yields a feature’s “de-embedding” directly from weights, exposing which vocabulary tokens drive it across all inputs.
Key Findings
- Reverse-engineering without reading prompts: In blind case studies on GPT2-small layer 8 (hiding all prompt text, and in 7 restricted cases hiding active layer-0 features too), greedy path-pruning and de-embeddings recovered exact feature semantics such as academic citation semicolons (
tc8[355], tracing back through(+ surname + year features),"told/said in an interview"(tc8[6569]), and clause-initial"though/although"(tc8[4911]). - Decomposing the greater-than circuit: In GPT2-small’s
"The war lasted from 17YY to 17"task, top-variance MLP10 transcoder features (tc10[1954],tc10[10437],tc10[21238]) act as clean year-range detectors whose de-embeddings throughattn9[1]match the exact years whose successors they boost. Removing one noisy 24th-ranked feature (tc10[5315], which boosts all year logits uniformly) keeps transcoder circuits ahead of raw MLP10 neurons across the ablation sweep. - Approximation errors still distort edge cases: Even on GPT2-small, replacing preceding MLPs with transcoders alters
tc8[235](which distinguishes passive"He was caught"at 19.97 from active"He caught the ball"at 0.8145 in the real model) to 16.45 versus 9.00 in the transcoder model.
Caveats & Builder Takeaway
- Fixed attention and non-optimal SAE sweeps: Like automated circuit discovery and later cross-layer transcoders, the method freezes attention QK scores, leaving attention routing unexplained. Compute constraints also forced transcoders and SAEs to share a transcoder-tuned learning rate (
2e-5), so exhaustive SAE sweeps could shift theL0-loss comparison. - Practical takeaway: Use per-layer transcoders whenever you need input-invariant weight edges across MLP blocks (
W_E^T f_encandf_dec . f_enc), or adopt cross-layer transcoders if you want shorter multi-layer paths; in either case, validate every circuit hypothesis back on the unmodified model.


