arXiv Machine Learning

FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents

arXiv AI
Oct 21

CUA-Recovery: Benchmarking Error Recovery in Long-Horizon Computer-Use Agents

arXiv:2610.27645v1 Announce Type: new Abstract: As computer-use agents (CUAs) move to long-horizon workflows spanning multiple applications, undetected errors can silently corrupt persistent state an...

By Xu Hu, Haoming Li, Yuxiang Wang, Jinxin Yang, Kangshuo Li, Licheng Wang, Dingyi Kang, Jiayu Song, Tianhao Wang, Zhanhua Hu, Xu Yang, Qiannan Li, Bingzhe Li, Feng Chen
arXiv AI
Oct 12

Beyond Binary Verifiable Rewards: Behavioral Self-Rewarding for SWE Agents

The paper introduces Behavioral Self-Rewarding (BSR), a method that lets reinforcement learning agents with verifiable rewards judge and compare their own debugging trajectories to generate additional bounded auxiliary rewards. BSR aggregates pairwise preferences among trajectories that share the same verifier outcome, adding reward contrast while maintaining the original pass/fail ordering. Experiments on SWE-bench Verified and SWE-bench-Live with Qwen3-14B and Qwen3-32B show consistent performance gains, demonstrating that a policy’s own comparative judgments can serve as a useful learning signal.

By Yiran Wu, Andrew Zhao, Yurui Chang, Qingyun Wu, Xuan Feng
arXiv Machine Learning
5d ago

FlashREINFORCE: Critic-Free Single-Rollout Asynchronous RL for Agentic Language Models

FlashREINFORCE is a critic‑free, single‑rollout asynchronous reinforcement learning framework designed for long‑horizon agentic language models. It combines One‑Batch REINFORCE, a Sequence Trust Region, and Sample‑Mean Optimization to achieve full prompt coverage, batch centering, and controlled policy drift without requiring repeated rollouts or a sibling baseline. The method demonstrates stable training on large models such as DeepSeek‑R1‑Distill‑Qwen‑1.5B and MoE Qwen3‑30B‑A3B, matching or surpassing group‑relative baselines and synchronous approaches on benchmarks like Qwen2.5‑Math‑1.5B and ALFWorld.

By Jian Hu, Yifan Zhang, Hao Zhang, Binfeng Xu, Shaokun Zhang, Hongqing Peng, Zhiding Yu, Pavlo Molchanov, Jan Kautz, Yi Dong
arXiv AI
Oct 1

Agent Error Dataset: Scaling 50,000 Error--Diagnosis Pairs for Failure Analysis and Error-Aware Post-Training

The Agent Error Dataset (AED) presents 50,228 error–diagnosis pairs collected from 9,961 source tasks across 33 environments, 19 harness families, and 23 policy models in text‑based agent systems. A five‑stage Agentic Error‑to‑Training (AET) pipeline generates diagnoses and proposed corrections, verifies them against recorded evidence, and creates separate training views for diagnosis and actor recovery. Experiments show that first‑proposal corrections improve verifier pass rates from 18.4% to 51.1%, and fine‑tuning with full‑diagnosis data raises Qwen3‑8B’s exact‑step agreement from 47.2% to 63.6% on a holdout set.

By Kunlun Zhu, Xuyan Ye, Yibo Li, Cheng Qian, Beibin Li, Heng Ji
arXiv AI
Aug 26

PROOF-Gen: From Optimized Data to Better Distillation

PROOF-Gen is a method that improves distillation of tool‑calling models by recovering successful trajectories from teacher failures. It uses per‑scenario prompt optimization to generate corrective guidance that steers the teacher to a passing trajectory, then removes this guidance before training so the student learns from clean demonstrations. On τ2‑bench, PROOF-Gen recovers 93% of failed scenarios, boosting Qwen3‑4B‑Instruct‑2507’s Pass^1 from 0.132 to 0.529 and improving Gemma 4 E4B‑it by 7.2pp on BFCL v4 multi‑turn, while also raising deployed on‑device model performance by up to 5.0pp across response‑quality metrics.

By Anh Ta, Junjie Zhu, Shahin Shayandeh
arXiv AI
Aug 11

FailForge: Distilling Procedural Competence from Persistent Failures into Code Agents

arXiv:2608. 08570v1 Announce Type: new Abstract: Rejection sampling fine-tuning (RFT) is widely used to train code agents by generating trajectories on verifiable software engineering tasks, retaining those that pass the tests, and fine-tuning on the successful rollouts.

By Dongyi Lv, Fushun E, Aichen Cai, Liang Huang, Ya Zhang, Qiuyu Ding, Canhui Wu, Zhi Wang, Yuesong Zhang, Jiaqi Wang, Nan Duan
arXiv AI
Aug 13

Retry, Switch, or Abstain? Learning Strategy-Aware Tool-Use Policies via Controlled Error Injection

arXiv:2608. 11977v1 Announce Type: new Abstract: Tool-using LLM agents are commonly trained and evaluated in environments where tool calls succeed reliably, yet deployed tools can fail transiently, persistently, or silently.

By Chaoran Chen, Vy Nguyen, Ziji Zhang, Abhinav Gullapalli, Ziyi Wang, Yuxuan Lu, Dakuo Wang, Jing Huang, Zhou Yu, Jin Lai
arXiv AI
Oct 27

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

MiRL is a new reinforcement learning approach that targets specific misbehaviors of terminal agents—models that execute long‑horizon tasks in natural language by interacting with a command shell. The method first profiles a policy to identify recurring wrong steps, then trains the policy by starting rollouts at those misbehaviors and rewarding only successful, misbehavior‑free trajectories. On the Qwen3.5‑4B model, MiRL reduces repeated misbehaviors by 43–57% on unseen prefixes and outperforms or matches baseline agents on Terminal‑Bench benchmarks while using only 35% of the rollouts.

By Runchu Tian, Zaid Khan, Zun Wang, Justin Chih-Yao Chen, Mohit Bansal
arXiv Machine Learning
Oct 22

ReAPO: Retry-Aware Policy Optimization for Efficient Exploration in LLM Reasoning

ReAPO: Retry-Aware Policy Optimization for Efficient Exploration in LLM Reasoning proposes a new approach to improve language‑model reasoning by addressing the inefficiencies of independent stochastic rollouts. By framing credit assignment as a Stochastic Shortest Path problem, ReAPO modifies GRPO to allocate more generation to failed trajectories, reinforcing successful retries without rewarding failures. Experiments on Qwen3 and OLMo‑2 models across eight mathematical and scientific benchmarks show that ReAPO outperforms GRPO and other baselines, achieving higher first‑attempt accuracy and reducing generated tokens needed to reach peak performance.

By Nghi Dao, Calder Morton-Ferguson, Noah Golowich, Adam Block