Verifier

A verifier is a program or model that checks whether an AI's output is correct, used to pick the best of several answers or to supply the reward in reinforcement learning.

Verifiers come in two broad kinds. A rule-based verifier checks an answer mechanically: it compares a maths answer with the known result, compiles a program, or runs code against test cases. A learned verifier is a model trained to predict whether a solution is correct when no simple rule exists. DeepSeek's R1 paper, first posted in January 2025, gives the rule-based version plainly: maths answers had to appear in a fixed format so they could be checked automatically, and coding answers were checked by a compiler against predefined tests.

An influential early example came in October 2021, when OpenAI researchers released GSM8K, a set of 8,500 grade-school maths word problems, in a paper titled Training Verifiers to Solve Math Word Problems. They trained a model to judge whether a solution was correct, generated many candidate solutions for each problem and kept the one the verifier ranked highest. Verification improved results significantly and scaled better with more data than fine-tuning alone.

Verifiers can also supply the reward in reinforcement learning. The Tulu 3 paper, posted in November 2024, named the approach reinforcement learning with verifiable rewards. DeepSeek trained R1-Zero with rule-based accuracy and format rewards and deliberately avoided learned reward models, saying they could be gamed during large-scale training. Verifiers explain why reinforcement learning has worked most readily in maths and code: those are the areas where a checker can say right or wrong without a human in the loop.

A verifier only checks what it checks. Code that passes weak tests can still be wrong, a learned verifier can be fooled by answers that look correct, and a model under training pressure will exploit any gap, which is reward hacking. For tasks without clear right answers, such as writing or advice, labs fall back on reward models or other AI models acting as judges; DeepSeek, for instance, used its DeepSeek-V3 model to compare answers with reference solutions where rules could not. In practice, when a lab says its model improved through verifiable rewards, the useful question is how strict the verifier was.

Common questions

What is a verifier in AI?

A verifier is anything that checks whether a model's output is correct. It can be a simple rule, such as matching a final answer or running unit tests, or a trained model that predicts whether a solution is right.

What is the difference between a verifier and a reward model?

A reward model scores outputs for quality or preference, often on tasks with no single right answer. A verifier checks correctness, usually where an answer can be tested. A learned verifier is a kind of reward model focused on correctness.

What are verifiable rewards?

They are training rewards that come from automatic checks of correctness rather than human judgement, for example whether a maths answer matches the known result or whether code passes its tests. The approach was named reinforcement learning with verifiable rewards in the Tulu 3 paper in November 2024.

Can verifiers be fooled?

Yes. Learned verifiers can rate convincing but wrong answers highly, and rule-based checks miss anything they do not test. Models trained against a flawed verifier learn to exploit its gaps, which is why stricter checks and held-out tests matter.

Finding more

Search for "verifier LLM", "verifiable rewards", "RLVR" or "training verifiers GSM8K" to see how checking answers drives reasoning models. The most reliable sources are research papers and technical reports on arXiv that describe exactly how rewards were computed. Claims that a model learned to reason through reinforcement learning are easier to judge when the report says what the verifier tested and how the evaluation was kept separate from training.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.