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

信任还是弃权?一种自感知RAG方法

Trust or Abstain? A Self-Aware RAG Approach

Rutgers University(罗格斯大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Xi Zhu, Ziqi Wang, Kai Mei, Wujiang Xu, Minghao Guo, Bangji Yang, Jiajun Fan, Dimitris N. Metaxas

AI总结:

本文提出了一种自感知RAG方法SABER,通过构建知识冲突基准并引入自感知信念估计器,提升RAG在冲突场景下的准确性和可靠性,同时在弃权策略上实现风险与覆盖的平衡。

摘要:

检索增强生成(RAG)通过整合外部证据提升大语言模型(LLMs),但检索的上下文知识(CK)和参数化知识(PK)冲突或不可靠时会引入知识冲突。现有方法主要协调使用哪个来源,而未明确询问每个答案路径是否正确。我们主张忠实的RAG需要LLM的自感知能力,即能够识别自身知识和推理的局限性。为此,我们构建了一个模型特定、与事实一致的知识冲突基准,通过评估LLM主干在PK-only和CK条件下的答案路径,覆盖约69,000个查询-上下文实例,来自五个冲突问答数据集。然后我们引入SABER,一种用于RAG的自感知信念估计器,无需对LLM进行微调。SABER结合自先验和PK侧、CK侧的条件推理表示,通过两个轻量级预测器估计可靠性信念,驱动四细胞决策,包括信任PK、信任CK、信任两者或弃权。在四个LLM主干上,SABER在端到端准确性和冲突特定的忠实度上优于十种推理时间和微调基线,最大的收益出现在冲突密集的数据集上。在弃权情况下,SABER的风险覆盖曲线帕累托主导了所有基于提示的弃权者,提供了一个可调的覆盖与答案风险的平衡。我们的代码可在https://github.com/xizhu1022/SABER上获得。

英文摘要:

Retrieval-augmented generation (RAG) improves large language models (LLMs) by incorporating external evidence, but it also introduces knowledge conflicts when retrieved contextual knowledge (CK) and parametric knowledge (PK) disagree or are both unreliable. Existing approaches mainly coordinate which source to use, without explicitly asking whether each answer path is correct. We argue that faithful RAG requires LLM self-awareness, namely the ability to recognize the limits of its own knowledge and reasoning. To ground this problem, we construct a model-specific, ground-truth-aligned knowledge-conflict benchmark by evaluating LLM backbones on PK-only and CK-conditioned answer paths over approximately 69K query-context instances per backbone, drawn from five conflict-QA datasets. We then introduce SABER, a Self-Aware Belief Estimator for RAG that requires no LLM fine-tuning. SABER combines a self-prior with PK-side and CK-side conditional reasoning representations from multi-trace inference, then estimates reliability beliefs with two lightweight predictors to drive a 4-cell decision over trust PK, trust CK, trust either, or abstain. Across four LLM backbones, SABER improves end-to-end accuracy and conflict-specific faithfulness over ten inference-time and fine-tuning baselines, with the largest gains on conflict-heavy datasets. Under abstention, SABER's risk-coverage curve Pareto-dominates every prompt-based abstainer, providing a tunable balance between coverage and answer risk. Our code is available at https://github.com/xizhu1022/SABER.

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

↑