atlas

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

DataMan: Data Manager for Pre-training Large Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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.

Derives 14 LLM-identified quality criteria and 15 domain types via "reverse thinking" on perplexity anomalies, fine-tunes a Qwen2-1.5B DataMan annotator, annotates 447B tokens (DataPajama), and samples 30B tokens to pre-train a 1.3B model that beats the Qurating educational-value baseline.

Problem

Pre-training data selection relies on limited heuristics and human intuition, lacking comprehensive and clear quality criteria and domain guidance for mixing.

Approach

Prompt a super LLM to self-identify reasons for perplexity anomalies to derive quality criteria, distill the annotator into a small model (DataMan) via pointwise rating, and use its quality ratings and domain labels for top-k sampling with source/domain distributions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Overall Score l=5 sampling rather than uniform 30B-token samplingSheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 44.9 -> 49.1Helped
Use Overall Score l=5 sampling rather than uniform sampling with 50% more dataSheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 46.8 -> 49.1Helped
Select data by Overall Score l=5 rather than Educational Value τ=2.0Sheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 46.7 -> 49.1Helped
Use DSIR with Wiki target rather than uniform samplingSheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 44.9 -> 42.9Hurt
Use highest-perplexity selection rather than uniform samplingSheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 44.9 -> 43.5Hurt
Raise the Overall Score sampling level from 1 to 5 (ablation)Sheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 38.4 -> 49.1Helped
Raise the Overall Score sampling level from 1 to 5 (ablation)Sheared-LLaMA-1.3B pre-training · SlimPajama validationperplexity: 23.83 -> 10.52Helped
Continue pre-training on high-rated medical-domain dataOverall Score l=5 model · Medical MMLU subtasksICL score: 28.1 -> 30.4Helped
Continue pre-training on high-rated law-domain dataOverall Score l=5 model · Law MMLU subtasksInternational Law: 25.5 -> 35.5Helped
Continue pre-training on high-rated finance-domain dataOverall Score l=5 model · Finance MMLU subtasksEconometrics: 23.7 -> 25.4Helped
Combine Qurating's four criteria into a criteria mix rather than sampling one criterionSheared-LLaMA-1.3B pre-training · 10-task ICL averageICL average: 46.7 -> 45.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama DataPajama (annotated SlimPajama) Qurating 1B analysis set (QuRatedPajama) ShareGPT MMLU subtasks (continued pre-training)

Benchmarks: ARC-easy ARC-challenge SciQ LogiQA BoolQ HellaSwag PIQA WinoGrande NQ MMLU SlimPajama validation/test perplexity AlpacaFarm instruction following

Metrics: perplexity accuracy win rate average ICL accuracy NDCG

Baselines: Uniform sampling DSIR Perplexity filtering Qurating (writing style, facts and trivia, educational value, required expertise Uniform +50% data

Builds on: Qurating DSIR chain-of-thought prompting reward-weighted regression Sheared-LLaMA

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