How to Evaluate and Select Large Language Models for Mathematical Reasoning
This article explains how to evaluate large language models for mathematical reasoning beyond arithmetic accuracy. It outlines four levels of mathematical tasks, why open problems are harder, key evaluation metrics, a reproducible testing workflow, an error taxonomy, model comparison considerations, and practical strategies for selection and deployment.
1. First, Clarify: Mathematical Ability Is Not Arithmetic Ability
When evaluating the mathematical level of a large language model, it is not enough to check whether it can perform the four basic operations, substitute values into formulas, or solve common competition problems. The real differentiator is whether the model can continue reasoning through open problems where information is incomplete, the solution method is uncertain, and proofs must be constructed autonomously, while also validating its conclusions effectively.
From an application perspective, mathematical tasks can be roughly divided into four levels:
- Basic computation layer: This includes arithmetic, algebraic manipulation, unit conversion, and simple equation solving. Such tasks usually have low discriminative power, and many models can achieve good results.
- Standard problem-solving layer: These problems have relatively clear solution patterns, such as geometric auxiliary lines, probability case analysis, and sequence recurrence. The model’s key ability is to identify the problem type and invoke the appropriate method.
- Complex proof layer: This requires combining multiple intermediate conclusions and handling boundary conditions, counterexamples, and implicit constraints. At this level, whether the reasoning chain is complete matters more than whether the final answer is correct.
- Open research layer: Problems may have no ready-made template. The model needs to define symbols, propose conjectures, construct proof paths, and repeatedly check assumptions. This is currently the area where differences in large language models’ mathematical abilities are most evident.
Therefore, testing only with simple problems or problems with standard answers can easily overestimate a model’s ability. A model that can quickly produce a formally complete solution does not necessarily mean it has truly solved the problem. Open problems often better reflect the upper limit of a model’s reasoning.
2. Why Open Mathematical Problems Are Harder
Open mathematical problems usually have the following characteristics:
2.1 Solutions Are Not Unique
The same problem may have multiple paths, such as algebraic, geometric, combinatorial, or analytical approaches. The model must not only find a feasible route but also judge whether the route is worth continuing. If it chooses the wrong direction at the beginning, a long reasoning process may accumulate errors and eventually produce an answer that “looks complete but is actually invalid.”
2.2 Intermediate Conclusions Must Be Discovered Independently
Standard problems often provide sufficient conditions, while open problems require the model to actively look for invariants, symmetry, extremal structures, or recursive relationships. This ability is closer to the research process than to answer reproduction.
2.3 Proofs Must Satisfy Strict Constraints
A small gap in mathematical reasoning can invalidate the entire conclusion. For example, mistaking “holds for a certain sample” for “holds for all samples,” or performing equivalent transformations without proving reversibility, will lead to errors. Fluent language expression cannot replace logical validity.
2.4 Continuous Verification and Backtracking Are Required
High-difficulty problems usually cannot be reliably solved through a single intuition. The model needs to check special cases, construct small-scale examples, look for counterexamples, and return to earlier assumptions to re-derive when contradictions are found.
3. Which Metrics Should Be Watched When Evaluating Models
3.1 Final Accuracy
This is the most intuitive metric, but it cannot be the only standard. For open problems, answers may take different forms, and automatic judgment is difficult. Evaluation usually needs to combine symbolic verification, numerical experiments, or manual review.
3.2 Proof Completeness
It is necessary to check whether the model clearly explains:
- which known conditions were used;
- what the basis is for each derivation step;
- whether there are unproven leaps;
- whether all case categories are covered;
- whether the conclusion truly returns to the original problem.
Some models can give correct conclusions, but their proof process has obvious gaps. If the model is used for research, engineering modeling, or teaching scenarios, such gaps must be recorded separately.
3.3 Error Discoverability
A high-quality model should not only generate answers but also identify problems in its own reasoning. During testing, incorrect premises, incorrect proofs, or invalid intermediate conclusions can be deliberately introduced to observe whether the model actively questions them instead of continuing to explain along the error.
3.4 Reasoning Efficiency
A longer reasoning process is not necessarily stronger. Overly long reasoning may mean the model is repeatedly trying, lacks planning, or even increases the probability of error propagation. What is more valuable is to reduce ineffective branches as much as possible while maintaining rigor and to present key steps clearly.
3.5 Stability
If the answer direction, conclusion, or even basic definitions frequently change when the same problem is asked multiple times, the model’s stability is insufficient. Evaluation should use different prompt styles, different language formulations, and different context environments for repeated testing.
3.6 Tool Collaboration Capability
Complex mathematical tasks can be combined with symbolic computation, numerical computation, theorem verification, or program search. When evaluating a model, it is necessary to distinguish “the model’s independent reasoning ability” from “the model’s ability to complete tasks with tools.” Both are important, but they apply to different scenarios and cannot be conflated.
4. Build a Reproducible Evaluation Process
Step 1: Construct a Layered Question Bank
The question bank should not contain only one type of competition problem. It should cover fields such as algebra, geometry, combinatorics, probability, number theory, calculus, and discrete mathematics. At the same time, questions should be divided into four levels by difficulty: basic, advanced, high-difficulty, and open research.
Each question should preferably include the following information:
- the field of the problem;
- the prior knowledge required;
- whether a standard solution exists;
- whether typical pitfalls are likely to occur;
- whether the result can be automatically verified;
- whether the proof requires manual review.
Step 2: Standardize Test Conditions
The model’s context length, answer format, whether external tools are allowed, and maximum output limit should be fixed as much as possible. Otherwise, comparisons between models may be affected by the test environment rather than by true differences in ability.
For tasks that require showing the reasoning process, the model should be asked to first provide a problem analysis, then a formal solution and result check. However, it should be noted that the text process generated by the model is not necessarily equivalent to its true internal reasoning. Therefore, evaluation should still focus on the verifiable logical chain.
Step 3: Use Multi-Round Validation
A single answer cannot fully reflect ability. The following process can be used:
- Let the model answer independently;
- Ask the model to check its own proof;
- Provide a solution that may contain errors and ask the model to review it;
- Change the wording of the problem to test its transfer ability;
- Use similar problems with different conclusions to test whether the model mechanically applies templates.
This approach can distinguish genuine understanding from surface imitation.
Step 4: Record Error Types
It is recommended to classify errors into:
- calculation errors;
- concept misuse;
- missing conditions;
- incomplete case analysis;
- circular reasoning;
- conclusions beyond the premises;
- unhandled counterexamples;
- correct format but invalid logic;
- misreading of tool call results.
Compared with a single “correct or incorrect” label, error classification is more suitable for guiding model selection and subsequent prompt design.
5. How to Understand Capability Differences Between Models
In practical experience, some models may perform prominently on open mathematical problems and propose valuable exploration directions; others are better at organizing complex content into concise, readable proofs. Some models have very long reasoning processes but do not necessarily have higher accuracy.
Therefore, model level cannot be judged simply by “the longer the chain of thought, the stronger the model.” A more reasonable evaluation approach is to focus simultaneously on:
- whether the model finds the key structure;
- whether it can eliminate incorrect paths;
- whether it can handle boundary cases;
- whether it can provide a reviewable proof;
- whether it can effectively correct itself after failure;
- whether it can compress complex reasoning into clear conclusions.
For enterprises and development teams, model selection should also consider cost, response latency, concurrency capability, context capacity, data security, and deployment method. A model with strong theoretical ability may not be suitable as the default solution if it cannot meet business latency or compliance requirements.
6. Recommended Strategies in Practice
6.1 Do Not Let the Model Bear Final Proof Responsibility Directly
For key mathematical conclusions, the model should be positioned as a “reasoning assistant” or “candidate solution generator,” not the sole judge. Final results should be confirmed through manual review, program verification, or formal tools.
6.2 Use Staged Prompting
Tasks can be divided into several stages:
- first analyze the known conditions and the goal;
- then list possible solution directions;
- choose the most promising direction and explain why;
- complete the formal derivation;
- check boundary conditions and counterexamples;
- finally compress the result into a concise answer.
Staged processing is usually more stable than asking for “a perfect proof directly” in one step.
6.3 Require the Model to State Uncertainty Clearly
When the model cannot confirm a certain step, it should be required to mark assumptions, explain what remains to be verified, and provide a verification method. Compared with forcing a definite answer, this approach is more suitable for research and engineering scenarios.
6.4 Preserve the Exploration Process for Open Problems
The value of open problems does not necessarily lie only in the final conclusion. Intermediate conjectures, counterexamples, and failed paths proposed by the model may also help researchers narrow the search space. Therefore, in practical work, both “exploration records” and “formal answers” can be saved.
7. Conclusion
The core of evaluating large language models’ mathematical ability is not to compare whose answer is longer, whose wording is more professional, or who can solve a particular popular problem. It is to build a test system that covers multiple domains, multiple difficulty levels, and multi-round validation.
At the current stage of technological development, differences between models on standard mathematical problems are narrowing. What truly creates a gap is open problem handling ability, proof reliability, error self-checking ability, and cross-task transfer ability. For users, the safest approach is not to blindly pursue a specific model but to build a layered strategy based on task type: prioritize efficiency for simple computation, emphasize verifiability for complex proofs, and focus on exploration ability and human-machine collaboration for open research.
Only by placing final accuracy, reasoning quality, stability, tool collaboration, and actual cost within the same evaluation framework can more objective and more reference-worthy conclusions be obtained.
