Apply to my task
arXiv:2604.15597 ★ 91 Apr 17, 2026

The Document Decay Effect: LLMs Quietly Corrupt Files During Long Collaborative Editing

Key result

LLMs don't damage documents gradually — that's the big illusion. Seven rounds of perfect order, and on the eighth, 30% of the content silently disappears. The text looks fine. The data is gone. A checker prompt lets you catch this decay: what exactly was deleted, what changed in meaning, what conflicts with the original. The core of the method is switching the model from editor mode into integrity-auditor mode. It hunts for losses between two versions instead of improving the text — these are fundamentally different tasks.

01

TL;DR

Every time you ask an LLM to edit a document, it risks damaging it — not all at once and not obviously, but suddenly and silently. The study found that even the best models (GPT 5, Claude Opus, Gemini Pro) lose or distort an average of 25% of a document's content by the 20th editing round. Weaker models lose more than 50%.

The real trap isn't gradual wear and tear. 80% of all damage comes from rare catastrophic failures: the model works flawlessly for 7 rounds, then drops 30 items in a single request. You don't notice, because the text still reads fine — part of the content has just quietly vanished or changed. This is called silent corruption.

And it compounds: the longer the document, the more irrelevant files in context, the longer the session runs — the faster the damage piles up. A model's early performance does not predict what happens 10 rounds later.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

How the Problem Unfolds

Rounds 1–3:    Model performs great → everything looks OK
Rounds 4–7:    Small, invisible errors start piling up
Round 8:       CATASTROPHIC FAILURE → 10–30% of content lost
               (reads like normal text, but some data is gone)
Rounds 9–12:   Looks normal again → you assume it's all fixed
Round 13:      Another sudden failure → damage accumulates
...
Round 20:      75% of the original survives (best models)

Safest territory: code and configs (Python is the only domain where most models stay stable).

Disaster zone: natural language, niche formats, structured records.

03

Example in Practice

Task: You're putting together a 15-page investment memo for a startup. You ask Claude to refine it step by step: first rewrite the market section, then add the financial model, then rework the risks, then polish the executive summary... All in one long chat.

What actually happens:

By the 10th request in that chat, the model has most likely distorted or deleted some data from the earlier sections. Numbers may have shifted. Arguments in the risk section may have partially "dissolved." References to competitors may have disappeared. Everything looks polished, but it's no longer the same document.

Checker prompt (paste it in after every 3–4 editing rounds):

Compare the current version of the document with the original below.

Find everything that:
— was in the original and is missing from the current version
— changed in meaning (not style, but substance: numbers, facts, logic)
— was added but contradicts the original

Response format:
1. DELETED: [what exactly and where]
2. CHANGED IN MEANING: [what and how]
3. CONFLICT WITH ORIGINAL: [what was added and why it contradicts]

Original document:
[paste the original]

Current version:
[paste the current version]

Result: The model returns a structured list of differences between the original and the current version. Some will be your intentional edits — others will turn out to be silent decay.

04

Why This Works (and Why the Problem Is Real)

An LLM doesn't "edit" a document — it regenerates it. When you ask it to change one paragraph, the model usually produces a fresh version of the whole document, using the previous one as a template. Every "regeneration" is a chance for something from the original not to make it into the new version.

Context accumulates and creates pressure. The longer the chat, the more information sits in the model's context. Irrelevant files, earlier versions of the document, the edit history — all of it adds "noise". The model starts losing track of which version is current and what needs to be preserved.

Catastrophic failures aren't a bug, they're a pattern. The study showed that models don't degrade evenly. They hold up, then suddenly "break" in a single request. That's because small accumulated contradictions in context eventually get resolved abruptly — the model "picks" one version of reality and loses the other.

Levers for managing the risk: - Session length → the fewer rounds in one chat, the safer - Context size → remove irrelevant files — every 1,000 tokens of extra context speeds up decay - Task type → structured output (tables, code, JSON) is more reliable than prose

05

Prompt Template: Document Checkpoint

Use it every 3–4 editing rounds or before an important save:

You are an audit editor. Your job is to find degradation, not improvements.

ORIGINAL DOCUMENT (reference):
{original_text}

CURRENT VERSION:
{current_text}

Check against three criteria:

1. LOSSES: What is in the original but missing from the current version? 
   (Facts, numbers, arguments, examples — not style)

2. DISTORTIONS: What changed in meaning without my instruction?
   (A number is different, a claim got flipped, a conclusion changed)

3. STATUS: Document intact / losses found / critical distortions

Do not comment on writing quality — only on whether the content is preserved.

Placeholders: - {original_text} — the original before any editing (keep it in a separate chat or a note) - {current_text} — what you ended up with after a series of edits


🚀 Quick start — paste into the chat:

Here is a template for checking that a document survived LLM editing intact. 
Adapt it to my task: {your task — what you're editing}. 
Ask me questions to fill in the fields.

[paste the template above]

The LLM will ask what counts as the reference (which version is the original) and what kind of content is critical (numbers, facts, structure) — because that determines where the check should focus.

06

Limitations

⚠️ Diagnosis, not protection: The checker finds decay after the fact. It doesn't prevent losses — it only helps you catch them.

⚠️ The checker itself isn't perfect: LLM-as-a-judge is bad at catching subtle semantic changes. The study found that GPT 5.4 as a judge flags at most 25% of real discrepancies. Mission-critical documents still need a human review.

⚠️ Code is the exception: LLMs edit Python and other programming formats far more reliably. The rules above apply mainly to text documents.

⚠️ Agent modes don't help: If you use AI agents with tools (Operator, auto-editing features), they perform worse, not better, because of context growth and chains of tool calls.

07

Practical Rules for Working with Documents

These aren't prompts, they're changes in behavior that lower the risk of decay:

🔴 Dangerous: - Editing one document over 10+ rounds in the same chat - Keeping irrelevant files in context "just in case" - Trusting the result without checking just because it "looks fine"

🟢 Safe: - New editing task = new chat (clean context) - Keep the original document outside the chat — in notes or a separate file - Check for preservation after every 3–4 edits - Ask the model to make changes surgically, at a specified location, instead of rewriting everything

08

How They Studied It

The idea was elegant: if you ask a model to make a change and then undo it, a perfect model returns the exact original. The researchers built 310 work environments across 52 professional domains — from accounting and music notation to crystallography and subtitles. For each domain they created pairs of instructions: "split the file by category" + "merge it back into one file," "convert the amounts to euros" + "convert them back to the original currency." That let them measure quality automatically without manual labeling — just compare the final document to the original.

Then they ran 19 models through chains of 20 such paired rounds and measured how much of the document "survived." The result was worse than expected: even GPT 5.4 and Claude 4.6 Opus lost an average of 25% of the content by round 20 — and the average across all 19 models was 50%. The pattern of critical failures was the surprise: the researchers expected "death by a thousand cuts" and got "rare but severe wounds" instead — 80% of all damage came from isolated catastrophic failures.

The counterintuitive part: giving models tools (search-and-replace, code execution) made things worse, not better. Tools inflate the context 2–5x, and long context is the main enemy of accuracy. In the end, the only domain where most models worked reliably was Python. Everything else is a risk zone.

09

Adaptations and Extrapolations

💡 Adaptation: The "Session and Snapshot" Rule

Instead of one long chat — short sessions with checkpoints:

Before we start, save this to a separate document (or the top of the chat):

SNAPSHOT v1.0 from [date]:
[paste the full current version of the document]

---

Now make the following change: {specific edit}

After answering, save the new version as SNAPSHOT v1.1.

It's a manual versioning system right inside the chat. Not high-tech, but a working way to keep a restore point.


🔧 Technique: Surgical Edits Instead of Full Regeneration

Instead of "rewrite the section" — "replace this specific spot":

❌ "Rewrite the risks section — make it more specific"

✅ "In the 'Risks' section, second paragraph — replace only the first sentence.
Original: [paste the sentence]
Replace with: [new version]
Leave the rest of the text untouched."

The more precise your instruction about what not to change, the lower the chance of accidentally losing content elsewhere.


🔧 Technique: An Explicit Ban on "Improvements"

Change only what I specified. 

Don't improve the style. Don't fix other parts. 
Don't add anything of your own to sections I didn't mention.
Return the full document with a single change: {what exactly}.

By default, LLMs love to "improve" things — and that's part of what drives the decay.

10

Resources

LLMs Corrupt Your Documents When You Delegate — Philippe Laban, Tobias Schnabel, Jennifer Neville, Microsoft Research. Preprint, under review.

Code and dataset: github.com/microsoft/DELEGATE52 · huggingface.co/datasets/microsoft/DELEGATE52

Research digest

Key result

LLMs don't damage documents gradually — that's the big illusion. Seven rounds of perfect order, and on the eighth, 30% of the content silently disappears. The text looks fine. The data is gone. A checker prompt lets you catch this decay: what exactly was deleted, what changed in meaning, what conflicts with the original. The core of the method is switching the model from editor mode into integrity-auditor mode. It hunts for losses between two versions instead of improving the text — these are fundamentally different tasks.

Principle

You think you're asking the model to edit a paragraph. It regenerates the entire document. Every time. The previous version is just a template for the new one. Every call to an LLM is a bet that nothing falls out during that regeneration. The longer the chat, the more noise in context: old versions, irrelevant files, edit history — it all piles on pressure. At some point the accumulated contradictions resolve abruptly — the model picks one version of reality and loses the other.

Why it works

The best models — GPT-5, Claude Opus, Gemini Pro — lose an average of 25% of content by round 20. Weaker ones lose more than 50%. But not evenly: 80% of all damage comes from rare catastrophic failures in a single request. So a model's early performance tells you nothing about what happens 10 rounds later — it held up seven times and collapses on the eighth. The checker works because a model playing auditor with two concrete texts is solving a comparison task — which is fundamentally easier than "edit this while keeping everything important."

When to apply

Text documents that go through multiple editing rounds — investment memos, contracts, technical specs, reports, sales proposals. Especially where numbers, facts and reasoning matter, not just style. The check matters most right before a final save or send. NOT needed for: code and configs — Python edits stay stable. One-off edits without accumulated chat history are also safe.

Mini recipe

1. Keep the original outside the chat: before the first edit, copy the document into your notes or a separate file — that's the reference you'll keep coming back to 2. Edit in short sessions: 3–4 rounds — stop. New editing task = new chat. A clean context sharply lowers the risk of a catastrophic failure 3. Run the checker every 3–4 edits: paste both texts (original and current version) and add the audit task — the model will name what disappeared, what changed in meaning, and what conflicts with the original 4. Read the list of differences critically: some will be your intentional edits, some will be decay. Sort them out before the next round

Examples

[BAD]: `Rework the risks section in this memo` (the 12th request in the same chat, original saved nowhere) [GOOD]: `You are an audit editor. Your job is to find degradation, not improvements. ORIGINAL DOCUMENT (reference): [the original before any edits] CURRENT VERSION: [the document after a series of edits] Check against three criteria: 1. DELETED: what is in the original and missing now (facts, numbers, arguments — not style) 2. CHANGED IN MEANING: what became different without my instruction 3. STATUS: intact / losses found / critical distortions Do not comment on writing quality — only on whether the content is preserved.`

In plain words

When you ask an AI to "clean up" a text or tweak a couple of paragraphs, it doesn't just edit — it rewrites reality. The core flaw is that LLMs can't do differential editing. They don't see a document as a fixed foundation that gets small changes; to them, every new request means rebuilding the whole puzzle from memory. During that rebuild, the model starts "hallucinating lite," quietly tossing out important details or bending facts you never asked it to touch.

It's like playing a game of telephone with a very overconfident assistant. You ask them to just change the font in the document header, and while they're at it they rephrase the contract terms because it "seemed to flow better." With every new round — the second, fifth, tenth pass of edits — the error compounds. By round 20, even top models like GPT-4 or Claude Opus manage to drop or garble 25% of the original meaning. These aren't typos; this is systematic content decay you'll miss unless you reread every single word.

The study calls it the document corrosion effect. Picture yourself preparing a 15-page investment memo and polishing it bit by bit in one chat: add a paragraph about the market here, adjust the financial model there. It works like rust on a car body: at first everything shines, but after a week of edits you discover a key point has vanished from the risks section and the revenue forecast has mysteriously been cut in half. The longer the chat and the more rounds, the higher the chance the model turns your document into informational mush.

The worst part is that this principle is universal and doesn't depend on task complexity. They tested on documents, but the decay effect will show up everywhere: in code, long scripts, or email threads. If you hand an AI a long project inside a single thread, expect 10 out of 15 small details to simply evaporate over time. Weak models fumble even the easy stuff, losing up to 50% of the information and turning your text into a pile of disconnected clichés.

Bottom line: never trust an AI with the final assembly of an important document through endless "polishing." Iterative editing is a trap that kills accuracy. If you need a change, make it surgically, or always compare the result against the original with diff tools. Otherwise one fine day you'll send a client a document that looks professional but is actually total garbage, with half the numbers pulled out of thin air and key terms simply gone.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on The Document Decay Effect: LLMs Quietly Corrupt Files During Long Collaborative Editing arXiv:2604.15597

Sign in to apply this study New accounts get 50 free credits.