Evaluating LLM Mathematical Reasoning Capabilities and Optimizing Costs: A Practical Guide
Evaluating the mathematical reasoning capabilities of Large Language Models (LLMs) requires a shift from subjective user experience to verifiable performance metrics. This guide provides a structured methodology to assess LLM reasoning across basic problem-solving, long-chain proofs, lecture generation, and open-ended exploration. It further outlines how to design reliable evaluation task sets, establish rigorous proof verification workflows, and optimize for effective delivery costs rather than mere quota consumption. By following these practices, developers and researchers can accurately determine the technical value and operational efficiency of LLMs within specific task workflows.
1. From User Experience to Verifiable Capability Evaluation
When evaluating LLMs, users often provide two drastically different types of feedback: some feel that complex tasks consume quotas too quickly, while others believe that generating well-structured mathematical lecture notes with minimal prompts is well worth the investment.
These two perspectives are not necessarily contradictory. They may be measuring different things: the former focuses on resource consumption and service availability, while the latter focuses on the delivery quality of a specific task. To draw technically valuable conclusions, these factors must be discussed separately.
For mathematical reasoning scenarios, at least four questions should be answered:
- Does the model correctly understand the proposition’s assumptions and conclusions?
- Is the generated proof complete, and are the critical steps valid?
- Can the output directly support learning, research, or document delivery?
- Is the task cost reasonable after factoring in queuing, retries, and manual review?
Therefore, one cannot conclude that a model possesses top-tier reasoning capabilities solely based on a nicely formatted lecture, nor dismiss its technical value just because a quota was quickly exhausted. The appropriate evaluation object should be “the performance of a specific model configuration within a specific task workflow,” rather than a generic ranking detached from the task context.
2. Mathematical Capability is Not a Single Metric
1. Basic Problem Solving: Testing Concept and Calculation Reliability
Basic capabilities include the accurate use of definitions, executing algebraic transformations, handling common proof structures, and identifying simple counterexamples. Such tasks are suitable for establishing an initial baseline but are insufficient to represent research-level capabilities.
For example, a problem might simultaneously require identifying the order of quantifiers, checking parameter ranges, and handling degenerate cases. Even if the main calculation is correct, omitting boundary conditions can lead to an incorrect final conclusion.
Testing should cover various sources of errors rather than focusing on formally similar problems. It is particularly important to include problems where the conclusion does not hold, to observe whether the model blindly complies with the request to prove it.
2. Long-Chain Proofs: Testing Dependencies and Logical Consistency
Complex proofs often require multiple lemmas for support. The common issue with models is not that an isolated step is completely wrong, but that the dependencies fail:
- The applicability conditions of a lemma are not met;
- The meaning of a symbol is changed midway;
- The conclusion to be proved is used as a known condition;
- Jumping directly from local properties to global properties;
- Omitting critical arguments that determine the validity of the proof.
Therefore, when evaluating long-chain proofs, check the dependency structure: which conclusions rely on which assumptions, which steps invoke which lemmas, and whether circular reasoning exists. The longer the final answer, the less the verification work can remain solely at the conclusion level.
3. Lecture Generation: Testing Explanation and Delivery Capabilities
Mathematical lecture generation is a composite task. It requires not only correct proofs but also consistent symbols, clear definitions, logical paragraph organization, and supplementing necessary background based on the reader’s level.
A qualified lecture should typically include:
- Accurate statement of the proposition;
- Required definitions and prerequisite results;
- The proof strategy and the rationale for its selection;
- Step-by-step rigorous proof;
- The role of assumptions and boundary cases;
- Common misconceptions and appropriate examples.
A fluent lecture does not guarantee a correct proof, nor does a correct proof guarantee that the lecture is suitable for teaching. Both should be scored separately to prevent writing style from masking logical flaws.
4. Open-Ended Problem Exploration: Testing Research Assistance Value
Open-ended problems differ from questions with existing answers. Models can help organize definitions, propose candidate lemmas, search for counterexample ideas, and analyze special cases, but they cannot treat unverified deductions as research conclusions.
It is crucial to distinguish between three types of outputs:
- Conclusions that have undergone rigorous verification;
- Conjectures with some basis but yet to be proven;
- Exploratory directions intended only to inspire subsequent work.
A single seemingly successful response is insufficient to support the claim that a model can “stably solve open mathematical problems.” A more prudent positioning is as a research assistant: helping researchers narrow the search space rather than replacing the final mathematical review.
3. How to Design a Reliable Evaluation Task Set
1. Stratify by Task Source and Difficulty
Test materials can be categorized into basic exercises, complete proof reconstruction, missing step completion, proposition condition correction, counterexample construction, and open-ended exploration.
Propositions sourced from public materials cannot be automatically considered new problems even if they lack accompanying proofs. The same conclusion might appear in other literature, and the model might already possess relevant knowledge. Such tasks can test proof reconstruction ability but cannot independently prove original research capability.
To reduce the impact of familiar problem types, you can adjust conditions, alter expressions, or ask the model to explain whether a certain assumption is necessary. However, modified propositions must be verified by the evaluator first; unconfirmed problems cannot serve as reliable testing standards.
2. Fix Input Conditions to Reduce Comparison Bias
When comparing different models or configurations, try to keep the following conditions consistent:
- Consistent proposition text and background materials;
- Consistent output language and delivery requirements;
- Consistent rules on whether retrieval or external computation is allowed;
- Consistent maximum number of attempts;
- Consistent manual intervention rules;
- Consistent cost measurement scope.
If one party undergoes multiple rounds of error correction while the other generates only once, the results are not directly comparable. If tools are used, the part completed independently by the model and the support provided by the tool should be recorded separately.
3. Measure Both First-Time Performance and Correction Capability
In practice, a model’s first answer may not be correct, but some errors can be fixed through explicit feedback. Therefore, it is recommended to observe simultaneously:
- Whether the first output is usable;
- Whether the issue is genuinely corrected after being pointed out;
- Whether correcting one error introduces new errors;
- Whether it can recognize that a task cannot be completed and explain why.
“First-time accuracy rate” and “post-review deliverable rate” reflect different capabilities. The former affects the degree of automation, while the latter affects collaboration efficiency. Both are worth tracking.
4. Establishing a Proof Verification Workflow
1. Verify the Proposition Before Checking the Proof
The first step in review is not reading the derivation, but confirming whether the model proved the original proposition.
Focus on checking quantifiers, object types, parameter ranges, and whether extra assumptions have been quietly added. For instance, if the original proposition lacks a finiteness condition, but the model assumes related objects are finite in the proof, the original task is not completed even if the subsequent derivation holds.
It is recommended to compare the “original proposition” and the “model’s restated proposition” side by side, checking item by item.
2. Fill in the Justification for Critical Steps
For each critical deduction, require answers to three questions:
- What definition, lemma, or theorem was used?
- Are the prerequisites for these results met?
- Is the current conclusion sufficient to support the next step?
Accepting “obviously holds” or “as known from standard results” as the sole explanation for critical steps is unacceptable. Basic steps can be abbreviated, but the reasoning that determines the validity of the proposition must be expanded.
3. Cross-Check with Boundary Cases and Counterexample Searches
Even if a proof appears coherent on the surface, check scenarios involving empty objects, zero values, extreme parameters, and atypical structures. Boundary testing cannot replace general proofs, but it can efficiently reveal omitted assumptions.
You can also ask the model to attempt constructing counterexamples and explain why the construction failed. However, a model reviewing its own answers should not be considered independent verification; important conclusions still require manual review, assisted by applicable formal or computational methods when necessary.
4. Distinguish Symbolic Computation from General Argumentation
Finite sample verification only proves that those samples hold; it cannot directly infer general conclusions. Numerical approximations cannot automatically replace exact equations or strict inequalities.
If computational assistance is used in a task, clearly state which part it supports: finding patterns, eliminating candidate counterexamples, verifying finite cases, or completing exhaustible proof steps. The connection between computational results and theoretical conclusions must be explicitly addressed.
5. A Practical Workflow for Mathematical Lecture Generation
Asking the model to complete all work at once often results in lengthy content with insufficient critical steps. A more reliable approach is to proceed in stages.
Stage 1: Clarify the Task
Provide the complete proposition, symbol definitions, allowed prerequisite conclusions, and reader background. Ask the model to check first whether the conditions are sufficient. If there is ambiguity, it should ask questions rather than starting the proof immediately.
A prompt structure like this can be used:
“Please first verify the assumptions and conclusions of the proposition, list necessary definitions, and determine if there are obvious counterexamples. If the proposition holds, provide the proof route; clearly mark uncertain steps, and do not complete the proof by adding undeclared assumptions.”
Stage 2: Review the Proof Skeleton
Generate the core lemmas and dependency relationships first, without rushing to polish the text. After manual confirmation that the approach is viable, ask for the detailed proof.
This stage exposes route errors early, avoiding the expenditure of large amounts of output resources on invalid deductions.
Stage 3: Form the Complete Lecture
After the proof passes verification, supplement it with intuitive explanations, examples, terminology notes, and formatting. If an English lecture is required, further check for terminology consistency, sentence ambiguity, and whether the text corresponds to the formulas.
Stage 4: Delivery Check
The final review includes not only mathematical correctness but also chapter organization, formula numbering, definition of symbols upon first appearance, and the completeness of the typesetting source files.
Successful typesetting only indicates that the document structure is basically processable; it does not prove that the mathematical content is correct.
6. From Quota Consumption to Effective Delivery Cost
When remaining quotas are close to expiring, users tend to initiate high-consumption tasks to “avoid waste.” However, output without actual demand may consume quotas without creating value.
A more reasonable cost metric is:
Effective Delivery Total Cost = Billing Expenditure + Waiting Cost + Review Cost + Rework Cost.
Based on this, calculate the average cost per qualified deliverable. For mathematical tasks, manual review is often a non-negligible part. If a model generates quickly but requires researchers to spend a lot of time finding errors, its overall efficiency may not be high.
Points or quota ratios cannot be directly used as a basis for cross-service comparison. Different services may have different billing units, context rules, output lengths, and resource allocations. Cost differences can only be discussed when the billing metrics are clear and task conditions are consistent.
Specific Methods to Reduce Ineffective Consumption
First, split complex tasks into four stages: “judging feasibility, setting the route, expanding the proof, generating the lecture,” with continuation conditions set for each stage.
Second, define the output scope clearly. If only proving a lemma is required, do not simultaneously ask for extensive background reviews and further reading.
Third, establish stop rules for failed tasks. When the same critical flaw repeatedly occurs, or the proof consistently relies on unverifiable conclusions, pause generation and switch to manual analysis or redefining the task.
Finally, save reviewed and approved intermediate results to avoid generating the entire document from scratch during each revision. However, before reusing materials, still verify against the current proposition to prevent old conclusions from failing due to context changes.
7. What Enterprises and Teams Should Focus On
Team evaluations cannot rely solely on individual experiences; they should also focus on the compliance of input materials, task traceability, and the boundaries of result responsibility.
Materials containing unpublished research findings, internal algorithms, or sensitive data should be handled according to organizational data management requirements. Risks can be reduced through desensitization, minimal necessary input, and access control, but it cannot be assumed that any service inherently meets all security requirements.
For processes requiring continuous delivery, task versions, input materials, output results, review comments, and failure reasons should be recorded. When errors occur, the team can pinpoint whether the problem stems from the proposition statement, model derivation, tool results, or manual review.
Service availability should also be evaluated separately. Queuing time, task interruptions, and result return failures affect actual delivery, but they are not the same metric as mathematical reasoning capability. Separating the two allows accurate determination of whether to optimize model selection or the task scheduling process.
8. Conclusion: Replacing Generic Rankings with Verifiable Outcomes
The evaluation of LLM mathematical capabilities should shift from single impressive outputs to reproducible task testing, from stylistic evaluation to logic verification, and from quota consumption to qualified delivery costs.
For developers, researchers, and enterprise users, the more important question is not where a model ranks on a subjective leaderboard, but whether it can stably complete specific tasks under clear conditions while keeping review and rework costs acceptable.
In practice, adopting the workflow of “clarifying propositions—reviewing routes—expanding proofs—generating lectures—independent verification” preserves the model’s efficiency advantages in material organization and expression while preventing fluent text from being mistaken for rigorous proofs. Only by placing correctness, usability, and cost within the same evaluation system can the actual value of large language models be reliably determined.
