Evaluating and Selecting Large Models for Math Reasoning: A Layered Methodology
"Which model is better at math" turns into an argument almost every time, mostly because "math ability" itself is never defined. This article breaks that ability into five observable layers (L1–L5), explains why the real gap sits at L3–L4 rather than L1–L2, and shows how to build an evaluation that resists false positives: repeated sampling to measure variance, numerical perturbation to separate capability from memorization, and process scoring decoupled from answer scoring. It covers why chain-of-thought length and reasoning complexity are orthogonal variables with an inverted-U payoff, why open-ended modeling questions are the real dividing line, how measurable writing quality and long-context reasoning boundaries behave in practice, and how to turn evaluation results into a layered routing and regression setup instead of a single leaderboard. A reusable evaluation skeleton, three decision-oriented derived metrics, and a checklist of common mistakes are included.
1. Break “Math Ability” into Observable Layers
The reason “which model is stronger at math” so often turns into a shouting match is that “math ability” was never defined. A practical fix is to establish a capability hierarchy first, then design an observation method for each layer. The layering below is widely accepted across the industry:
| Level | Capability | Main observation method | Typical failure mode |
|---|---|---|---|
| L1 Arithmetic and symbolic manipulation | Basic operations, unit conversion, algebraic rearrangement, equation solving | Automatic grading of objective questions | Carry errors, dropped signs |
| L2 Standard problem types | Textbook examples, routine competition problems, single correct answer | Answer matching plus sampling stability | Applying the wrong formula, skipping conditions |
| L3 Multi-step composite reasoning | Chaining 10+ steps, spanning multiple knowledge points | Process scoring plus intermediate-value checks | Drifting off track, no self-correction |
| L4 Open-ended modeling | Incomplete problem statement; the model must add assumptions and construct the model | Joint human/model review plus verifiable conclusions | Avoiding assumptions, unverifiable conclusions |
| L5 Research-level exploration | Proposing conjectures, constructing counterexamples, sketching reproducible proofs | Expert review plus multiple iterations | Plausible-sounding but empty output |
The key judgment: L1 and L2 have been largely solved by most mainstream models; the real gap is concentrated in L3 through L4. Many comparisons reach opposite conclusions simply because one side is testing L1/L2 while the other is testing L4. They are measuring different things.
2. Picking the Right Answer Is Not the Same as Doing Math
The biggest trap in automated evaluation is the false positive. Fill-in-the-blank and multiple-choice formats have naturally high pass rates, because a model can land on the right answer through enumeration, dimensional guessing, or option elimination while the intermediate reasoning is entirely wrong. Three hardening measures are necessary:
1. Sample multiple times and look at variance. A single pass@1 run is extremely unstable. If you sample the same problem 5 to 10 times in a row and the accuracy swings from 0.1 to 0.9, the discrimination of that item comes from randomness rather than capability. Filter the benchmark for discrimination first.
2. Verify with numerical perturbation. Replace the key parameters in a problem with new values while leaving the rest of the wording unchanged. A model that genuinely masters the method should keep roughly the same accuracy; a model that hits the answer by memorizing the problem statement will drop noticeably. This is the cheapest way to detect benchmark contamination.
3. Decouple process scoring from answer scoring. Record “is the conclusion correct” and “is the reasoning verifiable” separately. For L3 and above, use a scoring rubric that requires the model to expose its intermediate values explicitly, for example: a list of assumptions, key lemmas, dimensional and boundary checks, and a final back-substitution check. An answer without a verification step should lose points even when the conclusion happens to be correct.
Here is an evaluation skeleton you can reuse (pseudocode; the model access layer is your own wrapper):
from dataclasses import dataclass, field@dataclassclass Case:cid: strprompt: stranswer: str # reference answer or an executable checkerparams: dict = field(default_factory=dict)level: str = "L3" # capability level label@dataclassclass Sample:ok: boolprocess_score: float # process score, 0~1reasoning_tokens: intlatency_ms: intcost: floatdef eval_case(case: Case, client, k: int = 8) -> dict:results = [run_once(case, client) for _ in range(k)]return {"cid": case.cid,"level": case.level,"avg_score": mean([s.ok for s in results]),"std": pstdev([s.ok for s in results]), # large variance -> weak discrimination"process": mean([s.process_score for s in results]),"tokens": mean([s.reasoning_tokens for s in results]),"cost_per_correct": total_cost(results) / max(1, sum(s.ok for s in results)),}def eval_perturbed(case: Case, client, k: int = 8) -> float:"""Re-evaluate after substituting key parameters: capability vs. memorization"""mutated = case.model_copy(update={"params": resample(case.params)})return eval_case(mutated, client, k)["avg_score"]
Three derived metrics carry more decision value than raw accuracy: mean process score (separates “guessed right” from “worked it out”), sampling standard deviation (separates capability from luck), and cost per correct answer (folding token consumption and latency into the denominator is what makes a number usable for selection).
3. Chain-of-Thought “Length” and “Complexity” Are Two Different Variables
Many evaluation write-ups treat “a longer chain of thought” as equivalent to “stronger.” That inference is wrong. They are orthogonal dimensions:
- Length is the volume of output tokens, and it maps directly onto cost and latency;
- Complexity is the structural shape of the reasoning: how many branches, how many backtracks, whether external computation is called, whether auxiliary variables are introduced.
The pattern that shows up in practice is an inverted U. Too short and steps get skipped; too long and you get “overthinking”: the same constraint restated over and over, continued divergence on conclusions already settled, and sometimes overturning a previously correct step. The signal that actually reflects the ceiling of a model’s ability is not length but the effectiveness of self-correction: can the model locate its own error inside its reasoning and recompute? Measuring that requires keeping the full reasoning trace and sampling it for human review, not just looking at the final answer.
Practical advice: plot “average reasoning tokens” and “mean process score” on the same scatter chart. Models landing in the “low tokens, high process score” quadrant are usually the best value per unit cost; models in the “high tokens, low process score” quadrant are performing reasoning with no payoff, and you should either lower the reasoning budget or switch to a stronger model. Also cap the reasoning budget so long chains do not burn out of control in low-cost scenarios.
4. Why Open-Ended Math Problems Are the Dividing Line
Standard problem types carry complete information; open-ended problems carry incomplete information. They ask the model to do four things a textbook problem never requires:
- Identify the missing conditions and proactively fill in assumptions, rather than silently applying a formula;
- Choose an appropriate modeling paradigm (discrete or continuous, exact or approximate);
- Construct verifiable conclusions, for example a reproducible worked example, a boundary case, or a numerical approximation;
- Stay consistent across multiple rounds of follow-up, not abandoning a correct conclusion just because the user pushes back.
Evaluating L4 capability therefore cannot rely on one-shot question answering. Design a multi-round script: in the first round give an incomplete problem statement and see whether the model asks questions; in the second round offer misleading advice and see whether the model follows it blindly; in the final round ask for a verification method and see whether the conclusion is reproducible.
The engineering counterpart is to give the reasoner a verification loop: let the model hand computation off to a code execution environment, then feed the results back into the reasoning chain; for the parts that can be formalized, cross-check with constraint solving or numerical simulation. This “generate–execute–verify” loop typically improves L4 performance far more than swapping the model alone. Make sure the sandbox is isolated, with resource and network-egress limits, so untrusted generated code cannot reach the host environment.
5. Writing Quality and “Human Feel” Are Measurable
In long-form output, report generation, and code documentation, a model’s writing style directly drives downstream editing cost. Two proxy metrics can quantify it:
- Human edit rate: the proportion of characters experts actually change before accepting the model’s output; lower is better;
- Structural consistency: whether terminology is used consistently, whether the hierarchy follows conventions, and whether a given template is respected.
The rubric can include checkbox items such as “does the opening need a rewrite,” “is the conclusion stated up front,” and “are there transitional sentences that carry no information.” That is far more reproducible than subjective judgments about whether something “reads smoothly.” Models with concise reasoning often win here: a clear reasoning path makes the output naturally closer to a human author’s cadence, with less rework.
6. The Real Boundary of Long Context and Long-Chain Reasoning
A claimed context length is not the same as an effective context length. When testing long-context reasoning, a high pass rate on needle-in-a-haystack retrieval does not prove the model can perform multi-hop reasoning over long material. Designs closer to real tasks are:
- Multi-hop dependencies: the answer requires chaining three or more facts scattered across different parts of the document;
- Position perturbation: place the critical information at the beginning, the middle, and the end separately, and watch how accuracy varies with position;
- Conflict resolution: put contradictory values in the document and see whether the model flags the conflict instead of arbitrarily picking one.
The engineering answer here is not to blindly extend the window, but “retrieval plus layered summarization plus global reordering”: first use vector retrieval to narrow down candidate passages, then produce structured summaries of those candidates, and finally let the model reason over the compressed material. This also lowers cost and latency.
7. From Evaluation to Selection: Layered Routing and Regression
Once you have evaluation data, the correct move is to plot a cost–quality Pareto frontier, not to rank everything on one leaderboard. What usually gets deployed is layered routing:
User request└─ intent classification / difficulty estimation (lightweight model or rules)├─ L1-L2: small-parameter model answers directly + result caching├─ L3: mid-tier reasoning budget model, with one self-check└─ L4-L5: strong reasoning model + code execution + multi-round verification loop
The reliability work that goes with it includes: persisting evaluation results so versions can be compared; running the same scripts automatically as a regression suite after every model upgrade; and on the serving side, logging prompt/response summaries and using monitoring alerts to track failure rate, average tokens, and timeout rate, so you do not end up with “offline metrics up, production experience down.”
On the cloud, this pipeline can usually be assembled from general-purpose capabilities: evaluation jobs run on a container platform and scale elastically on demand, the question bank and evaluation results accumulate in object storage, and model capabilities are accessed through a unified model platform over standard interfaces, which makes horizontal comparison across versions possible with one set of scripts. A managed model platform from a cloud provider such as Baidu AI Cloud can serve as one implementation choice, but the selection decision should still come back to the cost–quality frontier and the regression mechanism described here, rather than a single leaderboard ranking.
8. A Checklist of Common Mistakes
- Drawing conclusions from one or two problems and ignoring sampling variance;
- Testing only standard problem types and avoiding open-ended ones, so the model you pick regresses on real work;
- Treating chain-of-thought length as a capability signal and paying for output with no payoff;
- Looking only at answer accuracy with no process scoring, which cannot separate “worked it out” from “guessed it”;
- Using retrieval-style long-context tests in place of multi-hop reasoning tests;
- Leaving the evaluation set untouched for too long, so once models memorize the items the metrics look inflated;
- Spending a large budget on strong models in one shot with no layered routing, so cost runs away.
9. Closing Thoughts
“The model is stronger at math” is an unfalsifiable claim. “On our own 300 L3/L4 problems, sampled 8 times each, the mean process score and cost per correct answer were X and Y” is a falsifiable one. Turning subjective impressions into layered definitions, a contamination-resistant question bank, repeated sampling, process scoring, and cost metrics is the only path that moves model capability assessment from argument to decision. The evaluation framework itself has to keep evolving: the question bank needs rolling updates, the rubric needs to track business changes, and the metrics have to answer both “is the quality good enough” and “can we afford the price” at the same time.
