How to Evaluate the Mathematical Reasoning Ability of Large Language Models
Casual impressions of a model's math ability — a single impressive proof, a polished tone, or a "great value" price tag — make unreliable signals for model selection. This article proposes a reproducible framework for evaluating large language models on mathematical reasoning. It breaks math tasks into four difficulty tiers (L1–L4), explains how to build a benchmark that resists training-data contamination and can still be scored objectively, defines a multi-dimensional scorecard with a critical-step veto rule, and shows how to fold quality, cost, and stability into a single decision model. The aim is not to crown one "strongest" model, but to replace arguments with data.
1. Why Subjective Experience Can’t Replace Systematic Evaluation
In developer communities, discussions of a model’s math ability tend to split into two opposing camps. One claims that models which are “cheaper, faster, and better” have taken a decisive lead. The other cites one or two hands-on sessions with long-form proofs to assert that “the models aren’t even in the same league,” then ranks them in order.
Both conclusions come from genuine experience, yet both carry clear methodological flaws:
- Sample size is too small. Model output is stochastic; running the same problem several times can produce very different results. A session or two tells you nothing about the expected capability, and it certainly can’t separate “the model is weak” from “this particular sample happened to be poor.”
- Difficulty is opaque. When you compare models on classic problems pulled from public datasets, you can’t confirm whether those problems — and their solutions — already sit in the training data. A model that “solves a hard problem” may just be reciting a memorized answer.
- Style bias. Well-formatted, smoothly-worded, confident-sounding responses feel “stronger,” but there’s no necessary link between polish and mathematical rigor.
- A fuzzy frame of reference. Claims like “it’s roughly at a certain level” lack a reproducible definition. Without fixed problems, scoring rules, and parameter settings, no one else can reproduce your conclusion.
- Cost is ignored. People compare capability without comparing price. In high-concurrency production environments with quota limits, “cheaper and faster” is itself a decisive factor in choosing a model.
So this article shifts the subject from “a specific model” to “the mathematical reasoning ability of large language models” and organizes the discussion around four questions:
- How to decompose math ability into measurable tiers;
- How to build evaluation samples that models haven’t “seen before” and that can be scored objectively;
- How to quantify proof quality with a unified scorecard;
- How to put quality, cost, and stability into one decision framework.
2. Decomposing the Ability: Math Reasoning Is a Layered Capability System
Saying “the math ability is strong” gives you nothing to guide evaluation or selection. A more precise approach is to divide math tasks into four tiers by difficulty. The higher the tier, the more it depends on the model’s own reasoning and construction — and the less it can lean on retrieving and reproducing known results.
| Tier | Task characteristics | Main capabilities relied on | Typical output |
|---|---|---|---|
| L1 Basic computation | Given rules and data, compute values, simplify expressions, solve standard equations | Instruction following, computational accuracy | Numeric answers, brief steps |
| L2 Standard problem solving | Textbook, competition, or standardized-exam problem types with well-established solution patterns | Domain knowledge, pattern matching | Complete solution process |
| L3 Long-chain proofs | Involves multiple theorems and lemmas; requires organizing derivations across chapters | Multi-step reasoning, consistency, logical organization | Structured proof document |
| L4 Open problems | No accepted elementary proof exists, or reference material provides no proof | Problem decomposition, constructive thinking, rigor and boundary awareness | Exploratory proof ideas and attempts |
Three points deserve emphasis:
- The tiers reflect task difficulty, not absolute model capability. The same model can perform wildly differently across tiers: scoring near-perfect on L2 doesn’t mean it can handle L3, and occasional success on L3 doesn’t mean it has L4 capability.
- Long-output capability is an independent variable. Deliverables for L3 and L4 tasks are often long, structurally complete technical documents. Maintaining consistency across a long context — symbol meanings not drifting, citation numbering not scrambling, established results not being forgotten — matters as much as the reasoning itself.
The most reliable evidence comes from problems that “have no answer in the reference material.” Mathematical propositions in public repositories usually come with complete proofs, while others give only a statement or a hint, or no proof at all. Asking a model to prove the latter fundamentally bypasses memory retrieval:
It can’t “look up the answer and copy it.” It can only show whether it can construct a valid argument from the given conditions.
Of course, this also means such samples must be graded by experts with the relevant background.
3. Building the Benchmark: Contamination-Free, Verifiable, Difficulty-Tiered
3.1 Contamination control: make problems “the model hasn’t seen”
- Prefer samples outside the training data: newly added lemmas from recent papers, propositions from internal material, self-modified variants.
- Perturb public problems: change the numbers, swap conditions, replace the framing, reorder the phrasing — anything that keeps the problem from matching the standard solution repeated in the training corpus exactly.
- Store problems separately from timestamps: when models update, you can run old problems against new versions for longitudinal comparison, then use new problems to monitor contamination risk.
3.2 Verifiability: make sure “someone can grade every problem”
- Auto-grade objective problems: numeric and expression-type answers are checked by symbolic computation or numeric comparison, with intermediate steps retained for spot-checking.
- Double-blind grading for proofs: two reviewers with the relevant background score independently. When their disagreement exceeds a threshold, a third reviewer arbitrates, with model provenance hidden throughout.
3.3 Difficulty and quantity: tiered sampling
- Allocate problems across L1–L4, easy to hard.
- Sample each model 3–5 times per problem and take the average score and pass rate, rather than a single “brilliant performance.”
- At the start, use no fewer than 100 problems in total, with at least 20 high-difficulty L3/L4 samples.
3.4 Unified constraints: make outputs comparable
All systems under test use the same prompt template, with uniform constraints on output:
- State what is given, what is to be proved, and which lemmas are used and where they come from;
- Organize the write-up as “lemmas — proof — main theorem,” with formulas numbered consistently;
- Clearly mark unverified assumptions or gaps, and forbid fabricating citations.
These constraints make side-by-side comparison easier and expose high-frequency errors like “fabricated lemmas.”
4. Quality Assessment: A Multi-Dimensional Scorecard with a Critical-Step Veto
4.1 Scoring dimensions
| Dimension | Focus | Suggested weight | Review method |
|---|---|---|---|
| Correctness | Whether the conclusion holds and key steps are valid | 35% | Expert step-by-step review |
| Completeness | Whether cases are exhaustive, boundary and degenerate cases covered | 20% | Checklist |
| Rigor | Whether quantifiers and premises are clear, whether logic is circular | 20% | Expert review |
| Verifiability | Whether citations are real and checkable, whether unproven conclusions are flagged | 15% | Citation traceability check |
| Readability and conformance | Structure, symbol consistency, formatting | 10% | Structure check + manual |
4.2 The critical-step veto mechanism
For L3/L4 samples, identify several “critical steps” in advance — points where a single error collapses the conclusion: whether a core lemma is proved, whether a key construction satisfies its premises, whether a case split is exhaustive.
If any critical step fails, that output scores 0 outright, with no accumulation from the other dimensions. This mechanism effectively guards against the inflated scores that structurally complete but factually flawed long outputs can produce.
4.3 Error-type tagging
- Type 1: Logical leap — a necessary argument is missing between premise and conclusion;
- Type 2: Circular reasoning — the conclusion is smuggled in as a premise in another form;
- Type 3: Fabricated citation — citing a result that doesn’t exist or doesn’t contain the claimed content;
- Type 4: Dropped condition — ignoring a boundary case or an additional premise;
- Type 5: Symbol drift — the same symbol carries different meanings in different places.
Counting how often each error type occurs is more actionable than looking at the total score alone. For example, if a model averages a high score but also has a high fabricated-citation rate, you should make citation checking mandatory in your production workflow.
5. Process Assessment: Reasoning-Chain Length and Robustness
A common intuition in community discussions is that a longer reasoning process means the model “thinks more deeply.” A more rigorous view is that reasoning-chain length is a side effect of problem complexity, not a direct measure of ability. When evaluating, record the following alongside it:
- Reasoning-chain length: the number of intermediate reasoning tokens in the output, to observe how much different models “invest” in the same problem;
- Number of corrections: how often the model identifies and fixes its own errors or failed attempts;
- Convergence behavior: before the final answer, does the model hold a consistent proof line, or repeatedly overturn and restart;
- Failure mode: burning tokens on a wrong direction without realizing it is the most typical failure of long-reasoning models. For this reason, reasoning-chain length must be read together with accuracy — comparing length in isolation is meaningless.
For robustness, consider examining:
- Repeat consistency: across multiple samples of the same problem, is the core proof approach stable;
- Perturbation robustness: after non-essential rewording of a problem, do the conclusion and key steps stay the same;
- Long-output consistency: across a long output, do earlier definitions, lemma numbering, and the conclusion stay consistent.
6. Cost and Efficiency: Bringing Price Into the Evaluation
6.1 Build a joint “capability–cost” view
Math reasoning tasks often come with high token consumption, especially in scenarios that need long-form reasoning and structured document output. In practice, some users report that a single such task can consume roughly 2% of a monthly quota, while others route tasks to a given model only because their plan quota is about to expire and would otherwise go to waste.
The sensible approach puts cost and capability on the same chart:
- X-axis: average token consumption per thousand successful tasks;
- Y-axis: average score on L3/L4 samples;
- Also record time-to-first-token and end-to-end latency.
Only the combinations on the “Pareto frontier” are genuinely worth prioritizing at a given quality tier.
6.2 Quantify quota consumption and scheduling value
Suppose a model’s average score on L4 samples is S and its average token consumption per task is C. Then the quality output per token is S/C. The harder the task, the higher the per-token quality bar. For resources where “the quota is limited and must be spent where it counts,” this ratio is the basis for deciding whether a task is worth routing to that model.
7. Engineering: Tiered Routing and Sampling Review
Evaluation results ultimately have to land in system design. The core strategies are two.
7.1 Task-tier routing
Illustrative pseudocode:
# Baseline data produced during evaluationPROFILE = {"flagship": {"L3_pass_rate": 0.72, "avg_tokens": 42000, "avg_latency_s": 180},"balanced": {"L3_pass_rate": 0.55, "avg_tokens": 28000, "avg_latency_s": 90},"light": {"L3_pass_rate": 0.31, "avg_tokens": 9000, "avg_latency_s": 12},}def route(task, daily_quota):level = classify_difficulty(task) # L1 ~ L4if level >= 3:tier = "flagship" # Prioritize correctness for long-chain proofselif level == 2:tier = "balanced" # Balance quality and cost for medium difficultyelse:tier = "light" # Use a low-cost model for clear, rule-based tasks# Auto-downgrade when quota is low, to preserve basic availabilityif daily_quota.remaining() < task.estimated_tokens(tier):tier = "light"result = call_model(tier, task)# Low-confidence output triggers escalation or human reviewif result.confidence < 0.7:result = call_model("flagship", task)return result
7.2 Result verification and sampling review
- Structured-constraint checks: automatically verify output format (section structure, formula numbering); non-compliant outputs are returned for retry;
- Sampling-based human review: spot-check high-difficulty tasks at a fixed ratio with domain experts, and feed the results back into the benchmark;
- Confidence-based escalation: outputs with low self-reported confidence are automatically escalated to a higher capability tier or handed to a human;
- Quota management: combine task tiering with quota allocation; when quota is tight, prioritize high-difficulty tasks and avoid over-spending on simple ones.
8. Common Pitfalls and How to Avoid Them
| Pitfall | Symptom | How to avoid it |
|---|---|---|
| Generalizing from a small sample | Drawing conclusions from one or two sessions | Fixed problems, multiple samples, uniform parameters |
| Memory masquerading as reasoning | The model reproduces a standard proof from public material | Use problems without published solutions and perturb them |
| Style standing in for correctness | Judging strength by formatting and tone | Critical-step veto + double-blind grading |
| Ignoring cost | Looking only at capability rankings | Build a joint “capability–cost” view |
| One-time verdict | Reusing old conclusions after a model version update | Maintain a fixed benchmark and regress on a per-version schedule |
| Single-dimension evaluation | Concluding on the math dimension alone | Also assess long-output consistency, instruction following, and tool use |
9. Conclusion
The mathematical reasoning ability of large language models needs layered evaluation. The point of evaluation isn’t the single answer “which model is stronger,” but a reproducible method:
- Tiered decomposition: design the benchmark across L1–L4, covering everything from basic computation to open problems;
- Contamination control: prefer propositions without published proofs or not yet public;
- Unified constraints: fix the prompt template and output spec to ensure side-by-side comparability;
- Strict grading: combine a multi-dimensional scorecard with a critical-step veto, and tally error types;
- Joint cost: fold token consumption, latency, and quota into the decision;
- Engineering: turn evaluation conclusions into system capability through tiered routing, sampling review, and quota management.
For developers, rather than arguing about which tier a given model sits in, invest the effort in building the evaluation system. When the system is rigorous enough, “strong” and “weak” will answer themselves in the data.
