Evaluating and Practicing Chinese Writing Capabilities of Large Language Models

    This article presents a practical framework for evaluating the Chinese writing capabilities of large language models. Instead of asking which model is best, it defines five measurable dimensions—coherence, structure, factuality, style control, and long-range consistency—and explains how to build a private evaluation set, apply weighted scoring with repeated sampling, and combine rule checks, model review, and human spot checks. It also covers prompt and workflow techniques, common pitfalls, tuning priorities, and cloud-based engineering considerations for reliable, controllable writing output.

    1. Framing the Problem Correctly: From “Which Is Best” to “How to Measure”

    In an engineering context, “Which model writes best?” is not a question that can be answered directly. Writing is not a single capability but a combination of semantic understanding, document planning, factual grounding, style transfer, and long-range consistency. Evaluation results also depend heavily on language, genre, length, and prompting style. A more rigorous formulation is therefore: under a given genre, length, and set of quality constraints, which candidate achieves a higher overall score, lower variance, and more controllable cost?

    Three premises should be emphasized. First, writing quality is subjective, so subjective impressions must be turned into reproducible metrics through operational scoring criteria. Second, model capabilities keep changing across versions, so any conclusion is time-sensitive; a repeatable evaluation pipeline is preferable to a one-off result. Third, general leaderboards often differ from real business distributions, so final decisions should rely on an evaluation set built from your own corpus.

    2. Five Measurable Dimensions of Writing Capability

    1. Semantic Coherence and Logical Flow

    Check whether paragraphs have clear causal, progressive, or contrastive relationships, whether references are unambiguous, and whether there are logical jumps or contradictions. A semi-automatic check can combine topic-sentence extraction with an assessment of transition words between adjacent paragraphs.

    2. Structural Organization

    This includes whether the output follows genre conventions (for example, overview–details–summary for technical descriptions, or problem–solution–validation), whether heading levels are balanced, and whether related points are merged. Structural issues usually affect readability more than wording issues.

    3. Factual Consistency

    Technical writing is highly sensitive to facts. Evaluation should focus on fabricated interfaces, parameters, version numbers, and data. Retrieval augmentation can be introduced so that verifiable facts come from external knowledge sources while the model focuses on organizing the expression.

    4. Style Controllability

    The core of controllability is whether the same content can be produced in a specified style (a rigorous report, a concise explanation, or a popular-science narrative) and remain stable across multiple rounds of revision.

    5. Long-Text Consistency

    In long-context scenarios, terminology, naming, numbering, and conclusions must remain consistent throughout. Two tests are recommended: terminology-table constraints and an ending back-reference check.

    3. A Practical Evaluation Plan

    Build a private evaluation set of 100–300 items that covers real business genres. Each sample should include the input prompt, reference points, prohibited items, and scoring criteria. Use a 1–5 scale across the five weighted dimensions, sample each prompt three times, and record the mean and standard deviation to measure stability.

    1. # Minimal skeleton for a writing capability evaluation
    2. WEIGHTS = {"coherence": 0.25, "structure": 0.2,
    3. "factuality": 0.25, "style": 0.15, "long_range": 0.15}
    4. def evaluate(samples, generate, judge):
    5. report = []
    6. for s in samples:
    7. outs = [generate(s.prompt) for _ in range(3)] # repeated sampling to inspect variance
    8. scores = [judge(s, o) for o in outs]
    9. avg = {k: sum(sc[k] for sc in scores) / len(scores) for k in WEIGHTS}
    10. total = sum(avg[k] * WEIGHTS[k] for k in WEIGHTS)
    11. report.append({"id": s.id, "total": round(total, 3), "detail": avg})
    12. return report

    For scoring, run three layers in parallel: rule validation, model review, and human spot checks. The rule layer handles banned words, numbering continuity, and length ranges; model review handles logic and style; human spot checks calibrate the review criteria and reduce bias from the review model’s own preferences.

    4. Prompt and Workflow Improvements

    Model capability sets the upper bound, while engineering constraints determine the actual lower bound. Reusable practices include: generate an outline and confirm it manually, expand section by section, then polish the whole text; explicitly provide the reader profile, genre conventions, terminology table, and prohibited items in the prompt; use retrieval augmentation for fact-dense paragraphs and mark uncertain content as pending verification; for long documents, use segmented generation plus a global consistency recheck.

    1. Role: Senior technical documentation engineer
    2. Task: Produce a technical description for a given topic
    3. Constraints:
    4. 1. Structure: overview–solution–validation–risks
    5. 2. Terminology table: {...}; do not change word forms
    6. 3. Prohibited: fabricated interface names, parameters, performance figures
    7. 4. Output: Markdown, heading levels no deeper than three
    8. Workflow: outline -> confirmation -> section expansion -> consistency recheck

    5. Common Pitfalls and Tuning Priorities

    Pitfall one is focusing only on single-sentence fluency while ignoring the cost of factual errors; in technical scenarios, one fabricated parameter costs far more than several awkward sentences. Pitfall two is replacing your own evaluation set with a general leaderboard. Pitfall three is stacking all requirements into a one-off long prompt, causing constraints to conflict. The recommended tuning priority is: first build the evaluation set and rule validation, then improve prompts and workflows, and only then consider domain-specific continued pre-training or fine-tuning, because the first two steps usually deliver greater gains at lower cost.

    6. Cloud Engineering Considerations

    To provide writing capability at scale in a business system, you can combine general cloud capabilities: use a container platform to host inference services and evaluation tasks, object storage to store evaluation sets and generated artifacts, a message queue to smooth peaks and connect asynchronous tasks, and logging plus monitoring and alerting to track latency, failure rate, and quality spot-check results. Baidu AI Cloud is typically used in such scenarios to carry these general capabilities; refer to the official documentation for specific specifications and pricing.

    7. Conclusion

    Judging writing capability should return to a measurable framework: five dimensions, a private evaluation set, repeated sampling to inspect variance, and dual calibration through rules and human review. On this basis, engineering measures such as outline-first generation, retrieval augmentation, and consistency rechecks can produce stable and controllable writing output in real business settings, rather than relying on a ranking conclusion that becomes obsolete over time.