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

Ziliang Wang, Kang An, Xuhui Zheng, FaQiang Qian, Wenjun Zhang, Cijun Ouyang, Jialu Cai, Yuhang Wang, Yichao Wu · DOI

Abstract

Current search-augmented Large Language Models (LLMs) often suffer from "catastrophic fragility" in multi-step reasoning, where a single error in decomposition, retrieval, or reasoning propagates through the entire chain. We present Erasable Reinforcement Learning (ERL), a novel framework that enables agents to identify and "erase" faulty steps, allowing for local correction and regeneration. By treating reasoning trajectories as flexible sequences rather than monolithic blocks, ERL achieves significant performance gains and training stability across complex multi-hop question-answering benchmarks.

Introduction

While Retrieval-Augmented Generation (RAG) has enhanced LLM capabilities, multi-hop reasoning remains a significant hurdle. Current systems are prone to a "domino effect": a mistake at an early stage—such as an incorrect sub-question or a noisy search result—inevitably leads to a failed final response. Traditional Reinforcement Learning (RL) approaches exacerbate this by treating the entire reasoning path as a single Markov Decision Process (MDP), making it difficult for models to recover from intermediate failures.

This paper introduces the concept of "Erasable Reinforcement Learning" (ERL). Inspired by human writing processes, ERL provides agents with "erasure operators" to surgically remove defective segments of a reasoning trajectory and retry from the last known-good state.

The Erasable Reinforcement Learning (ERL) Framework

The core of ERL is the ability to backtrack. Instead of a linear progression from question to answer, the agent operates in a loop of planning, searching, and reasoning, with the option to erase and retry at each step.

The ERL framework illustrating the iterative search, information retrieval, and sub-answer generation with erasure operators.

Erasure Operators

ERL defines three primary erasure behaviors:

  1. Sub-Answer Erasure: When an intermediate reasoning step yields a low reward, the model discards it and attempts to re-reason based on existing evidence.
  2. Subsequent Search Erasure: If a search query fails to retrieve relevant information, the query is erased, and the model generates a new search term while preserving prior correct reasoning.
  3. Initial Search/Plan Erasure: If the initial decomposition or search is fundamentally flawed, the system resets the trajectory to start fresh.

To guide these erasure decisions, the system utilizes Proximal Policy Optimization (PPO) with a dense reward structure. Intermediate rewards are calculated for searches (using TF-IDF similarity to "gold" evidence) and sub-answers (using F1 overlap with intermediate gold facts). This fine-grained feedback allows the model to pinpoint exactly when and where an erasure is necessary.

Experimental Evaluation

We evaluated our ESearch models on four prominent multi-hop QA benchmarks: HotpotQA, MuSiQue, 2WikiMultiHopQA, and Bamboogle. These datasets test the model's ability to synthesize information across multiple sources and handle complex reasoning paths. Experiments were conducted in both offline (Wikipedia dump) and online (Google Search API) settings to ensure robustness.

Results and Analysis

ERL consistently outperformed state-of-the-art (SOTA) baselines. For 3B-parameter models, ESearch achieved an average improvement of +8.48% in Exact Match (EM) and +11.56% in F1 score. For 7B-parameter models, gains were +5.38% EM and +7.22% F1.

Training Stability and Efficiency

A key advantage of ERL is its training stability. Unlike standard RL algorithms like GRPO or PPO, which can experience performance collapse in complex reasoning tasks, ERL demonstrates faster convergence and higher asymptotic performance across multiple metrics.

Training curves for F1 Score, Search Score, and Sub-answer Score comparing ERL against PPO and GRPO baselines.

Impact of Erasure Types

Ablation studies revealed a hierarchy of effectiveness among erasure operators. Sub-answer erasure—the ability to revise intermediate conclusions—was found to be the most impactful tool, followed by search erasure and then plan erasure. During testing, ERL successfully corrected approximately 2.01% of decomposition errors, 6.53% of retrieval failures, and 9.6% of reasoning errors.

Conclusion

Erasable Reinforcement Learning transforms search-augmented reasoning from a brittle, linear process into a resilient, iterative one. By mimicking human-like error correction, ERL significantly improves the accuracy and reliability of LLMs on complex tasks. Future work will focus on reducing the computational overhead of the "erase-retry" cycle and developing methods to handle multiple concurrent errors more efficiently.

Summary updated

BibTeX
@inproceedings{wang2026erase,
  author = {Ziliang Wang and Kang An and Xuhui Zheng and FaQiang Qian and Wenjun Zhang and Cijun Ouyang and Jialu Cai 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