LoRU: Uncertainty Is Relative in LLM Hallucination Detection
Yuji Zhang, Rong Xu, Christie Djidjev, Jiawei Xu, Jinrui Fang, ChengXiang Zhai, Ying Ding
Abstract
Uncertainty-based hallucination detection uses uncertainty signals to assess the risk of hallucinations in generated responses. In long, multi-step reasoning, these signals are distributed across tokens and reasoning steps, raising a key question: how should uncertainty evidence from different parts of a generation be combined to distinguish correct from incorrect final answers? We systematically examine two properties relevant to this aggregation problem. We find that preceding context can substantially shift the uncertainty assigned to the same downstream answer, while uncertainty dependence quickly weakens with increasing distance between tokens. Motivated by the findings, we introduce Local Relative Uncertainty (LoRU), a training-free plug-in framework that uses local uncertainty comparisons to guide evidence aggregation. To account for context-dependent uncertainty shifts, LoRU uses relative ranks rather than absolute magnitudes alone. Guided by the observed decay of uncertainty dependence with distance, it computes these ranks within sliding windows of recent tokens. Across 65 experimental settings spanning different models, datasets, and uncertainty estimation methods, LoRU's aggregation strategies achieve AUROC improvements in 76.9% of cases, with an average relative gain of 5.5%.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.LG
Related papers
CLASH: Detecting Contradictions in Multi-Document Policy Corpora with a Two-Stage LLM framework
Shared title terminologycs.CLAbdullah As Sami, Youjian Tang, Trung Lam et al.
Detecting Churn Intent in Customer Chatbots: Typed Decision Models Compared with Language Models and Trained Classifiers
Shared title terminologycs.CLChristoph Weisser, Fabian Lukassen
Large Language Model Failures from Hallucination to Homogenization Are Different Facets of Miscalibration
Shared title terminologycs.CLTiancheng Hu, Caiqi Zhang, Dirk Hovy et al.
VulnSafe: Measuring Vulnerability-Aware Relational Safety in Large Language Models
Shared title terminologycs.CLJiaming Luo, Jiacheng Ji, Haoan Jin et al.
Mitigating Hallucinations in Medical Question Answering on ESC Cardiology Guidelines: Evaluation and Retrieval Optimization
Shared title terminologycs.CLIlkin Masimov, Rufana Baghirli, Muhammad Rashid