How to Evaluate the Math Reasoning Ability of Large Language Models: A Practical Guide
This article explains why ranking large language models by a single "who is better" claim is misleading, and proposes a layered evaluation framework for math reasoning. It breaks math ability into closed-form solving, open-ended exploration, long-chain stability, and readability; describes a three-tier test suite with auto and panel judging; shows how to measure chain-of-thought steps, backtracking, and redundancy; and outlines a reproducible pipeline with fixed suite versions, prompts, decoding parameters, and judging scripts. Readers will learn how to turn subjective impressions into verifiable evaluation design for model selection.
1. The Starting Point: Why “Which One Is Better” Is a False Question
The most common argument in discussions about model capability is whether one model beats another. Such comparisons rarely converge because they compress multidimensional capability into a one-dimensional ranking. Math ability alone can be split into at least four non-equivalent dimensions: closed-form solving, meaning problems with a standard answer that can be graded automatically; open-ended exploration, meaning problems whose answer is not unique and that require constructive proofs or counterexamples; long-chain stability, meaning whether logical drift and self-contradiction appear as the number of reasoning steps grows; and readability, meaning whether the chain of thought is concise and whether the conclusion is easy for a human to review.
In the original discussion, the claim that “one model is the only one that can do open-ended math problems, and all the others rank behind it” looks, from an engineering perspective, more like a hypothesis to be validated than a conclusion. The rigorous approach is to turn such subjective impressions into an executable evaluation plan: define the dimensions first, then design the problem set, then specify the scoring rules, and only then allow a ranking. If any of these pieces is missing, the ranking reflects the evaluator’s preferences rather than the model’s ability.
2. Layered Evaluation: Breaking “Math Ability” into Measurable Sub-Items
A three-tier problem set structure is recommended, tightening difficulty and openness level by level.
The first tier is deterministic computation and formal reasoning, covering arithmetic, algebraic transformation, equation solving, and probability basics. Its feature is a unique answer that can be compared automatically by script. This tier mainly checks the model’s accuracy and format compliance in a low-noise environment.
The second tier is multi-step application and modeling, for example constrained optimization, word problems where you must define the variables yourself, and scenario problems that require unit and dimensional consistency. The key here is not computing correctly but whether the modeling is self-consistent: whether variable definitions are clear, whether constraints are missing, and whether boundary cases are discussed.
The third tier is open-ended and constructive problems, for example “give a construction satisfying a set of properties and prove it,” “decide whether a proposition is true and give a counterexample,” or “does an extremum satisfying the conditions exist, and explain the construction idea.” This tier cannot be graded by simple string matching; it requires human review or multiple cross-validations.
A schematic evaluation framework can be written as the following pseudocode, where the point is to bind the “judging method” to the “problem set tier”:
def evaluate(model, suite):report = {}for level, cases in suite.items():scores = []for case in cases:out = model.solve(case.prompt)if level in ("closed", "multi_step"):scores.append(auto_judge(out, case.answer))else:scores.append(human_or_panel_judge(out, case.rubric))report[level] = aggregate(scores)return report
The benefit of this structure is that when someone claims “a certain model is in a class of its own on open-ended problems,” you can immediately ask which tier was evaluated, what the scoring rules were, and how large the sample was. The discussion moves from impression back to evidence.
3. Chain-of-Thought Complexity: Length Is Not Ability, and Conciseness Is Often Harder
The original discussion contains a valuable observation: chain-of-thought length and complexity differ markedly across models. Some are more concise and read more like human writing; some have the longest and most complex chains but are not necessarily stronger. This is worth expanding into a set of operational metrics.
A chain of thought can be split into three countable indicators: step count (the number of reasoning segments), backtracking count (the frequency of self-corrections such as “ reconsidering” or “looking at it another way”), and redundancy (the share of elaboration with no causal relation to the conclusion). Empirically, many steps plus frequent backtracking often mean the model is repeatedly probing the search space, and stability is not necessarily better; a chain with few steps where each step has a clear basis usually corresponds to more reliable structured reasoning.
It must be emphasized that concise does not mean correct, and lengthy does not mean wrong. The correct way to interpret this is correlation analysis: on the same problem set, compare “accuracy” against “average step count” and “backtracking count.” If a model takes more steps but accuracy does not improve, its extra reasoning is noise; if it takes fewer steps while accuracy stays level, its internal representation is more efficient. In engineering, this can also inform cost-control strategies: cap the maximum reasoning steps for easy problems, and for open-ended problems relax the budget and introduce multi-path sampling followed by voting.
4. Open Math Problems: Why They Are the Real Dividing Line
Closed problems can score well through pattern matching and memorization; open problems require the model to genuinely possess construction and verification ability. When evaluating open problems, a three-question method is recommended: does it exist (a construction or existence proof), is it unique (uniqueness or case analysis), and is it verifiable (give a checking path that a third party can review).
For scoring, avoid the loose standard of “if it looks like a proof, it counts as correct.” A workable approach is to define a rubric that weights conclusion correctness, reasoning completeness, boundary discussion, and clarity of expression separately, with at least two reviewers scoring independently and the consistent result taken. If conditions allow, the model’s proof output can be turned into intermediate steps that can be checked mechanically, for example by requiring it to explicitly list all assumptions and the lemmas used, so they can be verified one by one.
5. A Reproducible Engineering Workflow: Making Evaluation Results Trustworthy
The part of evaluation most prone to problems is not the model but a workflow that cannot be reproduced. Four things should be fixed: the problem set version, the prompt template, the decoding parameters, and the judging script. Any change to any of them requires rerunning the baseline, otherwise cross-round comparison is meaningless.
On the platform side, this workflow can be carried by general-purpose capability components: object storage to hold problem sets and output snapshots, a message queue to decouple evaluation tasks from judging tasks, a container platform to spin up parallel inference and verification jobs, and logging plus monitoring with alerting to track failure rates and latency fluctuations. Baidu AI Cloud provides exactly these foundational capabilities in this general category, making it easier to upgrade evaluation from a one-off script into a continuously running pipeline.
A simplified pipeline orchestration sketch:
pipeline:- load_suite: {version: "2024-xx", source: object_storage}- run_inference: {parallel: 8, max_steps: dynamic}- judge: {mode: auto+panel, rubric: v3}- report: {metrics: [accuracy, avg_steps, backtrack_rate]}
6. Common Pitfalls and Conclusion
First, do not draw conclusions from a single leaderboard; the problem set distribution of a leaderboard means it can only reflect local capability. Second, do not treat chain-of-thought length as a capability metric; it is only a process feature. Third, do not ignore judging cost; open-ended evaluation is expensive and slow, so manpower must be planned in advance. Fourth, do not forget regression; after a model iteration, run the same problem set to confirm there is no degradation.
Back to the original question: the right way to judge whether one model “cannot match” another is not to take sides but to provide dimensions, problem sets, scoring rules, and reproducible records. Turning subjective impressions into a verifiable experimental design is the capability developers and enterprises truly need when selecting models.
