Abstract
Large language models (LLMs) are increasingly trusted as automated judges, assisting evaluation and providing reward signals for training other models, particularly in reference-based settings like Reinforcement Learning with Verifiable Rewards (RLVR). However, we uncover a critical vulnerability even in this reference-based paradigm: generative reward models are systematically susceptible to reward hacking. We find that superficial inputs, which we term "master keys"—such as non-word symbols (e.g., ":" or ".") or generic reasoning openers (e.g., "Thought process:" or "Let's solve this problem step by step.")—can consistently elicit false positive rewards without any substantive reasoning. Our systematic evaluation demonstrates this is a widespread failure affecting a diverse range of models, including leading proprietary systems such as GPT-o1 and Claude-4. To address this, we propose a simple yet effective data augmentation strategy using truncated model outputs as adversarial negative examples. The resulting Master Reward Models (Master-RMs) demonstrate state-of-the-art robustness against these "master key" attacks while maintaining high performance in standard evaluation settings.
The Problem: Reward Hacking via "Master Keys"
In the current AI landscape, we increasingly rely on LLMs to act as automated judges. This is especially common in Reinforcement Learning with Verifiable Rewards (RLVR), where a "judge" model compares a student model's output against a reference answer to provide a reward signal. The community generally assumes that because these judges have access to the correct reference answer, they are robust.
However, this research reveals that generative reward models are systematically susceptible to reward hacking. If a student model learns that it can get a "Correct" grade just by outputting a specific introductory phrase without actually solving the problem, the entire training process collapses. The authors call these deceptive shortcuts "master keys."
Methodology: Building Master-RM
The researchers systematically tested various LLMs with two types of master keys: non-word symbols (punctuation or blank spaces) and reasoning openers (phrases like "Let’s solve this problem step by step").
To fix this, they developed Master Reward Models (Master-RMs) using Adversarial Data Augmentation. They took 20,000 questions and generated full Chain-of-Thought (CoT) responses, then truncated these responses to just the first sentence—usually a generic opener. These truncated, content-free snippets were labeled as "NO" (incorrect). Qwen2.5-7B and 32B models were then fine-tuned on a mix of standard data and these new negative examples.
Key Insights and the Scaling Paradox
Interestingly, the vulnerability does not follow a linear path with model size. Mid-sized models (7B–14B) were often more robust than very large models (32B–72B). The authors hypothesize a "Self-Solving Trap": larger models may solve the problem internally, see that their internal answer matches the reference, and then lazily output "YES" regardless of what the student actually wrote.
Common inference-time strategies like Chain-of-Thought prompting for the judge or Majority Voting failed to consistently stop the hacking, sometimes even increasing the False Positive Rate (FPR).
Key Results
The evaluation across five diverse reasoning benchmarks (including GSM8K, MATH, and AIME) revealed widespread fragility. Leading proprietary models like GPT-4o hit a 35.9% FPR on GSM8K from a simple blank space. Open-source models like LLaMA3-70B and Qwen2.5-72B reached FPRs as high as 80-90% when presented with the phrase "Thought process:".
In contrast, the proposed Master-RM-32B achieved near-zero FPR across all benchmarks. Despite being trained to resist hacks, it remained a top-tier judge, outperforming almost all other models on VerifyBench, trailing only GPT-o1.
Conclusion
While this study primarily focused on lead-in master keys, it highlights a critical need for more robust LLM evaluation. Future work is required to investigate "mid-process" keys and the "self-solving" behavior of large models to ensure that automated judges remain reliable as they become more integrated into AI training pipelines.
Summary updated