Evaluating Chinese Large Language Models: Dimensions, Metrics, and Methods for Capability Assessment

    This article breaks down how to evaluate the general capabilities of Chinese large language models beyond simple leaderboard rankings. It explains a four-layer evaluation structure, the statistical logic behind score aggregation and tie handling, capability sub-scores that matter for engineering decisions, why timeout rate is a harder metric than pass rate in agentic coding tests, how per-task cost reflects real spending better than token price, and a practical checklist for building reproducible evaluations. The goal is to help teams turn vague "usability" into measurable, repeatable, and comparable indicators for model selection.

    1. The Core Problem: From Leaderboard Rankings to an Acceptance-Ready Capability Profile

    A valuable general-purpose evaluation of a Chinese LLM is not about ranking models against each other. It is about decomposing the vague notion of “good enough” into a set of measurable, reproducible, and comparable indicators. Engineering teams usually care about three questions: What is the model’s capability ceiling on the target task? Is that ceiling stable across different test sets and sampling runs? And how much compute and cost does it take to reach that ceiling?

    A mature evaluation system therefore has at least four layers:

    1. Capability layers: language understanding, knowledge Q&A, logical reasoning, coding and engineering, multimodal understanding, long-context processing, agent planning, and so on.
    2. Metric layers: correctness metrics (accuracy, pass rate), robustness metrics (timeout rate, failure rate, variance), trustworthiness metrics (hallucination rate, appropriateness of refusal), and cost metrics (tokens per task, cost per task).
    3. Aggregation rules: how sub-scores are combined into a total score, and how errors and ties are handled.
    4. Reproduction conditions: model version, temperature, maximum output length, timeout threshold, and whether the scoring script is public.

    Evaluation results that lack the fourth layer lose much of their reference value, because LLM output is stochastic. The same question can score several points differently under different sampling parameters.

    2. Score Aggregation and the Statistical Logic of Tie Handling

    The source material mentions a key rule: models whose scores differ by less than 1 point are treated as tied. This rule is well justified in engineering terms, for three reasons.

    First, evaluation scores are estimates, not ground truth. If a test set contains hundreds of questions, the weight of a single question is usually less than 0.5 points, and a gap within 1 point often falls inside the confidence interval. Second, sampling randomness alone can cause fluctuations of several points, so interpreting a 0.4-point gap as “stronger capability” is over-reading. Third, a tie mechanism prevents the leaderboard from being driven by tiny noise and reduces ineffective optimization such as “gaming the board for 0.3 points.”

    A more rigorous approach reports confidence intervals and significance test results alongside the scores. Illustrative tie-aware ranking logic:

    1. def rank_with_tie(scores: dict[str, float], eps: float = 1.0):
    2. # scores: model name -> total score; eps: tie tolerance (points)
    3. ordered = sorted(scores.items(), key=lambda kv: kv[1], reverse=True)
    4. groups, cur = [], [ordered[0]]
    5. for item in ordered[1:]:
    6. if cur[-1][1] - item[1] <= eps:
    7. cur.append(item)
    8. else:
    9. groups.append(cur)
    10. cur = [item]
    11. groups.append(cur)
    12. return [[m for m, _ in g] for g in groups]

    The tolerance threshold should be calibrated from the variance of historical evaluations rather than set arbitrarily. If the overall variance of a test round is large, a 1-point tolerance may still be insufficient to support a tie conclusion.

    3. Capability Sub-Scores: Why “Similar Overall Scores” Does Not Mean “Interchangeable”

    Two models with similar overall scores can differ significantly in engineering usability. In the source material, two models scored identically on agentic coding tasks, but one clearly led in hallucination control. This shows that a sub-score profile is more valuable for decision-making than a total score.

    Common sub-scores and their engineering implications:

    • Complex reasoning: multi-step constraint satisfaction and mixed numerical/logical problems, which determine suitability for planning and scheduling tasks.
    • Engineering development: code generation, defect localization, and refactoring, which determine how deeply a model can support R&D assistance scenarios.
    • Hallucination control: whether the model can reliably refuse or flag uncertainty beyond its knowledge boundary, which directly affects the compliance risk of Q&A products.
    • Long-context processing: cross-document retrieval and contract or log analysis, testing recall of middle-section information rather than only the beginning and end.
    • Agent planning and computer use: multi-turn tool calls, UI element localization, and state tracking, testing stability on long-horizon tasks.
    • Native visual understanding: mixed text-image layouts and UI screenshot understanding, affecting document parsing and automation scenarios.

    The selection recommendation is to build a weight matrix and score by business scenario rather than copying the leaderboard order:

    1. Scenario: enterprise internal knowledge Q&A
    2. Weights: hallucination control 0.35 / knowledge Q&A 0.25 / long context 0.20 / cost 0.20
    3. Conclusion: prefer the model with more stable hallucination control and refusal strategy, even if its overall score is slightly lower

    4. Agentic Coding Tests: Why Timeout Rate Is a Harder Metric Than Pass Rate

    The source material shows that in early tests the timeout rate reached nearly 70%, while in a new round two models completed all tasks and the timeout rate dropped to 0. The significance of this change is often underestimated.

    In agentic coding scenarios, a model must loop through “read requirements → retrieve context → generate patch → run tests → fix based on errors.” If any step falls into repeated trial and error, it hits the time or step limit. A high timeout rate means two things: first, the task completion rate is systematically underestimated (not wrong answers, but unfinished runs); second, tail latency in production is uncontrollable, and both user experience and cost spiral out of control.

    The evaluation script must therefore explicitly record the following fields:

    1. record = {
    2. "task_id": "swe-017",
    3. "passed": True,
    4. "steps": 14,
    5. "latency_ms": 38200,
    6. "timeout": False, # whether the time/step limit was reached
    7. "tokens_in": 18450,
    8. "tokens_out": 3120,
    9. "cost": 1.90, # cost per task, based on test-period pricing
    10. }

    In engineering practice, it is advisable to observe timeout rate, average steps, and first-pass rate together. A lower timeout rate with a higher average step count may simply mean the limit was relaxed. Only when the timeout rate drops and the step count stays flat or decreases does it indicate a real improvement in planning capability.

    5. Cost Evaluation: Per-Task Cost Reflects Real Spending Better Than Unit Price

    Model pricing (price per thousand tokens) is only the starting point. Real spending depends on the total tokens consumed to complete the same task and the number of retries. In the source material, the per-task cost of two models was about 1.90 yuan and 2.52 yuan, with reductions of about 87% and 28.5% respectively. The value of such data is that it quantifies “cheap” into an accountable bill.

    The basic per-task cost formula:

    1. Cost per task = (input tokens × input price + output tokens × output price) × (1 + retry rate)

    Cost reduction usually comes from four independent and stackable paths:

    1. Inference optimization: more efficient attention implementations and more reasonable context trimming.
    2. Prompt and context governance: deduplication, summary compression, and on-demand retrieval to avoid stuffing an entire corpus into the context.
    3. Cache reuse: prefix caching for stable prefixes (system prompts, specification documents) so they are not billed repeatedly on cache hits.
    4. Routing strategy: simple requests go to a smaller model, complex requests escalate to a larger model.

    An actionable cost guardrail example:

    1. def route(task):
    2. if task.est_tokens < 2000 and task.difficulty == "low":
    3. return "small_model"
    4. if task.requires_vision or task.steps_est > 10:
    5. return "large_model"
    6. return "mid_model"

    Any cost-reduction plan must be gated by quality; otherwise, the cost is simply shifted to manual rework.

    6. A Practical Checklist for Reproducible Evaluation

    To reproduce a trustworthy evaluation in your own environment, proceed in this order:

    1. Freeze conditions: fix the model version, sampling parameters, maximum output length, and timeout threshold, and record them.
    2. Build layered test sets: construct questions by capability sub-score to avoid skewed conclusions from a single distribution.
    3. Sample multiple times: repeat key questions multiple times and report mean and variance rather than a single run.
    4. Dual-track metrics: report accuracy alongside timeout rate and hallucination rate.
    5. Cost accounting: estimate cost from actual token consumption rather than list price.
    6. Regression mechanism: run a fixed regression set after every model or prompt change to form a trend curve.
    7. Human spot checks: sample high-risk answers for review to calibrate the automatic scoring script.

    7. Conclusion

    The value of a leaderboard is to provide a comparable horizontal coordinate, but engineering decisions rely on sub-score profiles, robustness metrics, and real cost accounting. By treating rules like “within 1 point counts as a tie” as an explicit acknowledgment of statistical noise, treating timeout rate and hallucination rate as first-class metrics on par with accuracy, and using per-task cost rather than unit price as the budgeting basis, teams can keep their selection judgment stable amid rapid model iteration. For model services and supporting engineering capabilities, Baidu AI Cloud likewise recommends using a scenario weight matrix and a regression evaluation set as the basis for implementation, rather than simply following external rankings.