arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.08579cs.CLcs.AIcs.LG
收藏

训练语言模型以解释其自身的计算

Training Language Models to Explain Their Own Computations

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室)

Belinda Z. Li, Zifan Carl Guo, Vincent Huang, Jacob Steinhardt, Jacob Andreas

AI总结:

研究通过训练语言模型解释自身计算,发现其能有效生成内部机制的自然语言描述,为可解释性方法提供新途径。

摘要:

语言模型(LMs)能否学习到准确描述其内部计算的方式?它们是否比其他模型更能描述自身?我们研究了LMs凭借对自身内部的特权访问,能否产生新的解释其行为的技术。利用现有的可解释性技术作为地面真实,我们对LMs进行微调,使其能够生成自然语言描述(1)LM特征所编码的信息,(2)LM内部激活的因果结构,以及(3)特定输入标记对LM输出的影响。当仅用数十万例解释进行训练时,解释器模型在新查询上表现出非平凡的泛化能力。这种泛化似乎部分归因于解释器模型对自身内部的特权访问:使用模型解释其自身计算通常比使用另一种模型解释其计算(即使解释器模型显著更强大)更有效。我们的结果表明,不仅LMs能够学习可靠地解释其内部计算,而且这些解释为现有可解释性方法提供了可扩展的补充。代码和数据见https://github.com/TransluceAI/introspective-interp

英文摘要:

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 better than using a *different* model to explain its computations (even if the explainer model is significantly more capable than the target). Our results suggest not only that LMs can learn to reliably explain their internal computations, but that such explanations offer a scalable complement to existing interpretability methods. Code and data at https://github.com/TransluceAI/introspective-interp

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑