Self-Evolved Diverse Data Sampling for Efficient Instruction Tuning
Shengguang Wu, Keming Lu, Benfeng Xu, Junyang Lin, Qi Su, Chang Zhou
TL;DR
The paper addresses the data- and cost-intensive nature of instruction tuning for large language models by introducing DiverseEvol, a self-evolving, diversity-driven sampling method. It uses an iterative framework and K-Center-Sampling in the model’s embedding space to select highly diverse subsets of instructions, enabling substantial data reduction (under 8%) without sacrificing performance. Empirical results across multiple open-source instruction-tuning datasets and benchmarks demonstrate that DiverseEvol can match or surpass full-data baselines, with analyses highlighting the critical roles of data diversity and iterative refinement. The work provides code and shows promising practical impact for efficient, scalable instruction tuning.
Abstract
Enhancing the instruction-following ability of Large Language Models (LLMs) primarily demands substantial instruction-tuning datasets. However, the sheer volume of these imposes a considerable computational burden and annotation cost. To investigate a label-efficient instruction tuning method that allows the model itself to actively sample subsets that are equally or even more effective, we introduce a self-evolving mechanism DiverseEvol. In this process, a model iteratively augments its training subset to refine its own performance, without requiring any intervention from humans or more advanced LLMs. The key to our data sampling technique lies in the enhancement of diversity in the chosen subsets, as the model selects new data points most distinct from any existing ones according to its current embedding space. Extensive experiments across three datasets and benchmarks demonstrate the effectiveness of DiverseEvol. Our models, trained on less than 8% of the original dataset, maintain or improve performance compared with finetuning on full data. We also provide empirical evidence to analyze the importance of diversity in instruction data and the iterative scheme as opposed to one-time sampling. Our code is publicly available at https://github.com/OFA-Sys/DiverseEvol.git.
