Beyond Linear Rankings: How to Scientifically Evaluate LLM Mathematical Reasoning

    Evaluating the mathematical reasoning capabilities of Large Language Models (LLMs) requires moving beyond simple leaderboards. This article proposes a comprehensive, reproducible evaluation framework that categorizes math skills into distinct tiers and emphasizes task-specific constraints, metric matrices, and the crucial difference between interactive and workflow entry points. By focusing on capability stratification, reasoning chain quality, and engineering governance, we can achieve a more accurate and actionable understanding of a model's true math proficiency.

    When discussing the mathematical capabilities of Large Language Models (LLMs), the common practice is to present a linear ranking: who is first, who is second, and who falls between specific versions. While these rankings are not without value, they often oversimplify complex problems. Mathematical reasoning is not a single skill. It encompasses basic arithmetic, symbolic derivation, equation solving, geometric intuition, combinatorial counting, probability and statistics, proof construction, counterexample identification, and engineering modeling. A model that scores high on multiple-choice questions does not necessarily handle open-ended proofs well. A model that generates long reasoning chains does not guarantee reliable steps. A model that performs well in an interactive entry point may not be equally stable in batch workflows.

    Therefore, professional evaluation should shift from “who is stronger” to “who is stronger under what task, what constraints, and what review criteria.” Below is a reproducible and actionable evaluation framework.

    1. Why Linear Rankings Are Unreliable

    The biggest flaw of linear rankings is the assumption that all mathematical tasks can be measured on the same scale. In actual evaluations, task distribution, sampling parameters, answer formats, entry point configurations, and review methods significantly impact the results. For example, basic arithmetic problems rely heavily on computational accuracy, competition-style multi-step problems depend on strategy selection, and open-ended proofs rely on lemma organization and verifiability. If an evaluation set is dominated by short-answer questions, long reasoning capabilities may be underestimated. Conversely, if dominated by open-ended questions, review subjectivity increases.

    Furthermore, single-sample results carry variance. Temperature, max output length, tool usage permissions, context length, and system prompts all alter model performance. The same model might use different configurations across different entry points: interactive entry points favor exploration and multi-turn follow-up, while workflow entry points favor batch execution and stable output. Comparing ranks directly without fixing these conditions is scientifically unrigorous.

    A more reasonable approach is to establish an evaluation system based on “capability stratification + metric matrix + scenario constraints” rather than merely recording a single total score.

    2. Establishing a Tiered Evaluation Matrix

    It is recommended to break down mathematical capabilities into several tiers, setting different metrics for each.

    • Basic Arithmetic and Dimensional Tier: Covers four basic operations, unit conversion, percentages, approximations, and errors. Key metrics include final answer accuracy, format stability, and boundary condition handling.
    • Symbolic Derivation and Equation Tier: Covers algebraic transformations, systems of equations, inequalities, and basic calculus. Key metrics include key step accuracy, symbolic consistency, and checking for domain restrictions.
    • Competition-Style Multi-Step Problem Tier: Covers combinatorics, number theory, geometry, and probability problems requiring strategy selection. Key metrics include multi-step reasoning success rate, error recovery capability, and absence of intermediate step contradictions.
    • Open-Ended Proof and Construction Tier: Covers proofs, constructions, counterexamples, and existence discussions. Key metrics include problem understanding, lemma organization, proof completeness, verifiability, and uncertainty expression.
    • Engineering Modeling and Numerical Stability Tier: Covers approximate calculations, constraint satisfaction, and sensitivity analysis in real-world business scenarios. Key metrics include reproducibility, abnormal input handling, cost, and latency.

    Each tier should record multiple types of metrics: final answer accuracy, key step accuracy, pass rate stability, average output length, manual review readability, cost per query, latency, and failure mode distribution. This approach can answer practical questions like, “Is a model that excels at open-ended problems also more cost-effective for batch short-answer questions?”

    3. Why Open-Ended Math Problems Are a Watershed

    Open-ended math problems are often viewed as the watershed for high-level capabilities. They lack a single standard answer and often require strategy selection, lemma construction, and completeness argumentation. Evaluating open-ended problems cannot rely on simple string matching. Instead, a scoring rubric should be used to assess: accurate problem understanding, reasonable strategy, validity of key lemmas, proof completeness, consideration of boundary conditions, and the ability to provide counterexamples or identify unresolved parts.

    Where conditions permit, formal verification toolchains can be introduced for formalizable subsets. For parts that cannot be fully verified, expert double-blind reviews and sample re-checks should be used. It is crucial that models can identify “uncertain” and “unresolved” rather than forcing a seemingly complete but incorrect proof. The core of open-ended problem evaluation is not to encourage models to “write longer,” but to judge whether their reasoning is auditable, verifiable, and reproducible.

    4. Reasoning Chain Length Does Not Equal Reasoning Capability

    Reasoning chain quality is an important dimension of mathematical evaluation, but length itself is not capability. Longer reasoning chains might expose more intermediate steps for review but can also introduce redundancy, error propagation, and higher review costs. More concise reasoning chains offer better readability but might omit key lemmas. Evaluation should focus on step necessity, logical consistency, symbolic consistency, readability, verifiability, and error recovery capability.

    Some models output longer, more complex reasoning chains, which does not necessarily indicate stronger capability. Similarly, more concise outputs do not necessarily mean weaker performance. A reasonable approach is to sample and manually review key steps, combined with automated scoring to check consistency between the final answer and intermediate constraints. Writing naturalness can serve as a readability reference but should not replace mathematical correctness.

    5. Evaluating Interactive and Workflow Entry Points Separately

    The same model might employ different system prompts, context strategies, tool permissions, batch configurations, and sampling parameters across different entry points. Interactive entry points are suitable for exploratory follow-up, while workflow entry points are suited for batch regression. The two should not be conflated. During evaluation, prompt templates, temperature, max output length, tool permissions, and timeout strategies should be fixed, while recording version numbers and configuration snapshots.

    A reproducible evaluation process can be abstracted as follows:

    1. function run_eval(model, suites, rubric, k):
    2. records = []
    3. for suite in suites:
    4. for case in suite.cases:
    5. for i in 1..k:
    6. output = model.generate(
    7. prompt = case.prompt,
    8. temperature = suite.temperature,
    9. max_tokens = suite.max_tokens
    10. )
    11. auto_score = rubric.auto_score(case, output)
    12. records.append({
    13. suite: suite.name,
    14. case_id: case.id,
    15. output: output,
    16. auto_score: auto_score,
    17. config: suite.config_snapshot
    18. })
    19. human_sample = rubric.sample_review(records, ratio = 0.1)
    20. return aggregate(records, human_sample)

    This process emphasizes combining multiple sampling, automated scoring, and manual spot-checking, while retaining configuration snapshots to facilitate regression comparisons.

    6. Engineering Implementation and Governance Suggestions

    On the engineering side, an evaluation pipeline typically requires general capabilities such as model inference services, object storage, logging services, and monitoring alerts. For instance, general categories provided by Baidu AI Cloud can be used to host batch inference, result archiving, log tracing, and regression alerts, though specific selections should still prioritize reproducibility, auditability, and cost control.

    For governance, it is recommended to: version control evaluation sets; log all inputs, outputs, and parameters; continuously monitor accuracy and cost metrics; route failed samples to manual review queues; use lower-cost models for routine problems while escalating open-ended challenges to stronger models; and conduct cross-generational regressions upon version upgrades rather than merely looking at version numbers. Ultimately, mathematical capability evaluation should serve business decisions: which problems can be automatically passed, which require manual review, and which scenarios need multi-model routing. Only by combining evaluation standards, engineering constraints, and human-in-the-loop processes can credible conclusions be reached.