Diversity Measurement and Subset Selection for Instruction Tuning Datasets
About
We aim to select data subsets for the fine-tuning of large language models to more effectively follow instructions. Prior work has emphasized the importance of diversity in dataset curation but relied on heuristics such as the number of tasks. In this paper, we use determinantal point processes to capture the diversity and quality of instruction tuning datasets for subset selection. We propose to measure dataset diversity with log determinant distance that is the distance between the dataset of interest and a maximally diverse reference dataset. Our experiments demonstrate that the proposed diversity measure in the normalized weight gradient space is correlated with downstream instruction-following performance. Consequently, it can be used to inform when data selection is the most helpful and to analyze dataset curation strategies. We demonstrate the utility of our approach on various instruction tuning datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Instruction Tuning | Instruction Tuning Datasets 1.0 (train test) | Model Performance0.83 | 20 | |
| Diversity measurement correlation | Instruction-tuning (IT) datasets Qwen-2.5-7B performance | Average Correlation0.6 | 12 | |
| Diversity measurement correlation | Instruction-tuning (IT) datasets LLaMA-3-8B performance | Pearson0.61 | 12 | |
| Data Selection | LLM Training Data Selection | Selection Time (hours)122 | 5 |