atlas

Research map / Learning theory and algorithms / Prediction and decision losses

TSDS: Data Selection for Task-Specific Model Finetuning

NeurIPS 2024 · Learning theory and algorithms › Prediction and decision losses · approach: Ranking models from comparisons · 2 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 TSDS, an optimal-transport-based regularized probability assignment framework with KDE-based near-duplicate penalty and nearest-neighbor algorithms for task-specific data selection, evaluated on instruction tuning and continued pretraining.

Problem

Selecting training data from a massive candidate repository to finetune foundation models for a specific target task, guided by a small set of representative query examples, while ensuring distribution alignment, diversity, and robustness to near-duplicates, at scale.

Approach

Formulate data selection as a regularized optimal transport problem from query examples to candidates, with a diversity regularizer (uniform or KDE-weighted by inverse density) so near-duplicates are down-weighted; show closed-form solutions reduce to k-nearest-neighbor assignments that can use approximate nearest neighbor search.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TSDS-selected instruction-tuning data instead of LESS-selected dataLlama-2-7B and Mistral-7B · TydiQA and BBH, 1.0% selectionF1 score on TydiQA; accuracy on BBH: beats the state-of-the-art method (LESS) by up to 6 pointsHelped
Use TSDS-selected instruction-tuning data instead of LESS-selected dataLlama-2-7B and Mistral-7B · MMLUaccuracyNo clear effect
Use TSDS-selected instruction-tuning data instead of the full data repositoryLlama-2-7B and Mistral-7B · TydiQA and BBH, 1% selectionF1 score on TydiQA; accuracy on BBHHelped
Use TSDS-selected instruction-tuning data instead of LESS-selected dataLlama-2-7B and Mistral-7B · Instruction tuning across three tasksF1 score: 1.5 points in F1 score on averageHelped
Increase TSDS instruction-tuning selection ratio from 1% to 5%TSDS · TydiQAF1 scoreHurt
Finetune on the full repository instead of using the base modelMistral-7B · Instruction tuningaccuracyHurt
Finetune on any selected setMistral-7B · MMLUaccuracyNo clear effect
Use TSDS-selected data instead of DSIR-selected dataALBERT · Domain-specific continued pretraining with 1K annotated examplesF1 score: 1.92 points over DSIRHelped
Use TSDS-selected data instead of DSIR-selected dataALBERT · Domain-specific continued pretraining with 3K annotated examplesF1 score: 0.38 points with an annotated set size of 3KMixed
Use TSDS-selected data instead of DSIR-selected dataALBERT · ChemProt (3K) and AGNews (1K)F1 scoreNo clear effect
Use TSDS KDE-based selection with near-duplicate candidatesTSDS · Candidate repository with 1% of examples duplicated up to 1,000 timesF1 score: baseline methods show a drop of 2 points in F1 scoreHelped

Surprising findings

Limitations

Experimental setup

Datasets: Flan V2 CoT Dolly Open Assistant The Pile TydiQA MMLU BBH ChemProt IMDB SCIERC AGNews

Benchmarks: TydiQA MMLU BBH ChemProt IMDB SCIERC AGNews

Metrics: F1 score accuracy micro-F1 macro-F1

Baselines: Rand LESS DSIR Full dataset

Builds on: LESS DSIR optimal transport HNSW

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