NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DataComp-LM: In search of the next generation of training sets for language models

Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Yitzhak Gadre, Hritik Bansal, Etash Kumar Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Josh Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah M. Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Raghavi Chandu, Thao Nguyen, Igor Vasiljevic, Sham M. Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alexandros G. Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, Vaishaal Shankar · DOI

Introduction

In the development of Large Language Models (LLMs), research has traditionally focused on model architectures and compute scaling laws. However, the data used for training remains largely a "black box." Most state-of-the-art models, such as GPT-4 or Llama 3, utilize proprietary datasets with undisclosed filtering and mixing recipes. This lack of transparency hinders systematic progress; it is often unclear whether a model's superiority stems from its architecture or simply cleaner training data.

DataComp-LM (DCLM) addresses this gap by providing a massive, open-source testbed designed to turn data curation into a rigorous science. By offering a standardized pool of 240 trillion tokens and a multi-scale evaluation framework, DCLM allows researchers to experiment with data-cleaning strategies in a controlled environment.

The DCLM Workflow

The authors propose a standardized pipeline for dataset construction from raw web crawls. This workflow ensures that improvements in model performance can be directly attributed to data curation strategies rather than architectural tweaks.

The DCLM workflow: selecting a scale, building a dataset via filtering or mixing, training with a fixed recipe, and evaluating on 53 tasks.

The workflow consists of four primary stages:

  1. Select a Scale: Researchers choose from five compute scales (400M to 7B parameters), allowing for rapid iteration at smaller scales that correlate with large-scale performance.
  2. Build a Dataset: This involves text extraction using resiliparse, heuristic filtering (sanity checks for length and repetition), deduplication via Bloom filters, and model-based filtering.
  3. Train a Model: Models are trained using a fixed, standardized recipe to isolate the impact of the data.
  4. Evaluate: Performance is measured across a suite of 53 downstream tasks, including MMLU, HellaSwag, and ARC.

Datasets and Evaluation

DCLM introduces several key resources:

  • DCLM-POOL: A corpus of 240 trillion tokens from Common Crawl (2013–2022), representing the largest public pool of raw text for research.
  • DCLM-BASELINE: A 3.8T token high-quality dataset curated using the authors' optimal filtering strategy.
  • Evaluation Suite: A comprehensive collection of 53 tasks measuring reasoning, mathematics, and general knowledge.

Key Insights

A primary finding is that model-based filtering is essential for state-of-the-art performance. Interestingly, simple classifiers like fastText often outperform more complex LLM-based filters when trained on high-quality reference data (e.g., OpenHermes). The study also highlights a "human disconnect," where human-judged "quality" does not always align with the linguistic patterns necessary for effective model pretraining.

Crucially, the research demonstrates that data quality can substitute for compute. By using superior data, the authors trained a 7B model that matches Llama 3 8B while requiring 6.6x less training compute.

Results

The flagship DCLM-7B model, trained on 2.6 trillion tokens from the DCLM-BASELINE, sets a new benchmark for models trained on open data.

Performance comparison of DCLM-Baseline against other models. DCLM-Baseline shows superior scaling efficiency on core evaluations and MMLU.

DCLM-7B achieved 64% on MMLU (5-shot), outperforming previous open-data leaders like MAP-Neo while using 40% less compute. It remains highly competitive with top-tier proprietary-data models like Mistral-7B-v0.3 (63%) and Llama 3 8B (66%).

Conclusion

DataComp-LM shifts the focus of LLM research toward the systematic study of training data. While DCLM-7B excels in general language understanding, future work is needed to close the gap in specialized domains like mathematics and coding. By releasing the pool, models, and code, the authors provide the community with the tools necessary to refine the "art" of data curation into a predictive science.

Summary updated

BibTeX
@inproceedings{li2024datacomp,
  author = {Jeffrey Li and Alex Fang and Georgios Smyrnis and Maor Ivgi and Matt Jordan and Samir Yitzhak Gadre and Hritik Bansal and Etash Kumar Guha and Sedrick Keh and Kushal Arora and Saurabh Garg and Rui Xin and Niklas Muennighoff and Reinhard Heckel and Jean Mercat and Mayee Chen and Suchin Gururangan and Mitchell Wortsman and Alon Albalak and Yonatan Bitton and Marianna Nezhurina and Amro Abbas and Cheng-Yu Hsieh and Dhruba Ghosh and Josh Gardner and Maciej Kilian and Hanlin Zhang and Rulin Shao and Sarah M. Pratt and Sunny Sanyal and Gabriel Ilharco and Giannis Daras and Kalyani Marathe and Aaron Gokaslan and Jieyu Zhang and Khyathi Raghavi Chandu and Thao Nguyen and Igor Vasiljevic and Sham M. Kakade and Shuran Song and Sujay Sanghavi and Fartash Faghri and Sewoong Oh and Luke Zettlemoyer and Kyle Lo and Alaaeldin El-Nouby and Hadi Pouransari and Alexander Toshev and Stephanie Wang and Dirk Groeneveld and Luca Soldaini and Pang Wei Koh and Jenia Jitsev and Thomas Kollar and Alexandros G. Dimakis and Yair Carmon and Achal Dave and Ludwig Schmidt and Vaishaal Shankar},
  title = {{DataComp-LM: In search of the next generation of training sets for language models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=CNWdWn47IE},
}
Figure