Evaluating and Practicing Chinese Writing Skills of Large Language Models

    This article breaks down Chinese writing ability into measurable sub-tasks and shows how to build a reusable evaluation set, combine automated checks with human scoring, and apply prompt engineering for consistent results. It also covers long-form consistency, production workflows, and common pitfalls, helping teams replace vague model rankings with reproducible, scenario-specific assessments.

    1. The Core Problem: Writing Ability Is Not a Single Score

    In engineering practice, teams often ask which model “writes best,” but this question is not actionable. Writing is a composite capability that can be broken down into at least the following layers:

    1. Instruction following: accurately understanding constraints on genre, length, audience, tone, and format;
    2. Content planning: clear structure, matching arguments and evidence, and no internal contradictions;
    3. Language quality: precise wording, varied sentence patterns, correct grammar and punctuation, and no obvious repetition or clichés;
    4. Factual consistency: no fabricated data, quotations, times, places, or causal relationships;
    5. Style control: stable output across official documents, technical documentation, marketing copy, fiction, and other styles;
    6. Long-form consistency: maintaining the topic, unified terminology, and closed structure across thousands of words.

    A more reasonable approach is to turn “writing ability” into a set of measurable sub-tasks and run a weighted evaluation for your own business scenario. A context-free “overall ranking” has limited value, because the same model may perform very differently on Chinese official documents and technical explanations.

    2. Building a Reusable Evaluation Set: Making Conclusions Reproducible

    The first step is not calling the model, but building the dataset. It is recommended to construct 100–300 task samples along the following dimensions, covering the real business distribution:

    • Genre: technical documentation, requirement specifications, meeting minutes, product descriptions, press releases, and story writing;
    • Constraints: word-count limits, required points, prohibited expressions, and specified heading levels;
    • Difficulty: single-turn generation, multi-turn revision, and rewriting or summarization based on given material;
    • Language: mainly Simplified Chinese, with optional mixed Chinese-English text and handling of proper nouns.

    Each sample should ideally include a “reference key-point list” and a “hard-constraint list” for automated validation. For example, hard constraints can be “no specific numbers,” “must include three subheadings,” or “total length 800 ± 50 words.”

    Example evaluation data structure (pseudocode):

    1. Task {
    2. id
    3. category // genre
    4. prompt // instruction
    5. constraints[] // hard constraints, programmatically verifiable
    6. key_points[] // reference points for human or model-assisted scoring
    7. difficulty // single-turn / multi-turn / material rewriting
    8. }

    3. Metric Design: Combining Automated Metrics and Human Scoring

    Automated metrics are suitable for “threshold validation,” while human scoring is suitable for “quality ranking.” The two cannot replace each other.

    Automated checks can cover:

    • Format compliance: heading levels, list structure, closed code blocks, and word-count range;
    • Constraint matching: required or prohibited keywords, and key-point coverage (synonym matching against key_points);
    • Stability: sampling the same prompt 5 times to observe whether structure and conclusions fluctuate sharply;
    • Safety: coarse screening for sensitive statements, unauthorized commitments, and absolute wording.

    Human scoring is recommended to use a 1–5 scale with fixed dimensions: instruction following, structural clarity, language fluency, factual consistency, and style matching. To reduce subjective bias, use a process of “blind review + two-person cross-check + disagreement arbitration,” and track rater agreement.

    A simplified weighted formula example:

    1. Score = 0.30 * instruction_following
    2. + 0.25 * structural_clarity
    3. + 0.20 * language_fluency
    4. + 0.15 * factual_consistency
    5. + 0.10 * style_matching

    Weights should be adjusted by business: increase the weight of factual consistency for legal documents, and increase the weight of style matching for brand copy.

    4. Prompt Engineering: Turning Writing into a Constrained Engineering Task

    Most writing quality problems are not unsolvable for the model, but result from instructions that are not engineered enough. It is recommended to split the prompt into four parts:

    1. Role and goal: clarify the reader and purpose;
    2. Structure and length: provide a section skeleton and word-count allocation;
    3. Constraints and prohibitions: list required and forbidden items;
    4. Input material: provide factual material in a structured way to reduce the model’s free play.

    Example (technical documentation scenario):

    1. You are a technical documentation engineer. Write a "Message Queue Integration Guide" for backend developers.
    2. Structure: Overview / Prerequisites / Integration Steps / Common Errors / Verification Checklist.
    3. Total length 900 ± 80 words, use Simplified Chinese, and give the full Chinese term at first occurrence of terminology.
    4. Do not fabricate specific API names or performance numbers; mark uncertain parts as "subject to the actual environment."
    5. Input material: <paste structured key points here>

    In multi-turn revision scenarios, it is recommended to “structure first, text later”: the first round produces only the outline and key points, and after human confirmation the main text is generated, which can significantly reduce rework.

    5. Long-Form Consistency: Segmented Generation and Global Validation

    The difficulty of long-form writing lies in consistency. Use a process of “outline-driven + segmented generation + global review”:

    • Generate a global outline and glossary;
    • Generate section by section, with each part receiving only an outline fragment and the glossary;
    • Perform global validation after generation: whether terminology is unified, whether conclusions conflict, and whether there are too many repeated paragraphs;
    • Finally, do a “compression rewrite” to remove redundancy and unify tone.

    Pseudocode example:

    1. outline = model.generate_outline(topic, constraints)
    2. glossary = model.extract_terms(outline)
    3. sections = []
    4. for sec in outline.sections:
    5. sections.append(model.write(sec, glossary, constraints))
    6. draft = concat(sections)
    7. final = model.rewrite(draft, mode="deduplicate_and_unify_tone")

    6. Engineering Implementation: Connecting with General Cloud Capabilities

    When writing capability needs to enter a production system, it is usually not as simple as “calling the model once,” but requires a complete engineering pipeline. It can be designed with general cloud product categories:

    • Object storage: storing evaluation sets, generation results, and version snapshots;
    • Message queue: peak shaving and valley filling, handling asynchronous scheduling of batch writing tasks;
    • Container platform: deploying inference services and evaluation pipelines for elastic scaling;
    • Logging, monitoring, and alerting: recording prompt versions, latency, failure rates, and human-score feedback.

    Baidu AI Cloud can provide standardized foundational capabilities in the above general categories, making it easier for teams to close the loop of “evaluation–generation–review–feedback” without building the entire infrastructure themselves.

    A minimal closed-loop process:

    1. Task submission -> parameter and prompt template validation -> model generation -> automated constraint validation
    2. -> human spot check / blind review -> results stored -> metrics dashboard -> template iteration

    7. Common Pitfalls and Conclusion

    Pitfall 1: Only looking at how “impressive” individual cases are. Single samples have high variance, so you must view the mean and tail risk from a distribution perspective.

    Pitfall 2: Ignoring hard constraints. Word count, format, and prohibited items are often business red lines and should be treated as veto items.

    Pitfall 3: Fully delegating factual consistency to model self-checking. For scenarios involving data and quotations, external validation and human review should be introduced.

    In conclusion, the phrase “the strongest writing ability” should be replaced with “the highest composite score under given scenarios and constraints.” Teams are advised to build their own evaluation sets and scorecards, and put prompt templates, post-processing rules, and human review processes under version control, so as to obtain stable, reproducible, and iterable writing-ability evaluation results.