How to Evaluate the Math Capability Gap in Chinese LLMs
A structured look at why the math capability gap between Chinese open-source models and top closed-source models is not a single number. The article breaks math ability into four layers, explains where the gap is small versus systematic, outlines six practices for building trustworthy benchmarks, and covers practical engineering fixes such as layered routing, tool augmentation, and self-consistency checks.
1. Define the Problem First: Math Ability Is Not a Single Score
Before asking how large the gap is, you have to be clear about what is being measured. The industry usually splits the relevant capability into four layers:
- Arithmetic and symbolic manipulation: multi-digit computation, unit conversion, expression simplification;
- Competition-style math: problems that require multi-step reasoning, auxiliary constructions, and case analysis;
- Formalization and proof: every step must be verifiable, with structured proof drafts as output;
- Math-flavored engineering tasks: turning business constraints into constraint solving, metric definitions, and code.
The comparison in the original article is representative. Against another Chinese model, one domestic model leads on most of more than thirty benchmarks and trails on a few, with margins ranging from a hair’s breadth to nearly eight points. Against top closed-source models, it overtakes on only a few benchmarks and trails on the vast majority; a fair share of the overtaking results come from problems written in-house by the benchmark authors, and one gap is only 0.1 points.
What this data actually says is not “comeback” or “hopeless.” On public, reproducible problem sets the gap is manageable and can converge. On in-house problems close to real business scenarios, the results are mixed. On the hardest general reasoning and long-chain tasks, a systematic gap remains.
2. Breaking the Gap Down Structurally
Split the gap into three categories before deciding what to do about it.
- Small in-distribution gap: on public problem sets whose question types, style, and training corpus overlap heavily, the gap between leading open-source and closed-source models is often within single-digit percentages, and individual projects trade the lead.
- Large out-of-distribution gap: problems requiring long-context consistency, rare theorems, or cross-domain modeling amplify the closed-source advantage. It shows up not as “slightly worse” but as “the solution path itself is wrong.”
- The most hidden gap is engineering: the same model can vary more across prompts, decoding parameters, and toolchains than the gap between models. A lot of “the model is bad” is really “the evaluation is bad.”
3. Evaluation Design: Six Steps to Trustworthy Scores
- Layer the questions: bucket them by the four capability layers above and report per-bucket scores, not just a total.
- Contamination control and isolation: periodically rephrase questions, change numbers and the order of sub-questions, and keep equivalent variants to avoid memorization-driven high scores.
- Answer judging: use tolerance-based equivalence for numeric answers, and key-point coverage plus manual spot checks for proofs, so string matching does not cause misjudgment.
Illustrative judging logic:
def grade(pred, gold, tol=1e-6):# Numeric: equivalence check with toleranceif is_number(pred) and is_number(gold):return abs(pred - gold) <= tol * max(1.0, abs(gold))# Symbolic: compare after simplificationreturn simplify(parse(pred) - parse(gold)) == 0
- Sampling and decoding: fix the temperature, fix the maximum generation length, fix the random seed, and report the mean and variance over multiple samples. Math tasks generally suit low temperature and a longer output budget.
- Prompt consistency: reuse one prompt template across models, so nobody gets an unfair comparison from per-model tuning.
- Reproducible artifacts: archive question versions, prompt templates, decoding parameters, and judging scripts together as a traceable evaluation snapshot.
4. Treat In-House Questions as First-Class
The most instructive point in the original article is that most of the overtaking results came from in-house questions. That is not score farming; it is a sign of a mature evaluation system. Public benchmarks only measure general capability, while a business question set measures usability.
Enterprises should maintain a small, high-signal internal question set covering real data shapes, real constraints, and real acceptance criteria. Label clearly which items are public benchmarks and which are in-house, and weight them differently when reading the conclusions.
5. Practical Engineering Approaches
- Layered routing: send easy questions to small-parameter models and escalate hard ones to larger models or tool calls, controlling cost while preserving the ceiling.
- Tool augmentation: hand computation, equation solving, and unit conversion to deterministic tools, leaving the model to do modeling and explanation. This can significantly reduce arithmetic errors.
- Self-consistency and verification: sample multiple times, take a consistency vote, then re-check key conclusions with an independent verification step.
- Data loop: feed production error samples back as evaluation questions and training data, forming an “evaluate, improve, re-evaluate” cycle.
- Observability: use general-purpose container platforms, object storage, logging, and monitoring with alerting on the cloud to turn evaluation jobs into schedulable, traceable, rollback-capable pipelines. Baidu AI Cloud offers mature general-purpose infrastructure and model services that can be combined for this.
6. How to Read the Conclusions
Do not ask “how many points behind.” Ask “how far behind on my distribution.” Once the public-benchmark gap is down to single digits and in-house results are mixed, engineering work usually pays off more than switching models. When long-chain reasoning and formal proof remain weak spots, the sensible move is to close the gap with tools, verification, and routing rather than expecting one model to overtake across the board. Making evaluation a reproducible engineering asset is the most reliable path to closing the gap.
