A verifier is the code that scores a model's answer during reinforcement learning (RL): it runs the tests, compares the tool call, or checks the reply. Verifier quality is how well that score matches what you actually want. RL optimizes the score, so any gap between the score and the goal becomes a shortcut the model learns. That is reward hacking.
A measured case
We trained Qwen3-8B with GRPO and a LoRA adapter on NVIDIA's open conversational tool-use data, scored by NeMo Gym's own verifier. When the expert's next action was a reply to the customer, the verifier gave any reply full credit.
| Held-out company policies (800 steps) | Base | After GRPO |
|---|---|---|
| All steps | 26.3% | 29.3% (p = 0.0004) |
| Steps that needed a tool call | 15.7% | 16.5% |
| Steps that needed a reply | 46.7% | 54.0% |
| "Expected a tool call, got none" | 196 | 211 |
The gain was real and statistically significant, and almost all of it came from replying more often. During training, the share of text replies on steps that needed a tool call rose from 0.37 to 0.45-0.68. Full write-up: We RL-trained an 8B customer-service model (2026-11-29), with the report and data.
Three public environments, audited
We then checked three of NVIDIA's open NeMo Gym environments with their own verifier code (write-up, 2026-11-30):
| Check | Result |
|---|---|
| Tool use: rows where any reply scores 1.0 | 32.4% |
| Tool use: correct call, integer sent as a string | scored 0 every time |
| Math, judge on: box that defers to the other answer | 34.4% scored 1.0 |
| Code sample: near-copies of APPS test problems | 65% |
The math environment's shipped configuration (no judge) held up: the best answer-free guess scored 2.6%. We run the same checks on other environments as a service: RL environment audit.
Before training: is there anything to learn?
GRPO learns only from prompts where the model sometimes succeeds and sometimes fails. A prompt it always solves, or never solves, gives no learning signal. So we count, before training, how many prompts the base model answers right 1 to 6 times out of 8:
| Prompt set (Qwen3-8B, thinking off) | Share with a learning signal |
|---|---|
| 12,140 public single-file coding tasks | under 10% |
| 32,000 steps of NVIDIA's conversational tool-use data | 5.4% (1,733 steps) |
On one H100, 8 answers for each of 32,000 prompts (median about 3,400 tokens each) took about 95 minutes of generation. It tells you whether training is worth running at all (source).
Checklist for a verifier
- List the cheap ways to score. For each answer type, ask what the lowest-effort answer is that still passes. Here, it was "reply with anything".
- Grade every part that matters. Check the action, the arguments, and the content of replies. A reply should meet the requirements of the policy, not merely exist.
- Score answer types separately. Report tool-call steps and reply steps apart, so a gain in one can't hide a loss in the other.
- Watch behavior during training, not only reward: the reply share, tool-call rate, answer length and error categories.
- Evaluate on held-out data the model never saw. In our run, that meant company policies left out of training entirely.
- Run the difficulty check first. If under a few percent of prompts give a signal, change the prompts, the model or the plan before paying for training.
FAQ
What is reward hacking in LLM RL?
The model finds a way to raise the verifier's score that doesn't improve the task. In our run, the verifier counted any reply as correct when a reply was expected, so the model replied more and called tools no better.
How do you check a verifier before RL?
Feed it the obvious shortcuts (an empty reply, a generic reply, a wrong tool with the right format) and see what they score. Then feed it correct answers written differently (another type, date format or spacing) and count the zeros. Split the evaluation by answer type and run it on held-out data.
Why measure the share of prompts with 1-6 of 8 correct?
With group-based RL methods like GRPO, prompts that are always right or always wrong produce zero advantage, so they cost compute and teach nothing. The share in between is the part of the data that can actually train the model.