Skip to main content
QUICK REVIEW

[Paper Review] Federated Mixture of Experts

Matthias Reisser, Christos Louizos|arXiv (Cornell University)|Jul 14, 2021
Privacy-Preserving Technologies in DataComputer Science34 references9 citations
TL;DR

Federated Mixture of Experts (FedMix) proposes a federated learning framework that trains an ensemble of specialized expert models, allowing clients to adaptively select relevant experts based on their data characteristics. By leveraging a gating mechanism conditioned on client-specific data, FedMix improves performance over FedAvg on non-i.i.d. data distributions, including label skew, rotation, and label permutations, with faster convergence and better generalization.

ABSTRACT

Federated learning (FL) has emerged as the predominant approach for collaborative training of neural network models across multiple users, without the need to gather the data at a central location. One of the important challenges in this setting is data heterogeneity, i.e. different users have different data characteristics. For this reason, training and using a single global model might be suboptimal when considering the performance of each of the individual user's data. In this work, we tackle this problem via Federated Mixture of Experts, FedMix, a framework that allows us to train an ensemble of specialized models. FedMix adaptively selects and trains a user-specific selection of the ensemble members. We show that users with similar data characteristics select the same members and therefore share statistical strength while mitigating the effect of non-i.i.d data. Empirically, we show through an extensive experimental evaluation that FedMix improves performance compared to using a single global model across a variety of different sources of non-i.i.d.-ness.

Motivation & Objective

  • Address the challenge of data non-i.i.d.ness in federated learning, where clients have heterogeneous data distributions.
  • Overcome the limitations of single global models (e.g., FedAvg) that underperform when data are non-i.i.d. across clients.
  • Enable clients to learn and share specialized models that align with their local data while maintaining communication efficiency.
  • Improve model generalization and convergence speed by allowing dynamic expert selection based on data characteristics.
  • Demonstrate robustness across diverse non-i.i.d. data sources, including label skew, input transformations, and label permutations.

Proposed method

  • Introduce a Mixture of Experts (MoE) framework in a federated setting, where K expert models are trained globally and a gating network selects relevant experts per client.
  • Use a client-specific gating function $ p(z|x,s) $ that conditions on both input $ x $ and client identity $ s $, enabling personalized expert selection.
  • Train the model via federated averaging, where clients perform local updates on selected experts and communicate only model parameters to the server.
  • Introduce a dampening mechanism $ ilde{q}(z|s) $ to stabilize the gating network and prevent overfitting to client-specific data.
  • Allow inference on unseen clients by learning a shared representation of client data characteristics through the gating mechanism.
  • Use a differentiable gating mechanism that enables end-to-end training of both experts and the routing policy in a communication-efficient manner.

Experimental results

Research questions

  • RQ1Can a federated MoE framework improve performance on non-i.i.d. data compared to FedAvg, especially when data distributions vary across clients?
  • RQ2How well can FedMix adaptively select experts based on client-specific data characteristics such as label skew or input transformations?
  • RQ3To what extent can the gating network learn to cluster clients based on underlying data distribution shifts, such as label permutations?
  • RQ4Does conditioning the gating function on side information (e.g., labels or rotation angles) improve performance on specific non-i.i.d. data types?
  • RQ5Can FedMix generalize to previously unseen clients by learning a shared client representation through the gating mechanism?

Key findings

  • FedMix outperforms FedAvg across all evaluated non-i.i.d. data settings, including label skew, rotation, and label permutations, with consistent accuracy gains.
  • On rotated MNIST with rotation-only non-i.i.d. data, FedMix conditioned on rotation angles achieves superior performance compared to conditioning on labels.
  • When both label skew and rotation are present, FedMix improves performance regardless of whether the gating is conditioned on labels or rotation angles.
  • FedMix successfully learns client clustering based on label permutations, correctly identifying four distinct client groups with $ K=4 $ experts after 10 communication rounds.
  • With $ K=3 $ experts (fewer than clusters), one expert covers two client permutations, while with $ K=5 $ (more than clusters), one permutation is split across two experts, showing intuitive behavior.
  • The model converges faster than prior methods in client clustering tasks, achieving correct clustering in as few as 10 rounds with $ K=4 $.

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.