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. Some rounds stay near-perfect, then a single round costs 10–30+ points of content. The text looks fine. The data is gone. A checker prompt (our adaptation, not from the paper) can help you catch some of 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. Keep in mind the paper found LLM judges miss many subtle changes, so a real diff or a human check is safer for critical data.

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.4, Claude 4.6 Opus, Gemini 3.1 Pro) lose or distort an average of 25% of a document's content by the 20th edit. Across all 19 tested models the average loss was 50%, and weaker models lost more.

The real trap isn't gradual wear and tear. About 80% of all damage comes from rare critical failures: the model keeps the document near-perfect for some rounds, then loses 10–30+ points of the similarity score in a single round trip. 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 more editing passes — 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

(Our illustration of the pattern; the specific round numbers are made up, not from the paper.)

Rounds 1–3:    Model performs great → everything looks OK
Rounds 4–7:    Small, invisible errors start piling up
Round 8:       CRITICAL FAILURE → score drops 10–30+ points
               (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: Python — the only one of 52 domains where most models (17 of 19) edited without loss; programmatic formats in general did better.

Disaster zone: natural language and niche formats (e.g., earning statements, music notation).

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 can happen (our illustration, based on the paper's averages):

By the 10th edit, there is a real chance the model has 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.

Every pass is a new chance to lose something. In the paper each edit ran as a separate single-turn request with no chat history — and documents still degraded, because errors from earlier passes are carried forward in the document itself. Irrelevant files in context add "noise" on top (removing them improved end scores by 2–8%).

Critical 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. The paper does not explain why; it notes that stronger models don't avoid small errors better — they just hit critical failures later and less often.

Levers for managing the risk: - Number of editing passes → the fewer times the model rewrites the document, the safer - Context size → remove irrelevant files (they cost 2–8% by the end); longer documents degrade more — for GPT 5.4, each extra 1,000 tokens of document cost about 3.6% after 20 edits - Kind of edit → global restructuring (splitting, merging, reclassifying) is much riskier than local changes; programmatic formats like Python fared better 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. In the study, GPT 5.4 used as a judge explained less than 25% of the variation in the paper's own precise scores on hard cases. Mission-critical documents still need a human review or a real diff.

⚠️ Python is the exception: most models edited Python losslessly, and programmatic formats did better overall. The rules above apply mainly to text documents.

⚠️ Agent modes didn't help: In the paper's basic agent setup (search-and-replace, code execution), four GPT models performed slightly worse with tools — about 6% more degradation on average — partly because tool calls inflated the context 2–5x. Commercial agent products were not tested.

07

Practical Rules for Working with Documents

These aren't prompts, they're changes in behavior we suggest to lower the risk of decay (our advice, not tested in the paper):

🔴 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 without irrelevant files (note: in the paper every edit was already a fresh request, and documents still degraded — a new chat does not remove the risk of each rewrite) - 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 10 such round trips (20 edits, each a separate request) and measured how much of the document "survived." The result was worse than expected: even GPT 5.4, Claude 4.6 Opus and Gemini 3.1 Pro lost an average of 25% of the content by the 20th edit — 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 — about 80% of all damage came from isolated critical failures.

The counterintuitive part: giving four GPT models tools (search-and-replace, code execution) in a basic agent setup made things slightly 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."

Our suggestion: the more precise your instruction about what not to change, the lower the chance of accidentally losing content elsewhere. The paper supports this only indirectly: local edits were much safer than global restructuring.


🔧 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}.

Our hunch: LLMs like to "improve" things, which may add to the decay. The paper did not test this; it found strong models mostly corrupt content, while weaker ones mostly delete it.

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. Some rounds stay near-perfect, then a single round costs 10–30+ points of content. The text looks fine. The data is gone. A checker prompt (our adaptation, not from the paper) can help you catch some of 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. Keep in mind the paper found LLM judges miss many subtle changes, so a real diff or a human check is safer for critical data.

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 more passes, the longer the document and the more irrelevant files in context, the more damage piles up. In the paper each edit was a fresh single-turn request, so this happens even without a long chat history.

Why it works

The best models — GPT 5.4, Claude 4.6 Opus, Gemini 3.1 Pro — lose an average of 25% of content by the 20th edit; the average across all 19 models is 50%. But not evenly: about 80% of all damage comes from rare critical failures in a single round trip. So a model's early performance doesn't reliably predict what happens later: GPT 5 and Kimi K2.5 scored almost the same after 2 edits (91.5 vs 91.1) but ended at 48.3 vs 64.1. A checker (our suggestion) turns the job into a comparison task, but the paper found that even GPT 5.4 as a judge misses much of the subtle damage.

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. Less needed for Python, where most models edited without loss. A single edit is lower-risk than a long series, but not risk-free: one round trip can already cost 10–30+ points.

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 fewer passes: 3–4 rounds — stop and check. Keep irrelevant files out of context (in the paper they cost 2–8% by the end). A new chat alone does not remove the risk — each rewrite can still lose content 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 the 20th edit, even top models like GPT 5.4 or Claude 4.6 Opus drop or garble about 25% of the original content on average. These aren't typos; this is systematic content decay you'll miss unless you reread every single word.

Think of it as document corrosion. 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.

It isn't uniform, though. Across 52 domains the damage was worst in natural language and niche formats, and much milder in programmatic ones: Python was the only domain where most models edited without loss. Tasks that restructure the whole document (split, merge, reclassify) were riskier than local edits. Averaged over all 19 models, documents lost about 50% of their content after 20 edits — weaker models lost far more than that.

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 may send a client a document that looks professional but has changed numbers and missing key terms.

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.