atlas

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

URLs Help, Topics Guide: Understanding Metadata Utility in LLM Training

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 0 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.

Systematically studies which metadata (URL, quality score, topic/format domains) helps context-conditioned LLM pretraining and shows context-guided (classifier-free guidance) sampling makes pretrained models more steerable.

Problem

Context-free LLM pretraining discards metadata; prior work on URL conditioning is mixed and lacks understanding of which metadata types help training speed, downstream performance, and controllable generation.

Approach

Pretrain a 1.5B Llama-style model with metadata prepended as masked-loss context (90% context, 10% context-free uniform mixing) and apply classifier-free-guidance-style logit steering at inference to amplify context effects.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Prepend URL metadata during pretraining and evaluate with 5-shot promptsLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 47.8Helped
Prepend URL metadata during pretraining and evaluate zero-shotLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 0-shot averageaverage: 46.7 -> 46.9No clear effect
Add quality-score metadata during pretrainingLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.6No clear effect
Add topic/format domain metadata during pretrainingLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.7No clear effect
Combine URL and quality-score metadataLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.1Hurt
Combine URL and domain-information metadataLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.7No clear effect
Combine URL, quality-score, and domain-information metadataLlama 1.5B context-conditioned pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.0Hurt
Add positional <boc><eoc> tokens without metadata (ablation)Standard pretraining · LM-Eval-Harness 5-shot averageaverage: 46.7 -> 46.7No clear effect
Use URL context during inferenceURL-conditioned model · Health & medical promptsLLM judge score: 8.19 ± 0.14 -> 8.14 ± 0.20No clear effect
Apply classifier-free guidance with URL contextURL-conditioned model · Health & medical promptsLLM judge score: 8.19 ± 0.14 -> 8.70 ± 0.14Helped
Use topic/format context during inferenceDomain-information-conditioned model · Health & medical promptsLLM judge score: 8.01 ± 0.16 -> 8.26 ± 0.14Helped
Apply classifier-free guidance with topic/format contextDomain-information-conditioned model · Health & medical promptsLLM judge score: 8.01 ± 0.16 -> 9.07 ± 0.05Helped

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb-Edu WebOrganizer domain labels

Benchmarks: Arc-Easy Arc-Challenge CommonSenseQA MMLU PIQA SIQA HellaSwag LAMBADA Winogrande

Metrics: accuracy training perplexity LLM judge score (coherence, correctness, reasonableness, rel

Baselines: Standard pretraining Positional token ablation MeCo

Builds on: MeCo classifier-free guidance WebOrganizer Megatron-LM

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