Evaluating Chinese LLMs: A Practical Guide to Benchmarks and Model Selection
Public leaderboard rankings show relative model positions under fixed datasets and scoring rules, not whether a model can reliably deliver on your own business traffic. This guide explains the limits of public benchmarks and arena-style comparisons, the five-layer structure of a trustworthy evaluation system, how to build an internal evaluation set from real logs, how to wire quality gates into CI/CD, and how to validate serving performance and cost. It includes sample aggregation code, a preference-set schema, and a gate configuration.
1. Why “Ranked First” Does Not Mean Production-Ready
Public evaluations of Chinese LLMs often report a model topping both composite benchmarks and arena-style comparisons. Such results are useful input for technical selection, but they answer a different question: “Where does the model stand relative to others under a given sample distribution and a given scoring rule?” They do not answer “Can this model deliver reliably on my business data?” Conflating the two is the most common source of misjudgment during selection.
The limitations of evaluation conclusions come from four sources. First, sample distribution shift: the question style, length distribution, and domain mix of public benchmarks often differ from real business traffic. Second, scoring differences: rule-based matching metrics, similarity metrics against reference answers, and preference judgments made by strong models or humans can rank the same output differently. Third, prompt sensitivity: score variance across prompt templates and decoding parameters can, for a single model, exceed the gap between models. Fourth, data contamination: when evaluation samples or close paraphrases enter the training corpus, scores are systematically inflated.
A more reliable approach is therefore to treat public evaluations as a coarse filter that produces a shortlist, and to treat a self-built evaluation set as the basis for the final decision.
2. Anatomy of a Benchmark: From Questions to Scores
A credible Chinese evaluation system typically has five layers; missing any one of them makes the conclusions fragile.
- Task layer: coverage of knowledge QA, reading comprehension, logical reasoning, math and code, long-document summarization, multi-turn dialogue, instruction following, and content safety.
- Sample layer: enough questions per task category, explicit difficulty tiers, and verifiable reference answers or scoring points.
- Scoring layer: exact match or numeric tolerance for objective items; point coverage, factual consistency, and format compliance for generative items; preference comparison for open-ended items.
- Aggregation layer: normalize across tasks first, then apply business weights, so that a large volume of easy questions cannot inflate the total score.
- Stability layer: repeated sampling, multiple random seeds, and multiple prompt templates, reporting means and confidence intervals rather than a single best run.
The aggregation logic can be sketched as:
# Illustrative implementation: normalization + business-weighted aggregationdef normalize(score, lo, hi):if hi == lo:return 0.0return max(0.0, min(1.0, (score - lo) / (hi - lo)))def aggregate(task_results, weights):# task_results: {task_name: (raw_score, lo, hi)}total, wsum = 0.0, 0.0for name, (raw, lo, hi) in task_results.items():w = weights.get(name, 0.0)total += w * normalize(raw, lo, hi)wsum += wreturn total / wsum if wsum else 0.0
3. The Statistics of Arena-Style Comparisons and Common Misreadings
Arena-style leaderboards are built on pairwise blind testing: for the same question, two anonymous model outputs are shown, a reviewer picks the better one, and a statistical model converts a large number of pairwise results into comparable rating scores with uncertainty intervals.
Understanding this makes three common misreadings easy to spot. First, reading only the point estimate and ignoring the interval: if two models’ intervals overlap substantially, the practical meaning of their ordering is limited. Second, ignoring reviewer agreement: when reviewers disagree heavily, the scores carry less explanatory power. Third, ignoring position bias and length bias: longer, better-formatted answers tend to be preferred, which is mitigated by randomizing presentation order and controlling length distribution.
A more reliable engineering alternative or complement is an internal preference set: a fixed question pool, randomized order, cross-scoring by multiple reviewers, and a reported agreement coefficient.
{"question_id": "q-0421","answers": [{"model": "A", "text": "..."}, {"model": "B", "text": "..."}],"order": ["B", "A"],"labels": {"r1": "A", "r2": "A", "r3": "tie"},"criteria": ["factual correctness", "instruction following", "clear structure"]}
4. Building an Internal Evaluation Set
Step one is task profiling. Sample from real logs, cluster by intent, identify 8 to 12 high-frequency scenarios, and define what counts as an “acceptable output” for each. Step two is difficulty tiering: use a three-way split across easy, medium, and hard, where hard samples include multi-hop reasoning, conflicting constraints, and long-context retrieval. Step three is answer design: make anything rule-decidable rule-based, such as structured extraction fields, numeric results, and format validation; for the rest, provide a checklist of scoring points. Step four is contamination control: keep a portion of private samples that never enter public channels, and rotate them periodically.
For scale, a practical starting point is 50 to 100 items per scenario, on the order of a thousand items in total, which preserves statistical significance without letting evaluation cost spiral.
5. Wiring Evaluation into the Engineering Pipeline
Evaluation should not be a one-off activity but part of continuous integration. The recommended pattern: trigger offline evaluation when a model or prompt version changes, and block the release if metrics fall below baseline thresholds; in production, use small-traffic canary releases with monitoring and alerting on refusal rate, timeout rate, format error rate, and safety hit rate.
# Illustrative configuration for an evaluation gategate:baseline: "eval-2024-11"metrics:- name: instruction_follow_passmin: 0.90- name: factual_consistencymin: 0.85- name: json_schema_validmin: 0.99on_fail: block_releasesample_size: 1200repeats: 3
One point deserves emphasis: metric thresholds must come from your own historical data. Copying numbers from external sources will either make the gate meaningless or block legitimate iterations.
6. Validating Performance and Cost on the Serving Side
Meeting quality targets is only a necessary condition. Production also requires validating throughput, latency, and cost. Set separate targets for time to first token and overall generation latency; use stepped concurrency load tests to find the inflection point; and measure GPU memory usage and queueing separately for long-context scenarios. If you rely on general-purpose cloud capabilities, you can combine them with a container platform for elastic scaling, object storage for evaluation samples and artifacts, a message queue for peak shaving, and logging plus monitoring and alerting for an observability loop.
Caching strategy is equally important: semantic caching for frequently repeated questions, prefix reuse for fixed prefixes, and schema-constrained decoding for structured output. Together these three typically reduce unit cost significantly without sacrificing quality.
7. Conclusion
Public evaluations and arena rankings provide a reference for relative position. What actually determines success is an internal evaluation system aligned with your business distribution, reproducible scoring and aggregation methods, and quality gates embedded in the pipeline. Get these three right, and switching models becomes a measurable engineering decision rather than a bet on a leaderboard.
