mlsanityData to 26 Nov 2026

MiRL: Error-Targeted Reinforcement Learning for Correcting Terminal Agent Misbehaviors

arXiv 2610.35697 ↗Submitted 26 Oct 2026cs.LG cs.AI cs.CLcited by 0

On the map: Deep reinforcement learning methods → Interpretable and logic-guided RL

Abstract (arXiv)

Error-targeted learning gives a legible way to improve a model: identify specific weaknesses of the model, train the model to fix these weaknesses, and check whether the weaknesses are fixed. We study how to apply error-targeted learning to terminal agents, which solve long-horizon tasks specified in natural language by interacting with a command shell. Existing error-targeted methods are designed for single-turn tasks, and existing analyses of agent failures are used to evaluate and debug agents rather than to train them. We propose Misbehavior-driven RL (MiRL), which first profiles the errors of a policy to find generalizable misbehaviors: kinds of wrong steps that recur across many environments. MiRL then trains the policy with RL, starting rollouts at the steps where these misbehaviors occur and rewarding a rollout only if it passes the tests and avoids the misbehavior. On Qwen3.5-4B, eight misbehaviors account for 52.1% of wrong steps. After training with MiRL, the policy repeats the measured misbehaviors 43% to 57% less often on average on unseen prefixes. MiRL outperforms TMax-4B on Terminal-Bench Lite (51.8% vs. 47.4%) and matches it on Terminal-Bench 2.1 (21.3% vs. 20.6%), while using 35% of its rollouts. These results show that error-targeted learning can be applied to realistic, long-horizon terminal tasks.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Interpretable and logic-guided RL, one of 15 directions in Deep reinforcement learning methods. Builds on 33 of its 42 references that are in the map. Submitted 26 Oct 2026.

Builds on

33 of 42 references.

References · 33

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,549
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  3. 2023Let's Verify Step by Stepcited by 4,259
  4. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,714
  5. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,205
  6. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 1,106
  7. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 742
  8. 2025Why Do Multi-Agent LLM Systems Fail?cited by 703
  9. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 582
  10. 2025Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domainscited by 435
  11. 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 323
  12. 2024Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluationscited by 203
21 more
  1. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 195
  2. 2025LIMR: Less is More for RL Scalingcited by 153
  3. 2025Where LLM Agents Fail and How They can Learn From Failurescited by 153
  4. 2025Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretrainingcited by 151
  5. 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 139
  6. 2024Self-Improvement in Language Models: The Sharpening Mechanismcited by 118
  7. 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 76
  8. 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 71
  9. 2026Endless Terminals: Scaling RL Environments for Terminal Agentscited by 62
  10. 2025QuestA: Expanding Reasoning Capacity in LLMs via Question Augmentationcited by 52
  11. 2026On Data Engineering for Scaling LLM Terminal Capabilitiescited by 52
  12. 2026Tmax: A simple recipe for terminal agentscited by 47
  13. 2026Large-Scale Terminal Agentic Trajectory Generation from Dockerized Environmentscited by 37
  14. 2026TermiGen: High-Fidelity Environment and Robust Trajectory Synthesis for Terminal Agentscited by 35
  15. 2024DataEnvGym: Data Generation Agents in Teacher Environments with Student Feedbackcited by 32
  16. 2026Recursive Synthesis for Long-Horizon Terminal Taskscited by 29
  17. 2026Terminal-World: Scaling Terminal-Agent Environments via Agent Skillscited by 26
  18. 2026SETA: Scaling Environments for Terminal Agentscited by 18
  19. 2026What Makes Interaction Trajectories Effective for Training Terminal Agents?cited by 13
  20. 2026CalibForge: Adversarial Solver Calibration for Scaling Learnable Terminal Taskscited by 11
  21. 2026Terminal Agents: A Survey of AI Agents in Command-Line Environmentscited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026SENTINEL: Failure-Driven Reinforcement Learning for Training Tool-Using Language Model Agents
  2. 2024Reinforcement Learning from LLM Feedback to Counteract Goal Misgeneralization
  3. 2026Training Language Models to Fail Gracefully
  4. 2025Mistake Notebook Learning: Batch-Clustered Failures for Training-Free Agent Adaptation
  5. 2026Learning Generalizable Behaviors for Terminal Agents
  6. 2025Aegis: Automated Error Generation and Attribution for Multi-Agent Systems
  7. 2026VRL-Bench: Benchmarking agents on computer control tasks under finite trial budgets
  8. 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Models