LLM Mathematical Reasoning Evaluation and Selection: A Practical Engineering Framework

    This article presents an engineering framework for evaluating and selecting LLMs for mathematical reasoning. It breaks mathematical ability into task levels, defines metrics for correctness, process quality, stability, and cost, combines automated scoring with expert review, and explains how to assess open problems and apply business-specific weights instead of chasing absolute rankings.

    LLM Mathematical Reasoning Evaluation and Selection: A Practical Engineering Framework

    As model capabilities iterate rapidly, mathematical reasoning is often treated as an important window into complex logical ability. However, many teams fall into two extremes during model selection. One extreme is looking only at final-answer accuracy on a small set of public problems. The other is being swayed by intuitive impressions such as “the reasoning chain is very long” or “the expression sounds very human.” The former ignores process quality and scenario differences, while the latter easily mistakes expression style for reasoning ability. A more reasonable approach is to break mathematical ability into an observable, reproducible, and regression-ready engineering evaluation system.

    1. Define the Problem First: Mathematical Ability Is Not a Single Dimension

    The performance of large models on mathematical tasks can be divided into at least four capability layers. The first layer is basic calculation and unit conversion, which emphasizes accuracy and stability. The second layer is symbolic derivation such as algebraic manipulation, equation solving, probability, and statistics, which emphasizes step validity and consistency of intermediate results. The third layer is proof construction and multi-step logical closure, which emphasizes premise usage, lemma organization, and conclusion convergence. The fourth layer is open-problem exploration, which emphasizes hypothesis formulation, counterexample search, path trial and error, and expression of uncertainty. The first three layers can usually be verified with standard answers or structured scoring, while the fourth layer is difficult to rely on a single automated metric and requires expert review using a rubric.

    Therefore, a conclusion such as “model X is stronger at math” is meaningful only after the task level, prompting method, budget constraints, and scoring criteria are clearly defined. For business-oriented model selection, the first question should be: does the business need fast correct calculation, explainable derivation, rigorous proof, or open-ended exploration? Different answers correspond to completely different evaluation sets and weights.

    2. Metric Design: Look Beyond Correctness to Process and Cost

    It is recommended to cover at least six categories of metrics. First, final correctness: whether the answer matches the standard result, with expert graded scoring for open problems. Second, process verifiability: whether key steps are traceable, and whether there are skipped steps, circular reasoning, or fabricated intermediate conclusions. Third, reasoning-chain efficiency: under the premise of ensuring correctness, whether the number of steps, redundancy, and token consumption are reasonable. A reasoning chain is not better simply because it is longer; excessive length may indicate inefficient path search or insufficient self-correction. Fourth, output readability: whether symbols are used properly, variables are clearly defined, and conclusions are separated from premises. Fifth, stability: whether the model maintains reasonable performance under synonymous rewrites, variable renaming, and minor condition changes. Sixth, engineering cost: whether latency, throughput, context usage, and invocation cost meet business constraints.

    These metrics should form a weighted score rather than a simple average. For example, online problem-solving scenarios place more weight on correctness and latency, offline proof review places more weight on process verifiability, and teaching assistance scenarios need to balance readability and error-correction expression.

    3. Evaluation Workflow: Combine Automated Scoring with Human Review

    A practical workflow is “layered task bank—automated triage—human review—regression baseline.” The task bank is layered by capability level and difficulty, with a small number of open problems retained. Automated scoring handles equivalent answer matching, numerical tolerance judgment, and structured step checks. Proof problems, open problems, and samples with low automated-scoring confidence enter human review. After each model version change, the fixed task bank is rerun to produce regression results.

    An illustrative pseudocode example is as follows:

    1. function evaluate(models, tasks):
    2. results = []
    3. for model in models:
    4. for task in tasks:
    5. answer, trace, cost = run(model, task)
    6. score = auto_score(task, answer)
    7. if task.requires_human_review or score.uncertain:
    8. score = human_review(task, answer, trace)
    9. results.append({
    10. model, task, score,
    11. trace_quality: audit(trace),
    12. cost
    13. })
    14. return aggregate(results)

    Here, audit can check step completeness, variable consistency, and conclusion-reference relationships. Human review should use a unified scoring rubric and record at least four items: conclusion correctness, key-step correctness, expression clarity, and presence of hallucination. This helps avoid drift in criteria between reviewers.

    4. Open-Problem Evaluation: Focus on Exploration Quality, Not a Unique Answer

    Open mathematical problems often do not have a final answer that can be directly compared, making automated scoring difficult. Evaluation should focus on whether the model clearly defines the problem boundary, proposes testable hypotheses, constructs counterexamples or provides failure paths, proactively marks limiting conditions when uncertain, and decomposes complex problems into manageable subproblems. Reviewers can score along dimensions such as problem understanding, path reasonableness, key lemmas, verification awareness, and expression organization, and multiple samples from the same model can be used to observe exploration stability.

    It is important to emphasize that a single success on an open problem cannot directly prove stable capability, and a single failure cannot completely negate capability. Multiple samples, different prompts, and different difficulty gradients should be used for comprehensive judgment.

    5. Selection and Deployment: Build Business Weights Instead of Chasing Absolute Rankings

    For enterprise model selection, it is advisable to first build a scenario profile and then determine weights. If the business is mainly structured calculation, the weights for correctness, latency, and cost should be increased. If proof review is involved, the weights for process verifiability and expert-review pass rate should be increased. If the model is used for teaching explanations, attention should be paid to readability, error-correction ability, and expression of uncertainty. Then use a fixed evaluation set to establish a baseline, retain historical version results, and observe iteration trends.

    At the same time, common pitfalls should be avoided: drawing conclusions from a small number of problems, counting only final answers, ignoring prompt sensitivity, overlooking data contamination risk, equating long reasoning chains with strong reasoning, and equating anthropomorphic expression with rigor. A more reliable approach is to establish continuous evaluation and regression mechanisms, turning model selection from a one-time comparison into an engineering practice that is measurable, reproducible, and iterable.