Evaluating Large Language Models on Mathematical Reasoning: Dimensions and Methods
This article explains why a single aggregate score is insufficient for evaluating mathematical reasoning in large language models. It breaks capability into observable dimensions—closed-form versus open-ended problems, reasoning chain efficiency, and expression quality—and outlines a reproducible evaluation workflow with practical scoring and sampling guidelines. It also describes three common model profiles, engineering recommendations for combining models in a pipeline, and a checklist of frequent evaluation mistakes. The goal is a regression-friendly, explainable, and replaceable evaluation system rather than a single "best model."
1. The Problem: Why “Math Ability” Cannot Be Reduced to a Single Score
In public discussions, it is common to see different models compared on the same leaderboard, with the conclusion usually being that “one model is stronger.” However, when the scenario shifts to real engineering tasks, the reference value of such a single-point conclusion drops quickly. The reason is not complicated: mathematical ability is a composite concept. It includes at least the accuracy of symbolic operations, the stability of multi-step reasoning chains, the ability to explore when facing open-ended problems, and the writing ability to express the reasoning process clearly. These capabilities do not grow in sync. A model may perform excellently on standard problem types yet become unstable quickly on questions that have no unique answer.
Therefore, a more rigorous approach is to rewrite “who is stronger” as “under what task distribution, measured by what metric, and whose failure costs less.” This is also the basic stance of this article when discussing evaluation methods: define the tasks and metrics first, then talk about ranking.
2. Breaking Capability into Observable Dimensions
2.1 Layering Closed-Form and Open-Ended Problems
Closed-form problems refer to questions with a single, definite answer, such as standard algebraic solving, probability calculation, and formal proof fill-in-the-blank tasks. Evaluating these problems has low cost and can be automated, but the ceiling is obvious and they are easily covered by training data. Open-ended problems refer to questions with no unique answer that require setting assumptions and constructing a solution, such as “provide a structure that satisfies a given set of constraints and prove its properties.” Open-ended problems truly test exploration and self-verification abilities.
A suggested evaluation set composition is 40% closed-form problems for regression monitoring and 60% open-ended problems for capability differentiation. Open-ended problems must be paired with manual or rule-based scoring rubrics; otherwise, the conclusions are not reproducible.
2.2 Chain Length and Complexity Are Not the Same Thing
A common misjudgment is to equate a “longer reasoning process” directly with “stronger reasoning ability.” In fact, chain length only reflects token consumption and latency, while complexity reflects how information is organized. Three quantifiable proxy metrics can be used to observe this:
- Average number of reasoning steps: measures resource overhead;
- Number of backtracks: the frequency of “rechecking / trying another approach,” measuring the tendency toward self-correction;
- Useful step ratio: the ratio of steps that actually advance the conclusion to the total number of steps, measuring redundancy.
The ideal shape is a moderate number of steps, effective backtracking, and low redundancy. An extremely long number of steps with high redundancy often means the model is repeatedly probing the search space, which appears in engineering as high cost and high latency.
2.3 Expression Naturalness as an Independent Metric
The output of mathematical tasks ultimately needs to be read, reviewed, and reused by people. Expression naturalness includes terminology consistency, whether assumptions are explicitly stated, and whether conclusions correspond to the derivation. It is independent of reasoning correctness and should be scored separately, to avoid averaging away two types of problems: “calculates correctly but cannot explain clearly” and “sounds polished but reaches the wrong conclusion.”
3. A Reproducible Evaluation Workflow
The following is illustrative evaluation orchestration code; the focus is on the process structure rather than a specific implementation:
# Pseudocode: layered evaluation orchestrationdef evaluate(model, dataset):report = {"closed": {}, "open": {}, "chain": {}}for item in dataset.closed:out = model.solve(item.prompt)report["closed"][item.id] = exact_match(out, item.answer)for item in dataset.open:out = model.solve(item.prompt, rubric=item.rubric)report["open"][item.id] = rubric_score(out, item.rubric)for item in dataset.sampled:trace = model.solve(item.prompt, return_trace=True)report["chain"][item.id] = {"steps": count_steps(trace),"backtracks": count_backtracks(trace),"useful_ratio": useful_steps(trace) / max(1, count_steps(trace)),}return report
There are three key points in the workflow. First, fix the random seed and decoding parameters; otherwise, results are not comparable. Second, sample the same problem multiple times and record the pass rate rather than a single result, using variance to characterize stability. Third, freeze the scoring rubric before the experiment to avoid adjusting the standard after the fact.
4. Interpreting Results: Three Typical Profiles
The first type is strong on open-ended problems with concise chains. Its characteristics are a high open-ended pass rate, a moderate average number of steps, and few backtracks. This type of model is suitable for stages that require autonomous exploration, such as solution generation and constraint solving.
The second type has extremely long chains. Its characteristics are a pass rate close to the first type, but a significantly higher number of steps and token consumption. It is not weak in ability; rather, it “exerts more effort” in searching. In engineering, it is suitable for offline batch processing and not for online interaction.
The third type is strong in expression. Its characteristics are high readability of the derivation and complete assumption statements, but average stability on open-ended problems. It is suitable for taking on the downstream role of “writing the conclusion clearly,” combined with a model that has stronger reasoning into a pipeline.
5. Engineering Implementation Recommendations
To use this kind of capability in your own system, a combination strategy rather than a single dependency is recommended: upstream, use a model with relatively good reasoning stability to produce candidate solutions; downstream, use a model with relatively good expression quality to organize and review; and in the middle, add rule-based checks and unit-test-style automated verification. When it comes to compute scheduling, container platforms can host inference services, message queues can smooth out task peaks, object storage can archive evaluation samples and results, and logging services and monitoring alerts can track fluctuations in pass rate and latency.
In related practices at Baidu AI Cloud, this kind of layered evaluation and pipeline combination is typically used together with the general capability categories above, with the focus on turning evaluation into a continuously running regression system rather than a one-off manual comparison.
6. Checklist of Common Mistakes
- Reporting only the total score without variance, masking stability problems;
- Inferring open-ended performance from closed-form conclusions;
- Treating reasoning length as proof of ability;
- Adjusting the scoring rubric after the experiment;
- Ignoring attribution analysis of failed samples, causing the optimization direction to lose focus.
7. Summary
Comparing mathematical reasoning ability is essentially a joint judgment of task distribution, metric definition, and failure cost. Only by breaking capability into dimensions such as closed-form versus open-ended, chain efficiency, and expression quality, combined with a frozen scoring rubric and multiple sampling, can the conclusions have engineering usability. For developers, the real benefit is not finding the “strongest model,” but building a regression-friendly, explainable, and replaceable evaluation and orchestration system.
