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

并非所有上下文都平等:教大语言模型实现可信度感知生成

Not All Contexts Are Equal: Teaching LLMs Credibility-aware Generation

University of Chinese Academy of Sciences(中国科学院大学);Meituan(美团)

Ruotong Pan, Boxi Cao, Hongyu Lin, Xianpei Han, Jia Zheng, Sirui Wang, Xunliang Cai, Le Sun

AI总结:

针对现有RAG范式受检索缺陷信息影响导致生成可靠性下降的问题,提出通用的可信度感知生成框架CAG,通过基于可信度的数据转换方法赋能模型,构建多场景基准验证其性能优于同类模型且支持自定义可信度。

摘要:

大语言模型的快速发展推动了检索增强生成(Retrieval-Augmented Generation,RAG)的广泛应用,该技术通过整合外部知识来缓解知识瓶颈并减少幻觉问题。然而,现有RAG范式不可避免地会受到检索阶段引入的缺陷信息的影响,从而降低生成结果的可靠性与正确性。本文提出了可信度感知生成(Credibility-aware Generation,CAG)框架,这是一种通用框架,旨在减轻RAG中缺陷信息带来的影响。CAG的核心是让模型具备根据信息可信度进行辨别和处理的能力。为此,我们提出了一种创新的数据转换框架,该框架基于可信度生成数据,从而有效赋予模型CAG能力。此外,为准确评估模型的CAG能力,我们构建了一个涵盖三种关键真实场景的综合基准。实验结果表明,我们的模型能有效理解并利用可信度进行生成,性能显著优于其他采用检索增强的模型,且对噪声文档造成的干扰具有韧性,能维持稳定的性能。此外,我们的模型支持自定义可信度,具备广泛的潜在应用场景。

英文摘要:

The rapid development of large language models has led to the widespread adoption of Retrieval-Augmented Generation (RAG), which integrates external knowledge to alleviate knowledge bottlenecks and mitigate hallucinations. However, the existing RAG paradigm inevitably suffers from the impact of flawed information introduced during the retrieval phrase, thereby diminishing the reliability and correctness of the generated outcomes. In this paper, we propose Credibility-aware Generation (CAG), a universally applicable framework designed to mitigate the impact of flawed information in RAG. At its core, CAG aims to equip models with the ability to discern and process information based on its credibility. To this end, we propose an innovative data transformation framework that generates data based on credibility, thereby effectively endowing models with the capability of CAG. Furthermore, to accurately evaluate the models' capabilities of CAG, we construct a comprehensive benchmark covering three critical real-world scenarios. Experimental results demonstrate that our model can effectively understand and utilize credibility for generation, significantly outperform other models with retrieval augmentation, and exhibit resilience against the disruption caused by noisy documents, thereby maintaining robust performance. Moreover, our model supports customized credibility, offering a wide range of potential applications.

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

↑