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 F Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Kamal Mohamed Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Joshua P Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah M Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi 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 T Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alex Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, Vaishaal Shankar

TL;DR

This paper introduces DataComp-LM (DCLM), a comprehensive benchmark and testbed for rigorously evaluating data curation strategies for large language models (LLMs). By providing a standardized framework and a massive dataset, DCLM aims to accelerate research into what makes high-quality training data, leading to more performant and efficient LLMs.

What Problem Does This Paper Address?

The rapid progress in LLMs has been heavily driven by scaling up training data. However, the field currently lacks a controlled environment to systematically study the impact of data curation techniques (like filtering, deduplication, and mixing) on LLM performance. Researchers often compare models trained with different architectures, compute budgets, and hyperparameters, making it difficult to isolate the true effect of data quality. Furthermore, details about the training data for many state-of-the-art open-weight models are scarce, hindering reproducible research. DCLM addresses this by providing a standardized benchmark where participants can experiment with data curation strategies on a massive, common corpus, enabling direct comparison of their impact on LLM performance.

Methods

DCLM employs a structured workflow:

  1. Scale Selection: Participants choose from five compute scales (400M to 7B parameters) to match their resources.
  2. Dataset Curation: Participants can either filter a provided pool of data (DCLM-POOL) or mix their own data sources.
  3. Model Training: LLMs are trained using a fixed, standardized recipe (OpenLM framework, decoder-only Transformer) at each scale.
  4. Evaluation: Models are evaluated on a suite of 53 downstream tasks.

The paper also details extensive experiments on various data curation techniques, including:

  • Text Extraction: Comparing resiliparse, trafilatura, and WET files, finding resiliparse to be efficient and effective.
  • Deduplication: Investigating MinHash, Suffix Arrays, and Bloom Filters, ultimately favoring a Bloom Filter approach for its scalability and effectiveness.
  • Model-Based Filtering: Exploring various classifiers, with fastText trained on instruction-formatted data (OH-2.5 + ELI5) emerging as a strong performer.
  • Data Mixing: Analyzing the impact of combining data sources, finding that for highly filtered data, mixing can sometimes be counterproductive.
  • Decontamination: Developing methods to assess and mitigate the impact of test set contamination.

Datasets

  • DCLM-POOL: A massive, unfiltered corpus of 240 trillion tokens extracted from Common Crawl (pre-2023).
  • DCLM-BASELINE: A high-quality, curated subset derived from DCLM-POOL, serving as a state-of-the-art baseline dataset.
  • Evaluation Tasks: A suite of 53 downstream tasks, categorized into CORE (22 tasks) and EXTENDED (53 tasks), covering a wide range of language understanding capabilities.

Key Insights and Ideas

  • Data Curation is Paramount: The paper strongly emphasizes that dataset design and curation are critical drivers of LLM performance, often more so than minor architectural tweaks.
  • Model-Based Filtering is Key: Using learned models (specifically fastText classifiers) for quality filtering proved to be a highly effective strategy for assembling high-quality training sets.
  • Human Judgment is Limited: Human annotators' ability to reliably identify high-quality training data for LLMs was found to be surprisingly limited, with correlations to downstream performance being weak.
  • Scaling Trends are Consistent: The ranking of different data curation strategies remained largely stable across different model scales, suggesting that insights gained at smaller scales can inform larger ones.
  • Standardized Benchmarking is Crucial: The DCLM benchmark provides a much-needed controlled environment for comparing data curation methods, accelerating progress in the field.

Key Results

  • DCLM-BASELINE Dataset: The paper introduces DCLM-BASELINE, a new state-of-the-art open-data training set.
  • Performance Gains: Training a 7B parameter LLM on DCLM-BASELINE achieved 63% 5-shot accuracy on MMLU, outperforming previous open-data models by 6 percentage points while using 40% less compute.
  • Efficiency: The DCLM-BASELINE model is competitive with models like Mistral-7B and Llama 3 8B on MMLU, despite being trained with significantly less compute.
  • Scalability: The DCLM framework and findings are shown to be effective across various model scales, from 412M to 7B parameters.
  • Open-Source Release: The DCLM benchmark, framework, models, and datasets are publicly released to foster further research.

Limitations and Future Work

  • Compute Constraints: Due to computational costs, the authors could not test all possible data curation strategies at larger scales or train models beyond 7B parameters.
  • Run-to-Run Variation: Exploring run-to-run variation was not sufficiently covered.
  • Multilingual and Code/Math Performance: While DCLM-BASELINE excels in language understanding, it doesn't perform as well on code and math tasks, suggesting a need for domain-specific data augmentation.
  • Fairness, Multilinguality, Safety: Future work should expand DCLM to cover these critical dimensions.
  • Alignment: The instruction-tuned models presented do not undergo advanced alignment procedures like PPO or DPO, which is a direction for future research.

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 F Chen and Suchin Gururangan and Mitchell Wortsman and Alon Albalak and Yonatan Bitton and Marianna Nezhurina and Amro Kamal Mohamed Abbas and Cheng-Yu Hsieh and Dhruba Ghosh and Joshua P 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 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 T Toshev and Stephanie Wang and Dirk Groeneveld and Luca Soldaini and Pang Wei Koh and Jenia Jitsev and Thomas Kollar and Alex 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