arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.00583cs.LGcs.AIcs.NI
收藏

HFedMoE: 带有专家混合的资源感知异构联邦学习

HFedMoE: Resource-aware Heterogeneous Federated Learning with Mixture-of-Experts

Hong Kong JC STEM Lab of Smart City and Department of Computer Science, City University of Hong Kong(香港JC STEM实验室及城市大学计算机科学系)

Zihan Fang, Zheng Lin, Senkang Hu, Yanan Ma, Yihang Tao, Yiqin Deng, Xianhao Chen, Yuguang Fang

AI总结:

HFedMoE通过定制专家子集和稀疏性感知聚合策略,实现高效异构联邦学习微调。

摘要:

尽管联邦学习(FL)能够使大型语言模型(LLMs)进行微调而不损害数据隐私,但LLM的庞大尺寸使得在设备上训练对于资源受限的客户端(如移动设备)来说不切实际。因此,混合专家(MoE)模型作为一种计算高效的解决方案出现,其在模型训练过程中只激活稀疏的专家子集以减少计算负担,而不会牺牲性能。尽管将MoE整合到FL微调中具有显著潜力,但仍面临三个关键挑战:i)由于缺乏可靠的指标来衡量每个专家对本地微调性能的影响,选择合适的专家仍然具有挑战性;ii)客户端之间的异构计算资源严重阻碍了基于MoE的LLM微调,因为动态专家激活在不同输入样本上可能会超出资源受限设备的承受能力;iii)客户端特定的专家子集和路由偏好破坏了全局聚合,其中不一致的专家更新和不一致的门控网络会引入破坏性干扰。为了解决这些挑战,我们提出了HFedMoE,一种基于异构MoE的FL微调框架,该框架为每个客户端定制一部分专家以实现计算高效的LLM微调。具体而言,HFedMoE根据专家对微调性能的贡献来确定专家的重要性,然后从信息瓶颈的角度自适应地选择一部分专家,以与每个客户端的计算预算对齐。此外,还设计了一种稀疏性感知的模型聚合策略,用于聚合主动微调的专家和门控参数,并使用重要性加权贡献进行聚合。广泛的实验表明,HFedMoE在训练准确率和收敛速度方面均优于最先进的基准。

英文摘要:

While federated learning (FL) enables fine-tuning of large language models (LLMs) without compromising data privacy, the substantial size of an LLM renders on-device training impractical for resource-constrained clients, such as mobile devices. Thus, Mixture-of-Experts (MoE) models have emerged as a computation-efficient solution, which activates only a sparse subset of experts during model training to reduce computing burden without sacrificing performance. Though integrating MoE into FL fine-tuning holds significant potential, it still encounters three key challenges: i) selecting appropriate experts for clients remains challenging due to the lack of a reliable metric to measure each expert's impact on local fine-tuning performance, ii) the heterogeneous computing resources across clients severely hinder MoE-based LLM fine-tuning, as dynamic expert activations across diverse input samples can overwhelm resource-constrained devices, and iii) client-specific expert subsets and routing preference undermine global aggregation, where misaligned expert updates and inconsistent gating networks in troduce destructive interference. To address these challenges, we propose HFedMoE, a heterogeneous MoE-based FL fine-tuning framework that customizes a subset of experts to each client for computation-efficient LLM fine-tuning. Specifically, HFedMoE identifies the expert importance based on its contributions to fine-tuning performance, and then adaptively selects a subset of experts from an information bottleneck perspective to align with each client' s computing budget. A sparsity-aware model aggregation strategy is also designed to aggregate the actively fine-tuned experts and gating parameters with importance weighted contributions. Extensive experiments demonstrate that HFedMoE outperforms state-of-the-art benchmarks in training accuracy and convergence speed.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑