Evaluating Large Language Models on High-Constraint Long-Form Writing: A Technical Practice Using Chinese College Essay Prompts
This article presents a practical methodology for evaluating the long-form writing capabilities of large language models using highly constrained Chinese college entrance exam essay prompts. It explains why these prompts work as an engineering benchmark, then walks through a four-layer evaluation framework covering constraint modeling, sampling stability, multi-dimensional scoring, and judge agreement. It also covers essential robustness tests, pipeline engineering for repeatable runs, and common pitfalls to avoid.
1. Why College Essay Prompts Are a Strong Benchmark for LLM Writing
In Chinese, the college entrance exam essay is a highly constrained long-text generation task: it has a minimum word count, may restrict the genre, requires the argument to stay aligned with the source material, demands a complete structure, and expects appropriate language. These constraints map directly to the core dimensions of writing ability—instruction following, long-range structural planning, semantic consistency, material organization, and style control. Treating these prompts as a “high-constraint long-form generation benchmark” is therefore more useful for engineering than looking at a few isolated generation samples.
This article does not rank specific products. Instead, it discusses an evaluation methodology. The reason is that the perceived quality of a single essay depends heavily on the grader’s preferences, and conclusions are nearly impossible to reproduce when the sample size is too small. Only by fixing the scoring dimensions, judge agreement, and randomness controls can evaluation results carry real reference value.
2. The Four Layers of the Evaluation Framework
2.1 Input Layer: Prompt Parsing and Constraint Modeling
First convert the essay prompt into structured constraints before sending it to the model, so that conclusions do not drift because the prompt was written carelessly.
{"material": "Source material text...","genre": "Argumentative essay","min_words": 800,"must_include": ["Keyword A from the material", "Keyword B from the material"],"forbidden": ["Signs of template reuse", "Obvious off-topic content"],"style": "Formal, restrained, with layered argumentation"}
Key engineering point: make constraints explicit and verifiable. Word count, keyword coverage, and genre markers can all be judged automatically by rules, without relying on subjective reading.
2.2 Generation Layer: Sampling Strategy and Stability
Sample at least 5 times for the same prompt, and record output differences across temperatures and sampling parameters. The evaluation must distinguish two capabilities: the “upper bound” of writing well in a single attempt, and the “lower bound” stability of producing acceptable output across multiple attempts. In real business scenarios, the latter often matters more.
def sample_and_score(prompt, n=5, temperature=0.7):outs = [generate(prompt, temperature=temperature) for _ in range(n)]scores = [rule_check(o, prompt) + model_judge(o, prompt) for o in outs]return {"mean": sum(scores)/n, "min": min(scores), "scores": scores}
2.3 Scoring Layer: Multiple Dimensions Instead of a Single Total
Break scoring into five dimensions, each rated 1–5 and combined with weights: prompt adherence, structural completeness, argument quality, language expression, and innovation with material use. The value of this breakdown is diagnosability—when the total score is low, you can tell whether the issue is off-topic content, a loose structure, or bland language.
2.4 Validation Layer: Judge Agreement
Use two or more reviewers, or two sets of judge prompts, to score independently and compute an agreement metric. Low agreement indicates that the scoring rubric is vague and should be revised, rather than accepting the scores at face value.
3. Robustness Tests You Must Run
- Prompt paraphrasing: replace the material with synonymous wording and see whether conclusions fluctuate sharply.
- Adding distractors: insert irrelevant requirements into the prompt to test resistance to instruction interference.
- Length pressure: raise the minimum to 1200 words and observe whether repetition and padding appear.
- Factuality checks: whether examples in argumentative essays are fabricated requires manual spot checks.
4. Engineering the Pipeline
Put the evaluation set and scoring rubric under version control, and make generation, scoring, and aggregation into repeatable tasks. Route raw outputs uniformly to object storage, send process metrics to a logging service, and trigger review through monitoring alerts when abnormal fluctuations occur. If large-scale concurrency is needed, container platforms can provide elastic scaling to compress a full evaluation round into an acceptable duration.
5. Common Pitfalls
First, drawing conclusions from a single model-written sample. Second, comparing only total scores without looking at the dimension distribution. Third, ignoring sampling randomness. Fourth, treating style preference as a measure of capability. There is only one way to avoid these: fix the process, fix the rubric, use enough samples, and keep everything reproducible.
