Internal Data Repetition Destroys Language Models
This paper demonstrates that in the Chinchilla-era scaling paradigm, data repetition systematically harms language model performance by creating a compute-equivalent loss peak at an intermediate repeat count that scales with model size, a phenomenon analytically explained as a statistical tradeoff between memorization and generalization.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a student (a Language Model) to write essays by giving them a massive library of books to read. The goal is to make them as smart as possible using a limited amount of study time (computing power).
This paper investigates what happens when that library isn't perfect and contains duplicate books. Specifically, it asks: Does it matter if we give the student the same book twice, or the same book 100 times?
Here is the breakdown of their findings using simple analogies:
1. The Problem: The "Echo Chamber" Effect
In the past, researchers thought that if you just removed exact duplicates from your training data, you were safe. But in reality, even "clean" data has some repeats.
The researchers found that repetition doesn't just make learning slightly slower; it can actively destroy the model's performance in a very specific, counter-intuitive way. It's not a straight line where "more repeats = worse results." Instead, it's a trap.
2. The "Goldilocks" Trap (The Worst-Case Scenario)
The most surprising finding is that the damage isn't caused by repeating a tiny bit of data a million times, nor by repeating a huge chunk of data just twice.
The Analogy: Imagine a student studying for a test.
- Scenario A: They read 1,000 unique books once. (Great results).
- Scenario B: They read 1,000 unique books, but they also re-read one specific book 10,000 times. (The student memorizes that one book perfectly but fails to learn general concepts. Bad results).
- Scenario C (The Trap): They read 1,000 unique books, but they re-read a medium-sized pile of 50 books about 100 times each.
The paper found that Scenario C is the worst. It's like the student gets stuck in a loop where they memorize that medium pile of books so thoroughly that they stop learning anything new from the rest of the library. They become "over-specialized" on the duplicates and "under-specialized" on the unique data.
- Too few repeats: The student ignores the duplicates and learns normally.
- Too many repeats: The student memorizes the duplicates so hard they effectively "tune out" the rest of the data, but the sheer volume of unique data still helps.
- Just the right amount of repeats: The student gets confused. They spend too much time on the duplicates to memorize them, but not enough time on the unique data to learn general rules. This "middle ground" causes the biggest drop in intelligence.
3. The "Size Matters" Rule
The researchers discovered that the size of this "danger zone" changes depending on how big the student (the AI model) is.
- Small models get hurt when they repeat a small pile of books many times.
- Large models get hurt when they repeat a much larger pile of books, but fewer times.
Think of it like a sponge. A small sponge (small model) gets clogged if you pour a little bit of mud on it too many times. A giant sponge (large model) can handle a little mud, but if you pour a huge bucket of mud on it a moderate number of times, it gets clogged instantly.
4. The Cost: Wasted Money and Energy
The paper translates this "stupidity" into money and energy. They found that if you hit this "worst-case" repetition trap, you might as well have thrown away 33% of your computing budget.
The Analogy: Imagine you paid for a 100-hour study session. Because of the bad repetition structure, the student only learned as much as they would have in a 67-hour session. You wasted 33 hours of electricity and money for no gain.
5. Why Does This Happen? (The Simple Math)
You might think this is a complex quirk of how AI brains (Transformers) work. But the authors proved it's actually a basic statistical problem.
They built a simple math model (like a basic linear regression) that doesn't even use AI. When they fed this simple math model duplicate data, it showed the exact same "Goldilocks" peak of bad performance.
The Lesson: This isn't a bug in the AI's fancy attention mechanisms; it's a fundamental law of statistics. When you have a mix of unique data and repeated data, there is a specific balance where the model gets confused between "memorizing the copy" and "learning the general rule," and that confusion hurts the most.
Summary
- Repetition is bad, but not in the way you think.
- The worst damage happens when you repeat a medium-sized chunk of data a moderate number of times.
- Bigger models are vulnerable to repeating larger chunks of data.
- The cost is huge: You can waste a third of your computing power just by having the wrong repetition structure.
- The cause is a basic statistical trade-off between memorizing duplicates and learning general patterns, not a complex AI failure.
The paper concludes that simply removing duplicates isn't enough; we need to understand how the remaining duplicates are structured to avoid wasting massive amounts of resources.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.