atlas

Research map / Large language models / Reasoning and chain of thought

GREATS: Online Selection of High-Quality Data for LLM Training in Every Iteration

NeurIPS 2024 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 4 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 GREATS, an online batch selection method that greedily selects training batch subsets using a Taylor-expansion approximation of validation-loss reduction, made practical by a "ghost inner-product" technique for computing per-sample gradient inner-products in one backpropagation.

Problem

Online batch selection for LLM training is either impractical (reference-model methods) or relies on heuristics (high-loss or gradient-norm methods) that may not capture true data informativeness; efficient, principled selection at training speed is needed.

Approach

Approximate the one-step validation-loss reduction of a candidate subset with first-order gradient inner-products (TracIN-style) corrected by a pairwise Hessian/identity interaction term, then run a greedy selection over each batch; compute all inner-products in a single backward pass using ghost inner-product tricks borrowed from differential privacy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GREATS online batch selection instead of regular trainingLlama-2-7B · MMLU (9 subjects, average)accuracy: 50.4% -> 54.2%Helped
Use GREATS online batch selection instead of GradNormLlama-2-7B · MMLU (9 subjects, average)accuracy: 50.4% -> 54.2%Helped
Use GREATS online batch selection instead of MaxLossLlama-2-7B · MMLU (9 subjects, average)accuracy: 50.8% -> 54.2%Helped
Use GREATS online batch selection instead of regular trainingMistral-7B · TYDIQA test setaccuracy: 54.3% -> 55.0%Helped
Use GREATS online batch selection instead of GradNormMistral-7B · TYDIQA test setaccuracy: 53.4% -> 55.0%Helped
Use GREATS online batch selection instead of MaxLossMistral-7B · TYDIQA test setaccuracy: 54.7% -> 55.0%Helped
Use ghost inner-product computation instead of direct per-sample gradients (ablation)GREATS on GPT-SMALL · OPENWEBTEXTthroughput (training data points per second): 4.2 -> 71.3Helped
Use GREATS with ghost inner-product instead of regular trainingGPT-SMALL · OPENWEBTEXTthroughput (training data points per second): 76.2 -> 71.3Hurt
Use GREATS with only 2 validation examples (ablation)GREATS · MMLU test setperplexityHelped
Use GREATS for pretraining with validation data from the training distribution (ablation)GPT-SMALL · OPENWEBTEXT test setperplexityHelped

Surprising findings

Limitations

Experimental setup

Datasets: LESS Alpaca OpenWebText MMLU TyDiQA SAMSum

Benchmarks: MMLU TyDiQA SAMSum OpenWebText

Metrics: perplexity accuracy F1 throughput

Baselines: Regular training MaxLoss GradNorm RHOLoss SBERT distance selection

Builds on: TracIN ghost clipping LESS RHO-Loss

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