arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.06290cs.CLcs.AIcs.LG
收藏

指令挖掘:用于微调大型语言模型的指令数据选择

Instruction Mining: Instruction Data Selection for Tuning Large Language Models

LinkedIn(领英);Microsoft Research(微软研究院);Lehigh University(理海大学)

Yihan Cao, Yanbin Kang, Chi Wang, Lichao Sun

AI总结:

本文提出InstructMining方法,利用自然语言指标自动评估并选择高质量的指令微调数据,结合BlendSearch在10万条数据中筛选出最佳子集,在主流基准上取得SOTA性能。

摘要:

大型语言模型(LLMs)首先通过预训练获得广泛能力,随后使用遵循指令的数据集进行微调,以提升其与人类交互的表现。尽管微调技术不断进步,但选择高质量数据集以优化此过程的标准化指南仍然缺乏。在本文中,我们首先提出 InstructMining,这是一种创新方法,旨在为微调 LLMs 自动选择优质的遵循指令数据。具体而言,InstructMining 利用自然语言指标作为数据质量的衡量标准,并将其应用于评估未知数据集。在实验过程中,我们发现在大型语言模型微调中存在双重下降现象。基于这一观察,我们进一步利用 BlendSearch 来帮助在整个数据集中寻找最佳子集(即从 100,000 个中选出 2,532 个)。实验结果表明,InstructMining-7B 在两个最流行的基准测试上取得了最先进的性能:LLM-as-a-judge 和 Huggingface OpenLLM leaderboard。

英文摘要:

Large language models (LLMs) are initially pretrained for broad capabilities and then finetuned with instruction-following datasets to improve their performance in interacting with humans. Despite advances in finetuning, a standardized guideline for selecting high-quality datasets to optimize this process remains elusive. In this paper, we first propose InstructMining, an innovative method designed for automatically selecting premium instruction-following data for finetuning LLMs. Specifically, InstructMining utilizes natural language indicators as a measure of data quality, applying them to evaluate unseen datasets. During experimentation, we discover that double descent phenomenon exists in large language model finetuning. Based on this observation, we further leverage BlendSearch to help find the best subset among the entire dataset (i.e., 2,532 out of 100,000). Experiment results show that InstructMining-7B achieves state-of-the-art performance on two of the most popular benchmarks: LLM-as-a-judge and Huggingface OpenLLM leaderboard.

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

↑