atlas

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

QuRating: Selecting High-Quality Data for Training Language Models

ICML 2024 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 6 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 QuRating, which uses GPT-3.5-turbo pairwise judgments on four quality criteria to train a QuRater model that annotates 260B SlimPajama tokens, then samples 30B-token subsets with temperature-controlled sampling to train 1.3B LMs.

Problem

Pre-training data selection relies on simple heuristics (rule-based filters, domain proxies, perplexity), which do not capture nuanced human notions of data quality.

Approach

Elicit pairwise LLM judgments on abstract quality criteria, fit a Bradley-Terry scalar rating model (QuRater) to them, and sample documents without replacement with softmax probabilities over ratings with temperature to balance quality and diversity; also use ratings for curriculum ordering.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Sample by educational-value rating with τ=2.0 rather than uniform selection1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 46.7Helped
Sample by educational-value rating with τ=2.0 rather than uniform selection1.3B transformer · SlimPajama validationperplexity: 8.96 -> 8.91Helped
Sample by writing-style rating with τ=2.0 rather than uniform selection1.3B transformer · SlimPajama validationperplexity: 8.96 -> 8.90Helped
Sample by writing-style rating with τ=2.0 rather than uniform selection1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 45.0No clear effect
Sample by facts-and-trivia rating with τ=2.0 rather than uniform selection1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 46.2Helped
Sample by required-expertise rating with τ=2.0 rather than uniform selection1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 46.0Helped
Use DSIR with Wikipedia as the target instead of uniform selection1.3B transformer · SlimPajama validationperplexity: 8.96 -> 10.67Hurt
Use DSIR with Book as the target instead of uniform selection1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 43.8Hurt
Select lowest-perplexity documents instead of uniform sampling1.3B transformer · ICL average (10 tasks)accuracy: 44.9 -> 41.7Hurt
Use top-k selection instead of τ=2.0 sampling (ablation)QuRating with educational-value ratings · SlimPajama validationperplexity: 8.91 -> 10.59Hurt
Use top-k selection instead of τ=2.0 sampling (ablation)QuRating with educational-value ratings · ICL average (10 tasks)accuracy: 46.7 -> 46.7No clear effect
Mix the four criterion-selected subsets instead of using educational-value selection alone (ablation)QuRating · ICL average (10 tasks)accuracy: 46.7 -> 45.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama RedPajama QuRatedPajama ShareGPT AboutMe

Benchmarks: ARC-easy ARC-challenge SciQA LogiQA BoolQ HellaSwag PIQA WinoGrande NQ MMLU

Metrics: validation perplexity in-context learning accuracy win rate

Baselines: Uniform sampling DSIR Perplexity filtering Top-k selection

Builds on: Bradley-Terry model RLHF reward modeling DSIR Sheared-LLaMA SlimPajama

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