Data-Constrained Language Model Pretraining: Improved Regularization and Scaling Laws
Zhiwei Xu, Shihao Wu, Hanseul Cho, Wei Hu, Yixin Wang
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Scaling Laws and Optimization · Type: new method · Keywords: data-constrained pretraining, masked-input regularization, scaling laws, language model training
Summary
The paper introduces a masked-input regularization technique and a coupled scaling law to improve language model pretraining when training data is limited, showing better validation loss and estimating gains equivalent to 1.3× more unique data.
Explained to a 5-year-old
When we train big language models, we usually give them a lot of text only once. But now computers are getting faster faster than we can find new text, so we sometimes have to use the same text many times. Using the same text over and over can make the model forget new things. The paper suggests a new trick: hide some words in the text and ask the model to guess them, which helps the model remember better. It also creates a new way to decide how big the model should be when we have only a little text.
Explained to a 5-year-old, longer
When we train big language models, we usually give them a lot of text only once. But now computers are getting faster faster than we can find new text, so we sometimes have to use the same text many times. Using the same text over and over can make the model forget new things. The paper suggests a new trick: hide some words in the text and ask the model to guess them, which helps the model remember better. It also creates a new way to decide how big the model should be when we have only a little text. This new rule says that model size and amount of text should grow together, not separately. The experiments show that this trick improves the model's performance, especially on bigger models. The new rule also predicts how much better the model will be compared to old rules. Overall, the paper gives us better methods for training language models when data is scarce. It helps us make more useful models without needing endless new text. The ideas are simple enough that they could be used by many people building language models. This could save time and money while still getting good results.
For a technical reader
The paper studies what happens when there isn’t enough text to train large language models, so models repeat the same data many times. It adds a masked-input loss on top of regular weight decay to improve learning from repeated data. It also proposes a new scaling law that ties model size and data size together, which fits the observed behavior better than classic laws like Chinchilla. Experiments across 72 M to 1.4 B parameters show validation loss improvements and downstream gains, with the scaling law estimating the regularization benefit as roughly 1.3× more unique data.
Problem
When training compute outpaces the supply of natural language data, models must train multiple epochs over a finite dataset, but classical scaling laws assume abundant data and a single pass, leading to misspecified predictions.
Method
The approach adds an auxiliary next-token prediction loss on masked inputs on top of weight decay and proposes a scaling law that couples model size and data size to capture their interaction under repeated data.
Results
The approach improves validation loss over strong weight-decay-only models across model sizes, yields downstream gains at the largest scale, and the new scaling law fits data-constrained experiments better than classical alternatives, estimating regularization gains as roughly 1.3 times as much unique training data.
Contributions
The paper contributes a new regularization technique that adds an auxiliary masked-input prediction loss and a novel scaling law that couples model size and data size, demonstrating improved performance in data-constrained pretraining.
Practical relevance
Provides tools for more efficient pretraining as compute budgets continue to outpace data availability, enabling better use of limited datasets.
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