An Empirical Study on Noisy Data and LLM Pretraining Loss Divergence
Qizhen, Ankush Garg, Jakob Foerster, Niladri S. Chatterji, Kshitiz Malik, Mike Lewis
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Scaling Laws and Optimization · Type: empirical study · Keywords: noisy data, LLM pretraining, loss divergence, training dynamics, noise injection, model scale
Summary
We conduct a large-scale empirical study showing that injecting noise into clean datasets can cause loss divergence during LLM pretraining, and we characterize how noise type, amount, and model scale affect this divergence.
Explained to a 5-year-old
We trained big computer programs that learn words from lots of text. Sometimes the text has mistakes, like random letters mixed in. When we added those mistakes, the training sometimes stopped working and got confused. We found out that more mistakes or bigger programs made this happen more often. We also learned how to tell if the problem was from mistakes or from training too fast.
Explained to a 5-year-old, longer
Big computers learn to understand language by reading lots of books. The books come from the internet, and sometimes they have typos or random words. We wanted to know if those typos could make the computer stop learning properly. So we took clean books and added fake typos on purpose. We trained the computer on both clean and noisy books. We saw that when there were many typos, the computer sometimes got confused and its learning stopped. The bigger the computer, the more likely the confusion happened. Different kinds of typos caused different kinds of problems. We also noticed that the computer’s brain signals looked different when the problem was from typos versus when it was from learning too fast. This helped us tell the two problems apart. Our study used a lot of computer time, over 100,000 hours, to make sure the results were reliable. Now we know more about why noisy data can break language learning and how to spot it.
For a technical reader
We investigated how noisy web data affects large language model pretraining by injecting controlled random noise into clean corpora and training models from 480M to 5.2B parameters. The experiments revealed that noise can cause training loss to diverge, with divergence probability scaling with noise magnitude, type, and model size. We identified distinct activation patterns for noise-induced divergence versus high-learning-rate divergence and proposed diagnostic signals to differentiate them. The findings were derived from over 100,000 GPU hours of computation, providing a systematic, large-scale characterization of this under-studied failure mode.
Problem
It is unclear whether noisy data present in web-scale pretraining corpora cause loss divergence during large language model pretraining, and how factors like noise type, amount, and model size influence this phenomenon.
Method
The approach injects controlled, synthetic uniform random noise into otherwise clean datasets and trains models ranging from 480M to 5.2B parameters, analyzing training dynamics and divergence patterns.
Results
The study finds that noisy data cause loss divergence, with divergence probability strongly dependent on noise type, amount, and model scale, and it provides diagnostics to distinguish noise-induced divergence from high-learning-rate divergence, all observed over 100,000 GPU hours.
Contributions
We provide the first large-scale, controlled characterization of how noisy data affects loss divergence in LLM pretraining, reveal distinct activation patterns for noise-induced divergence, and offer diagnostics to differentiate it from learning-rate-induced divergence.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction