Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2501.02020

帮助 | 高级搜索

计算机科学 > 计算与语言

arXiv:2501.02020 (cs)
[提交于 2025年1月2日 (v1) ,最后修订 2025年4月5日 (此版本, v3)]

标题: 利用语义图进行幻觉检测的不确定性建模增强

标题: Enhancing Uncertainty Modeling with Semantic Graph for Hallucination Detection

Authors:Kedi Chen, Qin Chen, Jie Zhou, Xinqi Tao, Bowen Ding, Jingwen Xie, Mingchen Xie, Peilong Li, Feng Zheng, Liang He
摘要: 大型语言模型(LLMs)容易产生非事实性或不忠实的陈述,这会削弱其在现实场景中的应用。 最近的研究集中在基于不确定性的幻觉检测,这种方法利用LLMs的输出概率进行不确定度计算,并不依赖外部知识或频繁地从LLMs中采样。 然而,大多数方法仅考虑每个独立标记的不确定性,而标记和句子之间的复杂语义关系尚未得到充分研究,这限制了对跨越多个标记和句子的幻觉的检测。 在本文中,我们提出了一种方法,通过语义图来增强不确定度建模以进行幻觉检测。 具体来说,我们首先构建一个能够很好地捕捉实体标记和句子之间关系的语义图。 然后,我们将两个实体之间的关系引入不确定度传播,以增强句子级别的幻觉检测。 鉴于幻觉是由于句子之间的冲突引起的,我们进一步提出了一种基于图的不确定度校准方法,该方法将句子与其在语义图中的邻居之间的矛盾概率结合起来进行不确定度计算。 在两个数据集上的大量实验表明了我们所提出方法的巨大优势。 特别是,在段落级别的幻觉检测中,我们获得了19.78%的显著提升。
摘要: Large Language Models (LLMs) are prone to hallucination with non-factual or unfaithful statements, which undermines the applications in real-world scenarios. Recent researches focus on uncertainty-based hallucination detection, which utilizes the output probability of LLMs for uncertainty calculation and does not rely on external knowledge or frequent sampling from LLMs. Whereas, most approaches merely consider the uncertainty of each independent token, while the intricate semantic relations among tokens and sentences are not well studied, which limits the detection of hallucination that spans over multiple tokens and sentences in the passage. In this paper, we propose a method to enhance uncertainty modeling with semantic graph for hallucination detection. Specifically, we first construct a semantic graph that well captures the relations among entity tokens and sentences. Then, we incorporate the relations between two entities for uncertainty propagation to enhance sentence-level hallucination detection. Given that hallucination occurs due to the conflict between sentences, we further present a graph-based uncertainty calibration method that integrates the contradiction probability of the sentence with its neighbors in the semantic graph for uncertainty calculation. Extensive experiments on two datasets show the great advantages of our proposed approach. In particular, we obtain substantial improvements with 19.78% in passage-level hallucination detection.
主题: 计算与语言 (cs.CL) ; 人工智能 (cs.AI)
引用方式: arXiv:2501.02020 [cs.CL]
  (或者 arXiv:2501.02020v3 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.02020
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Kedi Chen [查看电子邮件]
[v1] 星期四, 2025 年 1 月 2 日 16:45:05 UTC (4,051 KB)
[v2] 星期一, 2025 年 3 月 3 日 18:06:29 UTC (4,056 KB)
[v3] 星期六, 2025 年 4 月 5 日 15:39:03 UTC (4,056 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CL
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-01
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号