arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2603.09988cs.CLcs.AI

基于因果机制的LLM解释方法:具有忠实自然语言解释的因果基础

Causally Grounded Mechanistic Interpretability for LLMs with Faithful Natural-Language Explanations

Ajay Pravin Mahale

AI总结:

本文提出一种基于因果机制的LLM解释方法,通过识别因果重要的注意力头并生成自然语言解释,提高了模型解释的准确性和全面性。

摘要:

机制性可解释性识别模型行为所负责的内部电路,但将这些发现转化为人类可理解的解释仍然是一个开放性问题。我们提出了一条管道,通过(i)通过激活补丁识别因果重要的注意力头,(ii)使用基于模板和LLM的方法生成解释,以及(iii)使用适应于电路级归因的ERASER式指标评估忠实性,来弥合电路级分析和自然语言解释之间的差距。我们在GPT-2 Small(124M参数)上的间接宾语识别(IOI)任务中进行评估,识别出六个注意力头,占logit差异的61.4%。我们的基于电路的解释实现了100%的充分性,但只有22%的全面性,揭示了分布式的备份机制。LLM生成的解释在质量指标上优于基于模板的基线,提高了64%。我们发现模型信心与解释忠实性之间没有相关性(r=0.009),并确定了三个失败类别,解释了当解释偏离机制时的情况。

英文摘要:

Mechanistic interpretability identifies internal circuits responsible for model behaviors, yet translating these findings into human-understandable explanations remains an open problem. We present a pipeline that bridges circuit-level analysis and natural language explanations by (i) identifying causally important attention heads via activation patching, (ii) generating explanations using both template-based and LLM-based methods, and (iii) evaluating faithfulness using ERASER-style metrics adapted for circuit-level attribution. We evaluate on the Indirect Object Identification (IOI) task in GPT-2 Small (124M parameters), identifying six attention heads accounting for 61.4% of the logit difference. Our circuit-based explanations achieve 100% sufficiency but only 22% comprehensiveness, revealing distributed backup mechanisms. LLM-generated explanations outperform template baselines by 64% on quality metrics. We find no correlation (r = 0.009) between model confidence and explanation faithfulness, and identify three failure categories explaining when explanations diverge from mechanisms.

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

↑