Communication-Efficient Federated Low-Rank Update Algorithm and its Connection to Implicit Regularization

Haemin Park, Diego Klabjan · DOI

Introduction

Federated Learning (FL) has emerged as a vital paradigm for training machine learning models across decentralized data sources without compromising privacy. However, the practical deployment of FL is often hindered by two primary challenges: the massive communication overhead required to transmit high-dimensional model updates and the performance degradation caused by data heterogeneity (non-IID data) across clients.

While Low-Rank Adaptation (LoRA) has gained popularity for fine-tuning large-scale models, its theoretical and practical implications for general federated training remain underexplored. This paper introduces FedLoRU (Federated Low-Rank Updates), a framework designed to address these bottlenecks by leveraging the spectral properties of local updates to provide both communication efficiency and implicit regularization.

The Rank Paradox and Implicit Regularization

A central contribution of this work is the identification of the "rank paradox" in federated settings. Through theoretical analysis, the authors demonstrate that individual clients, who typically possess smaller and noisier local datasets, face a "higher-rank" loss landscape compared to the global server. Specifically, the stable rank of the loss Hessian is inversely proportional to the dataset size.

Estimated stable ranks compared for different dataset sizes; smaller datasets (n=50) exhibit higher stable ranks.

This phenomenon suggests that local models are prone to over-fitting to complex, noisy directions in their local loss landscapes, leading to divergence from the global objective. FedLoRU addresses this by constraining local updates to a low-rank subspace. This constraint acts as a form of implicit regularization, filtering out high-rank noise and focusing the optimization on the most significant, shared directions across clients. Surprisingly, these low-rank approximations align better across different clients than full-rank gradients, facilitating more stable global convergence.

The FedLoRU Framework

FedLoRU factorizes local weight updates into two low-rank matrices, $A$ and $B$. The training process follows a structured three-step cycle:

  1. Local Training: During a communication round, clients keep the global model weights frozen and optimize only the low-rank factors $A$ and $B$.
  2. Aggregation: The server collects and averages these low-rank factors from the participating client pool.
  3. Accumulation: Periodically, the server computes the product of the aggregated factors ($AB$) and accumulates it back into the high-rank global model. This ensures the global model can eventually represent high-rank features while maintaining low per-round communication costs.

The authors also extend this framework to pFedLoRU for personalized learning and mFedLoRU to accommodate model heterogeneity, where clients may have varying hardware capabilities.

Experimental Evaluation

The framework was rigorously tested on image classification tasks (Fashion-MNIST, CIFAR-10, CIFAR-100) and Large Language Model (LLM) fine-tuning using the Alpaca dataset with LLaMA2-3B.

Scalability and Robustness

A key finding is FedLoRU's superior scalability. In standard FedAvg, performance often drops sharply as the number of clients increases due to the accumulation of divergent local updates. In contrast, FedLoRU's relative improvement over FedAvg grows significantly as the network scales, demonstrating its robustness in large-scale federated systems.

Relative improvement of FedLoRU over FedAvg as the number of local clients increases.

Performance and Efficiency

FedLoRU consistently achieves comparable or superior accuracy to full-rank algorithms while communicating only 21% to 44% of the original model parameters. For example, on CIFAR-100 with 100 clients, FedLoRU reached 57.96% accuracy, significantly outperforming other low-rank methods like FedLoRA (53.79%). In LLM fine-tuning, FedLoRU demonstrated faster convergence and lower test loss than its competitors after the initial training phase.

Conclusion

FedLoRU provides a theoretically grounded and practically efficient solution for federated learning. By constraining updates to a low-rank subspace, the algorithm not only reduces communication costs but also exploits implicit regularization to mitigate the effects of data heterogeneity. This dual benefit makes it a promising candidate for scaling federated training to massive, diverse client populations and large-scale foundation models.

Summary updated

BibTeX
@misc{park2024communication,
  author = {Haemin Park and Diego Klabjan},
  title = {{Communication-Efficient Federated Low-Rank Update Algorithm and its Connection to Implicit Regularization}},
  year = {2024},
  eprint = {2409.12371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.12371},
}
Figure