信息网络安全 ›› 2026, Vol. 26 ›› Issue (5): 772-787.doi: 10.3969/j.issn.1671-1122.2026.05.009

• 学术研究 • 上一篇    下一篇

基于多视图知识增强的大语言模型事实型幻觉优化方法

胡倾城, 张婉, 袁亚丽, 张静()   

  1. 东南大学网络空间安全学院, 南京 211189
  • 收稿日期:2025-12-08 出版日期:2026-05-10 发布日期:2026-06-03
  • 通讯作者: 张静 jingz@seu.edu.cn
  • 作者简介:胡倾城(2001—),女,安徽,硕士研究生,主要研究方向为大模型安全|张婉(2002—),女,安徽,博士研究生,主要研究方向为联邦学习|袁亚丽(1987—),女,河南,副教授,博士,CCF会员,主要研究方向为互联网安全|张静(1981—),男,安徽,教授,博士,CCF会员,主要研究方向为人工智能安全
  • 基金资助:
    国家重点研发计划(2023YFB3106700);江苏省基础研究计划(BK20251747)

A Multi-View Knowledge-Enhanced Approach for Mitigating Factual Hallucinations in Large Language Models

HU Qingcheng, ZHANG Wan, YUAN Yali, ZHANG Jing()   

  1. School of Cyber Science and Engineering, Southeast University, Nanjing 211189, China
  • Received:2025-12-08 Online:2026-05-10 Published:2026-06-03

摘要:

事实型幻觉是指在大语言模型文本生成过程中出现的上下文不一致、与事实相悖的现象。幻觉问题不仅影响大语言模型生成文本的可靠性,还可能导致错误的信息传播,从而对用户决策产生负面影响。为应对这一挑战,文章提出一种新型基于多视图知识图谱(MVKG)和直接偏好优化(DPO)的幻觉缓解方法。该方法引入MVKG,并采用大语言模型更新知识图谱。同时,该方法采用多视图关键词联合检索机制,结合多视图直接偏好优化,以增强大语言模型对查询中多视图实体的提取能力,从而提高整体检索的相关性。实验结果表明,相比现有的检索增强生成方法,该方法在Qwen系列模型和闭源模型上均能显著提升问题回答准确率,有效缓解了大语言模型幻觉问题。

关键词: 大语言模型幻觉, 检索增强生成, 知识图谱, DPO

Abstract:

Factual hallucination refers to the phenomenon where large language models generate text that is contextually inconsistent or contradictory to established facts during the text generation process. This issue not only undermines the reliability of the generated text but may also lead to the dissemination of misinformation, thereby negatively impacting user decision-making. To address this challenge, this paper proposed a novel hallucination mitigation method based on a Multi-View Knowledge Graph (MVKG) and Direct Preference Optimization (DPO). The method introduced MVKG and employed the large language model itself to update the knowledge graph. Simultaneously, it adopted a multi-view keyword joint retrieval mechanism, combined with multi-view direct preference optimization, to enhance the model’s ability to extract multi-view entities from queries, thereby improving the overall relevance of retrieval. Experimental results demonstrate that, compared to existing Retrieval-Augmented Generation (RAG) methods, the proposed method significantly improves question-answering accuracy on both the Qwen series of models and closed-source models, effectively mitigating the factual hallucination problem in large language models.

Key words: hallucination of LLM, retrieval-augmented generation, knowledge graph, DPO

中图分类号: