
Ziang Ye, Wentao Shi, Lei Chen, Zhengzhou Cai, Yu Wang, Zhiyuan Yao, Zihan Wang, Xierui Song, Fuli Feng, Yixin Cao · arXiv (Cornell University) 2026 · 2026
DOI: 10.48550/arxiv.2610.13058
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Large language model agents increasingly operate in long-horizon environments where early mistakes can trigger cascading failures and trap agents in dead-end trajectories. Agents must therefore be able to proactively recover from such states and turn their exploratory experience into guidance for subsequent decisions. We introduce ReTRAIL, a framework that enables agents to rewind the environment to earlier states while preserving valid progress and carrying forward knowledge learned from abandoned exploration. The environment state moves backward while the agent's knowledge continues to move forward. ReTRAIL trains a shared policy with two complementary signals: State-Anchored GRPO compares alternative continuations from revisited states to improve execution, while a branch-advancement reward guides reflection through the progress of subsequent exploration. Experiments across four interactive benchmark MineSweeper, Sokoban, ALFWorld and ScienceWorld show that simply adding a rewind primitive provides limited benefit and can even degrade performance. In contrast, ReTRAIL enables agents to rewind from unproductive states and use insights from abandoned branches to guide subsequent exploration. These results demonstrate the value of coupling environment rewinding with experience reuse within an ongoing task for long-horizon task solving. The code is available at https://github.com/whi497/ReTRAIL.
IEEE Transactions on Neural Networks 2005 · 2005 · 25758 citations90% match
arXiv (Cornell University) 2017 · 2017 · 11345 citations95% match
Journal of Artificial Intelligence Research 1996 · 1996 · 8934 citations90% match
Journal of the American Statistical Association 1995 · 1995 · 8450 citations90% match
arXiv (Cornell University) 2016 · 2016 · 6783 citations95% match
arXiv (Cornell University) 2015 · 2015 · 5369 citations95% match
arXiv (Cornell University) 2013 · 2013 · 5105 citations95% match
No comments yet — start the discussion below.
1999 · 4966 citations90% match
IEEE Signal Processing Magazine 2017 · 2017 · 4414 citations90% match
Proceedings of the AAAI Conference on Artificial Intelligence 2016 · 2016 · 3516 citations90% match