Evaluating and Selecting LLMs for Mathematical Reasoning

    Evaluating the mathematical reasoning capabilities of Large Language Models (LLMs) goes beyond simply ranking which version is stronger. It is fundamentally an engineering problem requiring a reproducible, interpretable, and trackable capability profile. This article abstracts these discussions into a universal technical problem and proposes an evaluation methodology for mathematical reasoning and complex problem-solving. It covers capability profiling, evaluation difficulties, tiered benchmark design, Chain of Thought (CoT) quality trade-offs, engineering evaluation workflows, and routing strategies to guide scientific model selection.

    Debates surrounding the mathematical capabilities of Large Language Models (LLMs) often appear on the surface as ranking wars over which version is stronger. However, the essence is a more general engineering problem: how to scientifically evaluate a model’s mathematical reasoning capability and translate it into actionable technical selection criteria. For developers and enterprises, the real need is not a simple “who is stronger,” but a reproducible, interpretable, and trackable capability profile. This article does not conduct reviews around any specific third-party products. Instead, it abstracts such discussions into a universal technical problem and provides an evaluation methodology for mathematical reasoning and advanced problem-solving.

    I. Problem Restatement: From “Version Strength” to “Capability Profiling”

    In model selection, a common pitfall is simplifying mathematical capability into a single benchmark score. In reality, mathematical reasoning encompasses multiple levels, including basic calculation, multi-step algebraic derivation, combinatorial counting, geometric construction, proof generation, open-ended problem exploration, and formal verification. Different levels require different model capabilities: basic problems emphasize accuracy and stability, multi-step problems emphasize intermediate step correctness, proof problems require logical closure, and open-ended problems emphasize testable conjectures, counterexample search strategies, and proof skeletons. Using a single mixed problem set to produce a total score can easily mask a model’s shortcomings in specific tasks.

    Therefore, the first step in evaluating a model’s mathematical capability is to rewrite “who is stronger” into “stronger under what task, what constraints, and what verification method.” This is often the most overlooked part in version comparisons: the same model may perform significantly differently under varying prompt templates, sampling frequencies, inference step budgets, and scoring rules. Engineering selection should establish a capability profile rather than rely on verbal rankings.

    II. Four Difficulties in Mathematical Reasoning Evaluation

    First, answer verifiability is inconsistent. Basic calculation problems can be precisely compared against standard answers, whereas proof problems and open-ended questions often require expert scoring or formal checks. Second, data contamination is difficult to eliminate entirely. Public problem sets might enter the training corpus, leading to inflated scores; therefore, isolated sets and regular updates are necessary. Third, the reasoning process may be inconsistent with the final answer. A model might provide the correct answer with flawed steps, or have a reasonable process but a final calculation error. Fourth, cost and latency cannot be ignored. Long Chain of Thought (CoT) may improve the pass rate of complex problems but significantly increases call costs and response time. Production environments must balance effectiveness and cost.

    Furthermore, prompt sensitivity and sampling randomness also affect evaluation conclusions. The same problem may yield different results under different expressions and constraints. Thus, evaluations should fix prompt templates, sampling frequencies, and scoring rules, and report confidence intervals or multiple sampling results rather than just showcasing a single best answer.

    III. Tiered Benchmark Design

    It is recommended to divide the evaluation set into several tiers and define independent metrics for each:

    Tier Example Tasks Verification Method Key Metrics
    L1 Basic Calculation Numerical operations, simplification, unit conversion Exact match with standard answer Accuracy, latency, stability
    L2 Multi-step Derivation Equation solving, combinatorial counting, probability derivation Standard answer plus step checking Answer correctness, step correctness, error types
    L3 Contest Level Complex proofs, construction, extremum problems Expert scoring or formal checks Pass rate, process score, verifiability
    L4 Open-ended Problems Conjecture verification, counterexample search, proof skeletons Double-blind expert review Testability, logical completeness, reproducibility
    L5 Formal Verification Formal proofs, machine-checkable derivations Machine checking Proof pass rate, failure cause distribution

    Among these, L4 open-ended problems are the most easily misinterpreted. “Capable of handling open mathematical problems” should not simply mean giving a conclusion; it should be defined as the ability to propose testable intermediate propositions, provide directions for counterexample search, construct proof skeletons, and clearly state which steps remain unverified. Evaluating such tasks must involve expert review and reproducible records, not just looking at whether the final text “looks like an answer.”

    IV. Chain of Thought Quality and “Long/Short Chain” Trade-offs

    The length of the Chain of Thought (CoT) is not “the shorter the better” or “the longer the stronger.” Long chains may provide more intermediate checkpoints on complex problems, but they can also introduce redundancy, error propagation, and higher latency. Short chains are more favorable for production environments but may skip steps in multi-step derivations. Evaluating CoT should focus on five dimensions: correctness, conciseness, verifiability, stability, and error localizability.

    Correctness checks whether each step is verifiable; conciseness checks for repetitive expressions; verifiability checks whether key lemmas, variable definitions, and conclusions are clear; stability checks whether multiple samplings yield consistent conclusions; error localizability checks whether specific breakpoints can be identified upon failure. For production systems, token consumption, inference steps, and end-to-end latency should also be recorded to evaluate “reasoning quality” and “service cost” together. Whether the writing style is natural should be decoupled from mathematical capability evaluation; one cannot infer stronger mathematical skills simply because the expression is more human-like.

    V. Engineering Evaluation Process

    A practical evaluation process typically includes: candidate pool definition, problem set isolation, prompt template fixation, multi-sampling runs, automated scoring, manual review, cost normalization, and regression reporting. Below is abstract pseudocode expressing the process, not representing any specific platform API:

    1. # Abstract pseudocode: expressing the evaluation process only
    2. SUITES = {
    3. "L1_basic": {"cases": [...], "scoring": "exact"},
    4. "L2_multi_step": {"cases": [...], "scoring": "exact_with_steps"},
    5. "L3_contest": {"cases": [...], "scoring": "expert_rubric"},
    6. "L4_open": {"cases": [...], "scoring": "double_blind_review"},
    7. }
    8. def evaluate_candidate(candidate, suites, max_steps, samples):
    9. records = []
    10. for suite_name, suite in suites.items():
    11. for case in suite["cases"]:
    12. for i in range(samples):
    13. trace = candidate.reason(case.prompt, max_steps=max_steps)
    14. records.append({
    15. "suite": suite_name,
    16. "case_id": case.id,
    17. "sample": i,
    18. "answer": trace.answer,
    19. "steps": trace.steps,
    20. "latency_ms": trace.latency_ms,
    21. "usage": trace.usage,
    22. })
    23. return aggregate(records)

    The evaluation report should at least include: accuracy at each tier, step correctness rate, failure type distribution, multi-sampling consistency, average latency, cost efficiency, and manual review conclusions. For open-ended problems, the review rubric and double-blind records should be retained to ensure traceable conclusions.

    VI. From Evaluation to Selection: Scoring Models and Routing Strategies

    During selection, a composite score can be set based on business objectives, for example:

    1. Composite Score = w1 * Answer Correctness Rate
    2. + w2 * Process Verifiability Rate
    3. + w3 * Multi-sampling Stability
    4. + w4 * Cost Efficiency
    5. + w5 * Latency Compliance Rate

    There is no universal standard for the weights; they should be determined by the business scenario. Offline batch processing may prioritize correctness and process quality, while online interactions may prioritize latency and stability. Engineering-wise, a routing strategy can also be adopted: route simple problems to low-cost models, complex problems to strong reasoning models, and high-risk problems to manual review. This avoids a “one-size-fits-all” selection approach and controls overall costs.

    VII. Reproducibility and Governance

    Reproducibility is the foundation of evaluation credibility. Problem set versions, prompt templates, sampling parameters, scoring scripts, and manual review rules should be fixed, and evaluation sets should be isolated from training data. Object storage on general cloud platforms can be used to save problem sets and result snapshots. Logging services can record call traces, and monitoring alerts can track failure rates and latency anomalies. Every model version change should trigger a regression evaluation, focusing on whether old problem sets have degraded, whether new problem sets show improvement, and whether costs exceed the budget.

    VIII. Conclusion

    Evaluating the mathematical reasoning capabilities of LLMs should not stop at a single leaderboard or version slogan. A more professional approach is to establish benchmarks by task tiers, separately evaluating answer correctness, process quality, open-ended problem testability, stability, cost, and latency; ensure reproducibility using unified prompts and multiple samplings; and then translate evaluation results into selection scores and routing strategies. Strong mathematical capability does not equal strong writing capability, nor does it equal engineering usability. Only by aligning the “capability profile” with “business constraints” will version comparisons hold true decision-making value.