Modality Alignment Meets Federated Broadcasting

Yuting Ma, Shengeng Tang, Xiaohua Xu, Lechao ChengarXiv 2024 · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized devices while preserving data privacy. However, the practical deployment of FL is often hindered by Data Heterogeneity. In real-world scenarios, the data distribution across clients is rarely Independent and Identically Distributed (IID). This imbalance leads to "Model Drift," where local models overfit to their specific data, and "Computational Inefficiency," as complex regularization techniques often demand high resources from edge devices.

Overview of data heterogeneity (left) and the FedAlign architecture (right), illustrating how modality alignment anchors local learning to a global semantic space.

The FedAlign Framework

To address these challenges, FedAlign introduces a novel approach by treating server-client communication as a multi-modal "broadcasting" event. Inspired by the CLIP (Contrastive Language-Image Pre-training) architecture, FedAlign decouples the model across the network:

  • Modality Alignment: The server maintains a text encoder and broadcasts global category descriptions (text features) to clients. Clients host image encoders, aligning their local visual features with these shared semantic anchors. This prevents local models from diverging into incompatible representations.
  • Parameter-Efficient Fine-Tuning: Instead of full model updates, FedAlign utilizes Low-Rank Adaptation (LoRA). By freezing the pre-trained backbone and training only small adapter matrices, the framework significantly reduces communication and compute costs.
  • Hybrid Aggregation Strategy: The authors distinguish between low-level layers (general features) and high-level layers (semantic features). While low-level layers use standard weighted averaging, high-level layers employ a query-based mechanism to share knowledge more effectively between clients with different class distributions.
  • LLM-Enhanced Guidance: The framework can utilize Large Language Models (LLMs) to generate detailed textual descriptions of classes, providing richer semantic guidance than simple class-name templates.

Experimental Evaluation

FedAlign was rigorously tested on six benchmark datasets, including CIFAR10/100, EuroSAT, and specialized domains like OxfordPet and Flower102. The experiments covered various distribution settings, from standard Dirichlet imbalances to the extreme "Path" setting, where clients possess entirely disjoint sets of classes.

Key Results and Insights

FedAlign demonstrates remarkable robustness in extreme non-IID scenarios. For instance, on the CIFAR10 "Path" setting, it achieved a global accuracy of 94.38%, vastly outperforming existing state-of-the-art methods like FedMaPLe and PromptFL.

A critical component of this success is the selection of the boundary layer, which determines where the aggregation strategy switches from simple averaging to query-based sharing. As shown in the figure below, the optimal boundary layer is relatively consistent across different datasets, typically around layer 9 or 11 for the tested architectures, indicating the stability of the framework's design.

Performance sensitivity to the choice of the boundary layer across various datasets.

Conclusion

By leveraging the semantic power of Vision-Language Models and efficient adaptation techniques like LoRA, FedAlign provides a scalable solution to the long-standing problem of data heterogeneity in Federated Learning. While the method's performance is currently tied to the quality of the pre-trained CLIP backbone, it sets a new benchmark for accuracy and efficiency in decentralized multi-modal learning. Future work will focus on automating hyperparameter selection and extending the framework to broader multi-modal tasks.

Summary updated

BibTeX
@misc{ma2024modality,
  author = {Yuting Ma and Shengeng Tang and Xiaohua Xu and Lechao Cheng},
  title = {{Modality Alignment Meets Federated Broadcasting}},
  year = {2024},
  eprint = {2411.15837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.15837},
}
Figure