How to Evaluate the Mathematical Reasoning Ability of Large Language Models

    This article explains why ranking large language models by vague tiers fails in real engineering work, and presents a reproducible evaluation method instead. It breaks mathematical ability into four measurable task levels (L1 to L4), shows how to interpret chain-of-thought complexity through effective step ratio, backtracking count, and redundancy rate, and introduces a dual-track scoring approach that combines symbolic equivalence checks with multi-reviewer rubrics. It also covers regression monitoring in CI, dual quality and cost thresholds with tiered routing, common misuses of evaluation results, and a practical implementation checklist. Readers will learn how to build a capability profile that matches their own business distribution and is reproducible and auditable.

    1. Why “Which Model Is Better” Is Hard to Answer

    In model selection and capability acceptance work, the most common dispute is not whether a model can solve a single problem correctly, but what justifies the claim that model A is stronger than model B. The practice of ranking models into tiers, as seen in some original discussions, almost inevitably breaks down in real engineering for three reasons.

    First, mathematical ability is not a scalar. Arithmetic precision, symbolic manipulation, combinatorial construction, probabilistic modeling, and proof writing are sub-abilities that differ greatly from one another. An edge in algebraic simplification does not imply equal reliability in combinatorial construction.

    Second, evaluation sets carry contamination risk. Public problem banks end up in training corpora, which inflates scores. The questions that are genuinely valuable inside a company are usually unpublished composite problems carrying their own business context.

    Third, sampling randomness is severely underestimated. For the same model and the same question, changing only the temperature parameter and the number of samples can shift the pass rate by more than ten percentage points. Treating a single run as a capability conclusion is the most common source of misjudgment.

    For these reasons, this article gives no tier ranking. Instead, it provides a reproducible evaluation method so readers can draw their own conclusions.

    2. Breaking “Mathematical Ability” into Measurable Task Levels

    Divide tasks into four levels and increase pressure level by level:

    • L1 Calculation and simplification: multi-step rational arithmetic, equation solving, identity transformation. This measures the low-level error rate.
    • L2 Standard problem modeling: word problems, geometric measurement, basic probability. This measures the conversion from natural language to formal expression.
    • L3 Open-ended problems: insufficient conditions requiring self-supplied assumptions, construction of counterexamples, multi-path exploration. This level is the watershed.
    • L4 Proof and rigor: verifiable reasoning steps are required, and both the conclusion and the process are scored.

    In engineering terms, “can handle open-ended problems” means the model does not fabricate premises when conditions are incomplete. Instead, it explicitly lists assumptions, discusses cases separately, and clearly states the reason for failure when it cannot converge. This has more diagnostic value than whether the final answer is correct.

    3. Chain-of-Thought Complexity: A Misread Signal

    Original discussions noted clear differences in chain-of-thought length across models. It should be emphasized that chain-of-thought length is neither an advantage nor a drawback; it is only a proxy indicator for cost and latency. What actually needs to be measured are three quantities:

    1. Effective step ratio: reasoning steps that advance the solution / total reasoning steps;
    2. Backtrack count: the frequency of self-negation and restarts;
    3. Redundant repetition rate: the proportion of segments that are semantically highly repetitive.

    A long chain of thought accompanied by high backtracking and high redundancy usually means the model lacks a pruning strategy in its search space, and increasing the budget only raises cost linearly. A short chain of thought with a high effective step ratio is what indicates a compact internal representation.

    An operable record structure is shown below (illustrative, not the interface of any specific product):

    1. {
    2. "task_id": "L3-0421",
    3. "assumptions": ["assume the random variables are mutually independent"],
    4. "steps": 37,
    5. "effective_steps": 22,
    6. "backtracks": 3,
    7. "final_answer": "closed_form_expr",
    8. "self_check": "dimension_and_boundary_verified",
    9. "latency_ms": 8400,
    10. "token_cost": 5120
    11. }

    4. Scoring Criteria: Turning Subjective Impression into a Reproducible Process

    A dual-track scoring approach is recommended. The objective track is used for L1 and L2, where answers are unique; use symbolic equivalence judgment rather than string matching. The subjective track is used for L3 and L4, where two or more reviewers score against a fixed rubric. Suggested rubric dimensions are: explicitness of assumptions, completeness of case handling, verifiability of steps, and consistency between conclusion and process.

    Key engineering details:

    • Fix the temperature, sample multiple times (for example 5 times per question), and record the pass rate rather than a single result;
    • Version the questions and the scoring rubric; any change counts as a new evaluation version;
    • Keep a failure sample library; clustering failures guides optimization better than a total score does;
    • Run prompt perturbation tests on the same question and observe the stability of the conclusion.

    Illustrative judgment logic:

    1. def grade(item, responses):
    2. if item.level in ("L1", "L2"):
    3. return sum(symbolic_equal(r, item.answer) for r in responses) / len(responses)
    4. rubric_scores = [rubric_judge(item, r) for r in responses for _ in [0]]
    5. return {
    6. "pass_rate": mean(s >= item.threshold for s in rubric_scores),
    7. "stability": 1.0 - stdev(rubric_scores),
    8. "avg_len": mean(len(r.reasoning) for r in responses),
    9. }

    5. Regression Monitoring and Cost Constraints

    Evaluation is not a one-off action; it should be wired into continuous integration. On every model version or prompt change, run a fixed small set (for example 80 to 150 questions) as a smoke test, and run the full set as a periodic regression. In engineering terms, general-purpose capability components can carry this: use object storage to hold questions and failure samples, use a message queue to smooth out peaks and schedule batch inference, use a container platform to host the evaluation executor, and use logging services plus monitoring and alerting to track drift in pass rate, latency, and cost.

    On the cost side, set dual thresholds: failing the quality threshold blocks the release; exceeding the per-question cost budget triggers a fallback strategy, for example routing simple levels to a small-parameter model and calling the high-capability model only for open-ended levels, forming tiered routing.

    6. Common Misuses of Conclusions and How to Avoid Them

    • Overgeneralization: inferring L3 ability from a high L1 score is the most widespread mistake.
    • Ignoring instability: averages hide variance, so pass rate and stability must be viewed together.
    • Leaderboard dependence: public leaderboards can be a reference but must not be an acceptance basis.
    • Overfitting prompts: fine-tuning prompts for individual questions damages generalization.

    7. Implementation Checklist

    1. Build a layered question bank and version it, defining the unique answer and scoring rubric for each level;
    2. Fix sampling parameters and take the pass rate over multiple samples;
    3. Record all three chain-of-thought metrics: effective steps, backtracks, and redundancy;
    4. Use dual-track scoring, with multiple people scoring subjective items independently and spot-checking the results;
    5. Wire regression into continuous integration and set dual quality and cost thresholds;
    6. Build up a failure sample library and cluster by error type to drive optimization.

    Following this method, a team does not get a one-line answer about “who is stronger.” It gets a capability profile that matches its own business distribution and is reproducible and auditable, which is exactly the basis model selection truly needs.