[ICLR 2025] Transcoder Adapters: Peeking into the "Thinking" Brain of Reasoning Models

Transcoder Adapters for Reasoning-Model Diffing

Summary
Problem
Method
Results
Takeaways
Abstract

This paper introduces transcoder adapters, a sparse dictionary learning technique designed to interpret the difference in MLP computation between a base model and its fine-tuned reasoning counterpart. By applying this to the Qwen2.5-Math and DeepSeek-R1-Distill pair, the authors successfully isolate mechanisms responsible for reasoning behaviors like "hesitation" while achieving high faithfulness to the target model's output.

TL;DR

What actually happens inside a model like DeepSeek-R1 when it "thinks"? Researchers from Stanford have introduced Transcoder Adapters, a surgical interpretability tool that isolates the difference between a base model and its reasoning version. By mapping this delta into a sparse set of interpretable features, they discovered that reasoning behaviors—like the famous "Wait..." hesitation—are controlled by a tiny fraction of features that can be manipulated to shorten responses without losing accuracy.

Background: The Black Box of Reasoning

We know that "Reasoning Models" (like DeepSeek-R1 or OpenAI's o1) are revolutionary because they perform long Chain-of-Thought (CoT) processes. However, we don't know if fine-tuning creates entirely new logic circuits or simply unlocks pre-existing capabilities. Transcoder Adapters treat fine-tuning as a mathematical "diff" to solve this puzzle.


The Problem: The Inefficiency of Full Reconstruction

Prior work used Sparse Autoencoders (SAEs) to find interpretable directions in model space. But if you want to understand what changed during fine-tuning, training an SAE on the entire final model is noisy—you get features for everything from "comma usage" to "quantum physics."

The authors argue that we should only model the MLP delta. Since most of the "knowledge" resides in the base model, the adapter only needs to learn the specific additions introduced by reasoning training.


Methodology: The "Bridging" Breakthrough

The core idea is the Transcoder Adapter. Instead of replacing the entire MLP, the adapter runs alongside the frozen base MLP:

Overall Architecture

The Bridging Loss

A common failure in multi-layer interpretability is "error accumulation." To fix this, the authors used a Bridging Loss. This checks if the activation at layer can still produce a correct output if fed back into the original target model for all subsequent layers. This forces the adapter to "speak the same language" as the target model’s internal states.


Experiments & Results: Modular Reasoning

The authors compared Qwen2.5-Math (Base) with DeepSeek-R1-Distill-Qwen (Target).

1. Faithfulness & SOTA Recovery

The adapters are incredibly efficient. Even with only 1.4 active features per token (), the replacement model recovered almost all the accuracy of the original R1-Distill model. Performance Comparison

2. The Discovery of "Hesitation" Circuits

By manual and LLM-assisted classification, the authors found that only 8% of adapter features are purely about "reasoning" (e.g., self-reflection, uncertainty). The rest were just Domain Knowledge (more Math/Code).

They focused on "Hesitation Features"—the ones that trigger the token "Wait."

  • The Circuit: "Wait" isn't triggered by the model realizing it's wrong. Instead, it's often triggered by Template Features (fixed positions in the prompt) and Output Features (promoting hesitation words).
  • Intervention: By ablating (turning off) these 5.6k features, the model's response length dropped by 50%, but the final answer remained correct on 3 out of 4 benchmarks.

Intervention Effects


Critical Insight: Reasoning vs. Knowledge

The most provocative takeaway from this work is that fine-tuning for reasoning is 90% about boosting domain knowledge and only 10% about structural reasoning habits. The "reasoning habits" (the verbosity, the thinking out loud) appear surprisingly modular and simple—suggesting they act more like a "wrapper" or a "control dial" on top of the model's core intelligence.

Limitations

  • Attention remains a mystery: The adapter only handles the MLP layers. While the authors showed their hybrid baseline (Base MLP + Target Attention) failed to reason, a complete circuit would still require an "Attention Transcoder."
  • Small Scale: The study focused on the 7B distilled model. Whether the patterns hold for the monolithic 671B DeepSeek-R1 remains to be seen.

Conclusion

Transcoder Adapters provide a high-fidelity, low-cost "X-ray" for model fine-tuning. For developers and researchers, this proves that we can edit model behaviors (like over-verbosity) with a scalpel rather than a sledgehammer, simply by targeting the right sparse features.


For more technical details, interactive visualizations, and code, visit the authors' site: transcoder-adapters.github.io

Find Similar Papers

Try Our Examples

  • Find recent papers that apply sparse autoencoders (SAEs) or dictionary learning to compare base models with their instruction-tuned or RLHF variants.
  • Which paper originally introduced the "transcoder" architecture for MLP replacement, and how does this adapter approach modify its training objective?
  • Explore research investigating whether "thinking" tokens (like 'Wait' or 'Hmm') in reasoning models are necessary for final answer accuracy or merely artifacts of verbosity distilling.
Contents
[ICLR 2025] Transcoder Adapters: Peeking into the "Thinking" Brain of Reasoning Models
1. TL;DR
1.1. Background: The Black Box of Reasoning
2. The Problem: The Inefficiency of Full Reconstruction
3. Methodology: The "Bridging" Breakthrough
3.1. The Bridging Loss
4. Experiments & Results: Modular Reasoning
4.1. 1. Faithfulness & SOTA Recovery
4.2. 2. The Discovery of "Hesitation" Circuits
5. Critical Insight: Reasoning vs. Knowledge
5.1. Limitations
6. Conclusion