Chain-of-Thought Leakage in LLM Output: A Reproduction Test on a "Warning" Review Post Task
This article reproduces a single-turn generation test in which several LLMs were asked to write a short, first-person consumer complaint post. It shows how the lowest-scoring model scored 0.48 on persona because its chain of thought, self-check list, and templated writing notes were emitted as part of the final body text. The article covers the task setup, the scoring method, the failure breakdown, a mechanism-level analysis of why reasoning leaks into output, and engineering mitigations across the prompt, generation, validation, and regression layers.
1. The Task: Write a Review Post That Looks Human
The scenario comes from a real consumer situation. A blogger paid 680 yuan for a perm at a hair salon, showed a reference photo of loose French waves during the consultation, and received tight, uniform “old-lady curls” instead. The store manager explained that the hair was too coarse to achieve that look, but had not raised this beforehand. By the third day, after washing, the curl was completely gone. The store refused a refund and offered only a free redo.
The requirements given to the model were specific:
- 300–400 words, colloquial, like a real person venting;
- state facts only: what was discussed, what the result was, how the store responded;
- no insulting or attacking language, no labeling or smearing the shop.
Note that this was a single-turn direct generation: the model had no revision opportunity and there was no human intervention. This setup deliberately sharpens the boundary problem between internal reasoning and the final deliverable — once the thinking process seeps into the body text, no stage can pull it back out.
2. Reproduction Setup and Evaluation Method
The experimental conditions, stated up front so the conclusions are not misread:
- Data was collected from a single run, with all models called concurrently through a unified gateway;
- The judge model was a non-participating general-purpose LLM, scoring independently;
- Seven scoring dimensions (persona, compliance, consistency, disclosure, platform style, and others), each scored 0–1;
- All scores correspond to the online versions on the collection day. After vendors silently update weights, the numbers drift, so the ranking should not be treated as a long-term conclusion.
The pipeline skeleton (pseudocode):
prompts = [build_task(task_brief, rules, style_guide)]for model in participants:raw = gateway.generate(model, prompts[0])scores = judge.evaluate(raw, rubric_seven_dims)save(model, raw, scores)
3. The Failure: Persona Score 0.48, Lowest in the Field
The model with the lowest average (0.66) scored only 0.48 on persona, while the best-performing model averaged 0.96 with six of seven dimensions above 0.9. The 0.30 gap in average score between the two models was widest on persona.
The lowest-scoring model’s output did not open with the review. It opened with a requirements document written for itself: it first listed phrasings such as “680 for nothing” and “what the hell” as having an authentic venting feel, then checked itself item by item against the requirements, and finally appended a templated note about the writing approach.
The judge’s comment, in substance: parts of the phrasing in the actual body did read like a real person venting, but the long stretches of reasoning, the item-by-item self-check, and the templated writing notes were output directly, clearly exposing the machine generation process and severely undermining persona credibility.
Put differently: the 0.48 persona score was not because it wrote unlike a human, but because it stated out loud that it was pretending to be one.
4. Failure Structure: Two Models From the Same Family, Same Pit
Breaking down the loss distribution reveals more signal:
- The lowest-scoring model’s compliance score was only 0.62 and consistency 0.70;
- Another participating model from the same series (average 0.69) also leaked the requirements document at the opening, scoring 0.58 on persona and 0.45 on platform style;
- The two models’ failure structures are highly similar — less like coincidence, more like a series-level mechanism problem (see next section);
- On the positive side, the lowest-scoring model scored 0.95 on disclosure: it clearly stated that this was a real consumer experience in which 680 yuan was paid, and did not pose as a commercial collaboration. It got disclosure right; it lost entirely on whether the post read like something a real person would publish.
5. Mechanism Analysis: Why the Chain of Thought Reaches the Body
Reasoning and output are not isolated. The model treats planning and self-checking as deliverable content. Under a reasoning-augmented paradigm, the chain of thought is the model’s “workspace”; if the generation pipeline does not separate the workspace from the deliverable, leakage is only a matter of time.
The task carries inherent tension. “State facts only, no insults” is a hard constraint, while “sound like a real person venting” demands emotional tension. When both are stacked, the model tends to demonstrate in the body how it satisfies each constraint, in order to prove compliance — and the self-check list becomes part of the deliverable.
Prompt structure amplifies leakage probability. When role-play instructions are buried under large volumes of rules, rubric criteria, and word-count requirements, the model readily treats meta-information in the context (“this is a task requirement,” “this is a scoring dimension”) as body material and restates it.
Generalization leakage from the training distribution. In training where reasoning traces are used as demonstrations, the model learns to “show its thinking.” When generating creative text, this pattern can generalize uncontrollably.
Single-turn generation lacks external validation. With no second-pass cleanup and no structured field constraints, leaked content goes straight into scoring.
6. Engineering Mitigations
The causes above can be addressed at four layers.
Prompt layer
- Organize in sections: task background → role/tone → hard rules → output format, and state an explicit prohibition that the output contains only the body text, with no analysis, plan, check, or explanation;
- Place role and style instructions at the end of the prompt, using recency to reinforce them;
- Provide one or two positive examples (a deliverable that starts venting immediately) and negative examples (one that opens with “As an AI” or “According to the requirements”).
Generation layer
- Use two-stage generation: the first stage produces internal planning (not part of the deliverable), the second writes only the body based on that plan;
- Or use structured output, placing reasoning in a separate field so downstream consumers take only the body field.
Validation layer
- Rule-based detection: if the body contains meta-words such as “persona,” “word count,” “dimension,” “judge,” “as a,” or contains a self-check list or heading-style enumeration, trigger interception and rewrite;
- Have the judge model first make a binary “did reasoning leak?” decision before entering the formal seven-dimension scoring.
Regression layer
- Fix this class of cases as regression tests, pin the random seed and a model version snapshot, and rerun after any prompt or model update to prevent silent regression.
7. Conclusion
The most valuable finding of this experiment is not the ranking but the source of the gap: between 0.48 and 0.96 lies not writing quality but boundary management — whether the thinking can be kept in the background while the deliverable is handed to the user. Prompting alone can hardly eliminate this class of leakage; the more reliable approach is a three-stage “plan–generate–validate” pipeline that shifts responsibility from model self-discipline to engineering constraints.
One more emphasis: all scores are single-run snapshots and will inevitably drift after vendor updates. What is worth retaining is the reusable evaluation methodology and the leak-resistant generation workflow.
