arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.05233cs.LGcs.DC
收藏

具有稀疏通信的联邦 LoRA

Federated LoRA with Sparse Communication

Carnegie Mellon University(卡内基梅隆大学)

Kevin Kuo, Arian Raje, Kousik Rajesh, Virginia Smith

AI总结:

本文提出联邦稀疏通信方法 FLASC,在通信时对 LoRA 施加稀疏性而允许客户端本地微调完整模块,以最多 10 倍通信减少达到与稠密 LoRA 相当的性能,并在异质性和隐私方面优于现有方法。

摘要:

低秩适配(LoRA)是在通信受限的机器学习环境中(如跨设备联邦学习)进行微调的一种自然方法。先前在联邦学习背景下研究 LoRA 的工作主要集中于提高 LoRA 对异质性和隐私的鲁棒性。在本工作中,我们转而考虑进一步提高联邦 LoRA 通信效率的技术。遗憾的是,我们表明通过非结构化剪枝提高 LoRA 效率的集中式机器学习方法并不能很好地迁移到联邦环境中。我们转而研究一种简单的方法 FLASC,它在通信过程中对 LoRA 施加稀疏性,同时允许客户端在本地微调整个 LoRA 模块。在四个常见的联邦学习任务上,我们证明该方法以最多 10 倍的通信量减少达到了与稠密 LoRA 相当的性能。此外,尽管该方法主要针对通信设计,我们发现相对于针对这些特定关注点量身定制的现有方法,它在异质性和隐私方面也具有优势。总体而言,我们的工作强调了在开发通信高效微调方法时考虑系统特定约束的重要性,并为联邦微调的未来工作提供了一个简单且有竞争力的基线。

英文摘要:

Low-rank adaptation (LoRA) is a natural method for finetuning in communication-constrained machine learning settings such as cross-device federated learning. Prior work that has studied LoRA in the context of federated learning has focused on improving LoRA's robustness to heterogeneity and privacy. In this work, we instead consider techniques for further improving communication-efficiency in federated LoRA. Unfortunately, we show that centralized ML methods that improve the efficiency of LoRA through unstructured pruning do not transfer well to federated settings. We instead study a simple approach, \textbf{FLASC}, that applies sparsity to LoRA during communication while allowing clients to locally fine-tune the entire LoRA module. Across four common federated learning tasks, we demonstrate that this method matches the performance of dense LoRA with up to $10\times$ less communication. Additionally, despite being designed primarily to target communication, we find that this approach has benefits in terms of heterogeneity and privacy relative to existing approaches tailored to these specific concerns. Overall, our work highlights the importance of considering system-specific constraints when developing communication-efficient finetuning approaches, and serves as a simple and competitive baseline for future work in federated finetuning.

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

↑