🤖 AI Summary
This work addresses the limited generalization and susceptibility to overfitting of existing large language model–based coding agents on composite tasks. The authors propose a novel coding agent paradigm centered on atomic skills, decomposing complex programming tasks into five composable primitives: code localization, code editing, unit test generation, bug reproduction, and code review. These atomic skills are jointly optimized through collaborative reinforcement learning, which mitigates interference among skills and substantially enhances both generalizability and composability. Experimental results demonstrate an average performance improvement of 18.7% across the five atomic skills and five unseen composite tasks, effectively strengthening the agent’s ability to generalize to novel task configurations.
📝 Abstract
Current LLM coding agents are predominantly trained on composite benchmarks (e.g., bug fixing), which often leads to task-specific overfitting and limited generalization. To address this, we propose a novel scaling paradigm that shifts the focus from task-level optimization to atomic skill mastery. We first formalize five fundamental atomic skills, code localization, code editing, unit-test generation, issue reproduction, and code review, that serve as the basis vectors for complex software engineering tasks. Compared with composite coding tasks, these atomic skills are more generalizable and composable. Then, we scale coding agents by performing joint RL over atomic skills. In this manner, atomic skills are consistently improved without negative interference or trade-offs between them. Notably, we observe that improvements in these atomic skills generalize well to other unseen composite coding tasks, such as bug-fixing, code refactoring, machine learning engineering, and code security. The observation motivates a new scaling paradigm for coding agents by training with atomic skills. Extensive experiments demonstrate the effectiveness of our proposed paradigm. Notably, our joint RL improves average performance by 18.7% on 5 atomic skills and 5 composite tasks.