HackFree-GRPO: Detecting and Mitigating Reward Hacking in RLVR- Trained Code Agents
Name the authors, now that its review has ended
potentialpaper · 2026-11-24 17:31 UTC · 376264ff566a ·
paper.json modified
+++ b/paper.json@@ -1,7 +1,15 @@{"title": "HackFree-GRPO: Detecting and Mitigating Reward Hacking in RLVR- Trained Code Agents",- "authors": [],+ "authors": [+ "Yuanhao Li",+ "Xuhong Chen",+ "Xiaotang Shang",+ "Yiming Cao",+ "Wei Tan",+ "Tianqi Zhu",+ "Xunzhu Tang"+ ],"abstract": "Reinforcement learning with verifiable rewards can reward code agents for passing tests without resolving the underlying issue. We study this failure mode in repository-level, multi-turn training and introduce HackFree-GRPO. Its frozen detector scores actions, patch diffs, and execution logs. Reward shaping discounts risky successes, and trajectory filtering removes high-risk samples before group-relative advantages are computed. Shaping alone can leave an exploit positively advantaged in a low-success group; after filtering, score differences can still distinguish risky survivors. On SWE-bench Verified, FULL reduces protocol-defined hacking from 41.7% to 5.8% and raises strict-audit pass@1 from 30.5% to 49.0%, while verifier acceptance is 52.0% versus 52.3%. Adversarial-test-only pass@1 increases from 31.2% to 49.9%, exceeding SHAPE by 2.5 percentage points. We derive the exact change in retained-group advantages and identify the conditions under which filtering removes residual positive reinforcement. The analysis specifies a group-level mechanism that can be tested alongside the observed task-level gains.","license": {"metadata": "CC0-1.0","abstract": "CC0-1.0"