arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.22812cs.CL
收藏

高效幻觉检测:基于适应性贝叶斯估计的语义熵与引导语义探索

Efficient Hallucination Detection: Adaptive Bayesian Estimation of Semantic Entropy with Guided Semantic Exploration

Qiyao Sun, Xingming Li, Xixiang He, Ao Cheng, Xuanyu Ji, Hailun Lu, Runke Huang, Qingyong Hu

AI总结:

本文提出一种适应性贝叶斯估计框架,通过动态调整采样预算提升幻觉检测效率,在低预算场景下减少50%样本使用并提升AUROC 12.6%。

摘要:

大型语言模型(LLMs)在自然语言处理任务中取得了显著成就,但仍然容易生成事实性错误输出,即幻觉。尽管最近的方法通过重复采样并量化生成响应间的语义不一致来检测幻觉,但固定采样预算无法适应查询复杂度,导致计算效率低下。我们提出一种适应性贝叶斯估计框架,通过动态调整采样要求来优化语义熵。该方法采用分层贝叶斯框架建模语义分布,通过方差阈值动态控制采样迭代次数,一旦达到足够确定性则终止生成。同时开发基于扰动的重要性采样策略系统探索语义空间。在四个问答数据集上的广泛实验表明,本方法在幻觉检测性能上显著优于现有方法,且在低预算场景下,使用约50%更少样本即可达到现有方法的检测性能,且在相同采样预算下平均AUROC提升12.6%。

英文摘要:

Large language models (LLMs) have achieved remarkable success in various natural language processing tasks, yet they remain prone to generating factually incorrect outputs known as hallucinations. While recent approaches have shown promise for hallucination detection by repeatedly sampling from LLMs and quantifying the semantic inconsistency among the generated responses, they rely on fixed sampling budgets that fail to adapt to query complexity, resulting in computational inefficiency. We propose an Adaptive Bayesian Estimation framework for Semantic Entropy with Guided Semantic Exploration, which dynamically adjusts sampling requirements based on observed uncertainty. Our approach employs a hierarchical Bayesian framework to model the semantic distribution, enabling dynamic control of sampling iterations through variance-based thresholds that terminate generation once sufficient certainty is achieved. We also develop a perturbation-based importance sampling strategy to systematically explore the semantic space. Extensive experiments on four QA datasets demonstrate that our method achieves superior hallucination detection performance with significant efficiency gains. In low-budget scenarios, our approach requires about 50% fewer samples to achieve comparable detection performance to existing methods, while delivers an average AUROC improvement of 12.6% under the same sampling budget.

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

↑