Fed-SB: A Silver Bullet for Extreme Communication Efficiency and Performance in (Private) Federated LoRA Fine-Tuning
Raghav Singhal, Kaustubh Ponkshe, Rohit Vartak, Lav R. Varshney, Praneeth Vepakomma
TL;DR
The paper tackles the inefficiencies of federated fine-tuning with LoRA, where inexact aggregation and privacy-induced noise hinder performance and scalability. It proposes Fed-SB, a federated adaptation of LoRA-SB that distributes frozen adapters $A$ and $B$ while clients train a small $R$ matrix, enabling exact aggregation via simple averaging: $R^{agg} = \frac{1}{c} \sum_i R_i$ and $\Delta W^{agg} = B R^{agg} A$. This yields a communication cost independent of the number of clients and improves DP privacy due to fewer learnable parameters, while attaining state-of-the-art results on multiple benchmarks and models, including non-private and privacy-preserving federated fine-tuning. The approach also supports rank-heterogeneous clients and demonstrates substantial memory and time efficiency, making Fed-SB a scalable, privacy-friendly solution for federated fine-tuning of large language models with LoRA-based adapters.
Abstract
Low-Rank Adaptation (LoRA) has become ubiquitous for efficiently fine-tuning foundation models. However, federated fine-tuning using LoRA is challenging due to suboptimal updates arising from traditional federated averaging of individual adapters. Existing solutions either incur prohibitively high communication cost that scales linearly with the number of clients or suffer from performance degradation due to limited expressivity. We introduce Federated Silver Bullet (Fed-SB), a novel approach for federated fine-tuning of LLMs using LoRA-SB, a recently proposed low-rank adaptation method. LoRA-SB optimally aligns the optimization trajectory with the ideal low-rank full fine-tuning projection by learning a small square matrix (R) between adapters B and A, keeping other components fixed. Direct averaging of R guarantees exact updates, substantially reducing communication cost, which remains independent of the number of clients, and enables scalability. Fed-SB achieves state-of-the-art performance across commonsense reasoning, arithmetic reasoning, and language inference tasks while reducing communication costs by up to 230x. In private settings, Fed-SB further improves performance by (1) reducing trainable parameters, thereby lowering the noise required for differential privacy and (2) avoiding noise amplification introduced by other methods. Overall, Fed-SB offers a state-of-the-art, efficient, and scalable solution for both private and non-private federated fine-tuning. Our code is publicly available at: https://github.com/CERT-Lab/fed-sb.
