Federated LoRA with Sparse Communication

Kevin Kuo, Arian Raje, Kousik Rajesh, Virginia Smith
6/7/2024
cs.LGcs.DC

No official code found. Best implementation: imkevinkuo/flasc (9 stars, last commit 2024-06-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

imkevinkuo/flascCommunity71%

Federated LoRA with Sparse Communication

92PythonJun 4, 20242 years ago

Similar Papers

Cite this paper

@article{kuo2024federated,
  title  = {Federated LoRA with Sparse Communication},
  author = {Kevin Kuo and Arian Raje and Kousik Rajesh and Virginia Smith},
  year   = {2024},
  eprint = {2406.05233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.05233v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.05233.svg)](https://codeofpaper.com/paper/2406.05233)

Discussion