Trust or Abstain? A Self-Aware RAG Approach

Xi Zhu, Ziqi Wang, Kai Mei, Wujiang Xu, Minghao Guo +3 more
5/11/2026
3 citations
cs.IRcs.CL
rag

Official code: xizhu1022/SABER (5 stars, Python, MIT, last commit 2026-09-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

xizhu1022/SABEROfficial100%
MIT

Trust or Abstain? A Self-Aware RAG Approach

50Python, ShellMay 7, 20262 months agoMIT

Similar Papers

Cite this paper

@article{zhu2026trust,
  title  = {Trust or Abstain? A Self-Aware RAG Approach},
  author = {Xi Zhu and Ziqi Wang and Kai Mei and Wujiang Xu and Minghao Guo and Bangji Yang and Jiajun Fan and Dimitris N. Metaxas},
  year   = {2026},
  eprint = {2605.18792},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18792v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18792.svg)](https://codeofpaper.com/paper/2605.18792)

Discussion