arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.35716cs.LGcs.AI
收藏

审计黑客获利之处:针对GRPO中奖励黑客行为的预算强验证器审计

Audit Where Hacks Pay: Budgeted Strong-Verifier Audits Against Reward Hacking in GRPO

Tsinghua University(清华大学);Virginia Tech(弗吉尼亚理工大学)

Shurun Li, Michael Hua Wang, Haibo Zeng, Long Wang

AI总结:

该研究针对GRPO中的奖励黑客行为,提出低通过预算审计(LB)策略,在有限强验证器预算下分配审计资源,实验显示LB可显著抑制LLM训练中的黑客行为,且性能优于随机审计及其他修正方法。

摘要:

带有可验证奖励的强化学习会在廉价检查(如单元测试)上进行训练,而策略可能会学会利用这些检查,同时更强的检查在每次rollout时运行成本过高。我们研究如何在GRPO中分配有限的强验证器预算,区分哪些弱通过的rollout需要审计,以及对被捕获的黑客行为给予何种奖励。在具有中心化优势的固定策略状态下,预期更新仅通过每个rollout的边际审计概率和修正来依赖设计;反映被捕获黑客行为的奖励关于失败奖励的部分会抵消全黑客组的优势;在标签值随通过次数下降的情况下,采用最少弱通过的整组审计(低通过预算审计,LB)可在具有固定修正的通过计数设计中,最小化黑客行为上剩余的优势质量。我们在实际LLM训练中测试了该分析:从每次运行的起始状态,冻结面板上该质量的符号可预测39次运行中是否会抑制黑客行为,其中包括16次预注册运行中的13次。在LeetCode(Wong等人,2026)和Countdown-Code(Khalifa等人,2026)中,LB可将黑客行为降至接近零,而具有相同惩罚和预算的随机审计则无法做到,且使用更多标签。我们还发现更新的随机性会影响训练:在Countdown-Code中,两种无偏修正(按项目奖励水平的IPW和按组的优势修正)也能降低黑客行为,但在相同预算下,其泛化准确率比LB低6.1-11.8和8.0-11.5个百分点。全审计(按组修正在预期上可复现它)在三个随机种子中与LB的差距保持在约2个百分点以内,而LB仅使用28%的标签,且按通过次数分配相同修正可恢复大部分损失(一个随机种子)。因此,训练结果不仅取决于预期更新,还取决于其估计的随机性。

英文摘要:

Reinforcement learning with verifiable rewards trains on cheap checks, such as unit tests, that a policy can learn to game, while a stronger check is too expensive to run on every rollout. We study how to spend a limited strong-verifier budget in GRPO, separating which weakly passing rollouts to audit from what reward a caught hack receives. At a fixed policy state with centered advantages, the expected update depends on a design only through each rollout's marginal audit probability and correction; reflecting a caught hack's reward about the failure reward negates the advantages of an all-hack group; and auditing whole groups with the fewest weak passes first (low-pass budgeted audits, LB) minimizes the advantage mass left on hacks among pass-count designs with a fixed correction when a label's value falls with the pass count. We tested this analysis in actual LLM training: from each run's starting state, the sign of this mass on a frozen panel predicted whether hacking would be suppressed in 33 of 39 runs, including 13 of 16 preregistered ones. In LeetCode (Wong et al., 2026) and Countdown-Code (Khalifa et al., 2026), LB drives hacking to near zero, while random audits with the same penalty and budget do not and use more labels. We also find that the randomness of the update affects training: in Countdown-Code, two unbiased corrections, per-item reward-level IPW and a group-level advantage correction, bring hacking down too but end 6.1-11.8 and 8.0-11.5 points lower in held-out accuracy than LB at the same budget. A full audit, which the group-level correction reproduces in expectation, stays within about two points of LB in three seeds, while LB uses 28% of its labels, and allocating the same correction by pass count recovers most of the loss (one seed). Training outcomes thus depend not only on the expected update but also on the randomness of its estimate.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑