GRACE: Reinforcement Learning for Grounded Response and Abstention under Contextual Evidence

Yibo Zhao, Jiapeng Zhu, Zichen Ding, Xiang Li · DOI

TL;DR

GRACE is a new reinforcement learning framework designed to make Retrieval-Augmented Generation (RAG) systems both more transparent and more honest. By using a multi-stage gated reward function and a clever automated data construction pipeline, it trains models to cite specific evidence when it's available and—crucially—to admit when the retrieved information isn't enough to answer the question, all while requiring 90% less manual annotation than previous state-of-the-art methods.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) is the standard way to ground Large Language Models (LLMs) in external facts. However, current RAG systems suffer from two "trust gaps":

  1. The Grounding Gap: Models often provide the right answer but fail to explicitly cite the evidence, making it hard for users to verify the output.
  2. The Honesty Gap: When the retriever fails to find relevant information, models tend to "hallucinate" an answer based on their internal training data rather than admitting they don't know.

Existing research usually treats these as separate problems. You either train a model to be a better "citer" or a better "refuser." The authors of GRACE argue that these need to be addressed simultaneously in a unified framework to create a truly reliable AI assistant.

Methods

The GRACE framework consists of three main pillars:

  • Heterogeneous Data Construction: Instead of relying on expensive human labels, the authors use a variety of retrievers (Oracle, BM25, Dense, etc.) to gather context. They strategically manipulate this context—sometimes including the answer and sometimes intentionally withholding it—to create a balanced training set of "answerable" and "unanswerable" queries.
  • Multi-stage Gated Reward Function: This is the "secret sauce." To prevent the model from "reward hacking" (e.g., guessing the right answer without looking at the evidence), the reward is calculated in stages:
  • Format Reward: Does the output follow the required XML structure?
  • Path Selection Reward: Did the model correctly decide whether to answer or abstain?
  • Content Accuracy Reward: If it answered, is the cited evidence correct? Is the final answer accurate? If a model fails an early stage (like the format), it gets zero reward for the later stages, forcing it to learn the entire reasoning chain.

  • DAPO Training: They utilize a modified version of Dynamic sAmpling Policy Optimization (DAPO), an on-policy RL algorithm, to fine-tune the model weights based on these gated rewards.

Datasets

The researchers evaluated GRACE on two challenging knowledge-intensive benchmarks:

  • QASPER: A dataset based on academic papers where identifying evidence sufficiency is straightforward, but generating technically accurate answers is difficult.
  • HotpotQA: A multi-hop reasoning dataset that requires the model to combine information from multiple sources.

They used Qwen3-4B and Llama3.1-8B-Instruct as the backbone models for their experiments.

Key Insights and Ideas

  • Sparse Rewards are Dangerous: The authors found that simple "outcome-based" rewards (only rewarding the final answer) lead to "unintended behaviors" in intermediate steps. Models might learn to ignore the provided context if they can guess the answer from their internal memory. The gated reward structure is essential to prevent this.
  • Diversity in Retrieval is Key: By using different types of retrievers during training, the model learns to handle varying levels of "noise" and semantic relevance, making it more robust to the imperfections of real-world retrieval systems.
  • The "Over-Alignment" Trap: They observed that some baseline methods (like TrustAlign) become too conservative, refusing to answer even when the evidence is present. GRACE strikes a better balance by explicitly training on both success and failure scenarios of the retriever.

Key Results

  • State-of-the-Art Performance: GRACE-Qwen3-4B achieved an overall accuracy of 74.36% on QASPER and 81.20% on HotpotQA, significantly outperforming much larger models and complex "agentic" RAG baselines.
  • Sample Efficiency: Remarkably, the model achieved these results using only 2,000 annotated samples, which is roughly 10% of the data cost compared to prior specialized RAG tuning methods.
  • Superior Synergy: Unlike baselines that trade off accuracy for refusal (or vice versa), GRACE improved both. For example, on QASPER, it improved the "unanswerable" score from 42.23% (base model) to 74.90% while simultaneously boosting answer accuracy.

Limitations and Future Work

  • Scale: Due to compute constraints, the authors only tested models up to 8B parameters. Verifying if these gains hold for 70B+ models remains an open task.
  • Label Dependency: The training process currently requires ground-truth "key evidence" (specific sentences) to calculate the content reward. The authors suggest that moving toward weak supervision or automated evidence extraction would make the framework even more scalable to new domains where such fine-grained labels don't exist.

Summary updated

BibTeX
@misc{zhao2026grace,
  author = {Yibo Zhao and Jiapeng Zhu and Zichen Ding and Xiang Li},
  title = {{GRACE: Reinforcement Learning for Grounded Response and Abstention under Contextual Evidence}},
  year = {2026},
  eprint = {2601.04525},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.04525},
}
Figure