English

Measuring Data Diversity for Instruction Tuning: A Systematic Analysis and A Reliable Metric

Computation and Language 2025-06-03 v5

Abstract

Data diversity is crucial for the instruction tuning of large language models. Existing studies have explored various diversity-aware data selection methods to construct high-quality datasets and enhance model performance. However, the fundamental problem of precisely defining and measuring data diversity remains underexplored, limiting clear guidance for data engineering. To address this, we systematically analyze 11 existing diversity measurement methods by evaluating their correlation with model performance through extensive fine-tuning experiments. Our results indicate that a reliable diversity measure should properly account for both inter-sample differences and the information density in the sample space. Building on this, we propose NovelSum, a new diversity metric based on sample-level "novelty." Experiments on both simulated and real-world data show that NovelSum accurately captures diversity variations and achieves a 0.97 correlation with instruction-tuned model performance, highlighting its value in guiding data engineering practices. With NovelSum as an optimization objective, we further develop a greedy, diversity-oriented data selection strategy that outperforms existing approaches, validating both the effectiveness and practical significance of our metric. The code is available at https://github.com/UmeanNever/NovelSum.

Keywords

Cite

@article{arxiv.2502.17184,
  title  = {Measuring Data Diversity for Instruction Tuning: A Systematic Analysis and A Reliable Metric},
  author = {Yuming Yang and Yang Nan and Junjie Ye and Shihan Dou and Xiao Wang and Shuo Li and Huijie Lv and Mingqi Wu and Tao Gui and Qi Zhang and Xuanjing Huang},
  journal= {arXiv preprint arXiv:2502.17184},
  year   = {2025}
}

Comments

Accepted at ACL 2025 Main. Camera-ready version updated (20 pages). Project page: https://github.com/UmeanNever/NovelSum

R2 v1 2026-06-28T21:55:33.589Z