Evaluating Mathematical Reasoning in Large Language Models: A Practical Framework and Open Problems

    This article explains why a single accuracy score is a weak basis for judging a large language model's mathematical ability. It splits mathematical ability into five levels, from computation to research-level discovery, and outlines a multi-dimensional evaluation system. The system covers verifiability, reasoning quality, stability, tool use, cost, and reproducibility. It also describes an evaluation workflow and how to read leaderboards.

    How to judge a large language model’s mathematical ability is often reduced to one question in technology selection: which model scores higher. The common approach takes a set of competition problems, some multiple-choice questions, or a fixed set of problems with known answers, computes accuracy, and ranks the models. This method covers only part of mathematical ability. The gap grows when the scope extends to open mathematical problems, natural-language proofs, formal verification, and long chains of reasoning. In these settings, a single accuracy number quickly becomes misleading. A more sound approach first breaks “mathematical ability” into levels that can be observed, verified, and reproduced. It then builds a multi-dimensional evaluation system around task type, verification method, chain-of-thought quality, stability, and engineering cost.

    1. Define the Levels of Mathematical Ability First

    Evaluating a model’s mathematical ability starts with defining task levels, not with picking a leaderboard. Different levels place very different demands on a model, so one score cannot summarize them all.

    Level 1: Computation and symbolic manipulation. This level covers algebraic simplification, equation solving, unit conversion, and numerical estimation. Answers are relatively definite and can be graded automatically. However, results are easily shaped by problem templates and by coverage in training data. Evaluations should include perturbed problems, counterexample problems, and multi-step calculations to check whether the model is only matching patterns.

    Level 2: Competition problem solving. These tasks have clear answers and are often used as public benchmarks. Competition problems also carry risks of data contamination, answer leakage, and overfitting to problem types. A more rigorous approach keeps part of the problem set private, or rewrites public problems in isomorphic form. It also records stability across multiple samples instead of looking only at a single pass rate.

    Level 3: Open-ended mathematical exploration. Open problems do not mean questions without standard answers. They are problems that may admit several proof paths, require constructing a counterexample, call for a testable conjecture, or need peer review before the conclusion is accepted. The scarcest ability at this level is not quickly producing a conclusion. It is proposing verifiable intermediate claims, identifying gaps in a proof, actively searching for counterexamples, and revising strategy after a failure. Evaluating this ability requires more than checking the final answer. Reviewers must also check whether the proof can be inspected, whether the lemmas hold, and whether boundary conditions are covered.

    Level 4: Formal proof and machine verification. A natural-language proof may contain hidden assumptions. A formal proof requires every step to be checked by a verifier. Evaluation should distinguish between “can write a formal proof” and “passes the verifier.” The second is more reliable, but it also depends more on formal modeling skill, familiarity with libraries, and the ability to correct errors through interaction. For enterprise evaluation, the verifiable proof rate is recommended as a core metric, rather than counting only the accuracy of natural-language conclusions.

    Level 5: Research-level discovery. Ordinary leaderboards are not suitable for this level because samples are few, review cycles are long, and chance plays a large role. A more careful claim is that a model has potential to assist research. It should not be described as able to solve research problems independently. Evaluation at this level should use small samples, blind review by multiple experts, and long-term tracking.

    2. Why Open Mathematical Problems Are Hard to Evaluate

    The first difficulty is that answers are not unique. A problem may have several proof routes, so grading cannot rely on simple string matching. The second is that whether a proof is acceptable depends on review standards. Reviewers must decide whether citing unproven lemmas is allowed, whether advanced theorems may be used, whether degenerate cases must be covered, and whether the search for counterexamples must be documented. The third is that open problems often need tool support, such as symbolic computation, numerical experiments, constraint solving, or formal verifiers. Whether a model plans tool calls, interprets tool results, and falls back when a tool returns an error is part of the ability being measured.

    Randomness and access method also strongly affect results. The same model can behave differently across chat interfaces, workflow configurations, and context lengths. Evaluation reports should record the calling method, number of samples, temperature setting, context budget, and tool permissions. Without this metadata, a ranking is hard to reproduce.

    Data contamination also needs close attention. Public problem sets may already be in training corpora. More reliable methods include internal problem sets, dynamically generated problems, isomorphic rewrites, and proof-completion tasks. For open problems, keep human review records and mark whether each key proof step holds.

    3. Build a Multi-Dimensional Evaluation System

    The following dimensions can guide the design of an evaluation system. Each one should have measurable indicators.

    1. Task stratification and sample design. Divide the problem set into computation, competition, proof-completion, counterexample-construction, open-exploration, and formal-verification tasks. Assign a different weight to each category so that many simple problems do not dilute the harder tasks. The number of open-problem samples can be small, but each one must receive human review.

    2. Correctness and verifiability. Correctness covers whether the final conclusion is right, whether key lemmas hold, and whether boundary conditions are covered. Verifiability covers whether a person can check the proof step by step, whether a formal verifier accepts it, and whether the experiment can be reproduced. Record both the conclusion accuracy rate and the verifiable proof rate. Neither metric can replace the other.

    3. Quality of chain-of-thought. A longer chain of thought is not automatically better. Concise reasoning usually costs less, propagates fewer errors, and is easier to read. Longer chains may suit exploration and branching attempts, but they are more prone to drift, repetition, and self-contradiction. Score proof correctness and expression readability separately. Readability can be judged by whether the structure is clear, whether lemmas are named, and whether key steps include reasons. Conciseness can be judged by whether useless repetition is avoided.

    4. Stability and error correction. Sample the same problem many times. Then measure the variance in pass rates, the success rate of corrections after the first error, and whether the model converges after receiving a counterexample hint. For open problems, check whether the model proactively proposes a way to test its claims, rather than holding on to a wrong conclusion.

    5. Coordination with tools and verifiers. Record the number of tool calls, the verifier pass rate, the share of invalid calls, and the share of tool results that the model interprets correctly. More tool calls are not better. What matters is whether each call serves the proof goal.

    6. Cost and latency. Track average input and output length, the number of calls, and human review time. Proof tasks often require many rounds of interaction, so cost cannot be ignored. In enterprise selection, include cost in the overall score.

    7. Reproducibility. Save the problem set version, prompt templates, sampling parameters, tool permissions, scoring scripts, and review records. A general container platform can host isolated evaluation tasks. A log service can record the complete call chain, and monitoring with alerting can track error and timeout rates. For example, on Baidu AI Cloud, general container platform, log service, and monitoring and alerting capabilities can host an evaluation environment. The implementation should remain vendor-neutral and replaceable.

    4. How to View Chain-of-Thought Length and Writing Style

    Discussions of this topic have raised a point worth generalizing: different solutions differ in how concise their chain of thought is and how human-like their expression sounds. This observation should become an evaluation dimension, not a basis for declaring one solution the winner. A concise chain of thought means fewer unnecessary steps, lower cost, and better readability, which suits production environments. A longer chain may open more exploration paths, but it also increases error propagation and review burden. A more human-sounding writing style affects readability and the communication experience, but it does not equal mathematical correctness. When evaluating, score mathematical correctness, proof verifiability, expression readability, and reasoning conciseness separately, then weight them according to the scenario.

    5. A Reproducible Evaluation Workflow and Pseudocode

    A reproducible workflow includes task registration, isolated execution, multiple sampling, automatic verification, human review, result archiving, and regression comparison. The pseudocode below illustrates the process.

    ```text
    for task in tasksuite:
    for run in range(sample