Evaluating and Selecting LLMs for Mathematical Reasoning: A Practical Guide

    Math reasoning is often reduced to leaderboard scores, but real-world deployment shows that models vary widely across basic arithmetic, competition problems, open-ended proofs, formal steps, and engineering modeling—and that correct answers can hide flawed reasoning. This guide breaks mathematical capability into observable dimensions, proposes a five-layer evaluation framework, explains how to review open-ended problems, addresses misconceptions about long chains of thought, and offers an engineering-grade evaluation pipeline and selection advice.

    Evaluating and Selecting LLMs for Mathematical Reasoning: A Practical Guide

    In model selection and capability assessment, mathematical reasoning is often reduced to “higher scores” or “better rankings.” In practice, teams quickly discover that the same model can perform very differently across basic arithmetic, competition problems, open-ended proofs, formalized steps, and engineering modeling. A correct final answer may still hide skipped steps, circular reasoning, or unauditable logic. And a long chain of thought does not necessarily indicate stronger capability—it can instead mean higher cost and errors that are harder to locate. A more sound approach is to first decompose “mathematical ability” into observable dimensions, then build a tiered test set and a structured review process.

    1. Why a Single Leaderboard Is Not Enough

    Mathematical ability spans at least five aspects: correctness of results, rigor of the reasoning process, ability to explore open problems, readability of mathematical writing, and engineering usability. A single accuracy metric only covers tasks with standard answers; it barely reflects performance on open-ended problems, proof construction, counterexample generation, or step verifiability. Rankings that sort models by “math ability” are common in public discussions and can serve as useful signals, but they should not be used directly as selection criteria: differences in problem distribution, prompt templates, sampling counts, and grading standards can significantly change the conclusions. This is especially true for open-ended problems, where answers are often not unique and evaluation must rely on expert rubrics, blind review calibration, and step-level spot checks. Keeping only the “who is stronger” conclusion while ignoring failure modes and cost constraints makes it easy to misjudge models in real business scenarios.

    2. Designing Evaluation Dimensions: From Results to Process

    We recommend organizing metrics into five layers:

    1. Result correctness: Is the final answer correct? Is the proof complete? Are any critical steps missing?
    2. Process quality: Is the problem understood accurately? Is the chosen strategy reasonable? Are key lemmas provided? Are there circular arguments, redundant derivations, or dead-end branches? Chains of thought can be long or short, but “effective reasoning” should be distinguished from “redundant expansion.”
    3. Open-problem capability: Can the model formulate the problem, propose testable conjectures, construct counterexamples, choose proof strategies, and state the boundaries of its uncertainty?
    4. Mathematical writing: Are notations standard, steps clear, and conclusions properly tied to their conditions? This directly affects teaching, documentation, and review efficiency.
    5. Engineering constraints: Latency, cost, context length, appropriateness of tool calls, stability across multiple samples, and reproducibility.

    Each layer should be scored independently so that an aggregate score does not mask critical weaknesses.

    3. How to Review Open-Ended Math Problems

    Open-ended problems usually have no unique answer and may require constructing proofs, counterexamples, or new methods. Reviews should use fine-grained rubrics covering: accuracy of problem understanding, feasibility of strategy, verifiability of key steps, rigor of the proof, completeness of conclusions and conditions, readability, and whether any novelty is appropriate and checkable.

    Procedurally, we recommend blind review with multi-reviewer calibration: have several reviewers score independently, then re-examine samples with significant disagreement. Conduct manual spot checks on critical steps, and when necessary, convert portions of the reasoning into formal verification or use symbolic computation to assist validation. Failure modes should also be categorized and recorded—for example: “misunderstanding the problem,” “wrong strategy,” “missing key lemma,” “calculation error,” “ambiguous expression,” or “overconfidence.” These categories are far more useful than rankings for guiding optimization and model selection.

    4. Misconceptions and Metrics for Long Chains of Thought

    A longer chain of thought may reflect more thorough exploration—or redundancy, repetition, and failure to converge. Evaluation should focus on the effective-step ratio, repetition rate, branch convergence, coverage of critical steps, and appropriateness of tool usage. In scenarios requiring auditability, a concise, traceable reasoning chain is often more valuable; for exploratory tasks, complex branches may help discover solution paths but at higher cost. Therefore, “longer chain” should not be equated with “stronger capability.” Judgments should combine task type, review outcomes, and cost constraints.

    5. An Engineering-Grade Evaluation Pipeline

    Build a tiered test set with separate samples and rubrics for basic arithmetic, competition problems, open-ended proofs, formalized steps, and engineering modeling. Fix prompt templates and sampling strategies; record results, latency, cost, and review scores across multiple runs; perform manual rechecks and regression testing on critical samples. If you build this evaluation pipeline on Baidu AI Cloud, you can organize experiments using general-purpose compute, object storage, log services, and monitoring/alerting, ensuring that data versions, run records, and review results remain traceable. A pseudocode sketch:

    1. # Pseudocode: tiered mathematical capability evaluation pipeline
    2. cases = load_cases(["basic arithmetic", "competition problems", "open-ended proofs", "formalized steps", "engineering modeling"])
    3. records = []
    4. for case in cases:
    5. runs = [model_client.solve(case.prompt, temperature=t) for t in [0, 0.3, 0.7]]
    6. scores = [rubric_score(run, case.rubric) for run in runs]
    7. records.append({
    8. "case_id": case.id,
    9. "runs": runs,
    10. "scores": scores,
    11. "latency": measure_latency(runs),
    12. "cost": estimate_cost(runs)
    13. })
    14. report = aggregate_by_tag(records)
    15. review_outliers(report, threshold=...)

    6. Selection Advice and Conclusion

    Match capabilities to tasks: for basic problems, prioritize stability and cost; for competition problems, result accuracy and process rigor; for open-ended problems, exploratory ability and review cost; for teaching and writing, readability; for engineering deployment, latency, reproducibility, and traceable failures. Build an internal benchmark with regression mechanisms, validate through small-scale rollouts, avoid blind faith in any single ranking, and do not extrapolate a few impressive results on open-ended problems into an overall advantage. An auditable, reproducible, multi-dimensional evaluation system with continuous regression supports long-term technical decisions far better than a one-off leaderboard.