Evaluating and Practicing Chinese Writing Skills of Large Language Models

    This article explains why the writing ability of a large language model cannot be reduced to a single score and presents a practical evaluation framework. It breaks writing into six measurable dimensions, organizes test sets into task families with difficulty levels, and combines automated metrics with human review for reliable scoring. The article also covers a closed-loop evaluation workflow, common pitfalls, and how to integrate evaluation into continuous integration with regression testing and monitoring. Readers will learn how to build a reproducible, attributable writing evaluation pipeline for their own data and business constraints.

    1. The Core Problem: Writing Ability Is Not a Scalar

    Questions such as “Which AI model has the strongest writing ability so far” often cannot be answered directly in engineering practice, because “writing” is itself a multidimensional set of capabilities. One model may excel at structural organization yet frequently fail on factual consistency; another may produce natural, fluent prose but drift in its premises over a long document. The professional approach, therefore, is not to look for a single “strongest” answer, but to first establish a measurable coordinate system of capabilities and then make trade-offs under specific business constraints.

    From an engineering perspective, writing ability can be broken down into at least six dimensions:

    • Instruction following: whether hard constraints such as word count, format, role, tone, and forbidden words are strictly satisfied.
    • Structural organization: whether paragraph hierarchy, general-to-specific relationships, and transitions are clear.
    • Factual consistency: whether unsupported facts, numbers, citations, and causal relationships appear.
    • Style controllability: whether the model can switch stably among formal, colloquial, technical documentation, marketing copy, and other styles.
    • Long-form stability: whether character settings, terminology, and conclusions drift across thousands of words.
    • Editability: whether the output is easy to post-process, for example with structured markup and properly standardized hierarchical headings.

    Only when these six dimensions are scored separately do the evaluation conclusions carry engineering value.

    2. Task Layering: Breaking “Writing” into Measurable Task Families

    The evaluation set should follow the principle of “task family + difficulty gradient.” At minimum, it is recommended to cover the following task families:

    1. Constrained generation: limited word count, required keywords, specified output format.
    2. Structured writing: technical documents, API specifications, solution proposals, meeting minutes.
    3. Creative writing: short stories, brand stories, poetry, with emphasis on setting consistency.
    4. Rewriting and polishing: faithful rewriting, style transfer, compression and expansion.
    5. Long-form generation: chapter-by-chapter output followed by merging, testing global consistency.
    6. Review and revision: given a draft, identify errors and provide revision suggestions.

    Set three difficulty tiers for each task family. A total of 100 to 300 items is enough to achieve statistical significance while keeping manual review costs manageable.

    3. Metric Design: Combining Automated Metrics with Human Review

    A single automated metric (such as similarity to a reference text) is insufficient for measuring writing quality, because it leans toward surface-level lexical overlap and cannot reflect logic or facts. A dual-track approach is recommended: automated metrics for regression monitoring and human review for quality adjudication.

    Automated metrics can include hard-constraint pass rate, format validity rate, repetition (n-gram repetition ratio), terminology consistency, and variance of sentence-length distribution. Human review uses a Likert scale, scoring each dimension from 1 to 5, and reviewers are required to provide “evidence sentences for deducted points” to ensure reviewability.

    Reviewer agreement also needs to be measured. It is advisable to involve two or more reviewers and calculate an agreement coefficient. If agreement is low, it indicates that the scoring rubric is ambiguously defined and anchor examples need to be added.

    1. # Minimal skeleton of a writing evaluation pipeline
    2. import json, statistics
    3. def hard_constraint_check(text, min_len, must_include, fmt):
    4. ok_len = len(text) >= min_len
    5. ok_kw = all(k in text for k in must_include)
    6. ok_fmt = text.strip().startswith(fmt)
    7. return {"len": ok_len, "kw": ok_kw, "fmt": ok_fmt,
    8. "pass": ok_len and ok_kw and ok_fmt}
    9. def aggregate(records):
    10. pass_rate = statistics.mean(r["hard"]["pass"] for r in records)
    11. avg_quality = statistics.mean(r["human"]["overall"] for r in records)
    12. return {"hard_pass_rate": round(pass_rate, 3),
    13. "avg_human_score": round(avg_quality, 2)}
    14. # records structure: each item contains model_id, prompt_id, and the hard and human result parts

    4. Evaluation Workflow: A Closed Loop from Sampling to Conclusions

    The first step is to freeze the evaluation set and prompt templates to avoid “changing the questions while testing,” which would make conclusions incomparable. The second step is to control generation parameters: temperature, maximum length, and system prompts must be recorded uniformly; otherwise, score differences may come from sampling randomness rather than model capability. The third step is to sample multiple times and take the mean, because writing tasks have high variance and a single run is not enough to draw conclusions. The fourth step is hierarchical aggregation: produce task-family scores first, then compute a weighted total whose weights are determined by the business scenario. The fifth step is error attribution: classify failed samples into “constraint violation / factual error / structural confusion / style loss of control” to form an actionable improvement list.

    5. Common Pitfalls

    • Replacing scenario validation with a single leaderboard ranking: the task distribution of leaderboards often does not match the business distribution.
    • Looking only at fluency: fluent but factually wrong content carries higher risk in professional scenarios.
    • Ignoring prompt sensitivity: the same model may vary more across different prompt templates than the differences between models.
    • Skipping long-form testing: short-text performance cannot be extrapolated to long-form stability.
    • Lacking a regression mechanism: the evaluation set is not rerun after any change to the model or prompts.

    6. Recommendations for Engineering Implementation

    Integrate the evaluation pipeline into continuous integration so that any change to prompts or model parameters triggers a regression run. Write evaluation results into a logging service and configure monitoring alerts to automatically notify when the hard-constraint pass rate drops below a threshold. Evaluation samples and results can be archived in object storage for version traceability. When multiple teams are involved, the evaluation service can be deployed on a container platform to ensure environment consistency and elastic scaling. In Baidu AI Cloud’s technical system, this combination of “offline evaluation + online monitoring” is a common engineering practice pattern; it can work with general capabilities such as message queues, logging services, and monitoring alerts to form a closed loop.

    7. Conclusion

    The correct way to answer “which model has the strongest writing ability” is to first define a measurement system for writing ability and then run a reproducible evaluation on your own data. Model capabilities keep evolving, and any static conclusion will quickly become outdated. Truly sustainable competitiveness comes from a stable, regression-capable, and attributable writing evaluation infrastructure.