Metadata Conditioning Accelerates Language Model Pre-training
Not on the map. Why?
Abstract (arXiv)
The vast diversity of styles, domains, and quality levels present in language model pre-training corpora is essential in developing general model capabilities, but efficiently learning and deploying the correct behaviors exemplified in each of these heterogeneous data sources is challenging. To address this, we propose a new method, termed Metadata Conditioning then Cooldown (MeCo), to incorporate additional learning cues during pre-training. MeCo first provides metadata (e.g., URLs like www.wikipedia.org) alongside the text during training and later uses a cooldown phase with only the standard text, thereby enabling the model to function normally even without metadata. MeCo significantly accelerates pre-training across different model scales (600M to 8B parameters) and training sources (C4, RefinedWeb, and DCLM). For instance, a 1.6B language model trained with MeCo matches the downstream task performance of standard pre-training while using 33% less data. Additionally, MeCo enables us to steer language models by conditioning the inference prompt on either real or fabricated metadata that encodes the desired properties of the output: for example, prepending wikipedia.org to reduce harmful generations or factquizmaster.com (fabricated) to improve common knowledge task performance. We also demonstrate that MeCo is compatible with different types of metadata, such as model-generated topics. MeCo is remarkably simple, adds no computational overhead, and demonstrates promise in producing more capable and steerable language models.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 46 of its 57 references that are in the map. First posted on arXiv 3 Jan 2025.
Builds on
46 of 57 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
34 more
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2023PaLM 2 Technical Reportcited by 1,154
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,028
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 544
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 381
- 2023Data Selection for Language Models via Importance Resamplingcited by 322
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
- 2021Time-Aware Language Models as Temporal Knowledge Basescited by 290
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 256
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2022Quark: Controllable Text Generation with Reinforced Unlearningcited by 236
- 2024QuRating: Selecting High-Quality Data for Training Language Modelscited by 153
- 2023The BigScience ROOTS Corpus: A 1.6TB Composite Multilingual Datasetcited by 148
- 2023Chain of Hindsight Aligns Language Models with Feedbackcited by 147
- 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 137
- 2024OLMES: A Standard for Language Model Evaluationscited by 100
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2024Scaling Laws for Data Filtering -- Data Curation cannot be Compute Agnosticcited by 74
- 2021HTLM: Hyper-Text Pre-Training and Prompting of Language Modelscited by 58
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 46
- 2023"According to ...": Prompting Language Models Improves Quoting from Pre-Training Datacited by 42
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2024Fewer Truncations Improve Language Modelingcited by 33
- 2024Source-Aware Training Enables Knowledge Attribution in Language Modelscited by 29
Built on by
Citing papers per year: 2025: 13; 2026: 7.
20 papers.
Sort:
By area:
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Synthesizing Privacy-Preserving Text Data via Finetuning without Finetuning Billion-Scale LLMscited by 15
- 2025PiKE: Adaptive Data Mixing for Large-Scale Multi-Task Learning Under Low Gradient Conflictscited by 8
- 2025Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddingscited by 6
- 2025AdaptMI: Adaptive Skill-based In-context Math Instruction for Small Language Modelscited by 5
- 2025When Does Metadata Conditioning (NOT) Work for Language Model Pre-Training? A Study with Context-Free Grammarscited by 2
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markerscited by 2
- 2026Improving Attributed Long-form Question Answering with Intent Awarenesscited by 2
- 2025FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Trainingcited by 1
- 2025A Theory for Conditional Generative Modeling on Multiple Data Sourcescited by 1
- 2025Cream of the Crop: Harvesting Rich, Scalable and Transferable Multi-Modal Data for Instruction Fine-Tuningcited by 1
- 2025URLs Help, Topics Guide: Understanding Metadata Utility in LLM Trainingcited by 1
8 more
- 2025Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language Modelscited by 1
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Driftcited by 1
- 2026KoCo: Conditioning Language Model Pre-training on Knowledge Coordinatescited by 1
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centralitycited by 1
- 2025TokenSmith: Streamlining Data Editing, Search, and Inspection for Large-Scale Language Model Training and Interpretabilitycited by 0
- 2026MAPLE: Metadata Conditioned LLM Pretraining for Locale-Aware Question Answeringcited by 0
- 2026Self-Prompting Diffusion Transformer for Open-Vocabulary Scene Text Editing via In-Context Learningcited by 0
- 2026SPT: Skills as Pre-Training Data for Agentic Language Modelscited by 0
- 2026SPT: Skills as Pre-Training Data for Agentic Language Models27 Aug 2026
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026Self-Prompting Diffusion Transformer for Open-Vocabulary Scene Text Editing via In-Context Learning15 May 2026
- 2026KoCo: Conditioning Language Model Pre-training on Knowledge Coordinates14 Apr 2026
- 2026Improving Attributed Long-form Question Answering with Intent Awareness28 Mar 2026
- 2026MAPLE: Metadata Conditioned LLM Pretraining for Locale-Aware Question Answering21 Jan 2026
- 2026Objective Matters: Fine-Tuning Objectives Shape Safety, Robustness, and Persona Drift19 Jan 2026
- 2025TokenSmith: Streamlining Data Editing, Search, and Inspection for Large-Scale Language Model Training and Interpretability25 Jul 2025
- 2025Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language Models21 Jun 2025
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers17 Jun 2025
- 2025Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddings8 Jun 2025
- 2025URLs Help, Topics Guide: Understanding Metadata Utility in LLM Training22 May 2025
8 more
- 2025AdaptMI: Adaptive Skill-based In-context Math Instruction for Small Language Models30 Apr 2025
- 2025When Does Metadata Conditioning (NOT) Work for Language Model Pre-Training? A Study with Context-Free Grammars24 Apr 2025
- 2025Cream of the Crop: Harvesting Rich, Scalable and Transferable Multi-Modal Data for Instruction Fine-Tuning17 Mar 2025
- 2025Synthesizing Privacy-Preserving Text Data via Finetuning without Finetuning Billion-Scale LLMs16 Mar 2025
- 2025A Theory for Conditional Generative Modeling on Multiple Data Sources20 Feb 2025
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curation14 Feb 2025
- 2025PiKE: Adaptive Data Mixing for Large-Scale Multi-Task Learning Under Low Gradient Conflicts10 Feb 2025
- 2025FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Training2 Feb 2025
- 2026SPT: Skills as Pre-Training Data for Agentic Language Models27 Aug 2026
- 2025Organize the Web: Constructing Domains Enhances Pre-Training Data Curationcited by 73
- 2025Synthesizing Privacy-Preserving Text Data via Finetuning without Finetuning Billion-Scale LLMscited by 15
- 2025PiKE: Adaptive Data Mixing for Large-Scale Multi-Task Learning Under Low Gradient Conflictscited by 8
- 2025Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddingscited by 6
- 2025AdaptMI: Adaptive Skill-based In-context Math Instruction for Small Language Modelscited by 5
- 2025When Does Metadata Conditioning (NOT) Work for Language Model Pre-Training? A Study with Context-Free Grammarscited by 2
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markerscited by 2
- 2026Improving Attributed Long-form Question Answering with Intent Awarenesscited by 2
- 2025FIRE: Flexible Integration of Data Quality Ratings for Effective Pre-Trainingcited by 1
- 2025A Theory for Conditional Generative Modeling on Multiple Data Sourcescited by 1
- 2025Cream of the Crop: Harvesting Rich, Scalable and Transferable Multi-Modal Data for Instruction Fine-Tuningcited by 1
- 2025URLs Help, Topics Guide: Understanding Metadata Utility in LLM Trainingcited by 1
12 most cited of 17 All 17 (JSON)
- 2026Hubs or Fringes: Pretraining Data Selection via Web Graph Centrality9 Jun 2026
- 2026KoCo: Conditioning Language Model Pre-training on Knowledge Coordinates14 Apr 2026
- 2026Improving Attributed Long-form Question Answering with Intent Awareness28 Mar 2026
- 2026MAPLE: Metadata Conditioned LLM Pretraining for Locale-Aware Question Answering21 Jan 2026
- 2025TokenSmith: Streamlining Data Editing, Search, and Inspection for Large-Scale Language Model Training and Interpretability25 Jul 2025
- 2025Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language Models21 Jun 2025
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers17 Jun 2025
- 2025Towards Universal Offline Black-Box Optimization via Learning Language Model Embeddings8 Jun 2025
- 2025URLs Help, Topics Guide: Understanding Metadata Utility in LLM Training22 May 2025
- 2025AdaptMI: Adaptive Skill-based In-context Math Instruction for Small Language Models30 Apr 2025
- 2025When Does Metadata Conditioning (NOT) Work for Language Model Pre-Training? A Study with Context-Free Grammars24 Apr 2025
- 2025Cream of the Crop: Harvesting Rich, Scalable and Transferable Multi-Modal Data for Instruction Fine-Tuning17 Mar 2025
12 newest of 17 All 17 (JSON)