Skip to main content
QUICK REVIEW

[Paper Review] Specialized federated learning using a mixture of experts

Edvin Listo Zec, Olof Mogren|arXiv (Cornell University)|Oct 5, 2020
Privacy-Preserving Technologies in DataComputer Science30 references15 citations
TL;DR

This paper proposes a federated mixture of experts (FedMoE) framework that combines a global model with client-specific local specialist models to enable personalized, privacy-preserving learning in heterogeneous, non-IID data settings. By using a gating function to dynamically weight experts based on input, FedMoE achieves local performance comparable to fine-tuned models while significantly outperforming them in generalization, even under high client opt-out rates.

ABSTRACT

In federated learning, clients share a global model that has been trained on decentralized local client data. Although federated learning shows significant promise as a key approach when data cannot be shared or centralized, current methods show limited privacy properties and have shortcomings when applied to common real-world scenarios, especially when client data is heterogeneous. In this paper, we propose an alternative method to learn a personalized model for each client in a federated setting, with greater generalization abilities than previous methods. To achieve this personalization we propose a federated learning framework using a mixture of experts to combine the specialist nature of a locally trained model with the generalist knowledge of a global model. We evaluate our method on a variety of datasets with different levels of data heterogeneity, and our results show that the mixture of experts model is better suited as a personalized model for devices in these settings, outperforming both fine-tuned global models and local specialists.

Motivation & Objective

  • To address the challenge of personalized model learning in federated settings with heterogeneous, non-IID client data.
  • To improve generalization performance over fine-tuned local models while maintaining high local accuracy.
  • To enable strong privacy guarantees by allowing clients to opt out of federated aggregation without compromising model utility.
  • To develop a flexible framework compatible with any gradient-based model, supporting varying client participation levels.
  • To evaluate the method across image and text classification tasks under diverse data heterogeneity and opt-out conditions.

Proposed method

  • The framework uses a mixture of experts per client, combining one global model and one local specialist model, with a client-specific gating function to weight expert outputs.
  • The global model is first trained via FedAvg on all clients’ data, then local specialist models are initialized from the global model and trained on local data.
  • The entire mixture is jointly fine-tuned, including the local specialist models, the global model, and the client-specific gating functions.
  • The gating function dynamically routes inputs to the most appropriate expert (global or local) based on input features, enabling adaptive personalization.
  • Clients can opt out of federated aggregation entirely, keeping their data private while still accessing the global model for inference.
  • The method is compatible with any differentiable machine learning model and supports ensembles of diverse models.

Experimental results

Research questions

  • RQ1Can a federated mixture of experts framework achieve better generalization than fine-tuned local models while maintaining high local performance?
  • RQ2How does the proposed method perform under high client opt-out rates, where only a fraction of clients contribute to global model updates?
  • RQ3Does the mixture of experts approach generalize well across different types of data heterogeneity, such as prior probability shift?
  • RQ4How does the performance of the mixture of experts compare to FedAvg in both IID and non-IID data regimes?
  • RQ5Can the framework maintain strong privacy guarantees while enabling effective personalization in real-world federated settings?

Key findings

  • The FedMoE model outperforms fine-tuned local models on global test sets across all datasets, showing superior generalization while matching local performance.
  • On CIFAR-10, AG News, and Fashion-MNIST, the mixture of experts achieved global test accuracy that was consistently closer to FedAvg than the fine-tuned baseline, especially under high data heterogeneity.
  • With 90% and 95% client opt-out rates, the FedMoE model maintained strong generalization performance, outperforming the fine-tuned baseline on global test sets.
  • In the IID case (p=0.2), the mixture of experts even surpassed FedAvg in generalization, indicating robustness to low participation.
  • The method achieved local test accuracy on par with fine-tuned models, demonstrating that personalization is not at the cost of local performance.
  • The framework is robust to varying levels of data heterogeneity, as shown across different Dirichlet α values and majority class fractions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.