2025-10-08 · 专家 · 自然语言处理 · 机器学习

Distributional Semantics Tracing: A Framework for Explaining Hallucinations in Large Language Models

本文提出了一种名为分布语义追踪(DST)的框架,用于解释大型语言模型中的幻觉现象,通过追踪模型的内部语义失败来揭示幻觉的成因。

更新于 2025-10-08。作者:Gagan Bhatia、Somayajulu G Sripada、Kevin Allan、Jacobo Azcona。

中文摘要

大型语言模型(LLMs)容易产生幻觉,即生成看似合理但实际上错误的陈述。本研究通过三个主要贡献来探讨这种失败模式的内在、架构起源。首先,为了能够可靠地追踪内部语义错误,我们提出了分布语义追踪(DST),这是一个统一的框架,它整合了已建立的解释性技术,以生成模型推理的因果图,将意义视为语境(分布语义)的函数。其次,我们确定了模型中幻觉不可避免所在的层,识别出一个特定的承诺层,在这个层中,模型的内部表示与事实性不可逆转地偏离。第三,我们确定了这些失败的根本机制。我们观察到不同计算路径之间的冲突,我们使用双过程理论来解释这一现象:一个快速、启发式的关联路径(类似于系统1)和一个缓慢、审慎的语境路径(类似于系统2),导致可预测的失败模式,如推理捷径劫持。我们框架量化语境路径连贯性的能力揭示了与幻觉率之间强烈的负相关(ρ = -0.863),这意味着这些失败是内部语义弱点可预测后果。结果是,对Transformer架构中幻觉如何、何时以及为什么发生的一种机制性解释。

英文摘要

Large Language Models (LLMs) are prone to hallucination, the generation of plausible yet factually incorrect statements. This work investigates the intrinsic, architectural origins of this failure mode through three primary contributions.First, to enable the reliable tracing of internal semantic failures, we propose Distributional Semantics Tracing (DST), a unified framework that integrates established interpretability techniques to produce a causal map of a model's reasoning, treating meaning as a function of context (distributional semantics). Second, we pinpoint the model's layer at which a hallucination becomes inevitable, identifying a specific commitment layer where a model's internal representations irreversibly diverge from factuality. Third, we identify the underlying mechanism for these failures. We observe a conflict between distinct computational pathways, which we interpret using the lens of dual-process theory: a fast, heuristic associative pathway (akin to System 1) and a slow, deliberate contextual pathway (akin to System 2), leading to predictable failure modes such as Reasoning Shortcut Hijacks. Our framework's ability to quantify the coherence of the contextual pathway reveals a strong negative correlation (rho = -0.863) with hallucination rates, implying that these failures are predictable consequences of internal semantic weakness. The result is a mechanistic account of how, when, and why hallucinations occur within the Transformer architecture.

解读

一句话总结

本文提出了一种名为分布语义追踪(DST)的框架,用于解释大型语言模型中的幻觉现象,通过追踪模型的内部语义失败来揭示幻觉的成因。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt