ControlReasoning
Programmatic verifier
Code that checks the answer: run the tests, substitute the solution, validate the schema.
What it is
A deterministic check such as unit tests, a maths checker, a compiler, a schema or constraint validator. It says pass or fail with near-perfect precision, where it applies.
When to use it
- Code, maths, structured outputs, anything with an objective check
When to skip it
- Essays, advice, plans: no code can check them
- Tests the model can see and edit during training
Why (the trade-off)
A cheap, honest judge. With one, "sample until it passes" beats almost any amount of extra thinking.
Where it sits
Control layer at answer time, and the reward signal at training time.
What it needs first
Nothing: it's a starting point.
What can be added to it
- builds on itBest-of-N with a verifierBest-of-N with a verifier needs it: something must judge each sample
- builds on itRevise with feedbackRevise with feedback needs it: feedback must come from outside the model
- builds on itRL with verifiable rewardsRL with verifiable rewards needs it: the reward comes from the checker
- builds on itRL environmentsRL environments needs it: each environment scores the episode
Instead of it
- Reward modelworks on open-ended tasks, but is imperfect and gameable
Effect of adding it
- cost —
- latency ↑
- reliability ↑↑
- safety ↑
Risks it handles
- A checker that accepts wrong answers · full
- All samples share the same mistake · partial
Learn first (AI Engineering)