Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Enhancing Uncertainty Modeling with Semantic Graph for Hallucination Detection (2501.02020v1)

Published 2 Jan 2025 in cs.CL and cs.AI

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (10)
  1. Kedi Chen (5 papers)
  2. Qin Chen (57 papers)
  3. Jie Zhou (687 papers)
  4. Xinqi Tao (2 papers)
  5. Bowen Ding (12 papers)
  6. Jingwen Xie (3 papers)
  7. Mingchen Xie (2 papers)
  8. Peilong Li (4 papers)
  9. Feng Zheng (117 papers)
  10. Liang He (202 papers)