SWE-MILE: Asynchronous Potential-Induced Milestone Credit Assignment for Long-Horizon Software Engineering Agents
Abstract
Long-horizon software engineering (SWE) agents trained with reinforcement learning with verifiable rewards (RLVR) typically receive only terminal outcome supervision, making it difficult to distinguish productive actions from redundant exploration or functional regressions. We propose SWE-MILE, an asynchronous potential-induced milestone credit assignment framework that derives fine-grained process supervision from workflow runtime, without auxiliary reward models or external evaluators. SWE-MILE quantifies task-relevant file exposure and test-state alignment as navigation and verification potentials, respectively. Differences in these potentials attribute milestone progress and regressions to individual actions, while discounted backward credit propagates supervision to preceding steps. To efficiently acquire intermediate verification states, SWE-MILE further introduces asynchronous shadow probing, which replays repository-changing actions in an isolated sandbox and runs verification in parallel with the agent's primary interaction, largely hiding verification latency. The resulting process credit augments terminal outcome advantages and provides informative learning signals. Experiments on two representative long-horizon SWE tasks demonstrate substantial improvements in agent performance, highlighting workflow runtime signals as a practical source of process supervision for long-horizon SWE agents.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SE
- Comments
- 23 pages, 6 figures
Related papers
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.
OWE-Bench: A long-horizon benchmark for measuring real-world engineering
Shared title terminologycs.AIJacob Cole, Martin Dimakis, Victor Barres et al.
StateGuard: Analytical-State Management with Validity-Aware Intervention for Long-Horizon Data Agents
Shared title terminologycs.AIWenle Liao, Zhao Wang, Jingchao Zhang et al.
HyperMCTS: Hypergraph-Augmented MCTS for Long-Horizon LLM Agents
Shared title terminologycs.AITingsong Xiao, Nithish Balachandar Moudhgalya, Chandrayee Basu et al.
Self-Designed Evaluators and Warm Memory for Long-Horizon Agents
Shared title terminologycs.AISaeid Asgari, Emre Kiciman, Leonardo de Oliveira Nunes et al.
Long-Horizon Analog Design Bench: Benchmarking Agents on Hours-Long Analog and Mixed-Signal Circuit Design Tasks
Shared title terminologycs.AIAnalog Design Bench Team