One to More, More to One: Category-Aware Iterative Expert Training for Software Engineering Agents
Jie Zhao, Ziyu Jiang, Suhang Zheng, Minghui Shan, Xiaoxiao Xu, Lin Qu
Alibaba Group
Published September 20, 2026 · on the feed September 22, 2026 · ▲ 48 · arXiv 2609.23377
The abstract
Repository-level software engineering (SWE) comprises heterogeneous task categories, whose progress under pooled agentic reinforcement learning can be uneven: gains in some categories coincide with regressions in others, while aggregate resolution obscures these changes. Motivated by this category see-saw, we develop a category-aware expert-training and policy-integration framework. Executable task construction and SWE Labeler, an evidence-grounded multi-axis labeling system, organize the training pools. Initial category-specific RL improves average training success while leaving uneven instance-level progress, motivating explicit consolidation of successful behavior and policy-adaptive task selection. Same-origin category experts alternate long-horizon Agentic-miniRL with Refresh-Repair-Expand (RRE): the updated policy refreshes instance mastery, reuses its own verified successful trajectories for Repair SFT, and reselects tasks for further RL. Label-routed multi-teacher on-policy distillation (MOPD) consolidates the experts into one deployable student, with ReLU-gated reward extrapolation keeping only each teacher's improving direction over the reference. Expert training and policy integration require no external model to provide solution trajectories or action targets. We evaluate Pooled RL and Balanced RL, expert development, and single-model integration through aggregate and per-category resolution, the minimum category lift over each joint-RL baseline, and expert-gain recovery. The final MOPD policy achieves mean resolution of 58.04% on Pro-618 and 59.00% on SWE-bench Multilingual, improving over the base model by 5.39 and 2.78 percentage points, respectively.
The Brief
2:53A short podcast summary of the paper. Written and voiced by AI.
Transcript
One to More, More to One. Category-Aware Iterative Expert Training for Software Engineering Agents. By Jie Zhao and five others, from Alibaba Group. Published on the twentieth of September. Its code repository is worked out: about one hundred source files, with a readme.
Software engineering at the level of a whole repository is not one task. It is a mix of task categories, and when agentic reinforcement learning is run over all of them pooled together, progress can be uneven. Gains in some categories coincide with regressions in others. The aggregate resolution rate hides this, because improvements and losses cancel inside one number. The authors call it a category see-saw.
Their response is to train by category and then merge. Category experts are developed separately, one to more, and are then consolidated into a single deployable policy, more to one. Nothing in either phase needs an external model to supply solution trajectories or action targets.
The training pools are organized with executable task construction and with SWE Labeler, a labeling system that is evidence-grounded and works along multiple axes. Initial category-specific RL raises average training success, but progress at the level of individual instances stays uneven. That motivates two things: consolidating successful behavior explicitly, and choosing tasks in a way that adapts to the policy.
Concretely, the category experts share an origin and alternate between two phases. One is long-horizon Agentic-miniRL. The other is Refresh-Repair-Expand, or RRE. In RRE, the updated policy refreshes its view of which instances it has mastered, reuses its own verified successful trajectories for Repair SFT, and reselects tasks for more RL.
The experts are then merged by label-routed multi-teacher on-policy distillation, MOPD, into one student. A ReLU-gated reward extrapolation keeps only the direction in which each teacher improves over the reference, so a teacher contributes where it got better and not where it did not.
The evaluation compares Pooled RL and Balanced RL, tracks expert development, and tests integration into one model. It uses aggregate and per-category resolution, the minimum lift in any category over each joint-RL baseline, and how much of the experts' gain is recovered. The final MOPD policy reaches a mean resolution of fifty-eight point zero four percent on Pro-618, and fifty-nine percent on SWE-bench Multilingual. Those are improvements over the base model of five point three nine and two point seven eight percentage points.
The metrics are chosen to match the diagnosis. Because the original problem was hidden by an aggregate, the evaluation looks at the weakest category's lift, not only the average. The method follows the title: branch out into specialists so no category is traded away, then fold them back into one student while keeping only what each specialist did better.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every quest starts with a wall. Here, a rising score that hides quiet losses.
You are training a software-engineering model with reinforcement learning on a pooled mix of repository tasks: bug fixes, interface tweaks, tooling changes, performance and security patches.
The road ahead
- 1 · The problem ~6 min Training one model on a pooled mix of repository tasks can help some task categories while hurting others, and the overall score hides it.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min Train one expert per task category from the same base, let each lock in its own wins and pick tasks, then distil them into one student.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Label and route tasks, train category experts with RL, repair on their own wins, reselect tasks, then distil the experts into one student.
- 6 · The experiment ~6 min You’ll guess: After merging the category experts into one model, by how many percentage points did mean resolution on Pro-618 improve over the base model?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.