Evaluating and Selecting LLMs for Mathematical Reasoning: A Practical Guide
This guide explains why simple "which model is better" rankings fail on open-ended math tasks and offers a practical evaluation framework. It breaks mathematical workloads into four cognitive levels (L1–L4), defines metrics beyond final accuracy such as process verifiability, reasoning-chain complexity, and stability, and replaces absolute rankings with an internal anchor set. It also covers engineering constraints like quotas, queuing, and budgets, plus a reproducible evaluation workflow and common pitfalls, so teams can make stable, auditable, and cost-aware model decisions.
1. Background: Why “Which One Is Stronger” Is Often the Wrong Question
In real engineering work, discussions about model capability often degrade into a single question: which model beats the others. But once the task shifts to open-ended math problems—the kind that require constructing auxiliary quantities, judging convergence, or designing counterexamples on your own—rankings quickly lose meaning. There are three reasons:
- The task space is too large. Open-ended problems have no single solution path, and model performance depends heavily on the problem distribution. A model that leads on competition problems may be mediocre at engineering estimation or numerical stability analysis.
- Evaluation criteria are inconsistent. Some look at whether the final answer is correct, some at whether the reasoning process is auditable, and some only at end-to-end latency and cost. These three often lead to contradictory conclusions.
- Constraints get ignored. Real systems also have quotas, queuing, concurrency limits, and budget cycles. No matter how capable a model is, if you cannot get compute for it, it is effectively unusable.
So the more professional approach is to first decompose “capability” into measurable dimensions, then bring “usability” in as an independent dimension in the decision.
2. Capability Tiers: Splitting Math Tasks into Four Levels
It helps to divide tasks into four layers by cognitive load and increase the pressure layer by layer during evaluation:
- L1 Calculation and transformation: symbolic simplification, equation solving, standard integrals. Assess accuracy and format stability.
- L2 Multi-step reasoning: requires 5–15 steps of logical connection, where intermediate conclusions affect later branches.
- L3 Open-ended construction: requires introducing auxiliary structures, case analysis, and constructing counterexamples. Assess “whether it goes down the wrong path and self-corrects.”
- L4 Research-level exploration: the problem statement itself is vague, and the model must first clarify assumptions before solving. Here the only meaningful metric is process auditability.
The mistake most teams make is selecting models using only L1/L2 problems, then hitting a quality collapse in L3/L4 scenarios.
3. Metric Design: Three Things to Look at Beyond Accuracy
3.1 Process Verifiability
Have the model output intermediate lemmas and key inequalities so they can be checked manually or programmatically. A sample evaluation record structure:
{"task_id": "open-0421","level": "L3","final_correct": false,"self_correction": true,"reasoning_steps": 42,"audit_findings": ["Corrected the reversed inequality direction at step 3 on its own"]}
3.2 Reasoning-Chain Complexity, Not Length
Longer does not mean stronger. What matters more is the number of branches, the number of backtracks, and the redundancy. A concise but correct reasoning chain has more engineering value than a long one that repeatedly overturns itself, because the latency and cost of the latter are unpredictable.
3.3 Stability
The consistency rate across multiple samples of the same problem. On open-ended problems, excessive variance means it cannot be used in an automated pipeline.
4. Relative Positioning: Use Anchors Instead of Absolute Rankings
Rather than arguing over absolute placement, build an internal anchor set: pick 20–30 problems that genuinely appear in your business, fix the random seed and prompt template, and run only this set each time a new model is onboarded to get a relative shift. In practice you tend to see a tiered pattern: a few models clearly lead on open-ended problems, the second tier trades wins on writing naturalness and reasoning conciseness, and the third tier is roughly on par with the previous generation’s flagship. This “generational crossover” is common and shows that inferring capability from version numbers is unreliable.
5. Engineering Constraints: Credits, Queuing, and Budget
Beyond capability, quota mechanisms substantially affect architecture choices. Common forms are periodically granted call credits, peak-time rate-limiting queues, and concurrency caps. If credits are about to expire and the queue is severe, spending them on a small number of high-value tasks and burning through them quickly is more economical than leaving them idle long-term. Engineering recommendations:
- Build a tiered task queue: route L3/L4 to a strong-reasoning channel and L1/L2 to a low-cost channel;
- Set timeouts and fallback strategies for the strong-reasoning channel to avoid queuing dragging down overall latency;
- Log the credit consumption of each call to form a unit-cost curve.
def route(task):if task.level in ("L3", "L4"):return strong_reasoning_channel(task) # high quota, may queuereturn cheap_channel(task) # low latency, low cost
6. A Reproducible Evaluation Workflow
- Fix the problem set and prompt templates, and do not modify them during evaluation;
- Sample each problem multiple times, recording accuracy, variance, step count, and credit consumption;
- Manually spot-check the reasoning chains for L3/L4 and label error types;
- Output a two-dimensional conclusion: a capability quadrant plus a cost quadrant, rather than a single leaderboard.
7. Common Pitfalls
- Replacing business evaluation with a single leaderboard;
- Treating reasoning-chain length as a capability signal;
- Ignoring rate limits and quotas, leading to unavailability after launch;
- The linear assumption that a higher version number means a stronger model.
8. Conclusion
Open-ended mathematical capability is currently the dimension where models differ most, but selection cannot rest on this alone. By tiering tasks, breaking metrics down finely, factoring quotas and queuing into the model, and pairing this with a reproducible internal anchor set, you can make stable, auditable, and evolvable technical decisions under budget constraints. If you need elastic compute and a unified logging, monitoring, and alerting system to carry the evaluation pipeline, you can build it on the general cloud product categories offered by Baidu AI Cloud.
