How to Scientifically Evaluate the Advanced Mathematical Reasoning of Large Models

    Evaluating whether a large model is genuinely stronger requires a reproducible measurement system rather than a single ranking score. This article breaks mathematical reasoning into concrete capability dimensions, then shows how to build a tiered problem set as a yardstick, guard against data contamination, define ground truth for numeric and proof questions, fix experimental variables, use self-consistency sampling, and apply multi-model cross judging with statistical tests. It also covers the metrics that matter (accuracy, pass@k, self-consistency confidence, reasoning length, error-type distribution, expression quality), a six-step rollout process, common pitfalls, and why cost must sit inside the same decision matrix as accuracy. The conclusion: decompose subjective impressions into dimensions, measure them separately, and turn "better" into something verifiable, reproducible, and deliverable.

    Consider a typical scenario. An evaluator notices that, on the same partial differential equation problem, a model repeatedly produces the wrong particular solution before step-by-step reasoning is enabled. Once it is enabled, the model first recognizes that the variables are separable, then writes down the general solution, and finally substitutes the boundary conditions to pin down the constants — and the answer becomes stable. Meanwhile, on writing tasks, the very same model is described as “producing a more concise chain of thought with a more human-like style.” These two conclusions point to the same underlying problem: strengths and weaknesses are not consistent across tasks or across output granularity, and without a common scale of measurement they cannot be reproduced, nor can they guide the next round of optimization.

    What this article sets out to do is translate that kind of subjective impression into a reproducible, comparable evaluation system, with particular attention to advanced mathematical reasoning, which is the hardest capability in the set to quantify.

    1. First, What Is Mathematical Reasoning Made Of?

    “Strong at math” is a vague claim. Take an olympiad-level problem as an example: solving it proceeds through understanding the statement, selecting tools, decomposing the problem, carrying out a long derivation chain, checking and correcting errors, and finally organizing the result into readable prose. Weakness in any single stage leads to failure, and which stage failed determines the direction of optimization:

    • Knowledge coverage: depth of command over elementary number theory, combinatorics, probability, algebra, analytic geometry, calculus, differential equations, abstract algebra, and related areas.
    • Symbolic and algebraic manipulation: simplification, identity transformations, solving equations and inequalities, polynomial operations (factoring, root finding, Vieta’s formulas, and so on). A single flawed symbolic step collapses the whole reasoning chain.
    • Geometric and spatial intuition: constructing auxiliary lines, recognizing figure properties, vector and coordinate approaches, and judging spatial relationships in solid geometry.
    • Combinatorial and probabilistic reasoning: correctly classifying counting models, inclusion–exclusion and recurrence modeling, conditional probability, and Bayesian inference.
    • Rigorous proof and counterexample construction: whether case analysis is exhaustive, whether circular reasoning appears, and whether the base case and inductive step are airtight.
    • Long-chain consistency: the longer the derivation chain, the greater the risk that a local error gets propagated and amplified. It is worth tracking two kinds of trajectories: “self-corrects midway” and “drifts further off the more it computes.”
    • Metacognition and self-checking: whether the model proactively substitutes answers back, checks dimensions and units, and tests boundary and extreme cases.
    • Expression and communicability: whether the solution is concise and readable, and whether the style feels natural — this directly affects the user experience.

    The corresponding “ranking” of capabilities cannot be flattened into a single line either. In practice, one model may have a higher accuracy rate but produce verbose, rambling reasoning, while another produces more concise reasoning steps with a more natural style but occasionally miscalculates. Reasoning quality and expression quality are therefore two relatively independent axes. They must be measured separately and must not be merged into one composite score.

    2. Building the Problem Set: The Yardstick

    2.1 Difficulty Tiers

    Sampling across four tiers is recommended:

    • L1 — Basic computation and formula application: solvable in a single step.
    • L2 — Standard competition problems: requiring two or three steps, or one standard technique.
    • L3 — Advanced competition and graduate qualifying exam level: requiring multi-step combinations of techniques and longer reasoning chains.
    • L4 — Research-level open problems: no widely accepted answer exists, so these suit exploratory testing and should not be counted in the primary metrics.

    Annotate every problem with: the knowledge point, the difficulty, the number of reasoning steps required, the answer type (numeric / expression / proof / set), and whether multiple solution paths are permitted.

    2.2 Data Contamination and Leakage

    Public math problem sets exist widely in training corpora, so evaluating directly on them systematically overestimates capability. Three approaches are recommended:

    • Temporal isolation: use only problems published after the model’s training cutoff (for example, that year’s newly released competition problems).
    • Perturbation generation: change numbers, rephrase the wording, and swap the order of conditions to produce same-source variants, then observe whether scores drop accordingly.
    • Hand-built sets: write problems in-house following the tier structure above and keep them internal as a regression set.

    2.3 Ground Truth

    • Numeric problems: compare using exact expressions rather than string matching. For instance, 1/2 and 0.5 should be treated as equivalent, and 1.414 should be judged against √2 within a configured tolerance.
    • Proof problems: a checklist of required proof points is needed (for example, a key lemma must appear, and case analysis must be completed) so that a judge model can verify item by item.
    • Open problems: record only the diversity of solution approaches; do not judge correctness.

    A sample data format:

    1. {
    2. "id": "math-L3-0142",
    3. "difficulty": "L3",
    4. "topic": ["probability", "recurrence"],
    5. "question": "……",
    6. "answer": "\\frac{7}{12}",
    7. "answer_type": "numeric",
    8. "tolerance": 1e-6,
    9. "key_steps": ["set up the state recurrence", "solve for the characteristic roots", "substitute the initial conditions"],
    10. "source": "self-built|temporal-isolation"
    11. }

    3. The Evaluation Pipeline: From Sampling to Judging

    3.1 Fix the Variables

    The same model can behave very differently under different settings, so the following must be fixed: system prompt, decoding temperature and top-p, maximum output length, whether tools are enabled (such as a computation engine or a symbolic solver), and the number of samples. Two reasoning paradigms should also be distinguished:

    • Single-pass chain reasoning: temperature set to 0 or a very low value, prioritizing reproducibility.
    • Multi-sample voting (self-consistency): sample k times for the same problem, take the majority answer, and report a confidence figure based on agreement.
    1. import collections
    2. def evaluate(client, model, items, k=5, tools=None):
    3. """
    4. Run k-sample evaluation over a problem set and return per-item
    5. results plus aggregate metrics.
    6. Illustrative code: `client` is a unified model-call wrapper.
    7. """
    8. results = []
    9. for item in items:
    10. votes, traces = [], []
    11. for _ in range(k):
    12. resp = client.generate(
    13. model=model,
    14. messages=[
    15. {"role": "system", "content": "Reason step by step and give the final answer on the last line."},
    16. {"role": "user", "content": item["question"]},
    17. ],
    18. temperature=0.7 if k > 1 else 0.0,
    19. tools=tools or [],
    20. )
    21. answer = parse_answer(resp.text) # extract the final answer
    22. votes.append(answer)
    23. traces.append(resp.usage.output_tokens) # reasoning tokens consumed
    24. counts = collections.Counter(votes)
    25. top_vote, top_n = counts.most_common(1)[0]
    26. results.append({
    27. "id": item["id"],
    28. "pass_k": max(is_correct(a, item) for a in votes), # correct at least once
    29. "mean_acc": sum(is_correct(a, item) for a in votes) / k,
    30. "vote": top_vote,
    31. "vote_conf": top_n / k,
    32. "is_correct": is_correct(vote=top_vote, item=item) and top_n / k >= 0.6,
    33. "tokens": sum(traces),
    34. })
    35. return results

    3.2 Multi-Model Cross Judging

    A model scoring itself tends to favor its own writing style and longer answers. A more robust practice is:

    • Use two or three models from different sources as judge models, each producing a score along with a brief rationale.
    • Swap the order in which candidate answers are presented to eliminate position bias.
    • Report inter-judge agreement (for example Cohen’s Kappa or Krippendorff’s α). Agreement below 0.6 means the criteria are unclear and the scoring rubric needs refining first.
    • Sample key conclusions for manual review, especially boundary cases (off by one step, or ambiguous wording).

    3.3 Metric Definitions

    • Accuracy and pass@k: reflect “can it do it at all.”
    • Self-consistency confidence: reflects “is it stable.”
    • Reasoning length (thinking tokens) and reasoning latency: reflect “how expensive is it.”
    • Error-type distribution (symbolic errors / conceptual errors / logical gaps / arithmetic slips): reflects “where it goes wrong.”
    • Expression score: a 1–5 rating of conciseness, readability, and naturalness of style, given by humans or by judge models.

    A sample summary table:

    Model L1 L2 L3 pass@5 (L3) Avg. reasoning length Symbolic error rate Expression score (1–5) Cost per item (relative)
    Candidate A 0.95 0.78 0.41 0.62 Medium 12% 3.8 1.0
    Candidate B 0.93 0.74 0.46 0.58 Long 9% 3.2 1.7
    Candidate C 0.96 0.81 0.36 0.55 Short 16% 4.4 0.7

    The table makes the tradeoff clear: C has the most natural expression and the lowest cost, but lower accuracy than B; B has the highest accuracy but verbose reasoning and high cost. There is no absolute winner among the three — it depends on business constraints.

    4. Statistics and Reproducibility

    • Sample size: at least 100 problems per capability dimension. Below that, confidence intervals are too wide for the conclusion to be usable. When L3 problems are scarce, use k-sample runs to create pseudo-replicates.
    • Confidence intervals: report 95% intervals via bootstrap resampling. When intervals overlap, do not claim that “A is stronger than B.”
    • Paired tests: when comparing two models on the same problem set, use a paired method (such as McNemar’s test or a paired permutation test) rather than an independent-samples t-test.
    • Multiple-comparison correction: when comparing many dimensions at once, apply a correction such as Holm’s method to control false positives.
    • Record the full configuration: model version, temperature, prompts, tools, date, and problem-set version should all go into the evaluation log to guarantee reproducibility.

    5. Practical Recommendations and Common Pitfalls

    The rollout can be broken into six steps:

    1. Define the scenario: a user-facing solving assistant, formal verification for R&D, and symbolic computation for data analysis all carry completely different weights.
    2. Build an internal problem bank: accumulate continuously under the four-tier structure and annotation conventions above.
    3. Set up an automated evaluation pipeline: scheduled scoring runs, results written to a store, and a visualization dashboard generated from them.
    4. Establish regression baselines: after every model or prompt change, compare against the baseline and auto-alert on any regression.
    5. Add human spot checks: pull a few boundary cases each week for domain experts to review the judge model’s verdicts.
    6. Fold in a cost model: put per-item token cost and latency into the same decision matrix as accuracy.

    Common pitfalls:

    • Reporting only a single aggregate score, which hides differences across dimensions.
    • Training on a public problem set and then evaluating on it, which inflates the apparent capability.
    • Reading “longer reasoning” as “thinks harder” while ignoring that cost doubles.
    • Measuring only whether the final answer is right, not whether the process is rigorous — this fails to catch models that guess correctly.
    • Ignoring prompt sensitivity and randomness, and drawing conclusions from a single run.

    6. Conclusion

    Back to the opening question: how do you judge whether a model is stronger? The answer is not a ranking sentence but a reproducible measurement. Decompose subjective impressions into dimensions, use a tiered problem set as the yardstick, control noise with fixed variables and repeated sampling, constrain conclusions with multi-model cross judging and statistical tests, and bring cost into the decision. The same method applies to model selection, prompt iteration, and pre-release quality gates. If you need unified model invocation, evaluation pipeline orchestration, and monitoring and alerting, you can rely on the foundational capabilities of platforms such as Baidu AI Cloud — but the methodology itself is platform-independent: the value of evaluation lies not in producing a ranking, but in turning “stronger” into a conclusion that is verifiable, reproducible, and deliverable.