arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11827cs.CL
收藏

弥合语言结构与机械可解释性以实现语言模型中的概念解释

Bridging Linguistic Structure and Mechanistic Interpretability for Conceptual Interpretation in Language Models

CRUK National Biomarker Centre(英国癌症研究中心国家生物标志物中心);University of Manchester(曼彻斯特大学);Idiap Research Institute(Idiap研究所)

Nura Aljaafari, Danilo S. Carvalho, André Freitas

AI总结:

该研究提出DSRA方法,结合因果追踪与定义性语义角色,在GPT-J-6B和BERTIN GPT-J-6B中揭示语言模型内部激活与定义结构的系统对应,为概念解释研究提供新路径。

摘要:

理解语言模型如何从语言输入中组合意义,仍是可解释性研究的核心问题。机械研究已为Transformer核心组件赋予功能角色,但这些发现大多来自事实检索场景;相同机制是否支持概念解释(即从定义性表达式到抽象意义的组合映射),仍未得到充分表征。我们提出DSRA(定义性语义角色分析),这一方法在反向词典任务中应用因果追踪,并补充以基于论元结构理论的定义性语义角色(DSR)的恢复轨迹。该语言叠加层可识别哪些组合功能(如属、种差属性)与高恢复状态相关,将激活修补扩展至 token 级定位之外。将其应用于GPT-J-6B(英语)和BERTIN GPT-J-6B(西班牙语),结果显示:MLP层在早期层将承载内容的token与高特异性DSR类别关联;MHA层在中上层分布整合过程,集中于最终token;隐藏状态在高层聚合信息。恢复状态与DSR类别的对齐表明,内部激活与定义结构间存在系统对应,且两种语言呈现一致的定位模式。

英文摘要:

Understanding how language models compose meaning from linguistic input remains a central problem in interpretability research. Mechanistic studies have attributed functional roles to core transformer components; however, these findings derive largely from factual retrieval settings. Whether the same mechanisms support \textit{conceptual interpretation}, the compositional mapping from definitional expressions to abstract meaning, remains insufficiently characterised. We introduce \textit{DSRA} (Definitional Semantic Role Analysis), a methodology that applies causal tracing within the reverse dictionary task and augments restoration traces with definitional semantic roles (DSRs) grounded in Argument Structure Theory. This linguistic overlay identifies which compositional functions (e.g., genus, differentia quality) are associated with high-recovery states, extending activation patching beyond token-level localisation. Applied to GPT-J-6B (English) and BERTIN GPT-J-6B (Spanish), the results show that MLP layers associate content-bearing tokens with high-specificity DSR categories in early layers, MHA layers distribute integration across middle-to-upper layers with concentration at the final token, and hidden states aggregate information in upper layers. Alignment between restored states and DSR categories indicates systematic correspondence between internal activations and definitional structure, with consistent localisation patterns across both languages.

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

↑