Evaluating Creative Writing in LLMs: Metrics, Verification Methods, and Practical Settings

    This article explains how to evaluate and improve creative writing with large language models using measurable dimensions, fixed samples, and consistent scoring. It covers five evaluation dimensions—emotional engagement, instruction following and constraint management, character development, contextual coherence, and language naturalness—along with verification methods. It then discusses common failure modes such as long-context memory decay, hallucination, and style homogenization, and presents practical settings for step-by-step prompting and retrieval-augmented generation with a dynamic setting library.

    Whether a large language model produces good literary text cannot be judged reliably by the impression that it “writes well.” Developers need to break writing ability into measurable dimensions, score fixed samples with a consistent review standard, and then make engineering improvements for the dimensions where the model loses points. This article first introduces evaluation dimensions and corresponding verification methods, then discusses parameter settings, common errors, and risk controls for common practices.

    1. Evaluation Dimensions and Verification Methods for Creative Writing

    Evaluating a model’s creative writing ability can start from five dimensions. Each dimension needs a verifiable metric; otherwise, results from two evaluations cannot be compared.

    1.1 Emotional Engagement

    Emotional engagement refers to whether the model can capture the emotions implicit in the input and convey them through metaphors, irony, lyrical expression, and other techniques in the output. This dimension mainly relies on blind human evaluation. It is recommended to organize at least three reviewers and score each sample on a scale of 1 to 5. The scoring dimensions include whether the emotion matches the setting and whether the expression is compelling. Reviewer consistency can be measured with Krippendorff’s alpha; when the coefficient reaches 0.6 or above, the results can be used as a reference.

    1.2 Instruction Following and Constraint Management

    Users often set constraints such as word count, point of view, prohibited words, and genre. This dimension is the easiest to automate: write each constraint as a rule that can be judged programmatically, such as counting words, checking whether prohibited words appear, and checking pronouns. The constraint-following rate equals the number of samples that satisfy all constraints divided by the total number of samples. It is recommended to prepare at least 100 test samples for each type of constraint and to report the pass rate for each constraint type separately, so that an overall number does not hide failures in a particular category.

    1.3 Character Development

    Character development focuses on whether a character’s personality, language habits, and growth trajectory remain consistent throughout the text. After generating a long text, you can ask the model or reviewers pre-written questions, such as “What is the protagonist most afraid of?” and “What is the supporting character’s catchphrase?” and then compare the answers with the setting sheet. Character consistency equals the number of correct answers divided by the total number of questions.

    1.4 Contextual Coherence

    Long texts are prone to timeline errors, changed character relationships, and broken causal links between events. You can count setting conflicts once per thousand words. Conflicts include inconsistent character ages, a dead character appearing again, and contradictions between location and time. The fewer the conflicts, the more stable the model’s maintenance of global state.

    1.5 Sentence Fluency and Language Naturalness

    The basic metrics for this dimension are grammar error rate and human-judged naturalness. Perplexity can be used as a supplementary reference, but its correlation with literary quality is weak, so it should not be used as the sole basis. You can also count the occurrences of high-frequency boilerplate phrases, such as the same opening or concluding sentence appearing repeatedly, to determine whether the text is template-like.

    How to Choose an Evaluation Benchmark

    When choosing an evaluation benchmark, first clarify whether the business task is a novel, screenplay, copywriting, or short-video script, and then confirm whether the benchmark samples are similar to that task. Check three things: whether the sample source is publicly verifiable, whether the scoring criteria are clearly stated, and whether the test set may already have been mixed into training data. A benchmark’s total score can only be used for rough screening; the real selection conclusion should come from sub-item scores on your own business samples.

    2. Common Bottlenecks and Typical Errors

    2.1 Long-Context Memory Decay and Hallucination

    When the text length approaches the upper limit of the context window, the model’s attention to settings established at the beginning decreases, manifesting as changed character names, repeated plot points, or contradictions. The model may also add facts that do not appear in the background, such as inventing a character’s place of origin or historical events. The judgment method is to extract all factual statements in the generated text, compare them one by one with the setting library, and record the proportion of statements not supported by the settings.

    2.2 Style Homogenization

    The same model tends to use similar sentence patterns and vocabulary across different genres, giving readers an obvious “AI feel.” The distinct-n metric can be used to measure vocabulary diversity, that is, the proportion of non-repeated n-grams among all n-grams. If the sampling temperature is set too low, for example below 0.5, homogenization will worsen, but too high a temperature will cause sentences to lose coherence. Parameters need to be tuned together with blind evaluation results.

    2.3 Checklist of Common Errors

    Common problems in development include: requesting the full text in one go, which causes quality to drop noticeably in the middle and later sections; placing constraints at the end of the prompt, which the model easily ignores; looking only at the total score during evaluation, which hides failure in a sub-item; and publishing model output directly without a final human review.

    3. Practical Applications and Parameter Settings

    3.1 Prompt Engineering: Step-by-Step Narrative Guidance

    Step-by-step generation is usually more stable than generating the full text at once. It is recommended to split creation into three steps: plot planning, segmented writing, and overall polishing. The following is a template for segmented writing:

    1. prompt = f"""
    2. You are a senior novel editor and author. Write the following section according to the setting below.
    3. - Character profile: {character_profile}
    4. - Current scenario: {current_scenario}
    5. - Emotional tone: {emotion_tone}
    6. - Constraints: about 500 words, third-person point of view, do not use words such as "as if" or "like".
    7. - If the setting information is insufficient, list the questions that need to be supplemented at the end of the output. Do not add facts on your own.
    8. """
    9. response = client.chat.completions.create(
    10. model="your-model-version", # Use a fixed version number to avoid result changes caused by model upgrades
    11. messages=[{"role": "user", "content": prompt}],
    12. temperature=0.8, # Creative tasks often use 0.7 to 1.0
    13. top_p=0.9,
    14. max_tokens=1200, # For Chinese, about 1 token corresponds to 1–1.5 Chinese characters; convert by character count and leave a margin
    15. timeout=60, # Timeout per request in seconds
    16. )

    If a request fails, retry at most twice using exponential backoff, with retry intervals of 2 seconds and 4 seconds. Every call should record the model version, parameters, and prompt version for traceability.

    3.2 Retrieval-Augmented Generation: Maintaining a Dynamic Setting Library

    For long-form creation, you can store the world-building, character relationships, and chapter summaries in a vector database. Common open-source options include FAISS.