arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.13064cs.CL
收藏

(几乎)从零开始的合成数据:面向语言模型的广义指令微调

Synthetic Data (Almost) from Scratch: Generalized Instruction Tuning for Language Models

Microsoft(微软);Singapore University of Technology and Design(新加坡科技设计大学);Peking University(北京大学);Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学)
Haoran Li, Qingxiu Dong, Zhengyang Tang, Chaojun Wang, Xingxing Zhang, Haoyang Huang, Shaohan Huang, Xiaolong Huang, Zeqiang Huang, Dongdong Zhang, Yuxian Gu, X… 展开作者

Haoran Li, Qingxiu Dong, Zhengyang Tang, Chaojun Wang, Xingxing Zhang, Haoyang Huang, Shaohan Huang, Xiaolong Huang, Zeqiang Huang, Dongdong Zhang, Yuxian Gu, Xin Cheng, Xun Wang, Si-Qing Chen, Li Dong, Wei Lu, Zhifang Sui, Benyou Wang, Wai Lam, Furu Wei

AI总结:

本文提出广义指令微调方法 GLAN,仅利用人类知识与能力分类体系即可大规模生成覆盖多学科的合成指令数据,无需任务特定数据即可显著提升大语言模型在推理、编程、考试和指令遵循等多方面的表现,并支持便捷扩展新领域。

摘要:

我们提出广义指令微调(称为 GLAN),这是一种通用且可扩展的大语言模型(LLMs)指令微调方法。与以往依赖种子示例或现有数据集来构建指令微调数据的工作不同,GLAN 仅利用预先构建的人类知识与能力分类体系作为输入,并在所有学科中生成大规模合成指令数据。具体而言,受人类教育系统中系统化结构的启发,我们在 LLMs 的辅助下,通过将人类知识和能力半自动地分解为不同领域、子领域并最终分解为不同学科来构建该分类体系。随后,我们为每个学科生成一份全面的科目列表,并再次利用 LLMs 为每个科目设计量身定制的教学大纲。借助教学大纲中每节课所详述的细粒度关键概念,我们能够生成覆盖人类知识与技能全谱系的多样化指令。在大语言模型(如 Mistral)上的大量实验表明,GLAN 在数学推理、编程、学术考试、逻辑推理以及通用指令遵循等多个维度上表现出色,且无需使用这些任务的任务特定训练数据。此外,GLAN 支持便捷定制,只需在分类体系中加入一个新节点,即可添加新的领域或技能。

英文摘要:

We introduce Generalized Instruction Tuning (called GLAN), a general and scalable method for instruction tuning of Large Language Models (LLMs). Unlike prior work that relies on seed examples or existing datasets to construct instruction tuning data, GLAN exclusively utilizes a pre-curated taxonomy of human knowledge and capabilities as input and generates large-scale synthetic instruction data across all disciplines. Specifically, inspired by the systematic structure in human education system, we build the taxonomy by decomposing human knowledge and capabilities to various fields, sub-fields and ultimately, distinct disciplines semi-automatically, facilitated by LLMs. Subsequently, we generate a comprehensive list of subjects for every discipline and proceed to design a syllabus tailored to each subject, again utilizing LLMs. With the fine-grained key concepts detailed in every class session of the syllabus, we are able to generate diverse instructions with a broad coverage across the entire spectrum of human knowledge and skills. Extensive experiments on large language models (e.g., Mistral) demonstrate that GLAN excels in multiple dimensions from mathematical reasoning, coding, academic exams, logical reasoning to general instruction following without using task-specific training data of these tasks. In addition, GLAN allows for easy customization and new fields or skills can be added by simply incorporating a new node into our taxonomy.

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

↑