How to Evaluate the Mathematical Reasoning of Large Language Models: Methods and Practice
This article explains why questions about which large language model is stronger at math are hard to answer, and how to build a reproducible evaluation system instead of relying on impressions. It separates closed problems from open-ended mathematical exploration, scores outputs across three independent dimensions (answer correctness, process reliability, and readability), and shows why chain-of-thought length is not a capability metric. It also covers the experiment context that must be recorded, a five-step reproducible evaluation workflow with pseudocode, and how evaluation results feed into routing, regression baselines, and internal datasets. Readers will get a practical framework for layered, multi-dimensional, and auditable model evaluation.
1. Background: Why “Which Model Is Stronger” Is Hard to Answer
In real engineering and model selection work, teams often need to answer a question that looks simple: how strong is a given large language model at math. Once you actually run an evaluation, however, the conclusion turns out to depend heavily on the choice of problems, the scoring method, and the usage scenario. Comment-section style comparisons tend to mix different products, different versions, and different access modes together, so the result is a subjective impression rather than a reproducible conclusion.
A more common mistake is treating “math ability” as a single-dimensional metric. In practice it contains at least three separable parts: whether the model reaches the correct conclusion, whether the reasoning process is reliable, and whether the presentation is clear and readable. These three do not always move in the same direction. One model may produce a correct answer with a long-winded derivation, while another produces a concise derivation but makes mistakes in multi-step reasoning. So the first step of a professional evaluation is to break down the dimensions, not to rush into a ranking.
2. The Core Distinction: Open Mathematical Problems vs. Closed Problems
The most important split in evaluation design is whether a problem is a closed solve or an open exploration.
Closed problems have sufficient conditions, a clear objective, and a standard answer, such as routine algebraic manipulation, definite integral computation, and solving systems of linear equations. These can be scored automatically, which makes them suitable for large-scale regression testing, but their ceiling is low and they saturate easily.
Open mathematical problems require you to fill in conditions yourself, allow multiple solution paths, and may even require deciding first whether the problem is solvable at all. Examples include proof problems that require constructing a counterexample, introducing an auxiliary structure on your own, or making trade-offs among several lines of thought. Such problems cannot be scored against a single standard answer and must rely on manual or semi-automatic review.
A practical approach is to layer the problem set by “proportion that can be scored automatically”:
Level 1 Pure computation and manipulation High auto-scoring ratio Regression and stabilityLevel 2 Multi-step reasoning and proof Partial auto-scoring Capability tieringLevel 3 Open construction and exploration Mainly manual review Upper-bound assessment
Evaluation conclusions only have discriminative power when Level 3 performance is reported separately. Mixing the three types of problems into one total score is one of the main sources of distorted leaderboards.
3. Breaking Down the Evaluation Dimensions: Conclusion, Process, Expression
It is advisable to split each output into three fields and score them independently, avoiding both “one mistake fails everything” and “one pass clears everything.”
Answer correctness: whether the final answer holds, whether it contains hidden assumption errors, and whether branches are missed in cases with multiple solutions.
Process reliability: whether each derivation step is verifiable, and whether there are skipped steps, circular reasoning, or use of the conclusion as a premise. In practice you can apply a “step-by-step verifiability” standard, meaning whether a reviewer can judge a step as valid while reading only that step and the known premises.
Readability: whether the structure is layered, whether notation is consistent, and whether motivation is given for key steps. Presentation quality directly affects engineering adoption cost, because readable reasoning is easier to retain in logs, audit, and reuse.
A schematic scoring structure can be written as:
{"answer_correct": 0.0,"process_reliability": 0.0,"readability": 0.0,"notes": "location of skipped steps, whether assumptions are stated explicitly"}
Only after the three dimensions are recorded separately can you explain why two models with similar total scores differ greatly in practical usability.
4. Chain-of-Thought Length Is Not a Capability Metric
A common misjudgment is equating the length of the reasoning process with capability. In reality, a longer chain of thought may indicate stronger exploration ability, or it may indicate more unproductive branches and self-repetition. The right criterion is the amount of information per effective step, not the character count or the number of steps.
Actionable measures include: proportion of effective steps, number of repeated derivations, number of backtracks, and consistency between the final answer and the process. If a model produces a large amount of redundant derivation even on simple problems, it lacks adaptive allocation of its reasoning budget, and both cost and latency on the engineering side will rise accordingly.
For this reason, an evaluation report should give both “accuracy” and “average effective reasoning length”; only the combination reflects real cost-effectiveness.
5. Version and Access Mode Must Be Recorded Explicitly
The reproducibility of an evaluation conclusion depends on whether the full experiment context is recorded. At minimum, fix the following variables: model version identifier, access mode (conversational endpoint, batch task endpoint, structured API endpoint), temperature and sampling parameters, maximum output length, whether retrieval or tool calls are enabled, and prompt template version.
Performance differences of the same model across access modes are often larger than differences between different models. If these variables are not recorded, any ranking can only be treated as a one-off observation and cannot serve as a basis for selection.
It is recommended to maintain an experiment checklist:
- Model identifier and version- Access mode and invocation method- Sampling parameters and output limit- Prompt template version number- Dataset version and scoring script version- Runtime and archive path for failed samples
6. A Reproducible Experiment Workflow
A five-step closed loop is recommended to keep conclusions auditable.
Step 1: fix the dataset and the scoring script; any dataset change must bump the version number. Step 2: sample the same problem multiple times and report the pass rate rather than a single result, reducing the impact of randomness. Step 3: for Level 3 problems, introduce independent review by two people, and send samples with disagreement to arbitration. Step 4: archive failed samples to form a distribution of error types, such as missing assumptions, notation errors, and ignored edge cases. Step 5: map error types back to prompt strategies and workflow design to form an iteration loop.
Pseudocode:
def evaluate(model, dataset, repeats=5):report = []for item in dataset:results = [model.solve(item.prompt) for _ in range(repeats)]pass_rate = sum(check(r, item) for r in results) / repeatsreport.append({"id": item.id,"level": item.level,"pass_rate": pass_rate,"avg_effective_steps": avg_steps(results),"error_types": classify_errors(results, item)})return aggregate(report)
The key is repeats and error_types: the former removes chance, and the latter moves evaluation from “scoring” to “attribution.”
7. From Evaluation to Engineering Implementation
The endpoint of evaluation is not a leaderboard but an executable selection and optimization strategy. On the engineering side, three things can be done: route by problem difficulty, sending simple requests to a low-latency configuration and open problems to a high-reasoning-budget configuration; establish a regression baseline that automatically runs Level 1 and Level 2 after every model or prompt change to prevent capability regression; and accumulate failed samples into an internal dataset that becomes an organization-level asset.
At the infrastructure level, general-purpose capabilities are usually enough: object storage to hold datasets and failed samples, a message queue to smooth peaks and drive asynchronous evaluation tasks, a container platform to host scoring and review services, and logging plus monitoring and alerting to track pass rate and latency fluctuations. These are all common industry categories and do not depend on any vendor’s proprietary interfaces.
8. Conclusion
Judging the mathematical ability of large language models should shift from “impression-based ranking” to a layered, multi-dimensional, reproducible evaluation system. First separate open problems from closed problems, then score conclusion, process, and expression independently, explicitly record version and access mode, and replace single-observation impressions with repeated sampling and error attribution. Conclusions obtained this way both explain where differences come from and directly guide routing strategy and iteration direction, avoiding being misled by a single score or a lengthy chain of thought.
