Reinforcement Learning from Verifiable Rewards › What Can Be Verified
Language AI HandbookAll chapters The taxonomy of verifiers closely tracks the taxonomy of tasks with checkable ground truth. The table below summarizes the main families and their characteristic failure modes.
| Verifier family | Typical domains | What it checks | Characteristic failure |
|---|---|---|---|
| Exact match after normalization | Arithmetic, short-answer QA, classification | String/numeric equality | False negatives from formatting; brittle to paraphrase |
| Symbolic equivalence | Algebra, calculus, equation solving | Expression identity | Simplifier gaps; domain restrictions the simplifier ignores |
| Executable specification | Code generation, SQL, data transformation | Input/output behavior on a test suite | Test suite is a partial spec; overfitting to visible tests |
| Formal kernel | Theorem proving in Lean, Isabelle or Coq | Validity of a formal derivation under the prover’s rules | The formal statement may not match the informal problem |
| Constraint and schema | Structured output, JSON, tool calls, regulated formats | Validity against a grammar or schema | Satisfies the schema while being semantically wrong |
| Environment simulation | Agents, games, planners | Task success in a simulator | Simulator-to-reality gap; reward hacking of simulator quirks |
Choose a checker based on the property you need to measure. An exact match checks a different property from a finite test suite or a formal derivation.
Exact answers
Tülu 3 compared the extracted GSM8K answer with the reference. For MATH it tried several extraction rules and accepted a candidate if a symbolic or normalized comparison matched the reference. Tülu 3 release verifier code.
If your intended answer equivalence includes different forms of the same number or expression, define additional normalization rules or a symbolic check and evaluate their errors separately.
Symbolic and numeric equivalence
An algebraic identity can depend on its domain. For instance, cancelling in gives 1 where is nonzero. At zero the original expression is undefined. Preserve such restrictions when comparing forms.
Executable specifications
In code tasks an executable check can run a candidate against tests in an isolated environment. Finite tests cover only the cases they exercise. Record which cases supplied training reward and keep a separate test set for evaluation.
Run untrusted candidate programs in an isolated environment with enforced time and memory limits. Keep training data, credentials and the verifier’s trusted state outside the candidate environment. This chapter’s arithmetic example does not run generated programs.
Formal kernels
A proof assistant checks whether a derivation establishes the stated conclusion under its rules and assumptions. Lean’s kernel type-checks proof terms. Isabelle constructs theorems through primitive inferences and can replay those inferences from a recorded proof term. Lean Tactic Proofs, Isabelle Primitive Logic.
DeepSeek-Prover-V1.5 used Lean 4 feedback in reinforcement learning. Check the statement and allowed assumptions before treating the kernel’s acceptance as an answer to the original question.
A formal checker works relative to the submitted formal statement and environment. If the formal statement misrepresents the informal problem, a correct proof of the formal statement can still miss the intended problem.
Constraint and format checks
Some constraints have direct checks. A schema validator can test structure and a keyword rule can check whether a phrase appears. A schema check and a content check can be run independently.
A schema-valid object can contain incorrect values. If the reward depends only on schema validity, the content error receives no penalty through that term. Check structure and content separately when both matter.
The gray zone: model-judged verification
A model can score outputs on an open-ended rubric. Its score is a learned judgment rather than a mechanically checked task predicate. Even deterministic decoding does not establish correctness of the judge. Compare the judge with independent labels before using its scores as training rewards.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!