Evaluating Chinese LLMs: A Practical Methodology for Model Selection
Public leaderboards are useful for narrowing down candidate models, but they are not a substitute for a structured evaluation. This article explains how to turn "general capability" into measurable metrics across six task categories, why long-context utilization and multimodal input quality define real capability boundaries, and which common evaluation pitfalls to avoid. It also outlines a five-stage selection and rollout workflow covering private test sets, canary releases, cost and latency tuning, and continuous regression, supported by a pluggable model adapter layer and observability tooling.
1. Why a Single Overall Ranking Is Not Enough for Technical Selection
A recent wave of evaluation results drew broad industry attention: a multimodal model built by an international team placed near the top of an overall Chinese capability leaderboard, while a domestic product focused on long-context work reached the first tier in Chinese writing and long-document tasks, followed by several general-purpose Chinese models. This kind of information is useful for developers, but treating “first place on the leaderboard” as the selection decision is a common trap.
The reason is simple: a leaderboard is a scalar produced by weighted averaging, while a business is a vector under multiple constraints. What you actually care about in production includes accuracy on domain-specific terminology, referential consistency across chapters in long documents, the stability rate of structured output such as JSON, first-token latency, cost per token, and data compliance boundaries. Leaderboards typically disclose neither how the evaluation set differs in distribution from your business, nor the inference configuration used (temperature, context length, whether retrieval augmentation was enabled).
A more rigorous approach is therefore to treat public leaderboards as a candidate filter, not a decision maker. Use the leaderboard to narrow candidates down to 3–5 models, then run a second evaluation on your own business data.
2. Breaking Down Evaluation Dimensions: Turning “General Capability” into Measurable Metrics
A usable Chinese evaluation system should cover at least the following six task categories, with a clear metric definition for each.
- Knowledge Q&A: Separate closed-domain facts (single correct answer) from open-ended explanation. Use accuracy/recall for closed-domain, and key-point coverage for open-ended.
- Long-document processing: The core is not “how many characters fit,” but “whether the model can correctly locate and aggregate information within a long context.” Typical formats are multi-hop retrieval (answers assembled across chapters) and global summarization.
- Code generation: Distinguish three layers — “runnable rate,” “unit test pass rate,” and “consistency with existing code style” — rather than relying on surface similarity alone.
- Math and logical reasoning: Separate computation ability from reasoning-chain stability, and watch consistency across repeated samples of the same model (high variance makes a model unsuitable for automated pipelines).
- Multi-turn dialogue: Examine coreference resolution, constraint retention (whether format requirements stated earlier by the user are forgotten), and how quickly the model converges after a correction.
- Structured output: Whether the model can reliably produce data conforming to a given schema. This is a hard gate for integration into business systems.
A schematic scoring logic can be abstracted as:
# Methodological illustration only, not any specific product APIdef weighted_score(results: dict, weights: dict) -> float:total = 0.0for task, metric in results.items():total += weights.get(task, 0.0) * metricreturn round(total, 4)weights = {"long_doc": 0.30, # business is mainly long documents"structured": 0.25, # stable JSON output required"knowledge": 0.20,"code": 0.10,"math": 0.05,"multi_turn": 0.10,}
The key point: weights are determined by the business, not by the leaderboard. For a team doing contract review, the weights on long documents and structured output should be far higher than on code generation.
3. Long Context and Multimodal: Where the Real Capability Boundary Sits
The gaps that separate models on leaderboards are often exactly long context and multimodal ability. Two points need to be clear from an engineering perspective.
Effective utilization of long context decays. The nominal context window length and the actually usable length are not the same thing. A common phenomenon is that key information in the middle gets ignored — the so-called “lost in the middle.” Mitigations include: using retrieval augmentation to narrow the candidate range first, applying layered summarization to long documents, and explicitly marking chapter positions in the prompt while requiring the model to output its localization basis before answering.
The value of multimodality depends on input quality. For inputs such as scanned documents and table screenshots, recognition quality often determines the ceiling more than the model itself does. A reliable pipeline is “preprocessing + layout restoration + text extraction + inference,” rather than feeding the raw image to the model end to end.
4. Common Evaluation Pitfalls
- Data contamination: Public questions may already be in the training corpus, inflating scores. Keep a private, continuously updated “moat” question set.
- Concluding from a single sample: Generative models are stochastic, so key metrics should be averaged over multiple samples with variance observed.
- Ignoring prompt sensitivity: The same model can differ substantially across prompt templates, so evaluations must fix the template version and put it under version control.
- Looking at capability but not cost: Latency and unit cost determine architectural feasibility and must be evaluated in the same table as accuracy.
- Overlooking compliance and data boundaries: When sensitive data is involved, the deployment form (public cloud API, dedicated deployment, on-premises) is often a veto item.
5. An Actionable Selection and Integration Workflow
A five-stage closed loop is recommended:
- Build the candidate set: Filter candidates using public evaluations and community reputation, keeping 3–5.
- Private-set evaluation: Run full-dimension scoring on 200–500 real business samples and produce a capability radar chart.
- Small-scale canary: Roll out to 5%–10% of traffic with full-chain logging and monitoring alerts enabled, focusing on structured-output failure rate and timeout rate.
- Cost and latency optimization: Cache high-frequency Q&A, control context length, and route tasks by tier to models of different sizes to reduce cost.
- Continuous regression: Run the regression set on every model or prompt change to prevent capability regression.
On the infrastructure side, the common practice is to make the model service a pluggable layer, with object storage holding evaluation samples and results, a message queue handling asynchronous batch evaluation, a container platform hosting inference services, and logging plus monitoring and alerting providing observability. Baidu AI Cloud is typically used in these scenarios to carry the general capabilities above, while the model layer hides differences through a unified adapter interface so that business code is not locked to a single model:
# Unified adapter illustration: hides differences between model implementationsclass ModelAdapter:def complete(self, prompt: str, schema: dict | None = None) -> dict:raise NotImplementedError# The business side depends only on the unified contract, making canary and rollback easydef route(task_type: str) -> ModelAdapter:return registry[task_type]
6. Conclusion
The right way to use Chinese LLM evaluations is to treat leaderboards as a starting point for narrowing the candidate pool, and private business sets plus online canary releases as the real basis for decisions. Focus validation on long documents, structured output, and constraint retention in multi-turn dialogue, and pair it with a pluggable model adapter layer and a complete logging and monitoring system. That is how you keep the architecture stable and costs controllable in an environment where capabilities iterate quickly.
