FedMoE: Personalized Federated Learning via Heterogeneous Mixture of Experts

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Mei, Hanzi, Cai, Dongqi, Zhou, Ao, Wang, Shangguang, Xu, Mengwei
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913475441197056
author Mei, Hanzi
Cai, Dongqi
Zhou, Ao
Wang, Shangguang
Xu, Mengwei
author_facet Mei, Hanzi
Cai, Dongqi
Zhou, Ao
Wang, Shangguang
Xu, Mengwei
contents As Large Language Models (LLMs) push the boundaries of AI capabilities, their demand for data is growing. Much of this data is private and distributed across edge devices, making Federated Learning (FL) a de-facto alternative for fine-tuning (i.e., FedLLM). However, it faces significant challenges due to the inherent heterogeneity among clients, including varying data distributions and diverse task types. Towards a versatile FedLLM, we replace traditional dense model with a sparsely-activated Mixture-of-Experts (MoE) architecture, whose parallel feed-forward networks enable greater flexibility. To make it more practical in resource-constrained environments, we present FedMoE, the efficient personalized FL framework to address data heterogeneity, constructing an optimal sub-MoE for each client and bringing the knowledge back to global MoE. FedMoE is composed of two fine-tuning stages. In the first stage, FedMoE simplifies the problem by conducting a heuristic search based on observed activation patterns, which identifies a suboptimal submodel for each client. In the second stage, these submodels are distributed to clients for further training and returned for server aggregating through a novel modular aggregation strategy. Meanwhile, FedMoE progressively adjusts the submodels to optimal through global expert recommendation. Experimental results demonstrate the superiority of our method over previous personalized FL methods.
format Preprint
id arxiv_https___arxiv_org_abs_2408_11304
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FedMoE: Personalized Federated Learning via Heterogeneous Mixture of Experts
Mei, Hanzi
Cai, Dongqi
Zhou, Ao
Wang, Shangguang
Xu, Mengwei
Machine Learning
As Large Language Models (LLMs) push the boundaries of AI capabilities, their demand for data is growing. Much of this data is private and distributed across edge devices, making Federated Learning (FL) a de-facto alternative for fine-tuning (i.e., FedLLM). However, it faces significant challenges due to the inherent heterogeneity among clients, including varying data distributions and diverse task types. Towards a versatile FedLLM, we replace traditional dense model with a sparsely-activated Mixture-of-Experts (MoE) architecture, whose parallel feed-forward networks enable greater flexibility. To make it more practical in resource-constrained environments, we present FedMoE, the efficient personalized FL framework to address data heterogeneity, constructing an optimal sub-MoE for each client and bringing the knowledge back to global MoE. FedMoE is composed of two fine-tuning stages. In the first stage, FedMoE simplifies the problem by conducting a heuristic search based on observed activation patterns, which identifies a suboptimal submodel for each client. In the second stage, these submodels are distributed to clients for further training and returned for server aggregating through a novel modular aggregation strategy. Meanwhile, FedMoE progressively adjusts the submodels to optimal through global expert recommendation. Experimental results demonstrate the superiority of our method over previous personalized FL methods.
title FedMoE: Personalized Federated Learning via Heterogeneous Mixture of Experts
topic Machine Learning
url https://arxiv.org/abs/2408.11304