Researchers’ code-repair method outperformed GRPO in tests

1 source3 comments

The method trains models using nearby verified programs, including ones drawn from the models’ own successful proposals. It beat GRPO in all 19 tested settings under equal online-call budgets.

Researchers have introduced “repair witnesses,” a method for training code-fixing models that uses the nearest verified program in a bank to guide each proposal. The bank can be built from the model’s own successful proposals, without a teacher or reference implementation.

In tests across five benchmarks and 10 models, from 1.7 billion to 32 billion parameters, online repair witnesses learned faster and finished ahead of GRPO in all 19 settings with equal online-call budgets. On held-out HumanEval+ repair tasks, they fixed 73% to 82% of bugs at low temperature—37 to 58 percentage points more than GRPO.

In one hard repair task, a self-built witness bank helped Qwen3-14B reach 94% accuracy in 230 calls. GRPO reached 68% after 1,600 calls and used 6.5 times more training GPU time. The researchers also report that more than three-quarters of GRPO updates on HumanEval+ repair had uniform rewards, providing no reward gradient.