atlas

Research map / Large language models / Language, safety and interpretability

Metadata Conditioning Accelerates Language Model Pre-training

ICML 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MeCo, which prepends source URLs as metadata during most of LM pre-training, then cools down on standard text, yielding faster pre-training and metadata-based steering at inference.

Problem

Pre-training corpora are heterogeneous in style, domain, and quality, and standard pre-training treats all documents identically, making it data-inefficient and hard to steer toward specific behaviors.

Approach

Prepend each document's source URL as metadata during the first 90% of pre-training (computing loss only on document tokens), then run a 10% cooldown on standard data without metadata so the model works without metadata, and use real or fabricated URLs at inference to steer outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add URL metadata during the first 90% of training and standard-data cooldown for the last 10%1.6B model trained on DCLM · DCLM, 160B tokens10-task average: 55.7 -> 56.7Helped
Add URL metadata conditioning then cooldown1.6B model · DCLM, 160B vs. 240B tokens10-task average: MeCo 56.7; standard 240B tokens 56.7Helped
Add URL metadata conditioning then cooldown1.6B model · C4, 160B tokens10-task average: 50.5 -> 51.6Helped
Add URL metadata conditioning then cooldown1.6B model · RefinedWeb, 160B tokens10-task average: 53.2 -> 54.0Helped
Add task-specific URL prefixes at inferenceMeCo 1.6B model · DCLM, 160B tokens10-task average: 56.7 -> 57.2Helped
Condition inference on www.factmonster.com instead of using no URLMeCo 1.6B model · Zero-shot CSQAaccuracy: 54.7 -> 60.9Helped
Add standard-data cooldown after URL-conditioned training (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 50.3 -> 56.7Helped
Use sequential URL conditioning then standard-data cooldown rather than mixing both throughout training (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 56.4 -> 56.7Helped
Increase cooldown from 10% to 20% (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 56.7 -> 56.8No clear effect
Increase cooldown from 10% to 30% (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 56.7 -> 56.2Hurt
Replace absolute domain names with URL suffixes (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 56.7 -> 56.2Hurt
Restrict metadata to only the top 0.2% or top 2% of URLs (ablation)MeCo 1.6B model · DCLM, 160B tokens10-task average: 56.7 -> 56.4; 56.7 -> 56.3Hurt

Surprising findings

Limitations

Experimental setup

Datasets: DCLM-Baseline RefinedWeb (DCLM-reproduced) C4 (SlimPajama subset)

Benchmarks: MMLU ARC-Easy ARC-Challenge CommonsenseQA HellaSwag OpenBookQA PIQA Social IQA WinoGrande TruthfulQA

Metrics: average accuracy over 10 tasks validation perplexity toxicity score (Detoxify)

Baselines: Standard pre-training Data selection (fastText classifier) 100% URL training 90% URL + 10% standard mixing Standard pre-training with 240B tokens

Builds on: CTRL Llama OLMES DCLM

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy