野外的可解释性:GPT-2小环境中的间接对象识别电路
Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small
摘要:
机械可解释性的研究试图从内部组件的角度解释机器学习模型的行为。然而,大多数以前的工作要么专注于小模型中的简单行为,要么用粗略的笔触描述更大模型中的复杂行为。在这项工作中,我们通过解释GPT-2 small如何执行称为间接对象识别(IOI)的自然语言任务来弥合这一差距。我们的解释包括26个注意头分为7个主要类别,我们发现使用依赖于因果干预的可解释性方法的组合。据我们所知,这项研究是在语言模型中对自然行为进行逆向工程的最大的端到端尝试。我们使用三个量化标准来评估我们的解释的可靠性-忠实性,完整性和最小化。虽然这些标准支持了我们的解释,但它们也指出了我们理解中存在的差距。我们的工作提供了证据,证明对大型ML模型的机械理解是可行的,这为我们将理解扩展到更大的模型和更复杂的任务提供了机会。
英文摘要:
Research in mechanistic interpretability seeks to explain behaviors of machine learning models in terms of their internal components. However, most previous work either focuses on simple behaviors in small models, or describes complicated behaviors in larger models with broad strokes. In this work, we bridge this gap by presenting an explanation for how GPT-2 small performs a natural language task called indirect object identification (IOI). Our explanation encompasses 26 attention heads grouped into 7 main classes, which we discovered using a combination of interpretability approaches relying on causal interventions. To our knowledge, this investigation is the largest end-to-end attempt at reverse-engineering a natural behavior "in the wild" in a language model. We evaluate the reliability of our explanation using three quantitative criteria--faithfulness, completeness and minimality. Though these criteria support our explanation, they also point to remaining gaps in our understanding. Our work provides evidence that a mechanistic understanding of large ML models is feasible, opening opportunities to scale our understanding to both larger models and more complex tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。