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

#InsTag:用于分析大语言模型监督微调的指令标注

#InsTag: Instruction Tagging for Analyzing Supervised Fine-tuning of Large Language Models

Alibaba DAMO Academy(阿里巴巴达摩院)

Keming Lu, Hongyi Yuan, Zheng Yuan, Runji Lin, Junyang Lin, Chuanqi Tan, Chang Zhou, Jingren Zhou

AI总结:

本文提出开放集细粒度指令标注器InsTag,用以量化SFT数据的多样性与复杂性,并据此选择6K样本训练TagLM,在MT-Bench上超越使用更多数据的开源模型。

摘要:

基础语言模型通过监督微调(SFT)获得遵循指令的能力。多样性和复杂性被认为是成功SFT数据集的关键因素,但其定义仍然模糊,且缺乏定量分析。在本工作中,我们提出InsTag,这是一个开放集细粒度标注器,用于基于语义和意图标注SFT数据集中的样本,并依据标签定义指令多样性和复杂性。我们获得了6.6K个标签,用于描述全面的用户查询。随后,我们分析了流行的开源SFT数据集,发现模型能力会随着数据更加多样和复杂而提升。基于这一观察,我们提出一个基于InsTag的数据选择器,从开源数据集中选择6K个多样且复杂的样本,并在InsTag选择的数据上微调模型。所得模型TagLM在MT-Bench评估中优于基于规模大得多的SFT数据训练的开源模型,印证了查询多样性和复杂性的重要性。我们在https://github.com/OFA-Sys/InsTag开源了InsTag。

英文摘要:

Foundation language models obtain the instruction-following ability through supervised fine-tuning (SFT). Diversity and complexity are considered critical factors of a successful SFT dataset, while their definitions remain obscure and lack quantitative analyses. In this work, we propose InsTag, an open-set fine-grained tagger, to tag samples within SFT datasets based on semantics and intentions and define instruction diversity and complexity regarding tags. We obtain 6.6K tags to describe comprehensive user queries. Then we analyze popular open-sourced SFT datasets and find that the model ability grows with more diverse and complex data. Based on this observation, we propose a data selector based on InsTag to select 6K diverse and complex samples from open-source datasets and fine-tune models on InsTag-selected data. The resulting models, TagLM, outperform open-source models based on considerably larger SFT data evaluated by MT-Bench, echoing the importance of query diversity and complexity. We open-source InsTag in https://github.com/OFA-Sys/InsTag.

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

↑