Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute
Summary
Unified TTC for SWE agents: internal TTC (development-contextualized long-CoT trajectories bootstrapped with DeepSeek R1 from GitHub issues, then rejection-sampled) plus external TTC (PRM-guided search at repository understanding, fault localization, and patch generation, with execution verification and a DPO ORM). On SWE-bench Verified, Qwen2.5-Coder-32B SWE-Reasoner reports 37.6% with internal TTC and 46% at external budget 8, matching Claude 3.5 Sonnet v2 and beating o1/DeepSeek-R1 in the paper's 2025 comparison. Code https://github.com/yingweima2022/SWE-Reasoner.
- Venue
- arXiv / Tongyi Lab, Alibaba
- Source
- arxiv
- Access
- free
- License
- arXiv perpetual non-exclusive license 1.0
- License family
- Other
- Language
- en
- Purpose
- Make personally deployable open-source SWE agents competitive by scaling inference-time compute instead of model size
- Scale
- Trajectory synthesis 9,000 issues from 300 repos (>1000 stars, SWE-bench-excluded); eval SWE-bench Verified 500 issues; Qwen2.5-Coder 32B; external TTC budget 8
- Used for
- Unknown
- Time period
- 2025-03-31 (arXiv 2503.23803 v1); last revised 2025-04-08 (v2)
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Mar 31, 2025
- Last revised
- Apr 8, 2025
- arXiv categories
- cs.SE, cs.AI
- Citations
- 26 (2 influential)
- References
- 56
- Published in
- International Conference on Automated Software Engineering
Abstract (from arXiv)
Recent advancements in software engineering agents have demonstrated promising capabilities in automating program improvements. However, their reliance on closed-source or resource-intensive models introduces significant deployment challenges in private environments, prompting a critical question: \textit{How can personally deployable open-source LLMs achieve comparable code reasoning performance?} To this end, we propose a unified Test-Time Compute scaling framework that leverages increased inference-time computation instead of larger models. Our framework incorporates two complementary strategies: internal TTC and external TTC. Internally, we introduce a \textit{development-contextualized trajectory synthesis} method leveraging real-world software repositories to bootstrap multi-stage reasoning processes, such as fault localization and patch generation. We further enhance trajectory quality through rejection sampling, rigorously evaluating trajectories along accuracy and complexity. Externally, we propose a novel \textit{development-process-based search} strategy guided by reward models and execution verification. This approach enables targeted computational allocation at critical development decision points, overcoming limitations of existing "end-point only" verification methods. Evaluations on SWE-bench Verified demonstrate our \textbf{32B model achieves a 46\% issue resolution rate}, surpassing significantly larger models such as DeepSeek R1 671B and OpenAI o1. Additionally, we provide the empirical validation of the test-time scaling phenomenon within SWE agents, revealing that \textbf{models dynamically allocate more tokens to increasingly challenging problems}, effectively enhancing reasoning capabilities. We publicly release all training data, models, and code to facilitate future research. https://github.com/yingweima2022/SWE-Reasoner
Tags
Topics
software engineering agents, test-time compute
Research notes
- Primary: arxiv abs (default nonexclusive-distrib 1.0, cs.SE/AI). Tongyi Lab Alibaba; corresponding Yongbin Li (mayingwei.myw@alibaba-inc.com). Dong and Jiang interned from Peking University. Code https://github.com/yingweima2022/SWE-Reasoner (25 stars at check). Paper claims public release of training data/models; an Apr 2025 HF issue still asked for Hub checkpoints. 46% SOTA claim is the authors' 2025 comparison. HTML still has leftover ACM template (Woodstock 2018). Discord posted abs link.
Similar entries
- Paper Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents
- Paper The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs
- Paper Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training
- Other How I got the highest score on ARC-AGI again swapping Python for English
- Paper Reasoning Models Can Be Effective Without Thinking
- Paper daVinci-Env: Open SWE Environment Synthesis at Scale