Rollback the World, Keep the Reflection: Rollback-Induced Reflection for Long-Horizon LLM Agents

Yi Yu, Liuyi Yao, Yaliang Li, Enshu Wang, Libing Wu
9/16/2026
cs.CLcs.RO

No confident code implementation found for this paper.

Abstract

Large language model (LLM) agents increasingly tackle long-horizon tasks through multi-step environment interaction, yet a single erroneous action can alter subsequent states and observations, causing errors to compound over time. Existing methods either correct the context without repairing altered environment states or restore earlier states while discarding useful experience, making it difficult to both eliminate failure conditions and avoid repeating past mistakes.

Show full abstract

We argue that reliable recovery should instead be treated as a rollback-boundary control problem that jointly determines when to intervene, where to resume, and what information should survive recovery. Based on this view, we propose Rollback-Induced Reflection (RIR), a unified recovery framework that restores execution to a selected prior state while carrying forward reusable knowledge distilled from the abandoned trajectory to guide subsequent decisions. We further characterize recovery through a unified operator over rollback depth and retained memory, providing a general view of state restoration and knowledge retention. Experiments on three long-horizon benchmarks show that RIR consistently improves average task performance across multiple LLM backbones, with structured reflection memory preserving useful experience and selective rollback enabling efficient recovery.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2026rollback,
  title  = {Rollback the World, Keep the Reflection: Rollback-Induced Reflection for Long-Horizon LLM Agents},
  author = {Yi Yu and Liuyi Yao and Yaliang Li and Enshu Wang and Libing Wu},
  year   = {2026},
  eprint = {2609.18304},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.18304v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.18304.svg)](https://codeofpaper.com/paper/2609.18304)

Discussion