How to Evaluate Large Language Models on Advanced Math Reasoning: A Practical Framework
Public model rankings are a poor basis for choosing an LLM for production. This article breaks math capability into four measurable tiers, shows how to build a reproducible evaluation set, and defines a four-dimensional scoring model covering correctness, reasoning process, output quality, and quota cost. It also explains how to route tasks by tier to control spending and queuing.
1. Why Model Rankings Do Not Drive Selection
A common mistake in engineering practice is treating public model capability rankings as a selection decision. The useful signals in the original discussion were not the rankings themselves, but a few facts closer to production reality: the same class of task consumes noticeably different amounts of credits or quota across models; some models show usable exploration ability on open-ended math problems, while others perform well on problems that already have a reference answer; and there is no monotonic relationship between chain-of-thought length, its conciseness, and the readability of the final lecture notes.
The real question, therefore, is not “which model is stronger” but “under what task distribution, at what cost, and at what quality level.” Reframing the evaluation around that question is the starting point of this article.
2. Task Tiering: Splitting “Math Ability” into Four Measurable Classes
A vague notion of “math ability” cannot be evaluated. Start by tiering the tasks:
- Reproduction: the problem already has a public standard proof. This tests retrieval and restatement, and offers low discrimination.
- Derivation: the problem has a unique answer, but the process must be constructed from scratch. This tests multi-step reasoning and symbolic manipulation.
- Open-ended: no existing proof is available, so the model must find an approach, try things, and backtrack. This tier has the highest discrimination.
- Presentation: organizing the conclusion into structured lecture notes, testing formatting conventions, terminology consistency, and readability.
The key observation is that models scoring closely on reproduction tasks may separate sharply on open-ended ones. Selection must therefore put the weight on tiers three and four.
3. Building the Evaluation Set: Reproducibility First
Fix each problem as a triple of “proposition ID + version snapshot + prompt template” to avoid problem drift. A sample structure:
{"id": "open-prob-017","tier": "open","prompt_template": "Please prove the following proposition and output lecture notes in English using standard math typesetting.","expected": {"proof_exists": true,"notation_consistency": true},"budget": {"max_steps": 200, "max_tokens": 200000}}
Supporting requirements: sample each problem at least three times independently and record the pass rate rather than a single result; fix and record sampling parameters such as temperature; and keep complete intermediate logs so that process-level evaluation is possible later.
4. Four Evaluation Dimensions: Result, Process, Presentation, Cost
The result dimension looks at correctness and verifiability of the conclusion; a dual channel of automated checking plus human review is recommended. The process dimension looks at whether the reasoning loops or drops constraints midway, which can be approximated by the “valid step ratio.” The presentation dimension covers structural completeness, notation consistency, and typesetting usability. The cost dimension should not stop at unit price; it should measure quota consumed per unit of usable output, for example “the share of quota consumed per usable set of lecture notes produced.”
Illustrative scoring logic:
record = {"tier": "open","passed": True,"valid_step_ratio": 0.72,"doc_score": 0.81,"quota_used_ratio": 0.02}score = 0.4*record["passed"] + 0.2*record["valid_step_ratio"] \+ 0.2*record["doc_score"] - 0.2*record["quota_used_ratio"]
Weights should be adjusted to business goals: research-oriented scenarios raise the weight on process and open-ended tasks, while content production scenarios raise the weight on presentation and cost.
5. Chain-of-Thought Length and Writing Style Reconsidered
The original experience noted that chain-of-thought length varies greatly across models, and this needs a more rigorous statement: a longer chain of thought does not mean a stronger model. It may indicate stronger exploration ability, or it may indicate a large amount of unproductive backtracking. The way to tell is to check the correlation between the valid step ratio and final quality. A more human-like writing style usually shows up as natural paragraph transitions and fewer templated phrases; in advanced lecture-note scenarios this is a real benefit, so it belongs in the presentation dimension rather than in subjective impressions.
6. Cost Engineering: Quota, Queuing, and Task Orchestration
Quota and queuing are hard constraints for production. The recommended approach is tier-based routing: send reproduction and formatting tasks to a lightweight pipeline; cap concurrency and budget for open-ended tasks; and enable checkpoint resume plus intermediate-result persistence for long tasks to avoid repeated billing. Object storage can hold intermediate artifacts, a message queue can smooth out peaks, a container platform can host long-running tasks, and logging plus monitoring alerts can track failure rates and quota consumption curves.
task arrives -> tier classification -> budget pre-deduction -> execution with checkpoint writes-> result validation -> limited retries on failure -> settlement and metrics reporting
7. Common Pitfalls and Conclusion
The pitfalls include substituting public leaderboards for your own evaluation, looking only at unit price instead of quota per unit of usable output, treating a single success as a capability, and ignoring the rework cost caused by inconsistent typesetting and terminology.
The conclusion: mathematical reasoning ability should be split into open-ended exploration, process stability, and presentation quality, each measured separately, and then combined with quota and queuing constraints to design routing. If an organization already uses the relevant general-purpose capabilities from Baidu AI Cloud, the evaluation and routing logic described above can be deployed on a container platform, with object storage and logging services used to accumulate evaluation assets and form a sustainable selection loop.
