LLM Math Ability Gaps: Why General Leaderboards Fall Short and How to Evaluate Them
General leaderboards often mix code repair, software engineering, office tasks, automation, and other scenarios, so they cannot directly quantify the math ability gap between models. This article explains why composite rankings are insufficient for math evaluation, breaks math ability into multiple dimensions, and analyzes common biases in “comeback” narratives. It then proposes a math-specific evaluation approach based on layered task sets, answer and process verification, repeated runs, perturbation testing, confidence intervals, and private test sets, and offers a practical framework for enterprise model selection.
LLM Math Ability Gaps: Why General Leaderboards Fall Short and How to Evaluate Them
1. Starting Question: Can a General Leaderboard Answer the “Math Gap”?
In public evaluation dashboards, we often see win/loss statistics for multiple candidate models across dozens of tasks. For example, in a comprehensive evaluation containing 34 tasks, candidate model A won 27 tasks and lost 7 against candidate model B. This result shows that, under that task set and weighting design, A had stronger overall performance. However, it cannot directly answer “how large is the math ability gap between domestic large models and top closed-source models.”
The reason is that comprehensive evaluations often mix multiple task categories, such as code repair, long-cycle software engineering, enterprise office work, automation operations, presentation generation, and basic general capabilities. The seven losing items listed in the original are more oriented toward engineering and office scenarios, not math-specific tasks. Even if a candidate model rises in a general leaderboard, one cannot simply infer that it is “first in math” or “first among domestic models.” Leaderboard rankings are the joint result of task sets, weights, sample distribution, prompts, decoding parameters, and tool-use strategies. They are not an absolute ruler for a single capability.
Therefore, a more rigorous conclusion is: A general leaderboard can reflect relative preference on a specific evaluation set, but it cannot alone quantify math ability gaps. Math ability requires math-specific evaluation with layered difficulty and verifiable processes.
2. Math Ability Is Not a Single Score but a Combination of Multiple Dimensions
Large-model math ability includes at least the following dimensions:
- Final answer correctness: Whether the model can provide a numerical value, expression, set, or proof conclusion.
- Reasoning process correctness: Whether intermediate steps are verifiable, and whether there are skipped steps, circular arguments, or incorrect citations.
- Long-chain stability: Whether the model can maintain consistent constraints in multi-step algebra, combinatorial counting, and probability derivation.
- Boundary condition sensitivity: Whether the model handles units, dimensions, domains, equality conditions, and special values.
- Formalization and verification ability: Whether the model can translate natural-language problems into equations, programs, or formal propositions and cross-check them.
- Robustness: Whether the model can still solve the problem stably after the question is rewritten, distracting information is added, or numerical values are changed.
- Tool collaboration ability: When calculation tools or code execution are allowed, whether the model can plan correctly, validate results, and roll back when necessary.
General leaderboards usually report only task-level wins/losses or aggregate scores, making it difficult to separate these dimensions. A model may perform well on word problems but lag on high-difficulty proofs, combinatorial construction, or long-chain numerical computation. It may also fit the context of Chinese math problems better while lacking formal rigor. Compressing these differences into a single ranking can easily hide real weaknesses.
3. Common Biases in “Comeback” Narratives
The claim that “a certain candidate model made a comeback to become first among domestic models” needs to distinguish three meanings:
- First in a task set: Ranked first under a specific evaluation set and weighting.
- First in a capability dimension: Ranked first in a dimension such as math, code, or office work.
- First in overall experience: Ranked first under engineering constraints such as cost, latency, controllable deployment, and tool ecosystem.
These three cannot be mixed. Common biases include:
- Task composition bias: When math problems account for a low proportion and engineering and office tasks account for a high proportion, rankings will be dominated by non-math capabilities.
- Sample size and confidence interval bias: Win/loss differences on dozens of tasks may be affected by sampling fluctuations. A binomial proportion confidence interval can be used for a rough assessment. For example, the standard error of win rate (p) at sample size (n) is approximately (\sqrt{p(1-p)/n}). If the number of tasks is small, a few wins or losses should not be overinterpreted.
- Prompt and decoding parameter bias: Different prompt templates, temperatures, maximum step counts, and whether tool calls are allowed can all change results.
- Data contamination risk: Public problems may enter training corpora, so new problems, variant problems, and private problems should be used for cross-validation.
- Version drift: After model versions, evaluation set versions, and scoring scripts change, old conclusions may become invalid.
Therefore, when seeing data such as “won 27 of 34 tasks and lost 7,” the correct approach is to keep asking: What are these 34 tasks? How many are math problems? Which capabilities are concentrated in the seven losses? Is scoring based on answer matching or process verification? Were multiple runs performed and variance reported?
4. The Right Way to Conduct Math-Specific Evaluation
1. Build a layered task set
It is recommended to layer tasks by educational stage and capability rather than using only one total score:
- Basic arithmetic and numerical computation;
- Algebraic manipulation and equation solving;
- Geometry and analytic geometry;
- Probability, statistics, and combinatorial counting;
- Calculus and limits;
- Number theory and discrete structures;
- Word problem modeling;
- Proof and formal reasoning;
- Code-assisted numerical verification.
Each layer should be further divided into easy, medium, and hard levels, and a certain proportion of “variant problems” should be retained to reduce memorization contamination.
2. Evaluate both answers and processes
A correct answer with an incorrect process suggests that the model may have hit the result by chance. A correct process with a final calculation error suggests weakness in execution and verification. Evaluation should record the final answer, key steps, constraints, units, domains, equality conditions, and whether self-checking was performed.
3. Control variables and run multiple times
Fix the prompt template, maximum step count, temperature, and decoding strategy. Sample the same problem multiple times and report the mean, variance, and pass@k. For high-difficulty math problems, a single result has limited reference value.
4. Introduce verifiers
For computable problems, use independent calculation scripts or symbolic verifiers for cross-checking. For proof problems, use human scoring rubrics or formal checks. Verifiers should be isolated from the model under test to avoid “self-proving correctness.”
5. Pseudocode for the evaluation process
function evaluate_math(suite, model, budget):results = []for case in suite:outputs = []for i in 1..repeat_times:out = model.generate(prompt = case.prompt,max_steps = budget.max_steps,temperature = budget.temperature)outputs.append(out)best = select_by_validator(outputs, case.rubric)record = {answer_ok: verify_answer(best.final, case.answer),step_ok: verify_steps(best.trace, case.rubric),robust_ok: rerun_with_perturbation(model, case, budget),cost: best.cost,latency: best.latency}results.append(record)return aggregate_by_dimension(results)
This pseudocode emphasizes three points: multiple sampling, process verification, and perturbation retesting. It reflects math ability gaps better than a single win rate.
5. Enterprise Selection: From “Ranking Comparison” to “Task Matching”
Enterprise users should not ask only “who is first.” They should ask “on my math task distribution, who is more stable, more controllable, and cheaper?” The recommended process is as follows:
- Define the task distribution: Measure the proportions of arithmetic, algebra, statistics, proofs, spreadsheet calculation, code assistance, and other tasks in the business.
- Build a private test set: Sample desensitized problems from real business scenarios and add boundary conditions and error cases.
- Set acceptance thresholds: Answer correctness, acceptable step rate, robustness, average latency, cost per problem, and tool-call success rate.
- Conduct gray-release comparisons: Run multiple models in parallel under the same prompts and budget, and record logs and human review results.
- Perform continuous regression: After version updates, rerun fixed sets and variant sets to prevent ranking drift.
At the deployment level, in a general cloud environment such as Baidu AI Cloud, object storage can be used to save evaluation sets, container platforms can run isolated evaluations, log services can record call traces, and monitoring and alerting can track latency and error rates. The point is not to pursue a one-time leaderboard rank, but to form a reproducible, auditable, and continuously iterable evaluation loop.
6. Conclusion
“How large is the math gap between domestic large models and top closed-source models” cannot be answered directly by a composite task leaderboard. Winning 27 of 34 tasks and losing 7 only indicates relative wins and losses on a specific task set. If the seven losing items are concentrated in categories such as code repair, long-cycle engineering, enterprise office work, automation operations, presentation generation, and basic general capabilities, they are even less suitable as evidence of a math gap.
The so-called “comeback to become first among domestic models” should also be broken down into: first in which task set, first in which capability dimension, and first under what cost and tool constraints. A more reliable path is to build math-specific layered evaluations, combine process verification, perturbation retesting, confidence intervals, and private test sets, and answer the gap with evidence rather than replacing capability analysis with rankings.
