How to Scientifically Evaluate and Select LLMs for Mathematical Reasoning

    Evaluating the mathematical capabilities of large language models (LLMs) goes far beyond checking correct answers or measuring response length. This article explores a multi-dimensional approach to assessing LLM math skills, covering basic computation, structured reasoning, proof construction, and open-ended problem solving. It provides an actionable evaluation workflow, emphasizing metrics like accuracy, stability, proof completeness, self-correction, and generalization, to help you select the right model for specific mathematical tasks.

    1. Evaluating Beyond “Can It Calculate?”

    Assessing an LLM’s mathematical capability cannot simply be reduced to “how many questions it answered correctly” or “how long the reasoning process is.” Mathematical tasks involve at least four distinct capabilities:

    1. Basic Computation: Includes algebraic operations, equation solving, numerical calculations, unit conversions, and simple probability and statistics.
    2. Structured Reasoning: Requires the model to identify relationships between conditions, establish intermediate conclusions, and complete derivations in a logical sequence.
    3. Proof and Counterexample Construction: Not only arriving at a conclusion but also explaining why it holds, or discovering hidden conditions and errors within a proposition.
    4. Open-Ended Problem Handling: The model’s ability to conduct effective exploration when facing problems without standard templates, unclear solution paths, or the need to propose new conjectures.

    In practice, many models perform well on the first two types of tasks, but their stability drops significantly when dealing with complex proofs, combinatorial constructions, number theory reasoning, or multi-step verifications. Therefore, when evaluating a model, you must first clarify the testing objectives, as a single question cannot represent overall mathematical capability.

    2. Open-Ended Math Problems Best Differentiate Model Levels

    Open-ended problems do not necessarily mean unsolved problems in mathematics; they can also refer to questions without fixed patterns, where the solver must independently choose the method. For example, a single problem might simultaneously involve invariants, induction, proof by contradiction, construction, or geometric transformations. The model must first assess the problem’s structure before determining the reasoning route.

    These problems impose higher requirements on the model:

    • Can it accurately extract mathematical objects from natural language?
    • Can it identify boundary conditions in the problem?
    • Can it distinguish between necessary and sufficient conditions?
    • Can it actively check assumptions during the derivation process?
    • Can it detect when an existing approach fails and backtrack in time?
    • Can it provide a complete, verifiable, and reproducible proof?

    Some models can quickly generate formally complete answers to common question types, but these may contain skipped steps, circular reasoning, or unproven critical conclusions. Especially in high-difficulty problems, fluent expression does not equal mathematical correctness. A truly valuable model should possess continuous verification and correction capabilities, rather than merely generating a seemingly plausible explanation.

    3. Longer Reasoning Chains Do Not Imply Stronger Reasoning

    Many users judge whether a model “thinks deeply” based on the length of the response. This judgment is unreliable.

    A longer reasoning process might mean:

    • The model made multiple attempts;
    • The problem inherently requires many intermediate steps;
    • The model lacks a clear problem-solving strategy;
    • It generated a large amount of text irrelevant to the conclusion;
    • It repeatedly expanded on an incorrect direction.

    Conversely, excellent mathematical solutions often have high information density. They first present key observations and then complete the proof with a few rigorous steps. When evaluating the reasoning process, focus on the following metrics:

    1. Are the critical steps correct?
    2. Is every conclusion adequately supported?
    3. Are there hidden assumptions?
    4. Are symbols and variables consistent throughout?
    5. Can the final conclusion be logically derived from the preceding text?
    6. Can it be cross-validated using an alternative method?

    Therefore, the length of the chain-of-thought can only be treated as a process characteristic, not directly as a basis for capability ranking. For engineering applications, concise, accurate, and auditable reasoning is usually more valuable than verbose text.

    4. Testing Model Capabilities Across Multiple Dimensions

    To build a practical evaluation framework, mathematical capability can be broken down into the following dimensions.

    1. Accuracy

    Accuracy is the most basic metric, but it requires clear definitions of question types, difficulty ranges, and scoring rules. Simple calculation problems and open-ended proof problems should not be mixed in the statistics; otherwise, the final results will mask the true differences between models.

    2. Stability

    Whether a model can consistently reach the correct conclusion when the same question is asked multiple times is a crucial indicator of its reliability. If a model answers correctly once but changes its conclusion upon repeated inquiry, it indicates that the model may rely on coincidental generation paths.

    Multiple independent tests can be conducted, recording:

    • First-attempt accuracy rate;
    • Consistency rate across multiple answers;
    • Whether error types are fixed;
    • Whether results fluctuate significantly after modifying the prompt.

    3. Proof Completeness

    For proof problems, you should not only check if the final answer is correct but also review the proof process. Even if a conclusion happens to be correct, if critical steps are missing, it should not be considered a complete solution.

    Answers can be categorized into:

    • Correct conclusion and complete proof;
    • Correct conclusion but insufficient proof;
    • Incorrect conclusion but locally valid derivation;
    • Formally complete but contains fatal logical flaws;
    • Unable to establish a valid solution approach.

    This grading system is more suitable for research and educational scenarios than a simple “right or wrong” binary.

    4. Self-Correction Capability

    After a model provides an answer, you can ask it to check its assumptions, look for counterexamples, or verify key equations. Excellent models can usually identify some issues and proactively correct them; weaker models might repeat the original errors or even supplement the incorrect conclusion with more plausible-sounding explanations.

    5. Generalization Capability

    Whether a model can still apply the correct method after changing the phrasing of the same mathematical structure, altering the scale of numbers, or adjusting constraints is a key indicator of whether it truly understands the problem.

    For example, testing should not be limited to fixed-format questions. It should also test:

    • Conversions between word problems and formula-based problems;
    • Transfer between small-scale instances and general cases;
    • Distinction between a proposition and its converse;
    • Identification of cases with no solution, a unique solution, or multiple solutions.

    5. Models Exhibit Different Combinations of Strengths

    In practical experience, it is rare for one model to have an absolute “comprehensive lead” over others. More commonly, different models have different focuses in their capability profiles.

    Some models excel at quickly recognizing common question types and providing concise answers, making them suitable for daily learning and basic development; others focus more on the derivation process and are willing to make multiple attempts when facing complex problems; still others have strong verbal expression skills, able to explain abstract proofs more clearly, but still require external verification during rigorous calculations.

    Therefore, comparisons should avoid providing a single overall ranking. A more reasonable approach is to establish a capability profile, such as:

    • Basic questions: High response speed and accuracy;
    • Competition questions: Focus on observing construction and case-by-case discussion;
    • Proof questions: Focus on checking rigor;
    • Open-ended questions: Focus on checking exploration ability and counterexample awareness;
    • Engineering tasks: Focus on checking reproducibility and format adherence.

    For high-stakes mathematical tasks, the model is best positioned as a “reasoning assistive tool” rather than a final arbiter requiring no review. When dealing with research conclusions, financial calculations, engineering parameters, or safety rules, secondary confirmation should be performed using programmatic computation, formal verification, or manual review.

    Step 1: Build a Tiered Question Bank

    The question bank should at least cover basic arithmetic, algebra, geometry, combinatorics, probability, number theory, calculus, and proof tasks, tiered by difficulty. Questions should avoid testing mere memory and include tasks that require explaining methods and verifying conclusions.

    Step 2: Standardize Testing Conditions

    Prompts, context length, number of responses, and tool permissions should be fixed. Otherwise, different test results may stem from environmental differences rather than model capability differences.

    Step 3: Combine Manual and Automated Scoring

    Numerical answers can be checked automatically via scripts; proof questions require a combination of rule-based checks and manual review. Automated scoring is suitable for judging formats, equations, and final results, but struggles to fully identify issues like circular reasoning or concept substitution.

    Step 4: Record Error Types

    Error classification is more valuable than simply recording scores. Common errors include:

    • Misreading conditions;
    • Calculation mistakes;
    • Conceptual confusion;
    • Skipping reasoning steps;
    • Omitting counterexamples;
    • Mistaking special cases for general conclusions;
    • Correct conclusion but flawed proof process.

    With an error profile, users can determine which tasks the model is suited for and which stages require human intervention.

    Step 5: Conduct Real-World Scenario Validation

    Standard question bank results cannot fully represent actual work performance. The model should also be tested in real-world tasks, such as assisting with reading math papers, deriving formulas, analyzing algorithm complexity, interpreting experimental data, and checking numerical logic in code.

    7. Final Evaluation Should Serve Specific Objectives

    If the goal is daily learning, a model that is concise, clear, and capable of explaining basic concepts is sufficient. If the goal is complex scientific research, priority should be given to open-ended problem handling, proof rigor, and multi-round error correction. If the goal is enterprise application, additional factors to examine include response stability, structured output, permission control, and result traceability.

    Overall, the most important aspect of evaluating an LLM’s mathematical capability is not producing an absolute ranking, but answering three questions:

    1. On what types of mathematical tasks is it reliable?
    2. In which stages is it most prone to errors?
    3. How can tools and workflows be used to mitigate the impact of errors?

    Only by combining accuracy, stability, proof quality, generalization, and engineering controllability can a practically valuable judgment be formed. For complex mathematical problems, a single response from any model should not be taken as the final word directly. A more prudent approach is to let the model propose ideas, expand candidate proofs, and discover potential counterexamples, followed by final confirmation through programs, formal methods, or human review.