arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15857cs.LGcs.CLstat.ML
收藏

BoRA:面向多任务大型语言模型的贝叶斯分层低秩适配

BoRA: Bayesian Hierarchical Low-Rank Adaption for Multi-Task Large Language Models

University of Oslo(奥斯陆大学);Schibsted(谢布斯泰德公司)

Simen Eide, Arnoldo Frigessi

AI总结:

提出贝叶斯分层低秩适配BoRA,通过全局分层先验实现多任务信息共享与任务专业化,实验表明其困惑度更低、跨任务泛化更好。

摘要:

本文介绍了贝叶斯分层低秩适配(Bayesian Hierarchical Low-Rank Adaption,BoRA),这是一种用于微调多任务大型语言模型(LLM)的新颖方法。当前的微调方法(如低秩适配,Low-Rank Adaption,LoRA)在减少训练参数和内存占用方面表现极其出色,但在应用于多个相似任务时面临局限。从业者通常必须在为每个任务训练独立模型与为所有任务训练单一模型之间作出选择,而这两种做法都会在专业化和数据利用方面带来权衡。BoRA通过利用贝叶斯分层模型来解决这些权衡,该模型允许各任务通过全局分层先验共享信息。这使得数据有限的任务能够受益于从相关任务获得的整体结构,同时允许数据较多的任务实现专业化。实验结果表明,BoRA优于独立模型和统一模型两种方法,在各任务间实现了更低的困惑度和更好的泛化能力。该方法为多任务LLM微调提供了一种可扩展且高效的解决方案,对多种应用具有重要的实际意义。

英文摘要:

This paper introduces Bayesian Hierarchical Low-Rank Adaption (BoRA), a novel method for finetuning multi-task Large Language Models (LLMs). Current finetuning approaches, such as Low-Rank Adaption (LoRA), perform exeptionally well in reducing training parameters and memory usage but face limitations when applied to multiple similar tasks. Practitioners usually have to choose between training separate models for each task or a single model for all tasks, both of which come with trade-offs in specialization and data utilization. BoRA addresses these trade-offs by leveraging a Bayesian hierarchical model that allows tasks to share information through global hierarchical priors. This enables tasks with limited data to benefit from the overall structure derived from related tasks while allowing tasks with more data to specialize. Our experimental results show that BoRA outperforms both individual and unified model approaches, achieving lower perplexity and better generalization across tasks. This method provides a scalable and efficient solution for multi-task LLM finetuning, with significant practical implications for diverse applications.

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

↑