How to Evaluate and Choose LLMs for Mathematical Reasoning
This article presents a practical framework for evaluating the mathematical reasoning capabilities of large language models and selecting the right one for production use. It breaks reasoning ability into four measurable layers, explains how to quantify chain-of-thought complexity, and shows why layered sampling, process-based scoring, and versioned evaluation criteria matter more than impression-based rankings. You will also find guidance on building a repeatable evaluation pipeline and matching models to specific scenarios instead of chasing a single "best" model.
1. Why “Which Model Is Stronger?” Is Hard to Answer
In technical selection and performance evaluation discussions, the most common argument is whether one model is stronger than another. Opinions from an earlier discussion were fairly representative: some believed a certain class of models was among the few options capable of handling open-ended math problems, others found it hard to tell stronger and weaker versions apart, and some offered a subjective judgment that a model sat “between two versions.” These claims may not be wrong, but together they expose one problem: without a unified evaluation standard, conclusions are nothing more than impressions.
Open-ended math problems are fundamentally different from the traditional “solve a problem and check the answer” approach. They usually have no single canonical solution and require the model to handle problem understanding, condition transformation, strategy selection, multi-step derivation, and result verification on its own. What these tasks demand is not “computing fast” but “reasoning correctly and consistently.” The evaluation dimensions therefore have to expand from a single accuracy metric into a multi-dimensional capability profile.
2. Capability Layers: Breaking “Math Ability” into Measurable Sub-Skills
The first step toward a rigorous evaluation is decomposing the capability structure. A widely accepted breakdown can be abstracted into four layers:
- Problem understanding: correctly identifying the problem type, implicit conditions, and constraint boundaries;
- Strategy planning: choosing a suitable solution path instead of blindly expanding into computation;
- Derivation execution: maintaining logical consistency across multi-step reasoning, with stable symbols and units;
- Self-verification: performing reverse checks, boundary checks, and plausibility judgments before reaching a conclusion.
Many results that “look strong” are actually strong only at layer 3, computation execution. What truly separates models on open-ended problems is layer 2 and layer 4. Without distinguishing these layers, evaluation can mistake “compute-driven correctness” for “reasoning-driven correctness.”
3. Chain-of-Thought Complexity: An Undervalued Key Metric
The original discussion noted that different models have “different chain-of-thought lengths and complexity,” a point well worth engineering. A chain of thought is not better simply because it is longer; three quantities need to be observed together:
- Effective steps: reasoning steps that genuinely move the conclusion forward;
- Redundant steps: repeated verification, circling back, and steps that add no information;
- Backtracking count: how often the model overturns its own intermediate conclusions and rebuilds the path.
An ideal high-capability model often shows “a moderate number of effective steps, low redundancy, and purposeful backtracking.” Conversely, an extremely long chain of thought paired with high redundancy and frequent unproductive backtracking usually signals unstable strategy planning and a greater tendency to break down on harder problems.
The statistical logic can be expressed schematically like this:
def chain_profile(steps):effective = [s for s in steps if s.information_gain > 0]redundant = [s for s in steps if s.information_gain == 0]backtrack = [s for s in steps if s.revokes_previous]return {"total": len(steps),"effective": len(effective),"redundant": len(redundant),"backtrack": len(backtrack),"efficiency": len(effective) / max(len(steps), 1)}
In a real system, information_gain and revokes_previous can be approximated through manual annotation or rule-based judgment, producing a regression-friendly complexity profile.
4. Evaluation Set Design: Layered Sampling Matters More Than Volume
The evaluation set determines how credible the conclusions are. The recommendation is three-dimensional stratified sampling across “problem type x difficulty x phrasing perturbation”:
- Problem type: algebraic manipulation, combinatorial counting, probabilistic inference, geometric construction, number-theoretic properties, and so on;
- Difficulty: single-step, multi-step, and problems requiring an additional construction;
- Perturbation: paraphrasing the same problem, adding or removing conditions, and substituting values to observe stability.
The perturbation dimension is especially critical. A model that is correct on the original phrasing but fails after the condition order changes is relying on surface patterns rather than structural understanding. In practice, you can generate several equivalent variants per problem and measure robustness with a “variant pass rate”:
robustness = passed variants / total variants
When robustness is clearly lower than the original pass rate, the result should be classified as “fragile correctness” and excluded from the high-capability range.
5. Scoring Criteria: Moving from Binary Right/Wrong to Process Scores
Scoring only 0/1 discards a great deal of information. A more reasonable approach introduces process scores:
- Conclusion score: whether the final answer is correct;
- Path score: whether key steps hold and whether there are logical jumps;
- Verification score: whether the model proactively performs boundary and plausibility checks;
- Clarity score: whether the derivation is reviewable and the notation is consistent.
The combined form can be abstracted as:
score = w1 * conclusion + w2 * path + w3 * verify + w4 * clarity
The weights do not have to be fixed, but they must be unified across the team and versioned. Otherwise, changing the criteria for every evaluation makes historical data lose comparability, and selection conclusions drift accordingly.
6. Common Pitfalls: Three Traps of Impression-Based Rankings
Looking at the subjective ordering in the original discussion, three typical traps emerge:
- Version confusion: putting models from different generations and product forms on the same leaderboard, which makes conclusions inherently non-reproducible;
- Single-problem extrapolation: inferring overall capability from a few hard problems while ignoring variance;
- Style misjudgment: treating “sounds more human” or “a cleaner chain of thought” as equivalent to “stronger reasoning.” Style belongs to the experience layer and capability to the performance layer; the two need to be recorded separately.
The rigorous approach is to first fix the version and invocation form, then run repeated sampling multiple times, report the mean and variance, and only then discuss rankings.
7. Engineering Practice: Turning Evaluation into a Sustainable Pipeline
Evaluation should not be a one-off activity but should plug into the development workflow and form a closed loop:
- Baseline fixation: preserve the evaluation set version, scoring scripts, and random seeds;
- Batch execution: schedule evaluation jobs through a container platform and use a message queue to smooth out peaks;
- Result archiving: write raw outputs and process data to object storage for traceability;
- Metric visualization: use logging services and monitoring alerts to track drift in pass rate, robustness, and average effective steps;
- Regression gate: block a release when a key metric drops beyond a threshold.
A schematic flow:
evaluation set version -> batch inference -> process capture -> multi-dimensional scoring -> metric storage -> regression alert
The resulting ranking is no longer “what I think” but a reproducible, data-backed conclusion.
8. Selection Advice: Match the Scenario Instead of Chasing a Single Winner
For most teams, pursuing an “absolute first place” is not economical. A more practical strategy is scenario matching:
- Hard open-ended derivation: prioritize strategy planning and self-verification, and tolerate higher latency;
- High-concurrency routine computation: prioritize stability and unit cost, with chain-of-thought complexity kept under control;
- User-facing product features: weight clarity and consistency of expression more heavily;
- Internal analysis tools: weight reviewability and process scores more heavily.
Also keep a “dual-track evaluation”: one track for the performance ceiling and one for engineering stability. Only when both tracks pass is a model suitable for production.
9. Conclusion
The debate over the math capabilities of large models is essentially not about “who is stronger” but about “what method proves who is stronger.” Layering capabilities, quantifying the chain of thought, stratifying the evaluation set, versioning the scoring criteria, and turning the workflow into a regression pipeline are what move conclusions from subjective impressions to engineering facts. For developers and enterprise users, the value of this approach is that any model iteration can be evaluated quickly, reliably, and explainably, supporting technical selection that is genuinely evidence-based.
