paper-with-me

홈 › Papers

Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks

2026-08-04 · Chenyu Wang, Yunbo Lyu, Junda He, Zhou Yang, Chenxing Zhong, Yaniv Harel, David Lo arxiv

Software engineering (SWE) agents resolve repository-level issues through long trajectories that grow increasingly expensive as context accumulates. Failed runs tend to be longer and exhibit redundant exploration or looping, suggesting that some failures may be detectable before completion. Early termination, however, risks interrupting trajectories that would otherwise succeed; conversely, an unsuccessful trajectory may still contain useful repository edits. We present FailFast-RestartSmart, a two-stage controller for a single active trajectory. FailFast is a lightweight 0.6B monitor trained with terminal and dense fail-to-pass supervision to predict failure from observable prefixes without policy logits or hidden states. Upon an alarm, RestartSmart launches a fresh same-policy rollout without prior prompt history and offers the interrupted repository diff as an optional overlay that the agent may inspect, apply, or discard. On SWE-bench Verified, a monitor trained solely on Qwen3.6-27B trajectories transfers to three other policies, including a closed-API model, and saves 14.6%-20.4% of execution tokens at a target 5% false-positive rate; on Qwen3.6-27B, its 20.4% saving exceeds the 12.5% achieved by our per-step AgentStop adaptation. At a target 25% false-positive rate, RestartSmart raises Qwen3.6-27B resolution from 66.6% to 71.8%, whereas cold restart reaches only 66.8%. Together, these results support early termination with sequential same-policy recovery.

📄 PDF Abstract BibTeX arXiv:2608.03222

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FlashRecovery: Fast and Low-Cost Recovery from Failures for Large-Scale Training of LLMs

2025-09-03 · Haijun Zhang, Jinxiang Wang, Zhenhua Yu, Yanyong Zhang 외 arxiv

Large language models (LLMs) have made a profound impact across various fields due to their advanced capabilities. However, training these models at unprecedented scales requires extensive AI accelerator clusters and sop…

From Understanding Genetic Drift to a Smart-Restart Mechanism for Estimation-of-Distribution Algorithms

2022-06-18 · Weijie Zheng, Benjamin Doerr

Estimation-of-distribution algorithms (EDAs) are optimization algorithms that learn a distribution on the search space from which good solutions can be sampled easily. A key parameter of most EDAs is the sample size (pop…

Combinatorial Optimization

LUMION: Fast Fault Recovery for ML Jobs Using Programmable Optical Fabrics

2025-05-29 · Abhishek Vijaya Kumar, Eric Ding, Arjun Devraj, Darius Bunandar 외

When accelerators fail in modern ML datacenters, operators migrate the affected ML training or inference jobs to entirely new racks. This approach, while preserving network performance, is highly inefficient, requiring d…

GPU

Role-Based Fault Tolerance System for LLM RL Post-Training

2025-12-27 · Zhenqian Chen, Baoquan Zhong, Xiang Li, Qing Dai 외 arxiv

RL post-training for LLMs has been widely scaled to enhance reasoning and tool-using capabilities. However, RL post-training interleaves training and inference workloads, exposing the system to faults from both sides. Ex…

Making MoE-based LLM Inference Resilient with Tarragon

2026-01-04 · Songyu Zhang, Aaron Tam, Myungjin Lee, Shixiong Qi 외 arxiv

Mixture-of-Experts (MoE) models are increasingly used to serve LLMs at scale, but failures become common as deployment scale grows. Existing systems exhibit poor failure resilience: even a single worker failure triggers …