atlas

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

Harnessing Diversity for Important Data Selection in Pretraining Large Language Models

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Data and evaluation methodology · 3 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 Quad, a pretraining data selection method that clusters SlimPajama, uses a multi-armed bandit with UCB cluster scores to balance influence-based quality and diversity, and computes influence on attention and MLP layers via a Kronecker-factored Hessian approximation.

Problem

Selecting high-quality and diverse pretraining data for LLMs is important, but exact influence-based selection is computationally expensive over huge corpora and top-k influence selection yields homogeneous data that hurts generalization.

Approach

Cluster the candidate pool into groups, treat each cluster as an arm of a UCB-style multi-armed bandit where the reward is sampled influence, and extend K-FAC-style influence estimation to attention (QKV and output) layers so influence captures more semantics, enabling cheap and diverse selection.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MAB-selected clusters rather than selecting only top-scoring clusters (ablation)Quad data selection · SlimPajama downstream tasks (Overall)accuracy: 42.48 -> 42.94Helped
Set influence threshold τ to 0.0015, 0.0020, or 0.0030 instead of 0.0025 (ablation)Quad · SlimPajama downstream tasks (Overall)accuracy: 42.94 -> 42.16; 42.94 -> 42.45; 42.94 -> 42.10Hurt
Set MAB diversity coefficient α to 0.0015, 0.0025, or 0.0030 instead of 0.0020 (ablation)Quad · SlimPajama downstream tasks (Overall)accuracy: 42.94 -> 42.38; 42.94 -> 42.34; 42.94 -> 42.07Hurt
Omit the Hessian in influence calculation (ablation)Quad influence calculation · SlimPajama downstream tasks (Overall)accuracy: 42.06 vs 42.48Hurt
Calculate influence on MLP layers only, omitting attention layers (ablation)Quad influence calculation · SlimPajama downstream tasks (Overall)accuracy: 42.21 vs 42.48Hurt
Use MLP and attention layers for influence calculation rather than MLP-only influence (ablation)Quad influence calculation · SlimPajama downstream tasks (Overall)accuracy: 42.21 -> 42.48Helped
Select from top-150, top-500, or top-1000 influence-scored clusters instead of using MAB cluster selection (ablation)Quad data selection · SlimPajama downstream tasks (Overall)accuracy: 42.04; 42.48; 41.67 vs 42.94Mixed
Use Quad data selection instead of Random1.3B decoder-only Transformer pretrained on SlimPajama · SlimPajama downstream tasks (Overall)accuracy: +1.39Helped
Use Quad data selection instead of Qurating1.3B decoder-only Transformer pretrained on SlimPajama · SlimPajama downstream tasks (Overall)accuracy: 42.01 -> 42.94Helped
Use Quad data selection instead of Qurating1.3B decoder-only Transformer pretrained on SlimPajama · SlimPajama data selectionFLOPs: 13.66 -> 9.15Helped

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama LAMBADA

Benchmarks: ARC-C ARC-E SciQ HellaSwag SIQA WinoGrande LogiQA OpenbookQA BoolQ

Metrics: zero-shot accuracy overall average accuracy FLOPs

Baselines: Random DSIR PPL SemDedup Qurating MATES

Builds on: LESS MATES K-FAC DSIR Qurating

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