Large language models (LLMs) have demonstrated remarkable capabilities across a wide range of natural language processing tasks. Exploiting the heterogeneous capabilities of edge LLMs is crucial for diverse emerging applications, as it enables greater cost-effectiveness and reduced latency. In this work, we introduce \textit{Mixture-of-Edge-Experts (MoE$^2$)}, a novel collaborative inference framework for edge LLMs. We formulate the joint gating and expert selection problem to optimize inference performance under energy and latency constraints. Unlike conventional MoE problems, LLM expert selection is significantly more challenging due to the combinatorial nature and the heterogeneity of edge LLMs across various attributes. To this end, we propose a two-level expert selection mechanism through which we uncover an optimality-preserving property of gating parameters across expert selections. This property enables the decomposition of the training and selection processes, significantly reducing complexity. Furthermore, we leverage the objective's monotonicity and design a discrete monotonic optimization algorithm for optimal expert selection. We implement edge servers with NVIDIA Jetson AGX Orins and NVIDIA RTX 4090 GPUs, and perform extensive experiments. Our results validate that performance improvements of various LLM models and show that our MoE$^2$ method can achieve optimal trade-offs among different delay and energy budgets, and outperforms baselines under various system resource constraints.
A Survey on Model MoErging: Recycling and Routing Among Specialized Experts for Collaborative Learning
UNC-Chapel Hill(北卡罗来纳大学教堂山分校);University of Toronto(多伦多大学);Vector Institue(向量研究所);MIT(麻省理工学院);MIT-IBM Watson AI Lab(麻省理工-IBM沃森人工智能实验室);Microsoft Research(微软研究院);Mila(蒙特利尔人工智能研究院)
CoMoE: Collaborative Optimization of Expert Aggregation and Offloading for MoE-based LLMs at Edge
Harbin Institute of Technology(哈尔滨工业大学);Hong Kong University of Science and Technology(香港科技大学);Guangdong University of Technology(广东工业大学);University of Science and Technology Beijing(北京科技大学)
PWC-MoE: Privacy-Aware Wireless Collaborative Mixture of Experts
Department of Engineering, King’s College London(伦敦国王学院工程系);Institute for Digital Communication, Friedrich-Alexander-Universität Erlangen-Nürnberg(埃朗根-纽伦堡弗里德里希-亚历山大大学数字通信研究所)
Occult: Optimizing Collaborative Communication across Experts for Accelerated Parallel MoE Training and Inference
The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of California, Los Angeles(加州大学洛杉矶分校);University of Minnesota Twin Cities(明尼苏达大学双城分校);The Chinese University of Hong Kong(香港中文大学)
Integration of Mixture of Experts and Multimodal Generative AI in Internet of Vehicles: A Survey
Nanyang Technological University(南洋理工大学);Guangdong University of Technology(广东工业大学);Singapore University of Technology and Design(新加坡科技设计大学);University of Sydney(悉尼大学);City University of Hong Kong(香港城市大学);Sungkyunkwan University(成均馆大学);University of Waterloo(滑铁卢大学)
GZSL-MoE: Apprentissage G{é}n{é}ralis{é} Z{é}ro-Shot bas{é} sur le M{é}lange d'Experts pour la Segmentation S{é}mantique de Nuages de Points 3DAppliqu{é} {à} un Jeu de Donn{é}es d'Environnement de Collaboration Humain-Robot
PM-MOE: Mixture of Experts on Private Model Parameters for Personalized Federated Learning
Beijing Univ. of Posts and Telecomm.(北京邮电大学);Beijing Jiaotong University(北京交通大学);Beijing Univ. of Aeronautics and Astronautics(北京航空航天大学);Tsinghua University(清华大学)
Alloc-MoE: Budget-Aware Expert Activation Allocation for Efficient Mixture-of-Experts Inference
National Key Laboratory of Parallel and Distributed Computing, College of Computer Science and Technology, National University of Defense Technology(国防科技大学并行与分布计算国家重点实验室,计算机科学与技术学院)
Optimal Expert-Attention Allocation in Mixture-of-Experts: A Scalable Law for Dynamic Model Design
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Hong Kong University of Science and Technology(香港科学与技术大学);Ant Group(蚂蚁集团)
FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Hong Kong University of Science and Technology(香港科技大学)
Federated Mixture-of-Experts Alignment on Mobile Edge Networks under Data Heterogeneity
Hong Kong JC STEM Lab of Smart City(香港JC STEM实验室);Department of Computer Science, City University of Hong Kong(香港城市大学计算机科学系);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Department of Electrical and Computer Engineering, The University of Hong Kong(香港大学电子与计算机工程系)
MoE-Enhanced Explainable Deep Manifold Transformation for Complex Data Embedding and Visualization
Centre for Artificial Intelligence and Robotics (CAIR), HKISI-CAS and Westlake University(人工智能与机器人中心(CAIR),HKISI-CAS和西湖大学);Westlake University(西湖大学);School of Information and Electrical Engineering, Hangzhou City University(信息与电气工程学院,杭州市大学);Academy of Edge Intelligence Hangzhou City University(边缘智能学院,杭州市大学);CAIR, HKISI-CAS(人工智能与机器人中心(CAIR),HKISI-CAS);State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS), CASIA(多模态人工智能系统国家重点实验室(MAIS),CASIA);School of Artificial Intelligence, University of Chinese Academy of Sciences (UCAS)(人工智能学院,中国科学院大学(UCAS));Ant Group(蚂蚁集团)
Cross-Cloud Data Privacy Protection: Optimizing Collaborative Mechanisms of AI Systems by Integrating Federated Learning and LLMs
College of Computing and Information Science(计算与信息科学学院);Siebel School of Computing and Data Science(计算与数据科学学院);Cornell University(康奈尔大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);New York, USA(美国纽约);Champaign, Illinois, USA(美国伊利诺伊州香槟)