Research map / Large language models / Language, safety and interpretability
A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicity
Shayne Longpre, Gregory Yauney, Emily Reif, Katherine Lee, Adam Roberts, Barret Zoph, Denny Zhou, Jason Wei, Kevin Robinson, David Mimno, Daphne Ippolito
Massachusetts Institute of Technology · Cornell · Google · OpenAI · Carnegie Mellon University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| pretrain on data closer in time to the evaluation year | 1.5B decoder LM on C4 snapshots · five temporal tasks (PubCLS, NewSum, PoliAff, TwiERC, AIC) | relative performance: mean TD 0.41 per year, Pearson r 0.61 | Improved |
| finetune on temporally relevant data | 1.5B LM with misaligned pretraining · five temporal tasks | relative performance | No clear effect |
| use a 1.5B model instead of a 20M model | LM on C4 snapshots · five temporal tasks | temporal degradation: mean TD 0.08 -> 0.41 | Hurt |
| apply quality filter (PaLM/GLaM classifier) | 1.5B LM on C4 · toxicity identification | performance: about +2% | Improved |
| apply quality filter | 1.5B LM on C4 · QA task domains | performance: 1-6% for most categories; hurts Books | Improved |
| apply quality filter | 1.5B LM on C4 · toxic generation | toxic generation | Hurt |
| apply toxicity filter | 1.5B LM on C4 · toxicity identification and generation | identification and generation | Mixed |
| apply toxicity filter | 1.5B LM on C4 · QA tasks | performance | Hurt |
| use inverse toxicity filter (remove least toxic) | 1.5B LM · toxicity identification | performance | Improved |
| include Common Crawl, OpenWeb and Books in pretraining (ablation) | 1.5B LM on the Pile · 27 QA tasks | mean accuracy | Improved |
| include Books domain (ablation) | 1.5B LM on the Pile · toxic generation score | toxic generation: -6.2 when removed | Hurt |
| include Wikipedia domain (ablation) | 1.5B LM on the Pile · toxic generation score | toxic generation: +4.2 when removed | Improved |
Open problems in data and evaluation methodology
Do LLM-based data and evaluation methods hold beyond English, one domain and a few models?
- Results come from one narrow domain and may not carry over. · 25 papers state it
- Larger and closed models are untested. · 20 papers state it
- Data and tests are in English or one other language only. · 19 papers state it
Closest papers by meaning
- When Bad Data Leads to Good Models (ICML 2025 · similarity 0.89)
- DataDecide: How to Predict Best Pretraining Data with Small Experiments (ICML 2025 · similarity 0.86)
- Predictive Data Selection: The Data That Predicts Is the Data That Teaches (ICML 2025 · similarity 0.85)
- SafetyPrompts: A Systematic Review of Open Datasets for Evaluating and Improving Large Language Model Safety (AAAI 2025 · similarity 0.85)
- To Code or Not To Code? Exploring Impact of Code in Pre-training (ICLR 2025 · similarity 0.85)
- BeanCounter: A low-toxicity, large-scale, and open dataset of business-oriented text (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.