How to Rigorously Evaluate LLM Mathematical Reasoning and Open Problem Solving
This article presents a practical framework for evaluating large language models on mathematical tasks. It explains why subjective rankings fall short, introduces a layered classification from computation to open research problems, and covers fair benchmark design, verification methods, multi-dimensional metrics, and a five-stage workflow for developers.
1. Moving from Subjective Rankings to Verifiable Capability Assessment
When discussing the mathematical ability of large language models, a common approach is to pose a difficult problem, observe the answers from several models, and then rank them by whether they solved the problem, how fluent the explanation is, and how long the derivation is. This gives a rough impression, but it cannot support stable or generalizable technical conclusions.
Mathematical ability is not a single metric. One model may be good at calculation and formula manipulation but weak at constructing rigorous proofs. Another model may propose valuable research directions yet frequently make mistakes with boundary conditions or symbol handling. If the task type is not defined first, these different abilities easily get conflated.
More importantly, there is a clear difference between solving a complex math problem and solving an open math problem. The former usually has a known answer or an established proof. The latter may have no existing conclusion and requires a new argument that must withstand independent review. Therefore, evaluation should not aim for a single overall ranking of strength. It should answer three questions:
- On which types of mathematical tasks does the model perform reliably?
- How can its conclusions be verified?
- Given constraints on time, cost, and human review, how much effective help can the model provide?
Only when these questions are separated does a capability assessment have practical value.
2. Building a Layered Framework for Mathematical Tasks
1. Computation and Rule Execution
This layer mainly covers arithmetic, algebraic simplification, equation solving, differentiation, integration, and common probability calculations. Evaluation focuses on whether the model correctly understands the problem, applies rules accurately, and produces results that satisfy all constraints.
For example, when solving an equation with a parameter, checking only the final expression is not enough. You also need to check the domain, whether any denominator becomes zero, whether a transformation introduces extraneous roots, and whether special parameter cases are missed.
Tasks in this layer suit automated verification, but the verifier itself must account for mathematical equivalence. Two expressions in different forms may be fully equivalent. Conversely, an expression that holds at several numerical points is not necessarily an identity.
2. Multi-step Proofs of Known Problems
This layer requires the model to organize several reasoning steps rather than apply isolated rules. Evaluation focuses on whether the premises are sufficient, whether the lemmas apply, whether quantifiers are used consistently, and whether the derivation contains circular reasoning.
Pay particular attention to whether the model treats “obviously true” as a proof. A phrase such as “by symmetry” has argumentative value only when the symmetric objects, the transformation, and the preserved property are stated clearly.
For these tasks, split the score into two parts: the conclusion and the proof. A correct final answer does not mean the proof is valid. A proof with a critical gap should not be overlooked just because its language is fluent.
3. Exploratory Mathematical Research
This layer includes proposing conjectures, searching for counterexamples, identifying patterns, designing auxiliary lemmas, and comparing different proof routes. It does not necessarily require completing a proof, but its output should move the research forward.
For example, a model can help a researcher notice that a statement lacks a necessary condition, or reduce a complex problem to a simpler special case. These contributions may not look like solving a problem, yet they can be highly valuable.
For exploratory tasks, focus on the usefulness of the suggestions. Ask whether the proposed route is executable, whether the counterexamples are real, whether the auxiliary propositions are easier than the original problem, and whether the model clearly marks the parts that remain unproven.
4. Open Problems and New Results
Open problems cannot be graded with the methods used for ordinary exam questions. Even if an answer is well structured and uses precise terminology, it should first be treated as a candidate argument, not as a confirmed new result.
Confirming that an open problem has been solved requires, at a minimum, a precise statement of the problem, the existing results, the scope of applicability, a complete proof, and independent review. When these conditions are not met, the accurate description is “proposed a route to be verified” or “provided a candidate proof.”
If the latest research literature cannot be checked, it may not even be possible to confirm whether a problem is still open. In that case, the model’s own claims should not be used to judge the problem’s status.
3. Response Length Does Not Replace Reasoning Quality
Longer solutions may contain more intermediate steps, which makes them easier for humans to check. But they can also introduce redundant assumptions, repetition, and additional errors. Shorter solutions may capture the key structure, but they may also skip the hardest step of the proof.
So it is wrong to infer that a longer answer reflects deeper thinking, and equally wrong to infer that a shorter answer reflects stronger ability.
For developers, a more useful metric is checkability:
- Can each key conclusion be traced back to its premises or to established mathematical facts?
- Does the response clearly distinguish known results, conjectures, and steps still to be verified?
- Does it state the conditions under which key theorems apply?
- Does it handle special cases and boundary conditions?
- When the argument cannot proceed, does it accurately identify where it is blocked?
The explanatory text that users see must also be distinguished from the model’s internal computation. The length of the visible answer does not directly reflect the depth of internal reasoning. Evaluation should rely on observable, reviewable results rather than infer conclusions from invisible processes.
In practice, you can ask the model to outline a proof route first, expand the key steps next, and finally check the assumptions and boundary conditions. The goal is not longer output but an argument structure that is easier to review.
4. Designing Fair and Reproducible Evaluations
1. Define the Evaluation Goal
Before preparing problems, determine the use case. A model for teaching support must explain concepts accurately and identify learners’ misconceptions. A model for research support must help formulate propositions, find counterexamples, and review proofs. A model for business calculations should prioritize the reliability of input constraints, units, and results.
Different goals carry different weights, so a single composite ranking should not replace scenario-specific judgment.
2. Build a Representative Problem Set
The problem set should cover different domains, difficulty levels, and error patterns, such as algebra, geometry, discrete mathematics, analysis, and probability. Each problem should also record its task type, reference answer, acceptable proof routes, and common pitfalls.
In addition to standard problems, include underdetermined problems, contradictory premises, and problems with no solution. These test whether the model blindly complies with a demand to always give an answer.
To reduce the effect of memorized problems, use unpublished variants, independently written problems, and rewrites that keep the core structure. Merely changing numbers does not prove that memorization has been eliminated. New items must also be validated so that errors in the evaluation materials themselves do not distort the results.
3. Control Runtime Conditions
When comparing approaches, record and, where possible, standardize the following:
- prompts and context materials;
- whether external computation or retrieval tools are allowed;
- time limits per problem and output length limits;
- number of retries and number of candidate answers;
- whether human feedback is involved in the solving process;
- model version and evaluation date.
If one approach can answer only once while another can try repeatedly and filter the answers, their results cannot be compared directly. Similarly, systems that allow external verification should be reported separately from pure text generation.
4. Use Repeated Testing and Blind Review
A single success may be due to chance. For key problems, run multiple trials and record success rates and error types, rather than keeping only the best attempt.
Proof problems also suit blind review. Reviewers see only the problem and the answer, without knowing the source, which reduces preconceived judgments. For highly disputed arguments, have several people review independently and then reconcile their disagreements.
When the number of problems is small, state the uncertainty of the results explicitly. Do not interpret small differ
