HackFree-GRPO: Detecting and Mitigating Reward Hacking in RLVR- Trained Code Agents
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:51 UTC · ee0144db5e22 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "IplYh5Agup"- }- ],- "title": "HackFree-GRPO: Detecting and Mitigating Reward Hacking in RLVR- Trained Code Agents",- "authors": [],- "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.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "a4471da3-cd21-4d9e-be21-d4b43bd95179"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "HackFree-GRPO: Detecting and Mitigating Reward Hacking in RLVR- Trained Code Agents",+ "authors": [],+ "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"+ }+}