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 L0 sparsity, 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.
Blind interpretability & sparsity at matched fidelity on Pythia-410M Layer 15 (50 features each)
Interpretable features (blind rater, higher is better)Transcoder 41/50 (82%) vs. SAE 38/50 (76%)
Context-sensitive interpretable features (excluding single-token triggers)Transcoder 35/50 (70%) vs. SAE 22/50 (44%)
Mean active features L0 at ~3.35-3.36 nats cross-entropy (lower is sparser)Transcoder 44.04 vs. SAE 47.85

Source: Dunefsky et al. (2024), Section 4.1, Table 1 & Appendix F.

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.

Why transcoders factorize MLP circuits where SAEs cannot
MLP-out SAE
Reconstructs MLP(x) from MLP(x). Tracing from pre-MLP features requires dz’/dy · dy/dz, so every edge depends on the current prompt.
MLP Transcoder
Predicts MLP(x) from x_mid. Edges factor cleanly into z_TC(x) · (f_dec · f_enc), separating prompt strength from static model weights.

Source: Dunefsky et al. (2024), Section 3.2 & Figure 1.

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 through attn9[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 the L0-loss comparison.
  • Practical takeaway: Use per-layer transcoders whenever you need input-invariant weight edges across MLP blocks (W_E^T f_enc and f_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.