mlsanityData to 7 Oct 2026

Agent-R: Training Language Model Agents to Reflect via Iterative Self-Training

arXiv 2501.11425 ↗First posted 20 Jan 2025cs.AIcited by 74

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 2 more
Abstract (arXiv)

Large Language Models (LLMs) agents are increasingly pivotal for addressing complex tasks in interactive environments. Existing work mainly focuses on enhancing performance through behavior cloning from stronger experts, yet such approaches often falter in real-world applications, mainly due to the inability to recover from errors. However, step-level critique data is difficult and expensive to collect. Automating and dynamically constructing self-critique datasets is thus crucial to empowering models with intelligent agent capabilities. In this work, we propose an iterative self-training framework, Agent-R, that enables language Agent to Reflect on the fly. Unlike traditional methods that reward or penalize actions based on correctness, Agent-R leverages MCTS to construct training data that recover correct trajectories from erroneous ones. A key challenge of agent reflection lies in the necessity for timely revision rather than waiting until the end of a rollout. To address this, we introduce a model-guided critique construction mechanism: the actor model identifies the first error step (within its current capability) in a failed trajectory. Starting from it, we splice it with the adjacent correct path, which shares the same parent node in the tree. This strategy enables the model to learn reflection based on its current policy, therefore yielding better learning efficiency. To further explore the scalability of this self-improvement paradigm, we investigate iterative refinement of both error correction capabilities and dataset construction. Our findings demonstrate that Agent-R continuously improves the model's ability to recover from errors and enables timely error correction. Experiments on three interactive environments show that Agent-R effectively equips agents to correct erroneous actions while avoiding loops, achieving superior performance compared to baseline methods (+5.59%).

Key facts. Cited by 74 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 56 of its 67 references that are in the map. First posted on arXiv 20 Jan 2025.

Builds on

56 of 67 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Agent Q: Advanced Reasoning and Learning for Autonomous AI Agents13 Aug
  2. 2023ADaPT: As-Needed Decomposition and Planning with Language Models8 Nov
  3. 2023Reasoning with Language Model is Planning with World Model24 May
  4. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planning23 May
  5. 2023Teaching Large Language Models to Self-Debug11 Apr

Other references · 51

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  7. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  8. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
  9. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  10. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,210
  11. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  12. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
38 more
  1. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  2. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
  3. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  4. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  5. 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 405
  6. 2023Language Models can Solve Computer Taskscited by 371
  7. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 319
  8. 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 298
  9. 2024ProcessBench: Identifying Process Errors in Mathematical Reasoningcited by 277
  10. 2022Generating Sequences by Learning to Self-Correctcited by 271
  11. 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 230
  12. 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
  13. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
  14. 2024Tree Search for Language Model Agentscited by 148
  15. 2023Training Language Models with Language Feedback at Scalecited by 125
  16. 2024AgentGym: Evolving Large Language Model-based Agents across Diverse Environmentscited by 120
  17. 2024EvoAgent: Towards Automatic Multi-Agent Generation via Evolutionary Algorithmscited by 109
  18. 2024GLoRe: When, Where, and How to Improve LLM Reasoning via Global and Local Refinementscited by 101
  19. 2024Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Modelscited by 97
  20. 2023CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalizationcited by 88
  21. 2024CriticBench: Benchmarking LLMs for Critique-Correct Reasoningcited by 88
  22. 2024Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinementcited by 86
  23. 2023LLMs cannot find reasoning errors, but can correct them given the error locationcited by 85
  24. 2024Agent Planning with World Knowledge Modelcited by 66
  25. 2024MindSearch: Mimicking Human Minds Elicits Deep AI Searchercited by 65
  26. 2024Direct Multi-Turn Preference Optimization for Language Agentscited by 63
  27. 2024Enhancing LLM Reasoning via Critique Models with Test-Time and Training-Time Supervisioncited by 60
  28. 2024AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectoriescited by 56
  29. 2024VLM Agents Generate Their Own Memories: Distilling Experience into Embodied Programs of Thoughtcited by 55
  30. 2024Large Language Models Can Self-Improve At Web Agent Taskscited by 54
  31. 2024Understanding the Dark Side of LLMs' Intrinsic Self-Correctioncited by 42
  32. 2024MR-Ben: A Meta-Reasoning Benchmark for Evaluating System-2 Thinking in LLMscited by 30
  33. 2024Enhancing Decision-Making for LLM Agents via Step-Level Q-Value Modelscited by 28
  34. 2024Skill Set Optimization: Reinforcing Language Model Behavior via Transferable Skillscited by 24
  35. 2024TimeArena: Shaping Efficient Multitasking Language Agents in a Time-Aware Simulationcited by 22
  36. 2024Revealing the Barriers of Language Agents in Planningcited by 20
  37. 2024Strategist: Self-improvement of LLM Decision Making via Bi-Level Tree Searchcited by 16
  38. 2024E2CL: Exploration-based Error Correction Learning for Embodied Agentscited by 9

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 34; 2026: 40.

74 papers.

Sort:

By area:

  1. 2025s1: Simple test-time scalingcited by 1,311
  2. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
  3. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 226
  4. 2025Light-R1: Curriculum SFT, DPO and RL for Long COT from Scratch and Beyondcited by 175
  5. 2026Skill-SD: Skill-Conditioned Self-Distillation for Multi-turn LLM Agentscited by 75
  6. 2025SPA-RL: Reinforcing LLM Agents via Stepwise Progress Attributioncited by 68
  7. 2025Large Language Models for Planning: A Comprehensive and Systematic Surveycited by 38
  8. 2025STeCa: Step-level Trajectory Calibration for LLM Agent Learningcited by 37
  9. 2025Measuring Agents in Productioncited by 35
  10. 2025GenEnv: Difficulty-Aligned Co-Evolution Between LLM Agents and Environment Simulatorscited by 34
  11. 2025LLM-Powered GUI Agents in Phone Automation: Surveying Progress and Prospectscited by 31
  12. 2025Look Before You Leap: A GUI-Critic-R1 Model for Pre-Operative Error Diagnosis in GUI Automationcited by 27
38 more
  1. 2025To Code or not to Code? Adaptive Tool Integration for Math Language Models via Expectation-Maximizationcited by 25
  2. 2025AgentRM: Enhancing Agent Generalization with Reward Modelingcited by 25
  3. 2025SABER: Small Actions, Big Errors -- Safeguarding Mutating Steps in LLM Agentscited by 21
  4. 2025Feedback-Driven Tool-Use Improvements in Large Language Models via Automated Build Environmentscited by 19
  5. 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 19
  6. 2025LiveMCP-101: Stress Testing and Diagnosing MCP-enabled Agents on Challenging Queriescited by 15
  7. 2025SAND: Boosting LLM Agents with Self-Taught Action Deliberationcited by 14
  8. 2026CoEvolve: Training LLM Agents via Agent-Data Mutual Evolutioncited by 14
  9. 2025AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learningcited by 13
  10. 2025SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflowscited by 12
  11. 2025Rethinking the Generation of High-Quality CoT Data from the Perspective of LLM-Adaptive Question Difficulty Gradingcited by 11
  12. 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
  13. 2025Agent Safety Alignment via Reinforcement Learningcited by 10
  14. 2025A Desideratum for Conversational Agents: Capabilities, Challenges, and Future Directionscited by 9
  15. 2025Unleashing Embodied Task Planning Ability in LLMs via Reinforcement Learningcited by 9
  16. 2026SEAL: Synergistic Co-Evolution of Agents and Learning Environmentscited by 9
  17. 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AIcited by 8
  18. 2025Co-Evolving Agents: Learning from Failures as Hard Negativescited by 7
  19. 2026Imagine-then-Plan: Agent Learning from Adaptive Lookahead with World Modelscited by 7
  20. 2026PABU: Progress-Aware Belief Update for Efficient LLM Agentscited by 6
  21. 2026RoboAgent: Chaining Basic Capabilities for Embodied Task Planningcited by 6
  22. 2026TOOLCAD: Exploring Tool-Using Large Language Models in Text-to-CAD Generation with Reinforcement Learningcited by 6
  23. 2025Automated Cloud Infrastructure-as-Code Reconciliation with AI Agentscited by 5
  24. 2026PatchWorld: Gradient-Free Optimization of Executable World Models for Agent Environmentscited by 5
  25. 2026ACE-Brain-0.5: A Unified Embodied Foundational Model for Physical Agentic AIcited by 5
  26. 2025The Cognitive Bandwidth Bottleneck: Shifting Long-Horizon Agent from Planning with Actions to Planning with Schemascited by 4
  27. 2025Reducing Belief Deviation in Reinforcement Learning for Active Reasoningcited by 4
  28. 2025DEPO: Dual-Efficiency Preference Optimization for LLM Agentscited by 4
  29. 2026LLM4Cov: Execution-Aware Agentic Learning for High-coverage Testbench Generationcited by 4
  30. 2026Healthcare AI GYM for Medical Agentscited by 4
  31. 2026TACT: Mitigating Overthinking and Overacting in Coding Agents via Activation Steeringcited by 4
  32. 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answerscited by 4
  33. 2025Nature's Insight: A Novel Framework and Comprehensive Analysis of Agentic Reasoning Through the Lens of Neurosciencecited by 3
  34. 2025Deep Self-Evolving Reasoningcited by 3
  35. 2025Critique-RL: Training Language Models for Critiquing through Two-Stage Reinforcement Learningcited by 3
  36. 2026Supervised Fine-Tuning versus Reinforcement Learning: A Study of Post-Training Methods for Large Language Modelscited by 3
  37. 2026BenchTrace: A Benchmark for Testing Reflection Ability and Controlled Evolution in LLM Agentscited by 3
  38. 2026Guided Collaboration in Heterogeneous LLM-Based Multi-Agent Systems via Entropy-Based Understanding Assessment and Experience Retrievalcited by 2

50 most cited of 74 All 74 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025AgentRefine: Enhancing Agent Generalization through Refinement Tuning
  2. 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Masking
  3. 2026CAST: Critique-Aware Supervision for Training Reliable Long-Horizon Tool-Calling Agents
  4. 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectories
  5. 2024Offline Training of Language Model Agents with Functions as Learnable Weights
  6. 2024ReAct Meets ActRe: When Language Agents Enjoy Training Data Autonomy
  7. 2026OpenThoughts-Agent: Data Recipes for Agentic Models
  8. 2026Agentic Critical Training