GRACE:基于上下文证据的强化学习用于 grounded 响应和回避
GRACE: Reinforcement Learning for Grounded Response and Abstention under Contextual Evidence
AI总结:
GRACE通过强化学习框架整合证据基础和可靠回避,解决检索增强生成中的准确性和回避性问题,实现高准确率与低标注成本的平衡。
摘要:
检索增强生成(RAG)通过整合外部知识来增强大型语言模型(LLMs),但系统仍然存在两个关键缺陷:提供正确答案而没有明确的 grounded 证据以及在检索到的上下文不足时生成伪造响应。尽管先前研究已分别解决了这些问题,但目前缺乏一个统一的框架,能够整合基于证据的 grounded 和可靠的回避。在本文中,我们提出了 GRACE,一个强化学习框架,同时减轻这两种缺陷。GRACE 使用一种数据构建方法,利用异构检索器生成多样化的训练样本,而无需人工标注。然后采用多阶段门控奖励函数来训练模型,使其能够评估证据充分性,提取关键支持证据,并提供答案或明确回避。在两个基准测试上的实验结果表明,GRACE 在整体准确性上达到最先进的水平,并在准确响应和回避之间取得了良好的平衡,同时仅需先前方法 10% 的标注成本。我们的代码可在 https://github.com/YiboZhao624/Grace 上获得。
英文摘要:
Retrieval-Augmented Generation (RAG) integrates external knowledge to enhance Large Language Models (LLMs), yet systems remain susceptible to two critical flaws: providing correct answers without explicit grounded evidence and producing fabricated responses when the retrieved context is insufficient. While prior research has addressed these issues independently, a unified framework that integrates evidence-based grounding and reliable abstention is currently lacking. In this paper, we propose GRACE, a reinforcement-learning framework that simultaneously mitigates both types of flaws. GRACE employs a data construction method that utilizes heterogeneous retrievers to generate diverse training samples without manual annotation. A multi-stage gated reward function is then employed to train the model to assess evidence sufficiency, extract key supporting evidence, and provide answers or explicitly abstain. Experimental results on two benchmarks demonstrate that GRACE achieves state-of-the-art overall accuracy and strikes a favorable balance between accurate response and rejection, while requiring only 10% of the annotation costs of prior methods. Our code is available at https://github.com/YiboZhao624/Grace..
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。