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

先分后对齐:基于RAG知识边界的诚实对齐

Divide-Then-Align: Honest Alignment based on the Knowledge Boundary of RAG

USTC(中国科学技术大学);NLPR, MAIS, CASIA(中国科学院自动化研究所模式识别国家重点实验室、多模态人工智能系统全国重点实验室);SUSTech(南方科技大学)

Xin Sun, Jianan Xie, Zhongqi Chen, Qiang Liu, Shu Wu, Yuehe Chen, Bowen Song, Weiqiang Wang, Zilei Wang, Liang Wang

AI总结:

针对RAFT在无可靠知识时仍生成答案的问题,提出DTA后训练方法,通过四象限数据划分与DPO偏好优化,使RAG系统在知识边界外能诚实回答“我不知道”,在三个基准上平衡了准确性与弃权。

摘要:

检索增强的大型语言模型(LLMs)通过整合外部知识源,显著推进了自然语言处理任务,能够生成更准确且上下文丰富的响应。为了提高此类系统对噪声检索的鲁棒性,检索增强微调(RAFT)已成为一种广泛采用的方法。然而,RAFT使模型即使在缺乏可靠知识的情况下也倾向于生成答案。这种行为削弱了它们在高风险领域的可靠性,在这些领域中,承认不确定性至关重要。为解决此问题,我们提出了“先分后对齐”(DTA),一种后训练方法,旨在赋予RAG系统在查询超出检索段落和模型内部知识边界时回答“我不知道”的能力。DTA将数据样本划分为四个知识象限,并为每个象限构建定制偏好数据,从而生成用于直接偏好优化(DPO)的精选数据集。在三个基准数据集上的实验结果表明,DTA有效平衡了准确性与适当的弃权(不执行),增强了检索增强系统的可靠性和可信度。

英文摘要:

Large language models (LLMs) augmented with retrieval systems have significantly advanced natural language processing tasks by integrating external knowledge sources, enabling more accurate and contextually rich responses. To improve the robustness of such systems against noisy retrievals, Retrieval-Augmented Fine-Tuning (RAFT) has emerged as a widely adopted method. However, RAFT conditions models to generate answers even in the absence of reliable knowledge. This behavior undermines their reliability in high-stakes domains, where acknowledging uncertainty is critical. To address this issue, we propose Divide-Then-Align (DTA), a post-training approach designed to endow RAG systems with the ability to respond with "I don't know" when the query is out of the knowledge boundary of both the retrieved passages and the model's internal knowledge. DTA divides data samples into four knowledge quadrants and constructs tailored preference data for each quadrant, resulting in a curated dataset for Direct Preference Optimization (DPO). Experimental results on three benchmark datasets demonstrate that DTA effectively balances accuracy with appropriate abstention, enhancing the reliability and trustworthiness of retrieval-augmented systems.

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

↑