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

LLMs Explain't: 对Transformer模型语义可解释性的事后分析

LLMs Explain't: A Post-Mortem on Semantic Interpretability in Transformer Models

Distributed Operating Systems Group, Department of Informatics, Universität Hamburg, Germany(信息学院分布式操作系统组,乌尔姆大学);Machine Learning Group, Department of Informatics, Universität Hamburg, Germany(信息学院机器学习组,乌尔姆大学)

Alhassan Abdelhalim, Janick Edinger, Sören Laue, Michaela Regneri

AI总结:

本文分析了Transformer模型中语义可解释性的局限性,发现现有方法在解释LLM性能机制时存在方法论缺陷,影响了在分布式计算中的应用。

摘要:

大型语言模型(LLMs)因其多样性和强大性能,在普及计算中变得越来越受欢迎。然而,尽管它们被广泛使用,其卓越性能背后的精确机制仍不明确。存在多种LLM可解释性方法,但许多方法本身并不完全理解。我们从语言抽象如何在LLM中产生开始,旨在在不同的LLM模块(注意力头和输入嵌入)中检测它。为此,我们使用了文献中已确立的方法:(1)探测令牌级关系结构,以及(2)使用嵌入作为可解释属性的载体进行特征映射。两种尝试都因不同的方法论原因失败:基于注意力的解释在测试核心假设时崩溃,即后期层表示仍对应于令牌。应用于嵌入的属性推断方法也失败,因为它们的高预测得分是由方法论艺术和数据集结构驱动的,而不是有意义的语义知识。这些失败很重要,因为这两种技术被广泛视为LLMs supposedly理解的证据,但我们的结果表明这些结论是不成立的。这些限制在普及和分布式计算设置中尤其相关,因为LLMs被用作系统组件,并且可解释性方法被依赖于调试、压缩和解释模型。

英文摘要:

Large Language Models (LLMs) are becoming increasingly popular in pervasive computing due to their versatility and strong performance. However, despite their ubiquitous use, the exact mechanisms underlying their outstanding performance remain unclear. Different methods for LLM explainability exist, and many are, as a method, not fully understood themselves. We started with the question of how linguistic abstraction emerges in LLMs, aiming to detect it across different LLM modules (attention heads and input embeddings). For this, we used methods well-established in the literature: (1) probing for token-level relational structures, and (2) feature-mapping using embeddings as carriers of human-interpretable properties. Both attempts failed for different methodological reasons: Attention-based explanations collapsed once we tested the core assumption that later-layer representations still correspond to tokens. Property-inference methods applied to embeddings also failed because their high predictive scores were driven by methodological artifacts and dataset structure rather than meaningful semantic knowledge. These failures matter because both techniques are widely treated as evidence for what LLMs supposedly understand, yet our results show such conclusions are unwarranted. These limitations are particularly relevant in pervasive and distributed computing settings where LLMs are deployed as system components and interpretability methods are relied upon for debugging, compression, and explaining models.

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

↑