Training Language Models to Explain Their Own Computations
Belinda Z. Li, Zifan Carl Guo, Vincent Huang, Jacob Steinhardt, Jacob Andreas

TL;DR
This paper demonstrates that language models can be trained to generate natural language explanations of their internal computations, leveraging their internal access to improve interpretability and generalize to new queries.
Contribution
The authors introduce a method for fine-tuning language models to produce explanations of their internal features, causal structures, and token influences, showing improved interpretability.
Findings
Explainer models generalize well to new queries with limited training data.
Models explain their own computations more effectively than different models.
Generated explanations serve as a scalable interpretability tool.
Abstract
Can language models (LMs) learn to faithfully describe their internal computations? Are they better able to describe themselves than other models? We study the extent to which LMs' privileged access to their own internals can be leveraged to produce new techniques for explaining their behavior. Using existing interpretability techniques as a source of ground truth, we fine-tune LMs to generate natural language descriptions of (1) the information encoded by LM features, (2) the causal structure of LMs' internal activations, and (3) the influence of specific input tokens on LM outputs. When trained with only tens of thousands of example explanations, explainer models exhibit non-trivial generalization to new queries. This generalization appears partly attributable to explainer models' privileged access to their own internals: using a model to explain its own computations generally works…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗Transluce/features_explain_llama3.1_8b_llama3.1_8b_instructmodel· 6 dl6 dl
- 🤗Transluce/features_explain_llama3.1_8b_llama3.1_8bmodel· 1 dl1 dl
- 🤗Transluce/features_explain_llama3.1_8b_llama3_8bmodel· 1 dl1 dl
- 🤗Transluce/features_explain_llama3.1_8b_simulatormodel· 14 dl14 dl
- 🤗Transluce/act_patch_qwen3_8b_qwen3_8bmodel· 28 dl28 dl
- 🤗Transluce/act_patch_llama3.1_8b_llama3.1_8bmodel· 43 dl43 dl
- 🤗Transluce/input_ablation_llama3.1_8b_instruct_llama3.1_8b_instructmodel· 1 dl1 dl
- 🤗Transluce/input_ablation_qwen3_8b_qwen3_8b_hintmodel
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · Multimodal Machine Learning Applications · Topic Modeling
