Why LLM Writing Quality Falls Short: Data, Decoding, and Prompting

    This article breaks down the "writing quality" of large language models into four observable dimensions—register consistency, sentence variety, pragmatic appropriateness, and information density—and explains why the gap between models comes mainly from engineering details rather than raw intelligence. It covers how corpus distribution and acquisition methods shape a model's style floor, why strong reasoning does not guarantee flexible expression, how sampling parameters affect sentence diversity, and how structured prompts stabilize style. It also includes code examples for corpus quality tiering and decoding configuration, plus a layered evaluation table for tracking style metrics continuously.

    1. Defining the Problem: What “Writing Quality” Actually Means

    Arguing about which model “sounds better” quickly turns into personal preference. For engineering purposes, the concept has to be broken into observable dimensions, or there is nothing to optimize. In practice it splits into four layers:

    1. Register consistency: whether the whole output holds a single written or spoken baseline, without mixing classical and modern Chinese or suddenly shifting gears.
    2. Sentence variety: the distribution of sentence lengths, the depth of clause nesting, and whether connectives are monotonous.
    3. Pragmatic appropriateness: whether the model calibrates tone in socially sensitive situations such as apologies, refusals, criticism, and jokes.
    4. Information density: how much useful information each unit of text carries, and whether filler is padding it out.

    The first two are formal metrics and can be approximated with statistics and automated evaluation. The last two involve pragmatic reasoning and require human raters or a strong judge model. Many complaints that one model is “less lively than another” actually land on layers two and three.

    2. The Corpus Side: Data Distribution Sets the Style Floor

    2.1 Scale Versus Distribution

    The industry has seen an aggressive data acquisition approach disclosed publicly: one lab, chasing “as many books in the world as possible,” bought millions of physical books in bulk and digitized them. Its internal planning documents stated outright that having “every book” during training was more valuable than having “only a small number of highly acclaimed literary works.” That sentence captures the core tension—coverage first, or quality first.

    From a modeling standpoint, the corpus distribution is learned faithfully. If long-tail publications make up too large a share, the model absorbs a great deal of mediocre or stiff phrasing; if high-quality literary, academic, and standards documents weigh more heavily, the syntax and rhythm of the output are naturally more considered. This is not mysticism but a direct consequence of the maximum likelihood objective.

    2.2 The Hidden Cost of the Collection Method

    To speed up scanning, the plan used destructive processing: spines were cut off, loose pages were scanned at high speed, and the originals were shredded. The engineering motive is understandable—it removes OCR layout errors and raises throughput. But it introduces two kinds of risk:

    • Copyright and compliance risk: mass reproduction of protected works may constitute infringement in multiple jurisdictions, and the related litigation filings are public record.
    • Residual corpus noise: even with high OCR accuracy, headers, footers, hyphenated line breaks, and misplaced footnotes introduce broken sentences, so the model learns “fragmented written language.”
    1. # Illustrative corpus quality tiering: tier first, then set the mix ratio
    2. def quality_tier(doc):
    3. score = 0.0
    4. score += 0.4 * doc.dict_layout_score # layout completeness
    5. score += 0.3 * doc.sentence_boundary_conf # sentence boundary confidence
    6. score += 0.2 * doc.lexical_richness # lexical richness
    7. score += 0.1 * doc.editorial_signal # traces of editorial standards
    8. return "A" if score > 0.75 else ("B" if score > 0.5 else "C")
    9. mix = {"A": 0.5, "B": 0.35, "C": 0.15} # high-quality tier dominates the mix

    2.3 An Observable Corroboration

    Some users noticed that one generation of a model produced Chinese output mixing classical and modern usage and inventing archaic-sounding words, and that the tendency disappeared in the next generation. This kind of “register drift” is usually not the result of an alignment strategy change but a direct projection of a shift in the share of classical and early-modern texts in the corpus. The takeaway: style traits are traceable, and auditing the corpus beats guessing at parameters.

    3. The Decoding Side: Strong Comprehension Does Not Equal Flexible Expression

    3.1 Decoupled Capabilities

    Research on Theory of Mind shows that mainstream large models have reached or exceeded average human performance on most cognitive tasks, yet remain clearly weaker than humans on pragmatic tasks such as recognizing social faux pas. The conclusion is straightforward: reasoning ability and pragmatic ability are not the same dimension, and strength in the former does not guarantee strength in the latter.

    This explains a familiar experience—the model answers correctly with tight logic, but reads stiffly. It has mastered “what to say” without mastering “how to say it appropriately.”

    3.2 The Direct Effect of Sampling Parameters

    Expressive liveliness is highly sensitive to decoding configuration. Greedy decoding almost inevitably produces high-frequency, templated sentence patterns; only by raising randomness and penalty terms moderately does the sentence distribution open up.

    1. # Generic decoding configuration (values are relative magnitudes, not product settings)
    2. config = {
    3. "temperature": 0.7, # too low freezes sentence patterns
    4. "top_p": 0.9, # controls candidate set size
    5. "repetition_penalty": 1.1,
    6. "max_tokens": 1024,
    7. }

    Engineering recommendation: route style-oriented tasks and fact-oriented tasks separately—loosen randomness for the former, tighten it for the latter and pair it with citation constraints.

    4. The Context Side: Structured Prompts Stabilize Style

    Unstable style is usually a context organization problem. A reusable template has four parts: role and audience, register constraints, structure constraints, and counterexamples.

    1. [Role] Technical review for backend engineers
    2. [Register] Simplified Chinese written style; no mixing of classical and modern usage or invented words; median sentence length 25±8 characters
    3. [Structure] Conclusion first, no more than three paragraphs, one point per paragraph
    4. [Counter-example] Avoid formulaic filler such as "In summary, it is humbly submitted that..."
    5. [Input] {{text to rewrite}}

    Two practices make this work: provide two or three reference passages in the same style as style anchors, and generate long documents section by section before stitching them together, which avoids style decay over long contexts.

    5. Evaluation and Continuous Improvement

    Build a layered evaluation set that turns the four dimensions above into a runnable pipeline:

    Dimension Metric How to judge
    Register consistency Variance in classical/modern word ratio Rules + statistics
    Sentence variety Sentence length variance, connective entropy Automated statistics
    Pragmatic appropriateness Pass rate in sensitive scenarios Human / strong judge
    Information density Share of informative sentences Human spot checks

    For the engineering substrate, use object storage to hold evaluation sets and outputs, a message queue to decouple evaluation jobs, a container platform to run batch inference, and logging plus monitoring with alerting to track drift in style metrics—closing the loop.

    6. Conclusion

    The gap in writing quality comes not mainly from “who is smarter” but from three engineering details: corpus mix, decoding configuration, and context organization. Compliantly acquired high-quality corpus sets the ceiling, restrained sampling releases sentence variety, and structured prompts plus layered evaluation keep the floor stable. Turn those three things into a pipeline, and style stops being a matter of intuition and becomes a measurable, regression-testable engineering metric.