Erase to Improve: Erasable Reinforcement Learning for Search-Augmented LLMs

Kang An, Ziliang Wang, Xuhui Zheng, FaQiang Qian, WeiKun Zhang, Yuhang Wang, Yichao Wu

Introduction

While search-augmented Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) systems have evolved toward autonomous "agentic" loops, they often suffer from catastrophic fragility. In complex, multi-hop reasoning tasks, a single mistake in the chain—such as a bad search query or a flawed intermediate conclusion—often leads to total failure.

The authors identify three critical failure modes in these systems:

  1. Decomposition Errors: The model breaks the task down incorrectly.
  2. Retrieval Missing: The search engine returns irrelevant noise or misses key evidence.
  3. Reasoning Errors: The model integrates retrieved information incorrectly, leading to a flawed intermediate conclusion.

In standard Reinforcement Learning (RL) setups, the entire trajectory is treated as a single sequence. If an early step fails, subsequent steps are doomed, yet the model only receives a "fail" signal at the very end. This makes it incredibly hard for the model to learn which specific part of the chain went wrong. To solve this, the authors introduce Erasable Reinforcement Learning (ERL), a framework that allows agents to identify faulty reasoning or retrieval steps, "erase" them, and retry from the last correct state.

Methodology: Erasable Reinforcement Learning

The core innovation of this paper is the introduction of an erasure operator ($\mathcal{E}$) that surgically removes faulty segments of a reasoning trajectory, rather than discarding the entire attempt.

The Erasable Reinforcement Learning (ERL) framework illustrating the erase and retry mechanism.

How it Works

  • Round-Based Reasoning: The agent alternates between querying, observing, and generating "sub-answers."
  • Fine-Grained Erasure: The system uses two thresholds ($\alpha$ for local errors, $\beta$ for plan-level errors) to trigger three types of erasure:
  • Sub-Answer Erasure: If an intermediate conclusion is poor, it erases the observation and sub-answer, then retries.
  • Subsequent Search Erasure: If a search query returns junk, it erases the query but keeps the previous reasoning.
  • Initial Plan Erasure: If the very first search step is useless, it resets the entire trajectory.
  • Dense Reward Design: To guide this process, the authors use intermediate rewards based on TF-IDF similarity to "gold" evidence and F1 overlap with "gold" sub-answers. This provides the model with immediate feedback on whether a step was worth keeping or erasing.

The resulting models, dubbed ESearch, were trained using Proximal Policy Optimization (PPO) on top of Qwen2.5 (3B and 7B) architectures.

Datasets and Evaluation

The authors evaluated ESearch on four rigorous multi-hop QA benchmarks:

  • HotpotQA: Requires finding and combining facts from multiple Wikipedia paragraphs.
  • 2WikiMultiHopQA: Focuses on structured reasoning paths across documents.
  • MuSiQue: A "bottom-up" dataset designed to be harder to "cheat" via simple keyword matching.
  • Bamboogle: A set of questions that cannot be answered with a single Google search.

Testing was conducted using both offline retrieval (a fixed 2018 Wikipedia dump) and online retrieval (the Google Search API).

Key Insights and Results

Just as a writer uses an eraser to fix a single word rather than throwing away a whole manuscript, ERL allows LLMs to recover gracefully from mid-trajectory mistakes. Ablation studies revealed a clear hierarchy in correction impact: correcting the reasoning after information is gathered (Sub-answer erasure) has the biggest impact on final accuracy, followed by Search erasure, and finally Plan erasure.

Empirically, ESearch significantly outperformed previous state-of-the-art (SOTA) methods across the board.

Performance comparison of ESearch against baseline methods across multiple multi-hop QA benchmarks.
  • 3B Model: Achieved a massive +8.48% improvement in Exact Match (EM) and +11.56% in F1 score over previous SOTA.
  • 7B Model: Achieved +5.38% EM and +7.22% F1 gains.
  • Robustness in the Wild: In online search environments using Google Search, ESearch showed even larger relative gains (+13.18% F1 for the 3B model), suggesting it adapts better to the "noise" of the real web than standard RAG agents.

Furthermore, while newer RL algorithms like GRPO (used in DeepSeek-R1) are faster, the authors found that ERL provides much higher training stability and a higher performance ceiling for complex agentic tasks.

Limitations and Future Work

While ERL represents a powerful paradigm shift, it comes with trade-offs:

  • Computational Overhead: The "erase and retry" mechanism inherently increases the number of tokens generated and search queries made during training and inference, leading to higher latency and cost.
  • Simultaneous Errors: The current framework struggles when multiple different types of errors (e.g., a bad search and bad reasoning) happen at the exact same time.

Future work may move toward a "global understanding" of the trajectory rather than relying on localized error signals, which could help the model mitigate errors more holistically.

Summary updated

BibTeX
@inproceedings{an2026erase,
  author = {Kang An and Ziliang Wang and Xuhui Zheng and FaQiang Qian and WeiKun Zhang and Yuhang Wang and Yichao Wu},
  title = {{Erase to Improve: Erasable Reinforcement Learning for Search-Augmented LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=UpZHjUtcUM},
}
Figure