atlas

Research map / Large language models / Instruction and fine-tuning

Get more for less: Principled Data Selection for Warming Up Fine-Tuning in LLMs

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 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 GOT-D, a scalable data selection method for pre-fine-tuning LLMs that selects unlabeled open data via gradients of an optimal transport problem so as to pull the pre-training distribution toward the target distribution.

Problem

Selecting a small budget of unlabeled open data to pre-fine-tune a pre-trained LM so that subsequent fine-tuning on scarce target data performs better; existing selection methods either don't scale to language data or select samples matching the target distribution while ignoring what the pre-traine

Approach

Select candidate samples whose inclusion most reduces the OT distance between the effective (pre-training plus selected) distribution and the target distribution, using the dual gradients of a single OT problem (entropy-regularized, GPU-accelerated) to rank samples, rather than matching the target distribution directly.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
pre-fine-tune on OT-gradient-selected data (GOT-D clean, 20k) instead of no pre-fine-tuningGPT-2 base detoxification · RTP, Perspective APIExpected max toxicity, toxic prompts: 0.62 to 0.41Helped
pre-fine-tune on OT-gradient-selected data vs. average accuracy utilityGPT-2 base detoxification · zero-shot utility (8 tasks)Avg. accuracy: 42.2 to 40.8 (minor decline)Hurt
select with RTP (lowest Perspective score) instead of OT selectionGPT-2 base detoxification · RTP, Perspective API 20kExpected max toxicity, toxic prompts: 0.50 vs 0.41 for GOT-D cleanHurt
select with DSIR instead of OT selectionGPT-2 base detoxification · RTP, Perspective API 20kExpected max toxicity, toxic prompts: 0.60 vs 0.62 base (insignificant)No clear effect
random selection instead of OT selectionGPT-2 base detoxification · RTP, Perspective API 20kExpected max toxicity, toxic prompts: 0.57 vs 0.62 baseNo clear effect
OT gradient-based selection (GOT-D) instead of DAPT/DSIR/All-domains at 150K budgetbert-base-uncased domain adaptation · 8 domain-specific NLU tasks, 150KAverage F1: 83.83 vs 83.11 (DAPT), 82.98 (DSIR)Helped
OT gradient-based selection vs TAPT/c and DSIR at 50K budget with 5K target databert-base-uncased domain adaptation · 8 domain-specific NLU tasks, 50K, 5K targetAverage F1: 81.51 vs 81.03 (TAPT/c), 80.92 (DSIR)Helped
OT gradient-based pre-fine-tuning on 50K selected data (full GLUE training data)BERT base on GLUE · GLUE, full trainingAverage GLUE score: 83.43 vs 82.39 vanilla (+1.04)Helped
OT gradient-based pre-fine-tuning on 50K selected data (max 5K GLUE training)BERT base on GLUE · GLUE, 5K trainingAverage GLUE score: 78.43 vs 75.30 vanilla (+3.13); vs TAPT/c 78.32Helped
OT gradient-based selection vs DSIR and TAPT/c on GLUE (full training)BERT base on GLUE · GLUE, full trainingAverage GLUE score: 83.43 vs 83.25 (DSIR), 83.18 (TAPT/c)Helped
Pre-fine-tuning with DSIR or TAPT/c vs vanilla on GLUE (5K training)BERT base on GLUE · GLUE, 5K trainingAverage GLUE score: 78.15 (DSIR), 78.32 (TAPT/c) vs 75.30Helped

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebTextCorpus RealToxicityPrompts AmazonReviews Pubmed arxiv RealNews Wikipedia BookCorpus RCT ChemProt ACL-ARC Sci-ERC

Benchmarks: RealToxicityPrompts OpenWebTextCorpus perplexity zero-shot downstream tasks RCT ChemProt ACL-ARC Sci-ERC HyperPartisan AGNews Helpfulness IMDB GLUE

Metrics: expected maximum toxicity toxicity probability perplexity accuracy macro F1 micro F1 Matthews correlation

Baselines: RANDOM RTP DSIR DAPT TAPT/c All domains BERT vanilla

Builds on: DSIR DAPT TAPT Optimal transport gradient data valuation (Wang et al. OT-based data valuation)

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