arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.10793cs.CLcs.AI

揭秘用于微调大型语言模型的指令混合

Demystifying Instruction Mixing for Fine-tuning Large Language Models

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

Renxi Wang, Haonan Li, Minghao Wu, Yuxia Wang, Xudong Han, Chiyu Zhang, Timothy Baldwin

AI总结:

本研究将指令分为NLP下游任务、编程和通用聊天三类,探讨了不同数据集组合对LLM微调性能的影响,发现特定指令类型对特定应用有利但可能损害其他领域,为未来研究奠定基础。

摘要:

指令微调显著提升了大型语言模型(LLMs)在各种任务上的性能。然而,针对LLM微调优化指令数据集混合的过程仍然知之甚少。本研究将指令分为三种主要类型:NLP下游任务、编程和通用聊天。我们探讨了指令微调对不同数据集组合对LLM性能的影响,发现某些指令类型对特定应用更有利,但可能对其他领域产生负面影响。这项工作为指令混合提供了见解,为未来研究奠定了基础。

英文摘要:

Instruction tuning significantly enhances the performance of large language models (LLMs) across various tasks. However, the procedure to optimizing the mixing of instruction datasets for LLM fine-tuning is still poorly understood. This study categorizes instructions into three primary types: NLP downstream tasks, coding, and general chat. We explore the effects of instruction tuning on different combinations of datasets on LLM performance, and find that certain instruction types are more advantageous for specific applications but can negatively impact other areas. This work provides insights into instruction mixtures, laying the foundations for future research.

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

↑