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

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.

Peiqi Wang, Yikang Shen, Zhen Guo, Matthew Stallone, Yoon Kim, Polina Golland, Rameswar Panda• 2024

Related benchmarks

TaskDatasetResultRank
Instruction TuningInstruction Tuning Datasets 1.0 (train test)
Model Performance0.83
20
Diversity measurement correlationInstruction-tuning (IT) datasets Qwen-2.5-7B performance
Average Correlation0.6
12
Diversity measurement correlationInstruction-tuning (IT) datasets LLaMA-3-8B performance
Pearson0.61
12
Data SelectionLLM Training Data Selection
Selection Time (hours)122
5
Showing 4 of 4 rows

Other info

Follow for update