Importance-Aware Data Selection for Efficient LLM Instruction Tuning

Tingyu Jiang, Shen Li, Yiyao Song, Lan Zhang, Hualei Zhu, Yuan Zhao, Xiaohang Xu, Kenjiro Taura, Hao Henry WangarXiv 2025 · DOI

Abstract

Instruction tuning is vital for aligning Large Language Models (LLMs) with human intent, yet scaling data often leads to redundancy and performance degradation. This paper introduces Model Instruction Weakness Value (MIWV), a novel, automated metric that identifies model-specific "weak spots" using In-Context Learning (ICL) as a diagnostic probe. By selecting only the most informative samples, the authors demonstrate that fine-tuning on as little as 1% of a dataset can outperform training on the full 100%, offering a highly efficient and effective path to model alignment without relying on expensive external APIs.

Introduction

Traditionally, the development of instruction-tuned models followed the principle that more data leads to better performance. However, blindly scaling datasets is computationally expensive and often introduces redundant or noisy data that can degrade model performance. While recent approaches attempt to filter for "high-quality" data, they frequently rely on expensive external models (like GPT-4) or generic quality metrics that do not account for the specific capabilities of the target LLM.

This research addresses the need for a fully automated, model-specific data selection strategy. The core insight is that "quality" is subjective: a sample that is highly informative for a smaller model might be redundant for a larger one. MIWV identifies the exact data a specific LLM needs to improve by probing its internal weaknesses.

Methodology: The MIWV Pipeline

The authors propose a self-guided data selection pipeline that uses the target LLM as its own evaluator:

  1. One-Shot Example Retrieval: For every instruction in the source dataset, an embedding model (e.g., Bge-en-large) retrieves the most semantically similar instruction-response pair from the same set.
  2. ICL as a Diagnostic Probe: The target LLM predicts the response under two conditions: a Zero-shot prompt (instruction only) and a One-shot prompt (instruction preceded by the retrieved example).
  3. MIWV Computation: The Model Instruction Weakness Value is calculated as: MIWV = Loss(One-Shot) - Loss(Zero-Shot). If providing a relevant example fails to lower the loss (resulting in a high MIWV), it indicates the model lacks the fundamental ability to process that specific task.
  4. Data Selection: The dataset is ranked by MIWV, and the highest-scoring samples—representing the model's greatest weaknesses—are selected for a compact, high-quality training subset.
The detailed MIWV data selection pipeline, illustrating the use of ICL to compute sample importance.

Experimental Results

The researchers evaluated MIWV across multiple models (LLaMA, Qwen, T5) and datasets (Alpaca, WizardLM). The results consistently demonstrated that "less is more" when data selection is importance-aware.

Massive Data Reduction and Peak Performance

Fine-tuning LLaMA2-7B on just 1% of the Alpaca dataset (520 samples) significantly outperformed the model trained on the full 52,000-sample dataset. Peak performance was generally observed when using the top 10% to 15% of MIWV-ranked data. Beyond this threshold, the inclusion of redundant or "easy" data acted as noise, causing performance to plateau or decline.

Comparison with Baselines

MIWV outperformed eight recent data selection methods, including Alpagasus and IFD Score. As shown in the comparison of selection strategies, MIWV consistently maintains a higher win rate than random selection or metrics focusing on low MIWV or high prompt loss alone.

Comparison of win rates across different data selection strategies, highlighting the superiority of MIWV and the performance drop as data volume increases beyond the optimal threshold.

Discussion and Insights

  • Weakness vs. Quality: A model learns most effectively from what it does not already know. High-MIWV samples were found to correlate with higher complexity, depth, and expertise when analyzed by GPT-4.
  • Efficiency: The MIWV method is highly efficient, requiring only two inference passes per sample. Filtering a full dataset took approximately 85 minutes on standard hardware, making it significantly faster than methods requiring auxiliary model training.

Conclusion

MIWV introduces a powerful paradigm for LLM alignment by using In-Context Learning as a diagnostic tool. While the method requires upfront inference compute and careful threshold tuning, it proves that targeted, model-specific data selection can achieve superior performance with a fraction of the data. Future work may explore more advanced context-assisted filtering to further refine LLM alignment strategies.

Summary updated

BibTeX
@misc{jiang2025importance,
  author = {Tingyu Jiang and Shen Li and Yiyao Song and Lan Zhang and Hualei Zhu and Yuan Zhao and Xiaohang Xu and Kenjiro Taura and Hao Henry Wang},
  title = {{Importance-Aware Data Selection for Efficient LLM Instruction Tuning}},
  year = {2025},
  eprint = {2511.07074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.07074},
}
Figure