Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Yuming Yang, Yang Nan, Junjie Ye, Shihan Dou, Xiao Wang, Shuo Li, Huijie Lv, Mingqi Wu, Tao Gui, Qi Zhang, Xuanjing Huang• 2025

Related benchmarks

TaskDatasetResultRank
Instruction FollowingMT-Bench
MT-Bench Score6.47
189
Instruction FollowingAlpacaEval
Win Rate78.07
125
Instruction TuningInstruction Tuning Datasets 1.0 (train test)--
20
Diversity measurement correlationInstruction-tuning (IT) datasets LLaMA-3-8B performance
Pearson0.98
12
Diversity measurement correlationInstruction-tuning (IT) datasets Qwen-2.5-7B performance
Average Correlation0.9
12
Instruction FollowingMT-bench and AlpacaEval
Aggregated P1.55
6
Showing 6 of 6 rows

Other info

Code

Follow for update