Evaluating reasoning
Draft
This page is a skeleton for review: a short opening, planned headings, diagrams and references. The article is not written yet. It is listed here so the chapter can be checked as a whole. (Quarto’s draft: true would hide the page from the preview, so we mark the draft in this callout instead.)
How do we know the model actually solved it?
A fluent trace can still hide a wrong answer, and a right answer can sit under messy working. To train or compare reasoning models we need a way to check the result, not only to read the prose. This page will be about that check: verifiers, datasets such as MATH-500, and the gap between grading the final number and grading the path.
It follows the spirit of Raschka’s chapter 3, and it will feed the later pages on test-time scaling and on RL with verifiable rewards. It will not retell distillation.
The answer, and the path
- Everyday analogy: a maths teacher who only looks at the boxed number, versus one who also reads the working. Most automatic checks today look at the boxed number.
- That is already useful, and it is also a limitation: a model can luck into the right value, or have a sound method and trip on the last line.
Verifiers
- A verifier extracts a final answer from the model’s text and compares it with a gold value (exact match, a little normalisation, sometimes a small computer-algebra check).
- Raschka’s chapter 3 builds this kind of checker for maths and uses it both to report accuracy and, later, as a training signal. We will walk through the idea, not paste the book.
Benchmarks worth knowing by name
- MATH and the MATH-500 split: a held-out set of competition problems, used in the book and in a lot of published tables. Say what it measures, and what it does not.
- A short mention of related sets (for example GSM8K) so MATH-500 is not treated as the whole of “reasoning”.
What a number on a table can and cannot say
- Accuracy on a verifier is a clear, comparable figure. It is not a full verdict on reasoning, and it depends on the parser as well as on the model.
- Link forward: inference-time methods will try to raise that number with more compute; RL will try to raise it with a reward; the distillation article already shows a published MATH-500 table for a 0.6B student.
Planned diagrams
- Own light and dark: problem → model trace → extracted answer → verifier compares with the gold answer (tick or cross).
- Own light and dark: a tiny example where the working is wrong but the final number is right, to make the path-versus-answer point visible.
Planned references
- Sebastian Raschka, Build a Reasoning Model (From Scratch), Manning, chapter 3, and the MATH-500 verifier scripts in rasbt/reasoning-from-scratch.
- Dan Hendrycks et al., Measuring Mathematical Problem Solving with the MATH Dataset, 2021.
- The MATH-500 test split, as used in the book and in later reasoning-model reports.
- DeepSeek-AI, DeepSeek-R1, 2025 (for how a verifier enters a training story, without turning this page into the RL article).
See also
- What is a reasoning model? (draft)
- Inference-time scaling (draft)
- Reinforcement learning for reasoning (draft)
- Lab#LL01-1: Distilling a reasoning model (published MATH-500 figures for a distilled student)