Proceedings

Heterogeneous Federated Learning with Scalable Server Mixture-of-Experts

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5480-5488.

https://doi.org/10.24963/ijcai.2025/610

Abstract

Classical Federated Learning (FL) encounters significant challenges when deploying large models on power-constrained clients. To tackle this, we propose an asymmetric FL mechanism that enables the aggregation of compact client models into a comprehensive server model. We design the server model as a Mixture-of-Experts (MoE), where each expert has the same architecture as each client model. This uniformity allows for efficient fusion of the most pertinent client models to update each server expert, based on the measured relevance between each client and server expert. To address the Non-IID data issue, we further optimize the server-side MoE architecture by incorporating a main expert that always activates alongside a set of selectively activated routed experts. This configuration ensures a balance between learning general knowledge and specific data distribution. Our Fed-MoE framework is model-agnostic and has demonstrated notable improvements on vision FL tasks with million-scale ResNet backbones, and language tasks with billion-scale BERT and GPT-2 backbones.

  1. [Alam et al., 2022] Samiul Alam, Luyang Liu, Ming Yan, and Mi Zhang. Fedrolex: Model-heterogeneous federated learning with rolling sub-model extraction. In Advances in Neural Information Processing Systems, volume 35, pages 29677-29690, 2022.
  2. [Caldas et al., 2018] Sebastian Caldas, Peter Wu, Tian Li, Jakub Konecný, H. Brendan McMahan, Virginia Smith, and Ameet Talwalkar. Leaf: A benchmark for federated settings. arXiv preprint arXiv:1812.01097, 2018.
  3. [DeepSeek-AI, 2024] DeepSeek-AI. Deepseek-v2: A strong, economical, and efficient mixture-of-experts language model, 2024.
  4. [Devlin et al., 2018] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018.
  5. [Diao et al., 2021] Enmao Diao, Jie Ding, and Vahid Tarokh. Heterofl: Computation and communication efficient feder- ated learning for heterogeneous clients, 2021.
  6. [Du and others, 2022] Nan Du et al. Glam: Efficient scaling of language models with mixture-of-experts. In ICML, 2022.
  7. [Dun et al., 2023] Chen Dun, Dimitrios Dimitriadis, et al. Fedjets: Efficient just-in-time personalization with feder- ated mixture of experts. arXiv preprint arXiv:2306.08586, 2023.
  8. [Fan et al., 2022] Chenyou Fan, Junjie Hu, and Jianwei Huang. Private semi-supervised federated learning. In IJCAI, pages 2009-2015, 2022. IJCAI
  9. [Fedus et al., 2022] William Fedus, Barret Zoph, and Noam Shazeer. Switch transformers: Scaling to trillion param- eter models with simple and efficient sparsity. JMLR, 23(1):5232-5270, 2022.
  10. [Guo et al., 2021] Binbin Guo, Yuan Mei, Danyang Xiao, and Weigang Wu. Pfl-moe: personalized federated learning based on mixture of experts. In Web and Big Data: 5th International Joint Conference, 2021.
  11. [Hong et al., 2022] Junyuan Hong, Haotao Wang, Zhangyang Wang, and Jiayu Zhou. Efficient split-mix federated learn- ing for on-demand and in-situ customization. In ICLR, 2022.
  12. [Isaksson et al., 2022] Martin Isaksson, Edvin Listo Zec, Rickard Cöster, Daniel Gillblad, and Šarūnas Girdzijauskas. Adaptive expert models for personalization in federated learning. arXiv preprint arXiv:2206.07832, 2022.
  13. [Itahara et al., 2023] Sohei Itahara, Takayuki Nishio, Yusuke Koda, Masahiro Morikura, and Koji Yamamoto. Distillation-based semi-supervised federated learning for communication-efficient collaborative training with non-iid private data. IEEE Transactions on Mobile Computing, 22(01):191-205, 2023.
  14. [Jacobs et al., 1991] Robert A Jacobs, Michael I Jordan, Steven J Nowlan, and Geoffrey E Hinton. Adaptive mix- tures of local experts. Neural computation, 3(1):79-87, 1991.
  15. [Jiang et al., 2024a] Albert Q Jiang, Alexandre Sablayrolles, et al. Mixtral of experts. arXiv preprint arXiv:2401.04088, 2024.
  16. [Jiang et al., 2024b] Jingang Jiang, Haiqi Jiang, Yuhan Ma, Xiangyang Liu, and Chenyou Fan. Low-parameter feder- ated learning with large language models. In Web Informa- tion Systems and Applications, pages 319-330, 2024.
  17. [Jordan and Jacobs, 1994] Michael I Jordan and Robert A Ja- cobs. Hierarchical mixtures of experts and the em algorithm. Neural computation, 6(2):181-214, 1994.
  18. [Karimireddy and others, 2020] Sai Praneeth Karimireddy et al. Scaffold: stochastic controlled averaging for fed- erated learning. In ICML, 2020.
  19. [Krizhevsky, 2009] Alex Krizhevsky. Learning multiple lay- ers of features from tiny images. 2009.
  20. [Lepikhin et al., 2020] Dmitry Lepikhin, HyoukJoong Lee, et al. Gshard: Scaling giant models with conditional computation and automatic sharding. arXiv preprint arXiv:2006.16668, 2020.
  21. [Li and others, 2019] Tian Li et al. Federated learning: Chal- lenges, methods, and future directions. arXiv preprint arXiv:1908.07873, 2019.
  22. [Li et al., 2020] Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. Fed- erated optimization in heterogeneous networks. Proceed- ings of Machine learning and systems, 2:429-450, 2020.
  23. [Lin et al., 2024] Bin Lin, Li Yuan, et al. Moe-llava: Mixture of experts for large vision-language models. arXiv preprint arXiv:2401.15947, 2024.
  24. [Liu et al., 2023] Xiangyang Liu, Tianqi Pang, and Chenyou Fan. Federated prompting and chain-of-thought reasoning for improving llms answering. In International Confer- ence on Knowledge Science, Engineering and Management, pages 3-11. Springer, 2023.
  25. [McMahan et al., 2017] H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In AISTATS, 2017.
  26. [Mustafa et al., 2022] Basil Mustafa, Carlos Riquelme, Joan Puigcerver, Rodolphe Jenatton, and Neil Houlsby. Multi- modal contrastive learning with limoe: the language-image mixture of experts. NeurIPS, 35:9564-9576, 2022.
  27. [Park and Ko, 2024] JaeYeon Park and JeongGil Ko. Fedhm: Practical federated learning for heterogeneous model de- ployments. ICT Express, 10(2):387-392, 2024.
  28. [Reisser et al., 2021] Matthias Reisser, Christos Louizos, Ef- stratios Gavves, and Max Welling. Federated mixture of experts. arXiv preprint arXiv:2107.06724, 2021.
  29. [Sattler et al., 2019] Felix Sattler, Simon Wiedemann, Klaus- Robert Müller, and Wojciech Samek. Robust and communication-efficient federated learning from non-iid data. IEEE TNNLS, 2019.
  30. [Shazeer et al., 2017] Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hin- ton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv preprint arXiv:1701.06538, 2017.
  31. [Wei and others, 2020] Kang Wei et al. Federated learning with differential privacy: Algorithms and performance anal- ysis. IEEE Transactions on Information Forensics and Security, 2020.
  32. [Wu et al., 2020] Qiong Wu, Kaiwen He, and Xu Chen. Per- sonalized federated learning for intelligent iot applications: A cloud-edge based framework. IEEE Computer Graphics and Applications, 2020.
  33. [Xin et al., 2020] Bangzhou Xin, Wei Yang, Yangyang Geng, Sheng Chen, Shaowei Wang, and Liusheng Huang. Private fl-gan: Differential privacy synthetic data generation based on federated learning. In ICASSP, 2020.
  34. [Zec et al., 2020] Edvin Listo Zec, John Martinsson, Olof Mogren, Leon René Sütfeld, and Daniel Gillblad. Fed- erated learning using mixture of experts. arXiv preprint arXiv:2107.06724, 2020.
  35. [Zhang et al., 2015] Xiang Zhang, Junbo Zhao, and Yann Le- Cun. Character-level convolutional networks for text clas- sification. Advances in neural information processing sys- tems, 28, 2015.
  36. [Zhao et al., 2018] Yue Zhao, Meng Li, Liangzhen Lai, Naveen Suda, Damon Civin, and Vikas Chandra. Fed- erated learning with non-iid data. arXiv preprint arXiv:1806.00582, 2018.
  37. [Zuo et al., 2021] Simiao Zuo, Jianfeng Gao, et al. Tam- ing sparsely activated transformer with stochastic experts. arXiv preprint arXiv:2110.04260, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards