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

AURORA:用于大型语言模型中鲁棒幻觉检测的不对称性与更新诱导旋转

AURORA: Asymmetry and Update-Induced Rotation for Robust Hallucination Detection in Large Language Models

School of Artificial Intelligence, Beihang University, China(北京航空航天大学人工智能学院);Beijing Advanced Innovation Center for Future Blockchain and Privacy Computing, Beihang University, China(北京航空航天大学未来区块链与隐私计算先进创新中心)

Zishuai Zhang, Hainan Zhang, Zhiming Zheng

AI总结:

提出AURORA框架,利用权重梯度动态(不对称性和旋转比)检测LLM幻觉,跨模型和数据集表现鲁棒。

摘要:

大型语言模型(LLM)在广泛的自然语言处理任务中展现了卓越的能力。然而,它们倾向于生成幻觉,即事实上不正确或不忠实的输出,这对其在高风险应用中的部署构成了关键障碍。尽管最近的幻觉检测方法取得了令人鼓舞的进展,但它们通常依赖于昂贵的输出级一致性检查或捕获浅层数据集特定模式的静态隐藏状态探针,导致在跨数据集评估下性能显著下降。在这项工作中,我们提出了AURORA,一种新颖的幻觉检测框架,将焦点从静态表示转移到LLM的权重梯度动态。我们的关键见解是,幻觉和忠实答案在模型参数上诱导出性质不同的梯度更新模式。具体而言,幻觉样本触发不对称且结构上未对齐的梯度,这可以通过两个互补特征捕获:(1)权重矩阵与其梯度更新方向之间余弦相似度分布的偏度,以及(2)旋转比,它通过SVD量化梯度更新重新定向权重矩阵奇异向量基的程度。AURORA在四个模型家族和四个基准数据集上实现了强大的幻觉检测性能。进一步分析表明,我们的方法在模型大小上有效扩展,并迁移到域外任务,包括数学推理和视觉语言场景。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable capabilities across a wide range of natural language processing tasks. However, their tendency to generate hallucinations, namely factually incorrect or unfaithful outputs, poses a critical obstacle to their deployment in high-stakes applications. Although recent hallucination detection methods have made encouraging progress, they typically rely on costly output-level consistency checks or static hidden-state probes that capture shallow dataset-specific patterns, leading to substantial degradation under cross-dataset evaluation. In this work, we propose AURORA, a novel hallucination detection framework that shifts the focus from static representations to the weight-gradient dynamics of LLMs. Our key insight is that hallucinated and faithful answers induce qualitatively different gradient update patterns on the model's parameters. Specifically, hallucinated samples trigger asymmetric and structurally misaligned gradients, which can be captured through two complementary features: (1) the skewness of the cosine similarity distribution between weight matrices and their gradient update directions, and (2) the rotation ratio, which quantifies how much the gradient update reorients the singular-vector basis of weight matrices via SVD. AURORA achieves strong hallucination detection performance across four model families and four benchmark datasets. Further analyses demonstrate that our method scales effectively across model sizes and transfers to out-of-domain tasks, including mathematical reasoning and vision-language scenarios.

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

↑