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

真相作为轨迹:内部表示揭示大语言模型推理的本质

Truth as a Trajectory: What Internal Representations Reveal About Large Language Model Reasoning

Australian Institute for Machine Learning, Adelaide University(澳大利亚机器学习研究所,阿德莱德大学);Monash University(莫纳什大学);Concordia University(康科迪亚大学)

Hamed Damirchi, Ignacio Meza De la Jara, Ehsan Abbasnejad, Afshar Shamsi, Zhen Zhang, Javen Shi

AI总结:

TaT通过分析大语言模型推理过程中的层间几何位移,揭示有效推理与虚假行为的区别,提升模型可解释性。

摘要:

现有的大语言模型(LLM)可解释性方法通常将隐藏状态视为激活空间中的静态点,假设通过单个层的表示可以将正确和错误的推理分开。然而,这些激活是饱和的多语义特征,导致线性探针学习表面的词汇模式而不是底层的推理结构。我们引入了真相作为轨迹(TaT),将transformer推理建模为展开的迭代细化轨迹,将分析从静态激活转移到层间的几何位移。通过分析跨层表示的位移,TaT揭示了区分有效推理和虚假行为的几何不变量。我们在密集和专家混合(MoE)架构上评估了TaT,覆盖常识推理、问答和毒性检测等基准。在不接触激活本身且仅使用跨层激活变化的情况下,我们证明TaT有效减轻了对静态词汇混淆的依赖,优于传统探测方法,并建立了轨迹分析作为LLM可解释性的一种互补视角。

英文摘要:

Existing explainability methods for Large Language Models (LLMs) typically treat hidden states as static points in activation space, assuming that correct and incorrect inferences can be separated using representations from an individual layer. However, these activations are saturated with polysemantic features, leading to linear probes learning surface-level lexical patterns rather than underlying reasoning structures. We introduce Truth as a Trajectory (TaT), which models the transformer inference as an unfolded trajectory of iterative refinements, shifting analysis from static activations to layer-wise geometric displacement. By analyzing displacement of representations across layers, TaT uncovers geometric invariants that distinguish valid reasoning from spurious behavior. We evaluate TaT across dense and Mixture-of-Experts (MoE) architectures on benchmarks spanning commonsense reasoning, question answering, and toxicity detection. Without access to the activations themselves and using only changes in activations across layers, we show that TaT effectively mitigates reliance on static lexical confounds, outperforming conventional probing, and establishes trajectory analysis as a complementary perspective on LLM explainability.

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

↑