arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09734cs.CLcs.AI
收藏

从检测到诊断:通过自动化数据合成推进幻觉分析

From Detection to Diagnosis: Advancing Hallucination Analysis with Automated Data Synthesis

Yanyi Liu, Qingwen Yang, Tiezheng Guo, Feiyu Qu, Jun Liu, Yingyou Wen

AI总结:

本文提出从检测到诊断的新范式,通过自动化数据合成生成高质量训练样本,训练出HDM-4B-RL模型,在幻觉诊断任务中超越现有检测模型,实现更可靠的生成式AI系统。

摘要:

大型语言模型(LLMs)中的幻觉,定义为生成与事实或上下文不一致的内容,是其在关键领域可靠部署的核心障碍。当前研究主要集中在二元“检测”方法上,尽管能识别幻觉,但无法提供可解释和可操作的反馈,限制了实际应用。为此,提出新的研究范式,从“检测”转向“诊断”。引入幻觉诊断任务,要求模型不仅检测幻觉,还需进行错误定位、因果解释和内容修正。开发幻觉诊断生成器(HDG),通过多维增强策略,系统生成高质量训练样本及丰富诊断元数据。使用HDG生成的数据训练HDM-4B-RL模型,采用组相对策略优化(GRPO)与综合奖励函数。实验结果表明,模型在HaluEval基准上超越现有检测模型,性能与先进通用模型相当。在综合诊断任务中,HDM-4B-RL与更大通用模型相当,但规模更小。本工作验证了幻觉诊断的可行性和价值,为构建更可信可靠的生成式AI系统提供了有效方法。

英文摘要:

Hallucinations in Large Language Models (LLMs), defined as the generation of content inconsistent with facts or context, represent a core obstacle to their reliable deployment in critical domains. Current research primarily focuses on binary "detection" approaches that, while capable of identifying hallucinations, fail to provide interpretable and actionable feedback for model improvement, thus limiting practical utility. To address this limitation, a new research paradigm is proposed, shifting from "detection" to "diagnosis". The Hallucination Diagnosis Task is introduced, a task which requires models to not only detect hallucinations, but also perform error localization, causal explanation, and content correction. We develop the Hallucination Diagnosis Generator (HDG), an automated pipeline that systematically generates high-quality training samples with rich diagnostic metadata from raw corpora through multi-dimensional augmentation strategies including controlled fact fabrication and reasoning chain perturbation. Using HDG-generated data, we train HDM-4B-RL, a 4-billion-parameter hallucination diagnosis model, employing Group Relative Policy Optimization (GRPO) with a comprehensive reward function incorporating structural, accuracy, and localization signals. Experimental results demonstrate that our model surpasses previous state-of-the-art detection models on the HaluEval benchmark while achieving comparable performance to advanced general-purpose models. In comprehensive diagnosis tasks, HDM-4B-RL matches the capabilities of larger general models while maintaining a smaller size. This work validates the feasibility and value of hallucination diagnosis, providing an effective methodology for building more trustworthy and reliable generative AI systems.

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

↑