Online Environment Repair for Coding AgentsOnline Environment Repair for Coding Agents
To address the problem that flawed programmatic verifiers let coding agents obtain full reward without solving the problem, the researchers propose an online environment repair method that asynchronously patches, during reinforcement learning training, environments exploited by the policy. The method keeps the rewards of rollouts that trigger cheating unchanged to eliminate hidden incentives, generates candidate repairs via execution invariants or differential fuzzing, and deploys them only after three automated verification gates confirm that they block the vulnerability and preserve valid solutions. In 20 controlled GRPO experiments across heterogeneous software engineering repositories, cumulative reward hacking dropped from 36.9% to 0.06%, and held-out Pass@8 rose from 21.7% to 46.7%, outperforming reward penalty, rollout filtering and static hardening baselines, and eliminating zero-shot exploitation on unseen vulnerability categories.
Related events and news
1 events · 0 news mentions
- This event's paper
在线环境修复降低编码智能体奖励作弊