arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.03506cs.LGcs.AI
收藏

解释解释者:理解基于变换器的符号回归模型的内部运作

Explaining the Explainer: Understanding the Inner Workings of Transformer-based Symbolic Regression Models

University of Amsterdam(阿姆斯特丹大学)

Arco van Breda, Erman Acar

AI总结:

本文提出PATCHES算法用于发现符号回归模型中的电路,通过因果评估验证了其有效性,并展示了机理可解释性在SR中的应用潜力。

摘要:

在许多领域取得成功之后,变换器也已被证明在符号回归(SR)中有效;然而,其生成数学运算符的内部机制仍 largely 未被探索。尽管机理可解释性已成功识别了语言和视觉模型中的电路,但尚未应用于SR。在本文中,我们介绍了PATCHES,一种进化电路发现算法,用于识别SR中的紧凑且正确的电路。使用PATCHES,我们隔离了28个电路,提供了SR变换器的第一个电路级表征。我们通过基于忠实性、完整性和最小性等关键概念的稳健因果评估框架验证了这些发现。我们的分析显示,均值补丁与基于性能的评估最可靠地隔离了功能正确的电路。相反,我们证明直接logit归因和探测分类器主要捕捉相关特征而非因果特征,限制了它们在电路发现中的用途。总体而言,这些结果确立了SR作为机理可解释性高潜力应用领域,并提出了一种电路发现的系统方法。

英文摘要:

Following their success across many domains, transformers have also proven effective for symbolic regression (SR); however, the internal mechanisms underlying their generation of mathematical operators remain largely unexplored. Although mechanistic interpretability has successfully identified circuits in language and vision models, it has not yet been applied to SR. In this article, we introduce PATCHES, an evolutionary circuit discovery algorithm that identifies compact and correct circuits for SR. Using PATCHES, we isolate 28 circuits, providing the first circuit-level characterisation of an SR transformer. We validate these findings through a robust causal evaluation framework based on key notions such as faithfulness, completeness, and minimality. Our analysis shows that mean patching with performance-based evaluation most reliably isolates functionally correct circuits. In contrast, we demonstrate that direct logit attribution and probing classifiers primarily capture correlational features rather than causal ones, limiting their utility for circuit discovery. Overall, these results establish SR as a high-potential application domain for mechanistic interpretability and propose a principled methodology for circuit discovery.

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

↑