Personalized Cross-Silo Federated Learning on Non-IID Data

Yutao Huang, Lingyang Chu, Zirui Zhou, Lanjun Wang, Jiangchuan Liu, Jian Pei, Yong Zhang

This paper, presented at AAAI-21, introduces a novel approach to one of the most persistent challenges in machine learning: training models across different organizations (silos) when their data distributions are significantly different (non-IID).

The Challenge of Non-IID Data in Federated Learning

Standard Federated Learning (FL), exemplified by the FedAvg algorithm, typically aims to find a single global model that serves all participants. While effective for identically distributed (IID) data, this approach falters in "cross-silo" scenarios—such as collaborations between different hospitals or banks—where data is inherently non-IID.

Forcing a single global model often results in a "jack of all trades, master of none" that performs poorly for individual participants. While fine-tuning is often used as a post-hoc fix, it does not address the fundamental bottleneck: the assumption that a single global model is desirable for diverse data distributions.

The FedAMP Framework

The authors propose FedAMP (Federated Attentive Message Passing), a framework that shifts away from the global model paradigm toward personalized cloud models. In this architecture, the server maintains a distinct model for each client.

The FedAMP architecture featuring personalized cloud models and attentive message passing between the server and clients.

Attentive Message Passing

Instead of averaging all client weights equally, the server updates a client’s cloud model by aggregating updates from other clients using an "attentive mechanism." This mechanism assigns higher weights to models that are similar in parameter space, creating a virtuous cycle where similar clients collaborate more intensely. This allows the system to discover and exploit underlying similarities without prior knowledge of client groupings.

HeurFedAMP for Deep Learning

In high-dimensional spaces typical of Deep Neural Networks, standard Euclidean distance often fails as a similarity metric. To address this, the authors introduced HeurFedAMP, which utilizes cosine similarity to determine collaboration weights. This adjustment makes the framework significantly more robust for modern AI architectures by focusing on the direction of weight updates rather than their absolute distance.

Experimental Evaluation

The researchers evaluated FedAMP and HeurFedAMP against several state-of-the-art baselines, including FedAvg, FedProx, and SCAFFOLD, across four benchmark datasets:

  • MNIST & Fashion-MNIST (FMNIST): Standard image classification.
  • Extended-MNIST (EMNIST): A complex set including letters and digits.
  • CIFAR100: A challenging dataset with 100 object classes.

Testing was conducted across IID, Pathological non-IID (limited classes per client), and Practical non-IID (clustered distributions) settings.

Key Results

FedAMP and HeurFedAMP consistently outperformed existing methods, particularly as data heterogeneity increased.

As shown in the performance distributions, FedAMP variants successfully shifted the majority of clients into higher accuracy ranges. For instance, on the practical non-IID CIFAR100 task, HeurFedAMP achieved a Best Mean Testing Accuracy (BMTA) of 53.27%, significantly higher than FedAvg (35.21%) and SCAFFOLD (21.29%). Furthermore, visualization of collaboration weights confirmed that the framework automatically "discovered" client clusters, effectively performing unsupervised clustering based solely on model updates.

Conclusion and Future Work

FedAMP redefines the goal of federated learning from finding a single uniform model to facilitating the right partnerships between silos. While highly effective, the authors note that the approach requires the server to maintain $m$ models, where $m$ is the number of clients. This is well-suited for cross-silo FL but may require optimization for cross-device scenarios involving millions of participants. Future research directions include enhancing communication efficiency and integrating advanced privacy-preserving techniques like Differential Privacy to protect individual model weights on the server.

Summary updated

BibTeX
@inproceedings{huang2021personalized,
  author = {Yutao Huang and Lingyang Chu and Zirui Zhou and Lanjun Wang and Jiangchuan Liu and Jian Pei and Yong Zhang},
  title = {{Personalized Cross-Silo Federated Learning on Non-IID Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.16960},
}
Figure