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

基于Fisher信息的高效课程联邦学习与大型语言模型

Fisher Information-based Efficient Curriculum Federated Learning with Large Language Models

HiThink Research(海思思考研究院);Auburn University(奥本大学);Kent State University(肯特州立大学);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);Inria(法国国家信息与自动化研究所);University of Montpellier(蒙彼利埃大学);CNRS(法国国家科学研究中心);LNCC(巴西国家计算科学实验室);Fudan University(复旦大学);BEDI Cloud(北电云)

Ji Liu, Jiaxiang Ren, Ruoming Jin, Zijie Zhang, Yang Zhou, Patrick Valduriez, Dejing Dou

AI总结:

本文提出FibecFed框架,通过基于Fisher信息的自适应课程学习和高效稀疏参数更新,在非IID数据下提升LLM联邦微调的效果与效率,实验显示准确率最高提升45.35%、速度最快加速98.61%。

摘要:

作为一种利用分散数据协作训练模型的有前景范式,联邦学习(FL)可被用于微调大型语言模型(LLMs)。由于LLMs规模巨大,训练数据的规模显著增加,从而导致巨大的计算和通信开销。训练数据通常是非独立同分布(non-IID)的,这要求在每个设备内进行自适应数据处理。尽管低秩适配(LoRA)能够显著减少微调过程中需要更新的参数规模,但传输LLMs中所有层的低秩参数仍然需要难以承受的时间。在本文中,我们提出了一种基于Fisher信息的高效课程联邦学习框架(FibecFed),包含两种新方法,即自适应联邦课程学习和高效稀疏参数更新。首先,我们提出了一种基于Fisher信息的方法,在每个设备内自适应采样数据,以提高联邦学习微调过程的有效性。其次,我们动态选择适当的层进行全局聚合,并结合LoRA对局部更新使用稀疏参数,从而提高联邦学习微调过程的效率。基于10个数据集的大量实验结果表明,与17种基线方法相比,FibecFed取得了优异的性能(准确率最高提升45.35%)和出色的微调速度(最快加速98.61%)。

英文摘要:

As a promising paradigm to collaboratively train models with decentralized data, Federated Learning (FL) can be exploited to fine-tune Large Language Models (LLMs). While LLMs correspond to huge size, the scale of the training data significantly increases, which leads to tremendous amounts of computation and communication costs. The training data is generally non-Independent and Identically Distributed (non-IID), which requires adaptive data processing within each device. Although Low Rank Adaptation (LoRA) can significantly reduce the scale of parameters to update in the fine-tuning process, it still takes unaffordable time to transfer the low-rank parameters of all the layers in LLMs. In this paper, we propose a Fisher Information-based Efficient Curriculum Federated Learning framework (FibecFed) with two novel methods, i.e., adaptive federated curriculum learning and efficient sparse parameter update. First, we propose a fisher information-based method to adaptively sample data within each device to improve the effectiveness of the FL fine-tuning process. Second, we dynamically select the proper layers for global aggregation and sparse parameters for local update with LoRA so as to improve the efficiency of the FL fine-tuning process. Extensive experimental results based on 10 datasets demonstrate that FibecFed yields excellent performance (up to 45.35% in terms of accuracy) and superb fine-tuning speed (up to 98.61% faster) compared with 17 baseline approaches).

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

↑