TL;DR
CTRL-RAG introduces a novel reinforcement learning framework for Retrieval-Augmented Generation (RAG) that optimizes a model's internal confidence gap when generating answers with versus without supporting evidence. By shifting away from brittle external reward judges, this approach significantly mitigates reward hacking and forces large language models (LLMs) to be genuinely faithful to their retrieved context.
What Problem Does This Paper Address?
While Retrieval-Augmented Generation (RAG) helps LLMs anchor their answers in real-world documents, training these models to be truly context-faithful remains a challenge. Current Reinforcement Learning (RL) approaches rely heavily on external reward signals—like checking for exact string matches or verifying the presence of citation markers (e.g., [doc 1]).
However, these external judges are highly susceptible to reward hacking: a model can easily learn to mimic citation formats or exploit formatting loopholes without actually understanding or relying on the text. Conversely, purely internal self-rewarding mechanisms (like tracking generation entropy) lack objective external feedback, which often leads to "hallucination accumulation" and model collapse.
Methods
The authors propose CTRL-RAG, an "internal-external" hybrid reward framework centered on a new metric called Contrastive Likelihood Reward (CLR).
Instead of asking an external model if the answer looks good, CLR looks under the hood at the model's own token probabilities. It calculates the Evidential Contribution: the gap between the log-likelihood of generating an answer given the full context (supporting + noisy documents) versus a "leave-one-out" (LOO) context where the most critical supporting document is removed. If the model's confidence plummets when a document is missing, it proves the model was genuinely relying on that document to formulate its response.
To make this mathematically robust and stable for training, the authors introduced two key modifications:
- $\sqrt{T}$ Length Normalization: Standard token-level accumulation biases rewards toward longer, wordy answers. Normalizing by the square root of the sequence length ($T$) penalizes fluff while still rewarding genuinely informative long answers.
- Significance Filtering: A threshold ($\tau$) prunes out negligible or negative contributions, preventing the model from over-optimizing on noisy data.
For the final training objective, they use a gated hybrid reward ($R_{hybrid} = R'_{CLR} \cdot R_{acc}$) that multiplies the normalized CLR score with a binary correctness reward ($R_{acc}$), ensuring the model is both faithful and factually correct. They optimize this using Group Relative Policy Optimization (GRPO).
Datasets
The framework was trained on data curated from HotpotQA and MuSiQue.
For evaluation, the authors utilized:
- RAGQALeaderboard: A comprehensive suite covering multi-hop QA (2Wiki, HotpotQA, MuSiQue), single-hop QA (TriviaQA, PopQA), and a biomedical domain dataset (PubMed).
- PRGB: A specialized benchmark that isolates internal model knowledge using placeholders, allowing for a direct, unconfounded assessment of factual faithfulness.
Key Insights and Ideas
- The Bottleneck Effect: When calculating the leave-one-out context, selecting the minimum probability drop (the single most critical document) outperforms average pooling across documents. This "bottleneck" forces the model to zero in on the exact linchpin piece of evidence required to bridge a multi-hop reasoning chain.
- The KL Divergence Conflict: In standard GRPO, a KL divergence penalty keeps the trained model close to the reference model. The authors discovered that keeping the KL penalty caused the training to collapse within 20 steps. Because CLR explicitly forces the model to shift its token probabilities based on context, omitting the KL penalty entirely was essential for stable convergence.
- What the Model Actually Learns: Visualizing token-level rewards reveals that CLR naturally assigns high rewards to document IDs, specific factual entities, and crucial logical connective phrases (like "so that's the next logical place to look"), while automatically penalizing redundant citations.
Key Results
The authors evaluated CTRL-RAG across both Dense (Qwen3-8B) and Mixture-of-Experts (Qwen3-30B-A3B) architectures, comparing it against standard Supervised Fine-Tuning (SFT) and traditional rule-based rewards.
- Superior Faithfulness: On the PRGB benchmark, models trained with CLR consistently outperformed their counterparts by over 3 points, demonstrating a stark reduction in reliance on parametric memory when external documents were present.
- Reference Reliance ($RR_\theta$): The authors tracked the performance gap between answering with vs. without documents. Over the course of training, this reliance score increased monotonically by 6%, showing that the model steadily improved its ability to leverage external context.
Limitations and Future Work
Despite its strong performance, CTRL-RAG has two notable limitations:
- Computational Overhead: Computing contrastive rewards requires calculating token-level log-probabilities across multiple context variations (the full set and the leave-one-out sets). This demands additional forward passes during the training phase, reducing throughput and increasing latency.
- Knowledge Conflicts: The reward function prioritizes contextual adherence above all else. If a retrieved document contains false information but the model's internal parametric memory actually knows the correct answer, CTRL-RAG will penalize the model for overriding the incorrect document.
The authors note that future work will focus on optimizing likelihood estimation efficiency and developing adaptive mechanisms to handle untrustworthy or conflicting retrieved information.
Summary updated