← Latest papers
🤖 machine learning

A Bitter Lesson for Data Filtering

This paper challenges the conventional wisdom that data filtering is essential for large model pretraining, demonstrating through scaling studies in high-compute, data-scarce regimes that sufficiently trained large models actually benefit from including low-quality and distractor data rather than filtering them out.

Original authors: Christopher Mohri, John Duchi, Tatsunori Hashimoto

Published 2026-05-20
📖 4 min read☕ Coffee break read

Original authors: Christopher Mohri, John Duchi, Tatsunori Hashimoto

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

The Big Idea: The "No Filter" Rule

Imagine you are trying to teach a super-smart student (a Large Language Model) everything about the world. The traditional way to do this is to act like a strict librarian. You go through a massive library (the internet/Common Crawl), throw away the messy, poorly written, or repetitive books, and only give the student the "best" 1% of the collection.

This paper argues that if you have enough time and energy (computing power) to teach the student for a very long time, you should actually stop being a librarian.

The authors found that if you let the student read everything—the good books, the bad books, the repetitive lists, and the random noise—they will eventually learn better than if you had filtered the books for them. In fact, the "junk" data turns out to be helpful, not harmful, for a sufficiently large and well-trained model.

The Experiments: The "Gym" Analogy

To test this, the researchers set up a series of experiments that act like a gym for AI models.

1. The "Clean vs. Messy" Diet
They took a huge pile of internet text (the "Pool") and created different versions of it:

  • The Pool: The raw, unfiltered internet text.
  • The Filters: Versions where they removed specific things, like non-English text, repetitive paragraphs, or words that aren't common English words. Some filters were very strict (keeping only 2% of the text), while others were loose.

They trained models of different sizes (from tiny to huge) on these different diets.

  • The Result: For small models or short training sessions, the "Clean Diet" (filtered data) worked better. It's like a small child learning better from a picture book than a dictionary.
  • The Twist: As they made the models bigger and trained them longer (more "compute"), the "Messy Diet" (the full, unfiltered Pool) started to win. The models trained on the full pool eventually surpassed the ones trained on the filtered data, even though the filtered data was "higher quality."

2. The "Junk Food" Injection
To see just how robust these models are, the researchers deliberately added "junk" to the diet:

  • Random Strings: Made-up words like "htb hqovl bwdws."
  • Shuffled Sentences: Taking real sentences and scrambling the word order (e.g., "Paris France of capital is The").

The Surprise: Even with this garbage mixed in, the large models didn't break. They learned to ignore the noise. In a strange twist, the models actually learned better from the shuffled sentences than from the clean data in some cases. Why? Because even when the words are scrambled, the model can still see that "Paris" and "France" appear together often, helping it learn the connection between them. The "junk" acted like a tough workout that made the model stronger.

The "Bitter Lesson"

The paper references a famous concept called "The Bitter Lesson" by Richard Sutton. The lesson is this: Human intuition often fails when we scale things up.

We humans think, "We must curate the data because it's too messy." But the paper suggests that as we get more powerful computers, the simple approach of "just feed it everything" beats our complicated, human-designed rules for cleaning the data. The model is smart enough to figure out what is useful and what is noise on its own, provided it has enough time to learn.

The Catch: It Costs a Lot of Energy

There is a major condition for this to work: Compute.

The paper calculates that for the "read everything" approach to beat the "filter everything" approach, you need a massive amount of computing power. They estimate that for the full Common Crawl dataset (240 trillion words), you might need about 1e+30 FLOPs (a unit of calculation) to make the unfiltered data the clear winner.

  • Think of it like this: If you have a small budget, hiring a professional editor to clean your data is the smart move. But if you have a billion-dollar budget, you can afford to hire a million interns to read every single page of the internet, and the sheer volume of reading will teach the AI more than the editor ever could.

The Conclusion

The paper concludes that for the future of giant AI models, we might need to stop trying to be perfect curators. Instead of spending huge resources trying to filter out "bad" data, we should focus on building bigger models and training them longer on the raw, messy, unfiltered internet. The models are surprisingly resilient; they can handle the noise and even use it to learn better.

In short: If you have enough power, the best filter is no filter at all.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →