首页|期刊导航|软件导刊|面向检索增强式私有问答大模型的幻觉检测方法

面向检索增强式私有问答大模型的幻觉检测方法OA

A Hallucination Detection Method for Retrieval-Augmented Private Question-Answering Large Language Models

中文摘要英文摘要

大模型幻觉现象的存在严重制约了其在实际场景中的落地,而现有的幻觉检测方法单一,缺乏面向检索增强生成范式下的幻觉检测工作.针对上述问题,提出一种面向检索增强式私有问答大模型的幻觉检测方法,该方法融合了基于不确定性度量指标和基于大模型自动评估两种幻觉检测方法,综合利用了大模型生成过程中的幻觉特征和大模型自动评估能力.为提升开源大模型自动评估效果,提出通过指令微调的方式将自动评估能力由闭源大模型蒸馏到开源大模型.此外,构建了一个面向检索增强生成范式下的幻觉评估集以验证所提方法的有效性.在该数据集上的实验结果表明,该融合方法取得了相对更高的AUC-ROC值,相比于基于不确定性度量指标和基于大模型自动评估两种基线方法,分别显著提升了11.1%和4.3%,验证了上述两种基线方法具有互补性.此外,指令微调后的开源大模型的AUC-ROC指标提升了18.6%,自动评估能力得到显著提升,验证了指令微调方法对提升开源大模型自动评估能力的有效性.

The existence of Large Language Models'(LLMs)hallucination phenomenon seriously restricts its implementation in practical sce-narios,existing hallucination detection methods were singular,and there was a lack of hallucination detection work under the paradigm of Re-trieval-Augmented Generation(RAG).To address these issues,a hallucination detection method was proposed for private Question-Answer-ing(Q&A)LLMs under the paradigm of RAG.This method integrated two types of hallucination detection methods,one based on uncertainty measure indexes and the other on LLMs'automatic evaluation,which effectively harnessed the hallucination features in the LLMs'generation process and the LLMs'automatic evaluation capability.To enhance the automatic assessment of open-source LLMs,a method of instruction fine-tuning was applied to distill the automatic evaluation ability from closed-source LLMs to open-source ones.Furthermore,a hallucination assessment dataset under the RAG's paradigm was constructed to verify the effectiveness of the proposed method.Experimental results on the above dataset indicate that the proposed integrated method achieved the highest AUC-ROC value,significantly increasing by 11.1%and 4.3%compared to the two baseline methods of uncertainty measure index and LLMs'automatic evaluation,respectively,proving the complementary nature of the two baseline methods.Moreover,the instruction fine-tuned open-source LLM exhibits an 18.6%increase in the AUC-ROC val-ue,with a significant improvement in automatic evaluation capability,validating the effectiveness of the instruction fine-tuning method in en-hancing the automatic evaluation ability of open-source LLMs.

李铂鑫;鲁骁;张霄;王斌

北京小米移动软件有限公司 小米人工智能实验室,北京 100085||中国科学院软件研究所 中文信息处理实验室,北京 100190北京小米移动软件有限公司 小米人工智能实验室,北京 100085北京小米移动软件有限公司 小米人工智能实验室,北京 100085北京小米移动软件有限公司 小米人工智能实验室,北京 100085

信息技术与安全科学

大模型幻觉检测检索增强生成指令微调大模型自动评估

large language modelhallucination detectionretrieval-augmented generationinstruction fine-tuningautomatic evaluation of large language model

《软件导刊》 2026 (1)

39-46,8

10.11907/rjdk.241759

评论