arXiv:2510.15977cs.LGcs.AI2025-10AAAI被引 1

用提示词生成假话数据,提升大模型幻觉检测能力

Bolster Hallucination Detection via Prompt-Guided Data Augmentation

  • 用大模型自身生成真假文本对扩充数据集
  • 检测准确率比基线高6.55%
  • 无需人工标注,适合实际部署

大型语言模型(LLMs)在生成内容方面表现出色,但常产生误导或虚构信息,即幻觉问题。因此,幻觉检测对保障生成内容可靠性至关重要。当前主要挑战是缺乏高质量的带标签数据集。为此,我们提出一种名为PALE的框架,利用大模型在提示引导下的响应进行数据增强,低成本生成真实与幻觉文本。为更有效评估模型中间表示的真伪性,引入对比马氏距离得分(CM Score),基于激活空间中真实与幻觉数据分布建模,通过矩阵分解更精准捕捉分布结构。该框架无需额外人工标注,具备强泛化性和实用性。大量实验表明,PALE性能显著优于基线,提升达6.55%。

原文摘要 · Abstract (English)

Large language models (LLMs) have garnered significant interest in AI community. Despite their impressive generation capabilities, they have been found to produce misleading or fabricated information, a phenomenon known as hallucinations. Consequently, hallucination detection has become critical to ensure the reliability of LLM-generated content. One primary challenge in hallucination detection is the scarcity of well-labeled datasets containing both truthful and hallucinated outputs. To address this issue, we introduce Prompt-guided data Augmented haLlucination dEtection (PALE), a novel framework that leverages prompt-guided responses from LLMs as data augmentation for hallucination detection. This strategy can generate both truthful and hallucinated data under prompt guidance at a relatively low cost. To more effectively evaluate the truthfulness of the sparse intermediate embeddings produced by LLMs, we introduce an estimation metric called the Contrastive Mahalanobis Score (CM Score). This score is based on modeling the distributions of truthful and hallucinated data in the activation space. CM Score employs a matrix decomposition approach to more accurately capture the underlying structure of these distributions. Importantly, our framework does not require additional human annotations, offering strong generalizability and practicality for real-world applications. Extensive experiments demonstrate that PALE achieves superior hallucination detection performance, outperforming the competitive baseline by a significant margin of 6.55%.

幻觉检测数据增强大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。