How to Evaluate LLM Math Reasoning and Instruction Following
Single-task tests often mislead. This article explains why generation, instruction following, and reasoning must be scored separately, how to pressure-test constraints, how to distinguish routine math from open problems, and how to include quota, queue time, and rework in a practical cost model.
Single-task tests are a poor way to judge a model. Users often try a few math problems or a short coding snippet and then call the model “strong” or “weak.” Performance is layered, and tasks differ sharply in what they demand.
A practical split is three layers:
- Basic generation: fluent language, valid code syntax, readable formulas.
- Instruction following: full compliance with constraints such as length, format, and required coverage.
- Complex reasoning: multi-step proofs, reverse engineering, and long-horizon planning.
Layer two is the one most often ignored. A model that reasons well but is unstable on constraints forces repeated rework and a worse experience.
Instruction following: “self-check” is not the same as correction
In real use, models often claim they have reviewed the output, yet item-by-item checks still find misses. The self-check is frequently ceremonial rather than a true pass over every constraint.
This shows up most on long outputs, for example:
- Every conclusion must include a citation ID, but some lines still lack one.
- Certain terms are forbidden; the first half obeys, the second half forgets.
- Structure must be preserved while editing; the structure is quietly rewritten.
A simple stress test:
Generate a 10-point technical handout. Requirements:1. Each point must start with [Point N];2. Each point must include one formula and one code snippet;3. The text must not contain "in summary";4. End with a self-check list of at most 50 words.
Then check mechanically, line by line. A stable model should pass in one shot. If two or three rounds of rework are needed, instruction following is decaying over long context.
Math: routine tasks vs. open problems
Math ability is not one score.
- Routine math: textbook exercises, restating standard proofs, numerical calculation. Mainstream models usually handle these; gaps are rigor and completeness of detail.
- Open problems: proofs without a ready answer, reasoning that combines tools across topics. These separate models more clearly.
A useful method is to pick a proposition from a public knowledge base that does not include a proof, ask the model to prove it independently and write it as a handout. Benefits:
- No published answer, so recitation is less likely.
- Domain experts can verify correctness.
- Writing quality (terminology, logic, formula layout) is evaluated at the same time.
In practice these tasks consume a lot of quota—one handout can use a few percent of a monthly allowance. Quota cost belongs in the evaluation, not only whether the model can finish.
Resources and usability: an underrated axis
Even when capability is adequate, these factors decide whether the model is usable:
- Queue time: long peak waits break the workflow.
- Quota burn: hard tasks are expensive; cost must be measured.
- Refusal rate: overly strict safety can block legitimate work such as reverse analysis and vulnerability research.
- Rework cost: every retry spends quota again; hidden cost can exceed a single call.
A simple cost model:
Actual cost = Σ(quota per call) + queue time × value of timeSuccess rate = one-shot successes / total tasksEffective unit cost = actual cost / one-shot successes
A low one-shot rate inflates effective unit cost. That is where “checks itself but does not actually check” hurts most.
A scoring framework
Score each dimension 1–5:
| Dimension | Focus |
|---|---|
| Instruction following | One-shot constraint pass rate, long-output stability |
| Math reasoning | Quality of open-problem proofs, chain-of-thought brevity |
| Code / security tasks | Real-scenario usefulness, false-refusal rate |
| Resource efficiency | Quota per task, queueing |
| Writing quality | Accurate terms, natural prose |
Math reasoning can be split further: brevity and correctness of the chain of thought are not the same. Some models produce very long, highly branched traces that look rigorous but spread uncertainty across many intermediate steps. Others use a short chain with each step justified. For real work, short and correct is more valuable.
Conclusion
Do not commit to a model because of one impressive proof. A durable evaluation looks like this:
- Test real reasoning with open problems that have no reference solution.
- Test instruction following with a mechanical checklist.
- Measure engineering usability with effective unit cost (rework, queues, quota).
- Treat high-refusal models carefully against your own workload.
Models change quickly, so rankings age fast. The lasting skill is this evaluation method: run a standard suite when a new model ships.
