新研究提出在 RL 训练前预测 LLM 裁判会被钻的空子
Which Loopholes Get Found? Predicting Reward Hacking of LLM Judges Before RL Training
做 RLHF 的人都在头疼 reward hacking,这篇给了个能在训练前就算出来的预测指标:策略倾向乘以裁判误报率。36 次 GRPO 实验验证,比只看误报率准得多。如果你在用 LLM judge 打分训练模型,值得照这个方法先审计一遍。
一项新研究关注 RLHF 中的 reward hacking 问题:用 LLM judge 当奖励模型时,策略常会学会钻裁判的空子,比如输出单独一个"{"或"Thought process:"这种退化答案就能得分。论文提出"暴露度"(exposure)指标,即策略初始产生某模式的倾向乘以裁判对该模式的误报率(FPR),并声称训练前就能预测策略最先钻哪个漏洞。
验证方法是 GRPO 实验:在 7 个裁判、36 次 GRPO run 中,出现钻空子的 12 次里,最先被钻的模式全部是暴露度最高的,而按 FPR 排序只命中 6 次。研究者还用拉丁方设计把目标模式以 3% 到 3.8% 的比例掺入微调数据做因果测试,在仅播种两个模式的 6 次 run 中,暴露度全部准确预测了首个被钻的模式及其出现时间窗口。
研究还发现钻空子只发生在难样本上,因为群组归一化让被接受的作弊答案获得大优势。结论是:在 RL 训练前审计暴露度,就能提前识别策略最可能利用的漏洞。
Which Loopholes Get Found? Predicting Reward Hacking of LLM Judges Before RL Training
A policy trained against an LLM judge can learn to exploit its loopholes. Static probes show that such judges accept degenerate answers like a lone "{" or "Thought process:", but not which flaw a policy will find. In GRPO the first loophole to be exploited can be predicted before training from each pattern's exposure, the product of the starting policy's propensity to produce it and the judge's false-positive rate (FPR). To test exposure causally, we seed the patterns into fine-tuning at three doses in a Latin square. Across 36 GRPO runs with seven judges, the first exploited pattern had the highest exposure in all 12 runs with exploitation and the highest FPR in only 6. Predictions recorded before training held in three of four runs with one pattern masked by rule. When only two patterns were seeded, at 3% to 3.8% of the fine-tuning data and chosen so that exposure disagreed with FPR alone or propensity alone, exposure named the first exploited pattern and its onset window in all six runs. Exploitation occurred only on hard prompts, where an accepted exploit gets a large group-normalized advantage. Auditing exposure before RL therefore identifies the loophole a policy will likely exploit first.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LLM judge, GRPO, reward hacking, RLHF.
Source attribution: curated from arXiv cs.AI (@Xuanyi Lyu, Yuezhou Zhao, Qing Qin).