arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.08182cs.CLcs.LG
收藏

自进化多样数据采样用于高效指令微调

Self-Evolved Diverse Data Sampling for Efficient Instruction Tuning

Alibaba Group(阿里巴巴集团);Peking University(北京大学);University of Science and Technology of China(中国科学技术大学)

Shengguang Wu, Keming Lu, Benfeng Xu, Junyang Lin, Qi Su, Chang Zhou

AI总结:

提出自进化机制DiverseEvol,让模型自身迭代采样多样数据子集进行指令微调,无需人工或高级模型干预,在少于8%数据上保持或提升性能。

摘要:

增强大型语言模型(LLMs)的指令遵循能力主要依赖于大量的指令微调数据集。然而,这些数据的庞大数量带来了巨大的计算负担和标注成本。为了研究一种标签高效的指令微调方法,使模型自身能够主动采样出同等甚至更有效的子集,我们引入了一种自进化机制DiverseEvol。在这个过程中,模型迭代地扩充其训练子集以优化自身性能,无需人类或更高级LLMs的任何干预。我们数据采样技术的关键在于增强所选子集的多样性,因为模型根据其当前嵌入空间选择与任何现有数据点最不同的新数据点。在三个数据集和基准上的广泛实验证明了DiverseEvol的有效性。我们的模型在仅使用原始数据集不到8%的数据进行训练时,与在全量数据上微调相比,性能保持或有所提升。我们还提供了实证证据,分析了指令数据中多样性的重要性以及迭代方案相对于一次性采样的优势。我们的代码公开于https://github.com/OFA-Sys/DiverseEvol.git。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑