Multi-Harness Reinforcement Learning for Coding Agents: Training Gains and Harness Dependence
Chenqian Le, Jiayi Cheng, Qijia He, Runhao Li, Yinghao Li, Xupeng Chen
Abstract
Recent systems train coding agents with reinforcement learning (RL) on trajectories collected through multiple execution harnesses. However, gains under the training harnesses leave open whether the improvements transfer to unseen interfaces and how they depend on reward normalization. We present a controlled study that measures RL gains under fixed harnesses and compares the same models across harnesses. We train two Qwen3-8B RL variants from the same supervised fine-tuning (SFT) checkpoint using identical replay data. They differ only in whether rewards for each task are normalized within each harness (Within) or across harnesses (Cross). On SWE-bench Verified, we identify three main findings: (i) Multi-harness RL yields modest gains over the SFT baseline under both normalization rules. Across the four training harnesses, the estimated mean improvements are +0.48 and +0.77 percentage points for Within and Cross, respectively. (ii) Cross increases the fraction of trajectories with nonzero advantage but provides no consistent advantage over Within on an unseen harness across training seeds and evaluation budgets; neither rule significantly improves over SFT on this harness. (iii) Performance varies substantially more across harnesses than with RL training. After averaging over model variants, the highest and lowest source-harness solve rates differ by 7.13 percentage points, far exceeding the estimated training gains. Even after multi-harness RL, the observed performance differences across execution interfaces remain substantially larger than either the gains from training or the differences between normalization rules.
Create a lesson
Related papers
Dude: A Dual-Detection Multi-Agent System for Paper-Code Discrepancy Detection
Shared title terminologycs.AIWeijie Liu, Running Zhao, Wenhao Yuan et al.
Coding4Games: Can Modern Coding Agents Play Modern Video Games?
Shared title terminologycs.AIShifang Zhao, Haoyu Wang, Yuyang Yin et al.
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.
Learning What vs. Learning How: Decomposing Task and Interface Competence in Agentic Training
Shared title terminologycs.AIChaeeun Lee, Hossein A. Rahmani, Aryo Pradipta Gema et al.
MedUIGym: Evaluating and Training GUI Agents for Clinical Workflows
Shared title terminologycs.AIYitong Qiao, Lei Liu, Yue Shen et al.