arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.14402cs.CL
收藏

LaMini-LM: 来自大规模指令的多样化蒸馏模型群

LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructions

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Monash University(莫纳什大学);The University of British Columbia(不列颠哥伦比亚大学)

Minghao Wu, Abdul Waheed, Chiyu Zhang, Muhammad Abdul-Mageed, Alham Fikri Aji

AI总结:

本研究针对大语言模型资源消耗大的问题,构建258万条多样化指令集,蒸馏出涵盖不同架构与规模的LaMini-LM模型群,在15个NLP基准上性能媲美基线且规模远更小。

摘要:

经过指令微调的大语言模型(LLM)展现出卓越的生成能力,但这类模型资源消耗巨大。为缓解这一问题,我们探索将经过指令微调的LLM的知识蒸馏到规模小得多的模型中。为此,我们基于现有指令与新生成指令,精心构建了一个包含258万条指令的大规模指令集。除规模可观外,我们设计的指令覆盖广泛主题以确保多样性。对指令数据集的深入分析证实了其多样性,我们使用gpt-3.5-turbo为这些指令生成回复。借助这些指令,我们微调了一组多样化的模型,统称为LaMini-LM,涵盖编码器-解码器架构与仅解码器架构的不同规模模型。我们在15个不同的自然语言处理(NLP)基准上使用自动指标评估模型性能,并开展人工评估。结果表明,我们提出的LaMini-LM模型性能与有竞争力的基线相当,而模型规模却小得多。

英文摘要:

Large language models (LLMs) with instruction fine-tuning demonstrate superior generative capabilities. However, these models are resource-intensive. To alleviate this issue, we explore distilling knowledge from instruction-tuned LLMs into much smaller ones. To this end, we carefully develop a large set of 2.58M instructions based on both existing and newly-generated instructions. In addition to being sizable, we design our instructions to cover a broad set of topics to ensure diversity. Extensive analysis of our instruction dataset confirms its diversity, and we generate responses for these instructions using gpt-3.5-turbo. Leveraging these instructions, we fine-tune a diverse herd of models, collectively referred to as LaMini-LM, which includes models from both the encoder-decoder and decoder-only families, with varying sizes. We evaluate the performance of our models using automatic metrics on 15 different natural language processing (NLP) benchmarks, as well as through human assessment. The results demonstrate that our proposed LaMini-LM models are comparable to competitive baselines, while being much smaller in size.

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

↑