Systematically Evaluating the Mathematical Reasoning Capabilities of Large Language Models
This article introduces a systematic framework for evaluating the mathematical reasoning capabilities of large language models (LLMs). It covers task categorization, proof and lecture note quality assessment, resource cost management, and capability spectrum evaluation. By shifting from subjective impressions to a reproducible evaluation system, developers and researchers can effectively measure LLM performance in tasks such as completing missing mathematical proofs and generating LaTeX lecture notes under specific budget and latency constraints.
Why We Need to Turn “Feels Good” into an Operational Evaluation Framework
The expectations of developers and academic users for large language models have shifted from simple chat and summarization to independently completing proofs in subjects like advanced algebra and algebraic geometry, and outputting English LaTeX lecture notes suitable for classrooms or group meetings. These tasks have two distinct characteristics: first, the reference materials often only contain statements without complete proofs, meaning the model must genuinely reason rather than recite; second, a single successful API call might only consume a small fraction of a monthly quota, but failed retries, excessively long chain-of-thought (CoT), and peak-hour queuing can quickly burn through API credits. Therefore, evaluation should not stop at “not bad,” but must answer: under given quota and latency constraints, can the model reliably produce verifiable proofs, and how can we spend our API credits where they matter most?
Below is an actionable methodology covering four dimensions: task categorization, output quality, resource cost, and capability spectrum. It is vendor-neutral, making it easy to replicate in custom evaluation sets or enterprise intranet environments.
1. Define the Task Before Judging “Strong or Weak”
Math-related requests vary drastically, and scoring them together is meaningless. It is recommended to categorize them into at least four tiers:
- Closed Exercises: Textbook examples and homework problems with standard answers. This primarily tests formatting and calculation stability.
- Literature Gap-Filling: Propositions in public notes or projects that only state a conclusion without providing a proof. The model must complete the logical chain. This is the key tier for testing whether the model is simply copying.
- Lecture Note Generation: Building on a correct proof, this requires English LaTeX output, sectioning, unified notation, and adaptability for classroom delivery. This tests engineering delivery capabilities, not just problem-solving skills.
- Open Problems: Problems without a recognized proof or with only partial progress. Currently, most general-purpose models can only offer exploratory ideas at this tier and should not be considered as having solved the problem.
In the original use case scenario, a user employing a minimal prompt to “prove a proposition missing a proof in a public project and write it as an English lecture note” falls into a combination of tiers 2 and 3. During evaluation, the same prompt and the same set of propositions should be fixed to avoid masking model performance gaps with prompt engineering differences.
2. Quality Checklist for Proofs and Lecture Notes (Scorable)
For each output, it is recommended to have human reviewers or cross-model evaluations score the following items as 0, 1, or 2, and then apply weighting:
- Proposition Understanding: Does it correctly restate the assumptions, conclusions, and categories (e.g., rings, sheaves, schemes)?
- Logical Completeness: Are key lemmas cited appropriately? Are there circular arguments or unjustified assumptions of “obviousness”?
- Alignment with Public Statements: Does it avoid arbitrarily strengthening or weakening conditions?
- Notation and References: Is the notation consistent with domain conventions? Are unproven steps clearly marked?
- LaTeX Compilability: Can the environments, cross-references, and theorem environments compile directly?
- Lecture Structure: Is the Definition-Lemma-Theorem-Remark structure suitable for teaching, rather than just a pile of symbols?
- Honesty: Does it admit to steps it cannot do, rather than fabricating literature references?
In practice, a long lecture note consuming about 2% of a monthly API quota that meets all the above criteria represents a high return on investment. If the proof is incorrect but the formatting is beautiful, it should be marked as a failure to avoid being misled by a “professional appearance.”
3. Quota, Queuing, and “Credit Burning” Strategies
Subscription limits, remaining API credits, and peak-hour queuing are real constraints, not trivial matters. It is recommended to treat API quotas as a compute budget:
- Prioritize High-Value Tasks: Only allocate gap-filling + lecture note generation, or code formalization assistance, to the strongest reasoning tier.
- Downgrade Low-Value Tasks: Use a lightweight tier for format conversion, translation, and simple calculations to avoid burning all your credits on trivial tasks with the most expensive model.
- Fallback for Unavailable Queues: Use locally or intranet-deployed small models to draft when the cloud queue is unavailable, reserving cloud-based strong reasoning for final review.
- Single Call Limits: Set a soft cap on CoT length; if a draft exceeds a reasonable page count without producing a key lemma, it should be aborted rather than spinning idle.
On the enterprise side, these strategies can be implemented via evaluation sets in object storage, token and latency metrics in log services, and failure rates in monitoring alerts, rather than relying on gut feelings to renew subscriptions.
4. Capability Spectrum: Describe by Tier, Not by Deifying a Single Model
Community discussions often mix different chat interfaces, work interfaces, and model sizes on a single leaderboard, which amplifies noise. A more robust approach includes:
- Open Math Problems: These should still be viewed as unsolved capabilities. Individual systems may be bolder in providing exploratory paths, but this does not equate to a publishable proof. Set up a separate “open problem” subset during evaluation, with a default maximum score lower than the gap-filling tier.
- Chain-of-Thought Style: Some models have shorter chains and write more like human lecture notes; others have extremely long chains with very detailed intermediate steps. A long chain is not necessarily stronger, but it will significantly consume API credits. You should record “accuracy / average tokens / human review time” simultaneously.
- Adjacent Tier Comparisons: Adjacent versions from the same vendor or technical route are suitable for A/B testing, rather than forcing a ranking across completely different product lines.
- Code and Formalization: For propositions requiring assistants like Lean, open another subset to avoid using pure natural language scores to represent formalization capabilities.
If you must summarize an “upper-middle reasoning tier” in one sentence: in gap-filling and lecture note tasks, it is clearly stronger than early professional tiers, approaching the median performance of current mainstream high-end conversational models, but still significantly weaker than systems specifically optimized for open problems with high-compute configurations. Such a description is reproducible and falsifiable, without relying on word-of-mouth.
5. How to Build an Evaluation Set Without Overfitting
- Extract 20–50 propositions from public notes that “only have statements and are recognized by the community as lacking proofs,” covering algebra, geometry, number theory, etc.
- Fix the prompt template for each: proof + English lecture notes + necessary notation table.
- Hide the standard answers and have a third party score them based on the checklist; introduce a second reviewer for disputed items.
- Record whether compilation passes and the number of lines modified during human review as engineering metrics.
- Regularly rotate subsets to prevent models or prompts from optimizing for a fixed question bank.
When implementing on the cloud, you can use a general container platform for batch processing, object storage for volumes, message queues for task distribution, and logging and monitoring for cost attribution. Platforms like Baidu AI Cloud provide these infrastructure capabilities, but the evaluation logic itself should remain vendor-neutral.
6. Practical Conclusions for Individual Users
- Do not use the strongest reasoning tier for low-value chores; set a whitelist for task types.
- Before API credits expire or subscriptions end, prioritize clearing the “gap-filling lecture notes” queue rather than continuing casual chats.
- Accept a downgraded model for drafting during severe queuing, and perform the final review opportunistically.
- Do not equate “can write a long English lecture note” with “can solve open mathematical problems.”
- Any model ranking is only valid on your own proposition set and within your own API quota curve.
Bringing evaluation back to the four axes of task, proof, lecture notes, and cost ensures that in the reality of limited credits and uncertain queuing, every API call is spent on work that genuinely lacks proofs and lecture notes.
