arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.14259cs.CL
收藏

通过嵌入聚类几何检测大语言模型幻觉:一种三类分类法及其可测量特征

Detecting LLM Hallucinations via Embedding Cluster Geometry: A Three-Type Taxonomy with Measurable Signatures

Independent Researcher(独立研究者)

Matic Korun

AI总结:

通过分析嵌入聚类几何结构,提出三种大语言模型幻觉类型及其可测量特征,揭示了架构对幻觉检测的影响。

摘要:

我们提出了一种基于可观察特征的大型语言模型幻觉几何分类法,这些特征存在于标记嵌入聚类结构中。通过分析11个变换器模型的静态嵌入空间(涵盖编码器(BERT、RoBERTa、ELECTRA、DeBERTa、ALBERT、MiniLM、DistilBERT)和解码器(GPT-2)架构),我们识别出三种操作上不同的幻觉类型:类型1(中心漂移)在弱上下文中,类型2(错误-良好收敛)在局部一致但上下文错误的聚类区域,以及类型3(覆盖缺口)其中没有聚类结构存在。我们引入了三种可测量的几何统计量:α(极性耦合)、η(聚类凝聚力)和λ_s(径向信息梯度)。在所有11个模型中,极性结构(α > 0.5)是普遍的(11/11),聚类凝聚力(η > 0)也是普遍的(11/11),而径向信息梯度是显著的(9/11,p < 0.05)。我们证明了两个模型在λ_s显著性上失败——ALBERT和MiniLM——是由于架构上可解释的原因:因子化嵌入压缩和蒸馏诱导的各向同性。这些发现建立了特定类型幻觉检测的几何前提,并产生了关于架构依赖性脆弱性轮廓的可测试预测。

英文摘要:

We propose a geometric taxonomy of large language model hallucinations based on observable signatures in token embedding cluster structure. By analyzing the static embedding spaces of 11 transformer models spanning encoder (BERT, RoBERTa, ELECTRA, DeBERTa, ALBERT, MiniLM, DistilBERT) and decoder (GPT-2) architectures, we identify three operationally distinct hallucination types: Type 1 (center-drift) under weak context, Type 2 (wrong-well convergence) to locally coherent but contextually incorrect cluster regions, and Type 3 (coverage gaps) where no cluster structure exists. We introduce three measurable geometric statistics: α (polarity coupling), \b{eta} (cluster cohesion), and λ_s (radial information gradient). Across all 11 models, polarity structure (α > 0.5) is universal (11/11), cluster cohesion (\b{eta} > 0) is universal (11/11), and the radial information gradient is significant (9/11, p < 0.05). We demonstrate that the two models failing λ_s significance -- ALBERT and MiniLM -- do so for architecturally explicable reasons: factorized embedding compression and distillation-induced isotropy, respectively. These findings establish the geometric prerequisites for type-specific hallucination detection and yield testable predictions about architecture-dependent vulnerability profiles.

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

↑