# How to Systematically Evaluate the Mathematical Reasoning Capabilities and Limitations of Large Language Models

    This article explains how to build a systematic evaluation framework for mathematical reasoning in large language models, covering a three-tier problem taxonomy, multi-dimensional scoring criteria, methods for detecting data contamination, a repeatable evaluation workflow, cost considerations, and common pitfalls to avoid when comparing model performance.

    Why Evaluating Mathematical Reasoning Is Harder Than General Q&A

    In mathematical tasks, the final answer is either right or wrong, but the intermediate reasoning steps determine whether the conclusion actually holds. A model’s derivation may read fluently and follow proper formatting, yet still hide skipped steps, circular reasoning, or incorrectly cited theorems. Evaluation therefore needs to examine not only the final answer but also whether each step can be independently verified.

    Three challenges typically arise:

    • The conclusion appears correct, but the proof relies on unstated assumptions;
    • The output closely resembles existing literature, making it hard to distinguish genuine derivation from memorized recall;
    • Problem difficulty spans a wide range, so a single metric cannot capture the distribution of abilities.

    Building a Tiered Problem Set

    Problems should be organized into three tiers by difficulty and type:

    1. Foundation tier: standard computational and theorem-application problems from textbooks, used to check basic accuracy;
    2. Advanced tier: proofs that require combining multiple theorems or constructing auxiliary objects;
    3. Research tier: open propositions with no widely accepted solution or incomplete proofs in the literature, used to probe the true limits of the model’s reasoning.

    Research-tier problems must be manually verified in advance to confirm that no complete proof exists in publicly available material—otherwise it is impossible to tell whether the model is reproducing retrieved content or performing original reasoning. Every problem should record its source, reference answer, and grading rationale to support later review.

    Designing Multi-Dimensional Scoring Criteria

    A single right/wrong label carries too little information. Score outputs along these dimensions:

    • Conclusion correctness: whether the final proposition holds;
    • Logical completeness: whether all cases are covered and no steps are skipped;
    • Premise validity: whether unproven or false assumptions are introduced;
    • Citation accuracy: whether cited theorem names, conditions, and conclusions match the original;
    • Formalizability: whether the derivation can be rewritten as steps checkable by formal verification tools;
    • Readability: whether notation is defined consistently and the structure is easy to review.

    Logical completeness and premise validity are the most commonly overlooked dimensions, yet they best differentiate output quality.

    Detecting Data Contamination and Ensuring Originality

    If a problem or its canonical proof appears widely in training data, high scores may reflect memorization rather than reasoning. To reduce this interference:

    • Create equivalent rewrites of problems while preserving their mathematical structure, and check whether answers remain stable;
    • Modify key parameters or conditions to see whether the model adjusts its derivation accordingly;
    • Spot-check outputs for passages similar to published literature and record the degree of overlap.

    Evaluation Workflow

    1. for each problem in the problem set:
    2. for each run in the number of repeated runs:
    3. output = call model(problem, unified prompt template)
    4. record output, elapsed time, compute resources consumed
    5. human review(output, reference answer, scoring dimensions)
    6. aggregate: mean, variance, and confidence interval for each dimension
    7. compare: differences between models on the same problem set

    The key points are to fix the prompt template, repeat runs to estimate random variation, and use confidence intervals to judge whether differences are significant. Comparing models based on a single run is rarely reliable.

    Factoring in Cost and Efficiency

    In real-world use, inference cost and response time affect model selection just as much as accuracy. Track per-problem resource consumption, latency, and failed-retry counts, and present them alongside accuracy in the same table. Whether an option with slightly higher accuracy but noticeably higher cost is worth adopting depends on the specific business scenario and budget.

    Common Pitfalls

    • Treating “complete formatting and proper notation” as equivalent to “a valid proof”;
    • Focusing on a few standout cases while ignoring failure samples;
    • Drawing general conclusions from a single problem set;
    • Ignoring inter-reviewer agreement and never measuring scoring consistency across reviewers.

    Practical Recommendations

    When setting up evaluation within a team, start with the foundation and advanced tiers to establish a baseline and a repeatable process, then gradually introduce research-tier problems. The evaluation report should present accuracy, logical completeness scores, the variance range across repeated runs, and cost data together, so that readers can independently judge whether a model suits their research or teaching needs.