LEAD: Iterative Data Selection for Efficient LLM Instruction Tuning

Xiaotian Lin, Yanlin Qi, Yizhang Zhu, Themis Palpanas, Chengliang Chai, Nan Tang, Yuyu LuoarXiv 2025 · DOI

Introduction

Instruction tuning—the process of fine-tuning a pre-trained LLM to follow specific commands—is a critical step in modern AI development. However, recent research suggests that data quality is far more important than quantity. Training on millions of mediocre examples is often less effective than training on a few thousand high-quality ones. The primary challenge lies in identifying these high-quality samples without incurring massive computational costs.

Existing data selection methods are either static (fast but non-adaptive) or iterative (adaptive but computationally expensive due to full-dataset inference bottlenecks). LEAD (LEArning to Iteratively Select Data) addresses this trade-off by proposing an inference-free iterative selection process that utilizes signals already present in the training loop.

LEAD's inference-free estimation significantly reduces time cost compared to traditional iterative methods by utilizing training signals directly.

The LEAD Framework

The core of LEAD is a two-stage, coarse-to-fine selection strategy designed to integrate seamlessly into standard training. By leveraging "free" signals like loss and gradients during the backward pass, LEAD avoids the need for separate inference rounds.

Instance-Level Dynamic Uncertainty (IDU)

LEAD's primary innovation is the IDU score, which estimates sample utility using three components:

  • Instantaneous Loss: Measures the model's current struggle with a sample.
  • Gradient-Based Approximation: Predicts how the loss will change after the next parameter update, solving the temporal mismatch between observation and update.
  • Exponential Smoothing: Averages historical signals to prevent the selection from being distracted by outliers or noisy data.

Two-Stage Selection Strategy

To handle large-scale datasets, LEAD employs a hierarchical approach:

  1. Coarse-level Cluster Selection: The dataset is pre-clustered by task similarity and difficulty. A Multi-Armed Bandit (MAB) algorithm dynamically identifies which clusters provide the highest "reward" for model improvement at any given time.
  2. Fine-grained Sample Selection: Within the chosen clusters, the model uses IDU scores to pick the top-K most informative samples for the next iteration.
The complete LEAD pipeline, featuring offline dual-level clustering and an online two-stage selection process driven by MAB and IDU scores.

Experimental Results

The authors evaluated LEAD using a massive pool of 600,000 samples from sources like WizardLM, UltraChat, and Alpaca. Testing across LLaMA-3.1-8B, Mistral-7B, and Qwen2-7B models revealed several key findings:

  • Superior Efficiency: LEAD achieved peak performance using only 2.5% of the data (15k samples), outperforming full-dataset training and improving average performance by 6.1% to 10.8% over state-of-the-art baselines.
  • Significant Speedup: By eliminating the inference bottleneck, LEAD runs 5–10x faster than traditional iterative methods like IFD.
  • Curriculum Discovery: The MAB mechanism naturally discovers an optimal training curriculum, balancing the exploration of new tasks with the exploitation of known high-utility data.

Limitations and Future Work

While LEAD is highly efficient during the online training phase, it requires an initial offline clustering step. Performance is also sensitive to specific hyperparameters, such as the sampling threshold and smoothing coefficients. Future research will focus on validating these dynamics for ultra-large models (70B+ parameters) and further automating hyperparameter tuning.

Summary updated

BibTeX
@misc{lin2025lead,
  author = {Xiaotian Lin and Yanlin Qi and Yizhang Zhu and Themis Palpanas and Chengliang Chai and Nan Tang and Yuyu Luo},
  title = {{LEAD: Iterative Data Selection for Efficient LLM Instruction Tuning}},
  year = {2025},
  eprint = {2505.07437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.07437},
}
Figure