FLoRA: Enhancing Vision-Language Models with Parameter-Efficient Federated Learning

Duy Phuong Nguyen, J. Pablo Munoz, Ali JannesariarXiv 2024 · DOI

Abstract

Fine-tuning large-scale Vision-Language Models (VLMs) like CLIP in a decentralized manner poses significant challenges due to massive communication overhead and high local memory requirements. This paper introduces FLoRA (Federated Low-Rank Adaptation), a framework that integrates LoRA adapters into Federated Learning. FLoRA enables efficient VLM adaptation by updating only a tiny fraction of parameters. Experimental results across 16 datasets demonstrate that FLoRA reduces communication overhead by up to 4766× and accelerates training by 34.72×, while significantly outperforming existing federated baselines in both IID and non-IID settings.

Introduction

Vision-Language Models (VLMs) have set new benchmarks in cross-modal understanding. However, their deployment in real-world scenarios is often restricted by data privacy and governance requirements, necessitating decentralized training approaches like Federated Learning (FL). Traditional FL faces a "double bottleneck" with VLMs: the sheer size of model updates exceeds typical network bandwidth, and the memory footprint of full-parameter fine-tuning exceeds the capabilities of most edge devices.

Methodology: Federated Low-Rank Adaptation

FLoRA addresses these bottlenecks by leveraging Low-Rank Adaptation (LoRA). Instead of updating the full weight matrix $W$, FLoRA approximates the update as the product of two low-rank matrices, $A$ and $B$, such that $W' = W + \alpha(AB)$. During training, the backbone model remains frozen, and only the small $A$ and $B$ matrices are updated and communicated.

Comparison of the FLoRA architecture against various federated learning baselines, highlighting the use of LoRA adapters and frozen encoders.

The researchers identified that applying LoRA specifically to the text encoder’s projection layers provides the most efficient adaptation for downstream classification tasks. In the federated cycle, clients train these local adapters on private data and transmit only the low-rank parameters to a central server for aggregation via weighted averaging (FedAvg).

Experimental Evaluation

The framework was evaluated on 16 diverse datasets, ranging from general object recognition (CIFAR-100) to specialized domains like satellite imagery (EuroSAT) and textures (DTD). To simulate real-world conditions, the authors tested performance in both Independent and Identically Distributed (IID) and non-IID (Dirichlet-skewed) environments.

Results and Discussion

FLoRA demonstrates superior performance across multiple metrics:

  • Efficiency: By transmitting only 0.094 MB of adapter data instead of the 577 MB full model, FLoRA achieves a 4766× reduction in communication overhead.
  • Resource Optimization: Local training requires 2.47× less GPU memory, making it compatible with consumer-grade hardware.
  • Accuracy and Robustness: FLoRA consistently outperforms baselines like FedLC (Linear Classifier) and FedFFT (Full Fine-Tuning). Notably, it shows high resilience to data skew (non-IID), where low-rank updates appear to provide a regularizing effect that prevents local overfitting.
Top-1 accuracy over training rounds for the DTD dataset, comparing FLoRA to baselines in both IID and highly skewed non-IID (Beta=0.1) scenarios.

The study also revealed that a rank as low as $r=2$ is sufficient for high performance, emphasizing the extreme parameter efficiency of the approach.

Conclusion

FLoRA provides a practical pathway for deploying state-of-the-art VLMs in federated environments. By drastically lowering the barriers to entry regarding bandwidth and hardware, it enables privacy-preserving collaborative learning on complex multi-modal tasks. Future work will explore applying LoRA to internal Transformer components and extending the framework to generative VLM tasks.

Summary updated

BibTeX
@misc{nguyen2024flora,
  author = {Duy Phuong Nguyen and J. Pablo Munoz and Ali Jannesari},
  title = {{FLoRA: Enhancing Vision-Language Models with Parameter-Efficient Federated Learning}},
  year = {2024},
  eprint = {2404.15182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15182},
}
Figure