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

SLoRA:语言模型的联邦参数高效微调

SLoRA: Federated Parameter Efficient Fine-Tuning of Language Models

University of Southern California(南加州大学);Samsung Semiconductor Inc.(三星半导体公司)

Sara Babakniya, Ahmed Roushdy Elkordy, Yahya H. Ezzeldin, Qingfeng Liu, Kee-Bong Song, Mostafa El-Khamy, Salman Avestimehr

AI总结:

本文针对联邦学习中 PEFT 与完全微调在高异构数据下的性能差距,提出 SLoRA,通过数据驱动初始化改进 LoRA,以约 1% 稀疏更新达到接近全量微调性能并最多减少 90% 训练时间。

摘要:

通过微调预训练 transformer 模型进行迁移学习,已在各类 NLP 任务上取得显著成功,并提供最先进结果。在缺乏集中式数据的情况下,联邦学习(FL)能够利用 FL 边缘客户端的分布式私有数据进行微调。然而,由于边缘设备的通信、计算和存储能力有限,且流行 transformer 模型规模巨大,高效微调对于使联邦训练可行至关重要。本工作探讨了在面向语言任务的不同 FL 设置中应用参数高效微调(PEFT)方法所涉及的机遇与挑战。具体而言,研究发现,随着用户之间的数据变得更加多样化,完全微调模型与采用 PEFT 方法之间的性能差距会扩大。为弥合这一性能差距,我们提出了一种名为 SLoRA 的方法,该方法通过一种新颖的数据驱动初始化技术,克服 LoRA 在高异构数据场景中的关键限制。实验结果表明,SLoRA 取得了与完全微调相当的性能,同时具有约 1% 密度的显著稀疏更新,并将训练时间最多减少 90%。

英文摘要:

Transfer learning via fine-tuning pre-trained transformer models has gained significant success in delivering state-of-the-art results across various NLP tasks. In the absence of centralized data, Federated Learning (FL) can benefit from distributed and private data of the FL edge clients for fine-tuning. However, due to the limited communication, computation, and storage capabilities of edge devices and the huge sizes of popular transformer models, efficient fine-tuning is crucial to make federated training feasible. This work explores the opportunities and challenges associated with applying parameter efficient fine-tuning (PEFT) methods in different FL settings for language tasks. Specifically, our investigation reveals that as the data across users becomes more diverse, the gap between fully fine-tuning the model and employing PEFT methods widens. To bridge this performance gap, we propose a method called SLoRA, which overcomes the key limitations of LoRA in high heterogeneous data scenarios through a novel data-driven initialization technique. Our experimental results demonstrate that SLoRA achieves performance comparable to full fine-tuning, with significant sparse updates with approximately $\sim 1\%$ density while reducing training time by up to $90\%$.

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

↑