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

DeepFusion: 通过异构边缘设备的联邦知识蒸馏加速MoE训练

DeepFusion: Accelerating MoE Training via Federated Knowledge Distillation from Heterogeneous Edge Devices

School of Electronic Engineering and Computer Science, Queen Mary University of London(伦敦女王玛丽大学电子工程与计算机科学学院);Department of Computer Science, Faculty of Environment, Science and Economy, University of Exeter(埃克塞特大学环境、科学与经济学院计算机科学系);School of Electronic Information and Communications, Huazhong University of Science and Technology(华中科技大学电子信息与通信学院);Beijing Key Laboratory of Petroleum Data Mining, China University of Petroleum(北京石油数据挖掘重点实验室,中国石油大学)

Songyuan Li, Jia Hu, Ahmed M. Abdelmoniem, Geyong Min, Haojun Huang, Jiwei Huang

AI总结:

DeepFusion通过联邦知识蒸馏融合异构边缘设备的LLM知识,实现高效MoE训练,减少通信成本并提升模型性能。

摘要:

近年来,基于混合专家(MoE)的大型语言模型(LLMs)如Qwen-MoE和DeepSeek-MoE正在改变自然语言处理中的生成AI。然而,这些模型需要庞大的多样化训练数据。联邦学习(FL)通过利用异构边缘设备的私有数据来解决这一挑战,以实现隐私保护的MoE训练。然而,传统FL方法要求设备托管本地MoE模型,这对于资源受限的设备来说由于模型体积大而不可行。为了解决这一问题,我们提出了DeepFusion,这是首个可扩展的联邦MoE训练框架,它通过联邦知识蒸馏融合异构设备上的LLM知识,从而生成一个知识丰富的全局MoE模型。具体来说,DeepFusion使每个设备能够独立配置和训练一个符合其自身需求和硬件限制的本地LLM。此外,我们提出了一种新颖的视图对齐注意(VAA)模块,该模块整合了全局MoE模型的多阶段特征表示,以构建与本地LLM对齐的预测视角,从而实现有效的跨架构知识蒸馏。通过显式对齐预测视角,VAA解决了传统联邦知识蒸馏中的视图不匹配问题,该问题源于本地LLM和全局MoE模型之间模型架构和预测行为的异质性。使用行业级MoE模型(Qwen-MoE和DeepSeek-MoE)和真实世界数据集(医疗和金融)的实验表明,DeepFusion在性能上接近集中式MoE训练。与关键的联邦MoE基线相比,DeepFusion将通信成本减少了高达71%,并将token困惑度提高了高达5.28%。

英文摘要:

Recent Mixture-of-Experts (MoE)-based large language models (LLMs) such as Qwen-MoE and DeepSeek-MoE are transforming generative AI in natural language processing. However, these models require vast and diverse training data. Federated learning (FL) addresses this challenge by leveraging private data from heterogeneous edge devices for privacy-preserving MoE training. Nonetheless, traditional FL approaches require devices to host local MoE models, which is impractical for resource-constrained devices due to large model sizes. To address this, we propose DeepFusion, the first scalable federated MoE training framework that enables the fusion of heterogeneous on-device LLM knowledge via federated knowledge distillation, yielding a knowledge-abundant global MoE model. Specifically, DeepFusion features each device to independently configure and train an on-device LLM tailored to its own needs and hardware limitations. Furthermore, we propose a novel View-Aligned Attention (VAA) module that integrates multi-stage feature representations from the global MoE model to construct a predictive perspective aligned with on-device LLMs, thereby enabling effective cross-architecture knowledge distillation. By explicitly aligning predictive perspectives, VAA resolves the view-mismatch problem in traditional federated knowledge distillation, which arises from heterogeneity in model architectures and prediction behaviors between on-device LLMs and the global MoE model. Experiments with industry-level MoE models (Qwen-MoE and DeepSeek-MoE) and real-world datasets (medical and finance) demonstrate that DeepFusion achieves performance close to centralized MoE training. Compared with key federated MoE baselines, DeepFusion reduces communication costs by up to 71% and improves token perplexity by up to 5.28%.

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

↑