iTranslated by AI
Proposal for a Novel Information Augmentation Technique Following RAG [Paper Summary]
Introduction
Hello, I'm mita, an aspiring AI engineer!
This time, I will summarize and discuss a paper titled
REX-RAG: Reasoning Exploration with Policy Correction in
Retrieval-Augmented Generation,
which proposes a technology to enhance information augmentation capabilities using RAG and reinforcement learning.
I'm sharing what I've learned, and I hope it proves useful to you in some way!
Paper Summary
- REX-RAG is a framework designed to solve the "dead end" problem in reinforcement learning-based RAG (RLVR).
- Two main components:
- Mixed Sampling Strategy — Combines standard policy with exploration policy to generate diverse reasoning paths.
- Policy Correction Mechanism — Ensures the quality of exploration paths and corrects distribution shifts.
- Experiments showed that REX-RAG outperforms SFT and conventional RLVR on seven QA benchmarks, demonstrating particular strength in multi-hop reasoning and unknown domains.
Paper Details
Research Background
- RAG retrieves external knowledge and generates answers, but its action strategy is fixed.
- RLVR optimizes RAG's retrieval strategies and reasoning steps through reinforcement learning, achieving performance improvements.
- However, RLVR is prone to "dead ends" (early convergence to incorrect reasoning paths) during training, leading to insufficient exploration diversity.
- REX-RAG aims to resolve this exploration deficiency while stabilizing learning.
What is REX-RAG?
REX-RAG is a method proposed to solve the dead end problem that arises in RLVR, an advanced form of RAG. It consists of the following two components:
1. Mixed Sampling Strategy
- Uses a mixed policy combining standard policy and exploration policy.
- For incorrect paths, exploration prompts are inserted to attempt reasoning in different directions.
- Adaptive Probe Re-sampling automatically adjusts exploration intensity based on the accuracy rate.
- A prompt pool is pre-generated to provide diverse reasoning directions.
2. Policy Correction Mechanism
- Trajectory Filtering: Only exploration paths that sufficiently match the standard policy are adopted.
- Distribution Realignment: Corrects distribution shifts using importance sampling.
- This reduces noise in exploration paths and ensures stable gradient estimation.

What is a Dead End?
1. Overview
A Dead End refers to a state in exploration algorithms or reasoning processes where
no further progress can lead to a correct answer or destination.
In machine learning, particularly in reinforcement learning and information retrieval tasks,
this manifests as a phenomenon where the search becomes too narrow,
causing the model to continue along a path deviating from the correct one.
2. Typical Patterns of Occurrence
-
Dead Ends Due to Information Deficiency
- Limited information from retrieval or reasoning causes the next action candidates to disappear.
- Example: A search engine returns no results, and no additional hints are available.
-
Policy Overfitting (Exploitation Bias)
- Over-reinforcing only previously successful paths prevents trying new ones,
making it impossible to reach unknown correct answers.
- Over-reinforcing only previously successful paths prevents trying new ones,
-
Local Optimization
- Sticking to seemingly good partial solutions prevents reaching the global optimum.
3. Why Dead Ends Are Problematic
-
Loss of Exploration Diversity
- Opportunities to discover unknown correct paths decrease.
-
Performance Plateau
- Cannot improve beyond a certain accuracy; failure rate increases as task difficulty rises.
-
Long-term Reward Decline
- Cases where short-term effective actions lead to long-term failure are easily overlooked.
Experimental Results
- Model: Qwen2.5-3B/7B-Instruct
- Datasets: NQ, TriviaQA, PopQA, HotpotQA, 2Wiki, Musique, Bamboogle
- Evaluation Metric: Exact Match (EM)
Summary of Results:
- 3B Model: +5.1% over SFT, +4.1% over standard RL
- 7B Model: +3.6% over SFT
- Particularly significant improvements observed in multi-hop and unknown domains.
Ablation Results:
- Removing the policy correction mechanism (IS, TF) leads to substantial performance degradation.
- Removing Adaptive also degrades performance, but not as much as removing IS/TF.
Personal Impressions
Interpretation of the Paper
REX-RAG is a method that, in order to solve the dead end problem, intentionally incorporates information deviating from the optimal solution during training, thereby broadening the reasoning scope for subsequent steps and making it easier to escape local optima.
To achieve this, it uses a Probe Policy that generates exploration prompts, in addition to the reinforcement learning policy (LLM Policy) used in RLVR. It generates alternative exploration paths alongside the optimal solution and dynamically selects them. It then mixes them with the optimal solution to produce the output probability distribution.
In the reinforcement learning phase (Update Phase), by correcting outputs that deviate too far from the optimal solution, it successfully expands the exploration width without significantly disrupting the optimal solution.
Discussion (Personal Thoughts)
I must admit, I wasn't even aware of the existence of RLVR technology, and I was surprised to learn there is a further advancement.
I have experience with RAG at a personal development level, where I simply added a basic process of re-searching n times if no answer was obtained. This paper's approach of re-searching via alternative paths, rather than simple re-searching, was very enlightening.
Of course, preparing multiple search paths likely does not make search time shorter than conventional methods even with parallel processing. While I understand the paper's main focus is on accuracy improvement and not speed enhancement, I personally would like to read research on reducing RAG search time while referencing RLVR papers.
Although specific numerical values were not provided, the paper states that performance improved over conventional methods even on multi-hop problems. To achieve AGI, it is essential to be able to extract and apply general knowledge from unknown environments. Since this process involves tackling complex multi-hop problems, this research is highly valuable.
This naturally raises the questions: "How does it learn real-world information?" and "How does it reach unknown environments?" AI operates in a virtual world on memory, not in the physical world. So, how can we extend AI into physical space? It might be possible, like Sim2Real, to map the real world into a virtual space and then apply the knowledge and skills learned there to reality.
However, implementing human senses such as sight, hearing, smell, touch, and taste into AI and enabling it to learn in physical space remains a very challenging issue. If we aim for AI with abilities truly equal to or surpassing humans, we may need to reproduce not only intellectual capabilities but also physical ones.
Going forward, I would like to deepen my understanding of topics such as:
- Research on AI acquiring the five senses
- Methods for applying learning in virtual spaces to real-world environments
- The direction of completing tasks entirely within virtual spaces without assuming real-world application
I will continue my learning journey, so I would be delighted if you check back again.
Discussion