Evaluating Math Reasoning in Large Language Models: Methods and Practice

    This article explains why questions like "which model is best at math" are hard to answer, and how to build a rigorous evaluation system instead of relying on a single ranking. It breaks math capability into four measurable layers, details the design of open-ended math benchmarks with verifiable correctness and rebuttal-style scoring, and shows how to interpret comparative conclusions between model versions. It also outlines a reproducible evaluation pipeline and common pitfalls to avoid.

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

    In model selection work, the most common question is “which model is best at math.” In practice, this question often cannot be answered directly, for three reasons.

    First, math ability is not a scalar. Formal theorem proving, open-ended research-level problem solving, competition problems, applied modeling, and numerical computation place completely different demands on a model. Strong performance on standardized competition problems does not mean a model can handle open questions with no standard answer.

    Second, benchmark sets carry contamination risk. Public problem banks are widely used in training, which inflates scores. To reach trustworthy conclusions, you must use self-built, private, and time-sensitive problems.

    Third, output length does not correlate positively with ability. It is widely observed in the industry that models with longer, more complex chains of thought do not necessarily achieve higher accuracy; on the contrary, a concise chain of thought sometimes means the model has already formed a stable solution path. Therefore, “the longest chain of thought” cannot be treated as evidence of the strongest capability.

    2. Breaking “Math Ability” into Measurable Dimensions

    For a rigorous evaluation, break the capability into layers first. In practice, four layers are recommended:

    1. Computation and symbolic manipulation: stability of arithmetic, algebraic transformation, and equation solving.
    2. Standard problem types: objective questions that can be scored automatically, used for fast regression.
    3. Open-ended problems: questions whose answers are not unique and require constructive thinking, for example “give a construction that satisfies a certain property and prove its optimality.”
    4. Expression and verifiability: whether the solution process can be reviewed step by step by a third party, and whether assumptions are explicitly stated.

    The benefit of layering is that evaluation conclusions can be traced to specific weaknesses rather than giving a vague ranking. For example, if a model is near full marks at layer 2 but its pass rate drops significantly at layer 3, it is good at pattern matching rather than genuine constructive reasoning.

    3. Evaluating Open-Ended Math Problems

    Open-ended problems are the most discriminative layer, and also the layer where wrong conclusions are easiest to draw. Key design points are below.

    3.1 Problems Must Have “Decidable Correctness”

    Open-ended does not mean unscorable. A workable approach is to give answers a verifiable structure: require a construction + proof + boundary explanation, then have humans or a semi-automatic process score on three items: “conclusion correct / proof reviewable / boundaries complete.”

    3.2 Introduce “Rebuttal-Style” Scoring

    For the proofs a model gives, arrange an adversarial review: try to find counterexamples, check for undeclared assumptions, and check for circular reasoning. This step filters out a large number of answers that “look correct.”

    3.3 Control Prompt Leakage

    Do not repeatedly follow up on the same problem in the same session, to avoid the model “guessing” the evaluator’s expected answer through multiple rounds of probing. Use an independent session and a fixed prompt template for each problem.

    An illustrative evaluation record structure:

    1. {
    2. "task_id": "open-0421",
    3. "layer": 3,
    4. "prompt_template": "construct_and_prove_v2",
    5. "response": "...",
    6. "chain_length_tokens": 3120,
    7. "verdict": "proof_reviewable",
    8. "rebuttal_findings": ["missing_boundary_case"],
    9. "score": 0.6
    10. }

    4. How to Interpret Conclusions Like “Between Two Versions”

    The original-style empirical judgment—“a model’s ability is between two versions”—is valuable in engineering, but it needs to be methodized to be reusable. Recommended practices:

    • Fix the problem set and prompt templates, and run controlled experiments across versions, rather than drawing conclusions from a single experience.
    • Focus on the distribution of failure types, not just the pass rate. For two models with the same pass rate, one may fail at computation and the other at approach, leading to completely different selection conclusions.
    • Record the relationship curve between chain-of-thought length and accuracy. If “length increases but accuracy does not,” the model shows diminishing returns on long chains.
    • Evaluate different access forms of the same model (chat, work, API) separately, because system prompts, context length, and tool availability all significantly affect results.

    5. A Reproducible Evaluation Pipeline

    Make evaluation a pipeline rather than a one-off activity:

    1. Problem set management: private problem bank + version numbers + frozen snapshots.
    2. Unified inference configuration: fix sampling parameters such as temperature to avoid randomness interfering with comparisons.
    3. Automatic scoring layer: objective questions scored automatically; subjective questions enter a human/semi-automatic review queue.
    4. Metrics dashboard: pass rate, average chain-of-thought length, failure type distribution, review time.
    5. Regression mechanism: automatically rerun after model or prompt changes and output a diff report.

    When deploying on the cloud, you can use object storage to save problem set snapshots, a message queue to decouple scoring tasks, a container platform to host inference and review services, and logging and monitoring/alerting to track task success rate and latency, so the evaluation process is traceable and replayable.

    6. Common Pitfalls

    • Using a single public leaderboard instead of a self-built evaluation.
    • Treating chain-of-thought length as a capability metric.
    • Ignoring the amplifying effect of prompt templates on results.
    • Running only one evaluation, with no regression.
    • Confusing “access form differences” with “model capability differences.”

    7. Conclusion

    Evaluating the math ability of large language models is not about giving an absolute ranking, but about building a layered, reproducible, and rebuttable evaluation system. Break open problems into verifiable structures, turn version comparisons into controlled experiments, and consolidate conclusions into dashboards and regression processes—only then can you make robust decisions among selection, tuning, and cost control.