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

大型语言模型微调的迁移学习

Transfer Learning for Finetuning Large Language Models

University of Freiburg(弗赖堡大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Tobias Strangmann, Lennart Purucker, Jörg K. H. Franke, Ivo Rapant, Fabio Ferreira, Frank Hutter

AI总结:

本研究提出通过元学习代理模型进行迁移学习,以优化大型语言模型微调配置,在合成数据集和Phi-3微调元数据集上优于基线方法。

摘要:

随着大型语言模型领域的扩展,针对特定任务的高效微调变得日益关键。与此同时,参数高效微调方法的领域也在迅速扩张。因此,实践者在为大型语言模型搜索最优微调流程时面临众多复杂的选择。为了降低实践者的复杂性,我们研究了大型语言模型微调的迁移学习,旨在将相关微调任务的配置知识迁移到新任务中。在本工作中,我们通过元学习性能和成本代理模型,从新的元数据集中进行灰盒元优化的微调迁移学习。与直觉相反,我们提出仅依赖迁移学习来处理新数据集。因此,我们不使用特定于任务的贝叶斯优化,而是优先考虑从相关任务迁移的知识,而非特定于任务的反馈。我们在八个合成问答数据集和一个包含1800次微调微软Phi-3运行的元数据集上评估了我们的方法。我们的迁移学习优于零样本、默认微调和元优化基线。我们的结果证明了微调的迁移性,能够更有效地适应大型语言模型。

英文摘要:

As the landscape of large language models expands, efficiently finetuning for specific tasks becomes increasingly crucial. At the same time, the landscape of parameter-efficient finetuning methods rapidly expands. Consequently, practitioners face a multitude of complex choices when searching for an optimal finetuning pipeline for large language models. To reduce the complexity for practitioners, we investigate transfer learning for finetuning large language models and aim to transfer knowledge about configurations from related finetuning tasks to a new task. In this work, we transfer learn finetuning by meta-learning performance and cost surrogate models for grey-box meta-optimization from a new meta-dataset. Counter-intuitively, we propose to rely only on transfer learning for new datasets. Thus, we do not use task-specific Bayesian optimization but prioritize knowledge transferred from related tasks over task-specific feedback. We evaluate our method on eight synthetic question-answer datasets and a meta-dataset consisting of 1,800 runs of finetuning Microsoft's Phi-3. Our transfer learning is superior to zero-shot, default finetuning, and meta-optimization baselines. Our results demonstrate the transferability of finetuning to adapt large language models more effectively.

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

↑