mlsanityData to 14 Oct 2026

Success Leaves Detours: Learning Executable Walkthroughs for Long-Horizon Agents

arXiv 2609.22120 ↗First posted 20 Aug 2026cs.LG cs.CLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Test-time self-evolving agents improve by reusing past experience, yet sparse-reward trajectories contain failures, loops, and detours, while summaries often omit the state conditions and action dependencies needed for execution. We study executable Walkthrough induction from sparse-reward trajectories: extracting compact, state-conditioned, and verifiable procedures. Our key observation is that delayed credit identifies actions associated with progress but cannot determine whether they produce facts required by later actions. We propose Trace, a credit-guided, dependency-grounded framework that compiles noisy trajectories into executable Walkthrough Memory. It detects progress anchors from rewards and persistent state changes, propagates credit to identify valuable transitions, and estimates action prerequisites from cross-episode success and failure evidence. Backward dependency slicing then traces required facts to their producers, extracting dependency-consistent action chains while removing irrelevant loops and detours. The resulting Walkthroughs encode entry conditions, ordered state--action--effect steps, and completion and failure predicates, supporting reuse, intermediate-state resumption, and programmatic verification. Experiments on J-TTL, WebShop, and ScienceWorld with three open-source LLMs show that Trace consistently outperforms eight test-time learning and memory baselines. Compared with the strongest baseline, it improves average AUC and Final-3 by 30.0% and 40.5%, respectively, while using fewer inference tokens. These results show that long-horizon interaction benefits more from state-conditioned executable procedures than from complete trajectories or abstract summaries.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 34 of its 40 references that are in the map. First posted on arXiv 20 Aug 2026.

Builds on

34 of 40 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024AFlow: Automating Agentic Workflow Generation14 Oct

Other references · 33

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  2. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  3. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,251
  4. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
  5. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
  6. 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 327
  7. 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 256
  8. 2024Agent S: An Open Agentic Framework that Uses Computers Like a Humancited by 187
  9. 2019Interactive Fiction Games: A Colossal Adventurecited by 168
  10. 2025G-Memory: Tracing Hierarchical Memory for Multi-Agent Systemscited by 122
  11. 2024Cradle: Empowering Foundation Agents Towards General Computer Controlcited by 117
  12. 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolutioncited by 73
21 more
  1. 2025WebEvolver: Enhancing Web Agent Self-Improvement with Coevolving World Modelcited by 61
  2. 2025Self-Challenging Language Model Agentscited by 59
  3. 2025EvoTest: Evolutionary Test-Time Learning for Self-Improving Agentic Systemscited by 37
  4. 2025UI-Genie: A Self-Improving Approach for Iteratively Boosting MLLM-based Mobile GUI Agentscited by 34
  5. 2024MaestroMotif: Skill Design from Artificial Intelligence Feedbackcited by 24
  6. 2025Learning to Orchestrate Agents in Natural Language with the Conductorcited by 23
  7. 2026ExpSeek: Self-Triggered Experience Seeking for Web Agentscited by 23
  8. 2025Meta-RL Induces Exploration in Language Agentscited by 21
  9. 2025Iterative Tool Usage Exploration for Multimodal Agents via Step-wise Preference Tuningcited by 19
  10. 2026Exploratory Memory-Augmented LLM Agent via Hybrid On- and Off-Policy Optimizationcited by 19
  11. 2026ToolTree: Efficient LLM Agent Tool Planning via Dual-Feedback Monte Carlo Tree Search and Bidirectional Pruningcited by 19
  12. 2025Toward Efficient Exploration by Large Language Model Agentscited by 17
  13. 2025SAMULE: Self-Learning Agents Enhanced by Multi-level Reflectioncited by 15
  14. 2025R2D2: Remembering, Replaying and Dynamic Decision Making with a Reflective Agentic Memorycited by 14
  15. 2025Learn the Ropes, Then Trust the Wins: Self-imitation with Progressive Exploration for Agentic Reinforcement Learningcited by 11
  16. 2026Learning How to Remember: A Meta-Cognitive Management Method for Structured and Transferable Agent Memorycited by 10
  17. 2026MAGNET: Towards Adaptive GUI Agents with Memory-Driven Knowledge Evolutioncited by 9
  18. 2025Self-Guided Function Calling in Large Language Models via Stepwise Experience Recallcited by 7
  19. 2025Cook and Clean Together: Teaching Embodied Agents for Parallel Task Executioncited by 6
  20. 2025Dual-Scale World Models for LLM Agents Towards Hard-Exploration Problemscited by 2
  21. 2026APEX: Autonomous Policy Exploration for Self-Evolving LLM Agentscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Travel Back To Move Forward: Retrospective Exploration and Evolving for Long Horizon Agents
  2. 2026Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
  3. 2026TRACE: Turn-level Reward Assignment via Credit Estimation for Long-Horizon Agents
  4. 2026Tev: Scaling Long-Horizon Agentic Environments with Dense Progress Rewards
  5. 2026ProCredit: From Outcome Rewards to Progress Credit in Agentic Reinforcement Learning
  6. 2026Long-Horizon-Terminal-Bench 2.0: Automating Diverse Task Construction and Measuring Sustained Agent Progress
  7. 2026TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories
  8. 2026MileGPO: Milestone Inference with Local Evidence for Graph-Based Policy Optimization of Long-Horizon LLM Agents