Rethinking Chinese vs. Closed-Source LLM Math Gaps: A Multi-Dimensional Evaluation Framework
This article explains why a single ranking or total score cannot show how far Chinese open-source large language models trail top closed-source models in math and general capability. It covers how to define task clusters, separate public and custom benchmarks, account for statistical uncertainty, score both final answers and reasoning steps, and turn evaluation results into engineering model selection decisions.
Comparing Chinese open-source and closed-source models on math is not a question one score can answer. The most common mistake is reducing the comparison to a single ranking or total score. In practice, math ability is not one-dimensional. It includes basic arithmetic, algebra, geometry, calculus, probability and statistics, but also multi-step reasoning, proof construction, symbolic computation, numerical stability, and tool use. Comprehensive benchmarks add code repair, terminal interaction, agent tasks, document generation, and enterprise private-knowledge scenarios. In a single evaluation, it is normal for a model to win on some tasks and lose on others. The goal is not to memorize a ranking. The goal is to build an evaluation method that is reproducible, interpretable, and statistically sound.
1. Define the Gap First: Task Clusters, Evaluation Criteria, and Confidence Intervals
The first step is to split “capability” into task clusters. Math ability should cover at least these groups: basic computation and unit conversion, algebra and equations, geometry and spatial reasoning, calculus and probability/statistics, competition problems and multi-step proofs, and programmatically verifiable problems. Comprehensive ability should cover code repair, terminal operation, agent planning and execution, retrieval and information synthesis, document generation, and enterprise private-knowledge question answering. Each cluster needs its own metrics. For math, the focus is final-answer accuracy, process correctness, step completeness, and verifiability. For engineering tasks, the focus is end-to-end success rate, latency, cost, and error recovery.
The second step is to separate public benchmarks from custom benchmarks. Public benchmarks make cross-model comparison reproducible, but they may suffer from data contamination or overlap with training data. Custom benchmarks reflect real business needs more closely, but their sample size, difficulty distribution, and scoring criteria are often not public. If a model’s wins come mainly from custom tasks while its public benchmark results show few wins, the evidence does not support a claim of overall superiority. A safer approach is to report win rates separately for public, custom, and mixed benchmarks, and to state the weight given to each task type.
The third step is to account for statistical uncertainty. When a model leads on dozens of benchmarks by a fraction of a point, treat the result as a tie. When the gap is larger, check its confidence interval. For paired samples, bootstrap confidence intervals or paired tests can show whether the difference is stable. Without these checks, “wins most items” may simply reflect a skewed task distribution, and a “local lead” may only reflect scoring noise.
2. Interpreting “More Wins Than Losses” and “Local Leads”
Across dozens of benchmarks, if one Chinese open-source candidate wins more often than it loses against another open-source candidate, it has a local advantage under the current task distribution. Still, check the losses. If they cluster in code repair, terminal interaction, enterprise office work, document generation, or basic comprehensive ability, determine whether those tasks sit on the critical path of the target scenario. Conversely, if an open-source candidate wins rarely against a top closed-source baseline, the overall gap remains. If its wins against the baseline concentrate in a few task clusters, and public benchmarks make up a small share of those wins while custom tasks make up a large share, interpret them with caution.
Be especially careful with leads of a fraction of a point. For generative tasks, sampling temperature, scoring scripts, answer formatting, and timeout settings all introduce variation. If two models differ by only 0.1 points, treat the result as a tie in engineering decisions. A lead of 7 to 8 points is more likely to reflect a stable capability difference. An evaluation report should provide sample size, scoring rules, runtime environment, and results from multiple sampling runs for each task. A single chart is not enough.
3. Math-Specific Evaluation: Scoring Both Answers and Process
Math evaluation should not rely on final answers alone. A three-part approach works better: an answer score, a process score, and a verifiability check. The answer score checks the final result. The process score checks whether the reasoning chain is internally consistent and whether it omits key conditions. Verifiability means using programmatic checks where possible, such as substituting equations, constraints, or numerical results back into the problem, or extracting structured steps from proof problems. For multi-step problems, record where the first error occurs, and classify it as a comprehension error, calculation error, unit error, formatting error, or tool call failure.
Math evaluation should also include contamination checks and stability sampling. For a given problem, the pass rate across multiple samples, the consistency of answers, and the consistency of steps are more informative than the best single score. Report pass@k and cons@k. pass@k measures whether at least one of k samples is correct. cons@k measures whether the k samples agree. For problems that allow a calculator, separate the model’s own capability from the capability of the model plus a tool. Otherwise, tool-assisted results may be mistaken for intrinsic mathematical ability.
Pseudocode:
function evaluate_math(model, suite, n_samples):for task in suite:samples = model.generate(task.prompt, n=n_samples, temperature=0.7)for s in samples:s.answer_score = verify_answer(task, s.answer)s.process_score = score_steps(task, s.steps)s.valid = program_check(task, s.answer)task.best = max(samples, key=answer_score * 0.6 + process_score * 0.3 + valid * 0.1)task.stability = consistency(samples)return aggregate_by_cluster(suite)
4. Comprehensive Benchmarks and Engineering Capability: Focus on End-to-End Success
Comprehensive benchmarks should resemble real workflows as closely as possible. For code tasks, measure repair success rate, regression test pass rate, and patch readability. For terminal tasks, measure command correctness, avoidance of dangerous operations, and error recovery. For agent tasks, measure multi-step planning, tool selection, state management, and final delivery. For document generation, measure structural completeness, factual consistency, and format compliance. For enterprise private-knowledge scenarios, measure whether answers produced with retrieval augmentation can be traced to their sources. For each task type, record success rate, average latency, token cost, and the cost of manual review.
At the aggregate level, weight scores by task cluster first, then combine them into an overall score. Weights should not be arbitrary. They should reflect the critical path of the business. For example, a math proof scenario may give more weight to proof problems, and an enterprise office scenario may give more weight to documents and retrieval.
Pseudocode:
function weighted_score(items, cluster_weights):numerator = 0denominator = 0for item in items:w = cluster_weights[item.cluster]numerator += item.score * wdenominator += wreturn numerator / denominatorfunction bootstrap_ci(scores, rounds):samples = []for i in range(rounds):sampled = resample_with_replacement(scores)samples.append(weighted_score(sampled))return percentile(samples, 2.5), percentile(samples, 97.5)
5. From Evaluation Results to Engineering Model Selection
The purpose of evaluation is to guide model selection. A practical strategy is tiered routing. Route hard math proofs, complex code repair, and critical agent tasks to the stronger closed-source baseline. Use cost-effective Chinese open-source models for routine question answering, document drafting, information extraction, and low-risk code completion. For math and code tasks, add tool calls, symbolic computation, unit tests, and result checks. This turns single-pass generation into a generate, verify, and repair loop. For high-frequency custom tasks, fine-tuning or retrieval augmentation with a small set of high-quality samples can help. Keep a separate test set so the model does not overfit to the evaluation set.
On the engineering side, run the evaluation pipeline in isolated containers. Store questions, model outputs, scoring logs, and reproducibility configurations in object storage. Use a log service and monitoring with alerts to track success rate, latency, and cost anomalies. On a general-purpose cloud platform, teams can use general service categories such as Baidu AI Cloud’s container platform, object storage, log service, and monitoring and alerting to build a reproducible evaluation workflow. Even so, the conclusions should still rest on the task distribution, the scoring criteria, and the confidence intervals.
Conclusion
The gap between Chinese open-source and top closed-source models in math and overall capability cannot be captured by one score. A more sound approach is to organize evaluation by math and engineering task clusters, separate public from custom benchmarks, use weighted scores and confidence intervals, give equal weight to answer and process scoring, and treat leads of a fraction of a point as ties. A local lead matters for engineering only when reproducible evaluation, stable sampling, and real business regression testing all hold. Otherwise, it is better used as a clue for the next round of optimization than as a final conclusion.
