cs.CLApr 12, 2026

Self-Correcting RAG: Enhancing Faithfulness via MMKP Context Selection and NLI-Guided MCTS

Authors: Shijia Xu, Zhou Wu, Xiaolong Jia, Yu Wang, Kai Liu, April Xiaowen Dong

Organizations: Chongqing University, China · Queen Mary University of London, UK · Chongqing Key Laboratory of Big Data Intelligence and Privacy Computing, China · Fangda Partners, China

Abstract

Retrieval-augmented generation (RAG) substantially extends the knowledge boundary of large language models. However, it still faces two major challenges when handling complex reasoning tasks: low context utilization and frequent hallucinations. To address these issues, we propose Self-Correcting RAG, a unified framework that reformulates retrieval and generation as constrained optimization and path planning. On the input side, we move beyond traditional greedy retrieval and, for the first time, formalize context selection as a multi-dimensional multiple-choice knapsack problem (MMKP), thereby maximizing information density and removing redundancy under a strict token budget. On the output side, we introduce a natural language inference (NLI)-guided Monte Carlo Tree Search (MCTS) mechanism, which leverages test-time compute to dynamically explore reasoning trajectories and validate the faithfulness of generated answers. Experiments on six multi-hop question answering and fact-checking datasets demonstrate that our method significantly improves reasoning accuracy on complex queries while effectively reducing hallucinations, outperforming strong existing baselines.Our code is available at https://github.com/xjiacs/Self-Correcting-RAG .

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Parameters vs. Context: TRACE Fine-Tuning for Robust Retrieval-Augmented Generation

    Sep 24, 2026Zhengchen Huang, Yundong Sun, Minrui Song +4RAG RobustnessRetrieval-Augmented Generation

  2. When Context Misleads: Intent-Guided Decoding for Robust Retrieval-Augmented Generation

    Aug 17, 2026Haolin Jin, Pengyue Yang, Huaming ChenRAG Citation FaithfulnessRetrieval-Augmented Generation

  3. Reason and Verify: A Framework for Faithful Retrieval-Augmented Generation

    Mar 10, 2026Eeham Khan, Luis Rodriguez, Marc QueudotRAG Citation FaithfulnessRetrieval-Augmented Generation