Last updated:

LLMs Corrupt Your Documents When You Delegate

Philippe Laban, Tobias Schnabel, Jennifer Neville

In collections: AI Evals Agentic approach Hallucinations & reliability AI for coding AI at work

Strategies from the report:

  • Testing AI over long distances (Round-trip Relay Simulations): Instead of evaluating a model on one simple task, the authors tested it in a long, multi-step process. Each subsequent task built on the previous results, which made it possible to detect that over time the AI loses and distorts information.

  • Adding "decoys" to tasks (Distractor Environment Setup): The researchers deliberately added irrelevant but topically similar files to the AI's working environment. The goal was to check whether the model can focus only on the document being edited and not mix up data.

  • Tracking invisible errors (Silent Corruption Tracking): Models can ruin a file in such a way that at first glance it looks correct, but important pieces of data are missing from it. So special systems were used for constant, line-by-line comparison of file versions.

Good practices:

  • Short tasks instead of long marathons (Short-horizon Workflows): Avoid forcing the AI to work continuously on one document in very long conversations. AI errors pile up, and with each further interaction the file gets more and more corrupted.

  • A human has to check it (Human Review Validation): Never trust the results of artificial intelligence's work without limits. Because errors often hide behind a document that looks correct, every change made by the AI needs to be verified.

  • Give the AI only what is necessary (Context Size Management): Don't send the AI whole huge files if it only has to fix one fragment. The more unnecessary text you give the model, the greater the likelihood that it will start losing data.

What to avoid?

  • Leaving the AI on its own for a long time (Blind Delegation of Long Workflows): Don't entrust big editing tasks to artificial intelligence without supervision. Trusting the AI to carry out a long process on files by itself results in leading models irreversibly spoiling as much as 25% of the content.

  • Trusting that the AI will check its own mistakes (Over-reliance on Agentic Tools): Don't think that because the model has access to a calculator or external tools, it will correct its own errors. Research showed that models using these tools does not reduce the number of silent errors in files.

  • Judging a book by its cover (Surface-level Trust): The fact that a file prepared by artificial intelligence opens correctly, looks nice and shows no technical errors does not mean that everything inside the file adds up.

Support this project by buying me a coffee ;)