paper-with-me

홈 › Papers

MoE$^2$: Optimizing Collaborative Inference for Edge Large Language Models

2025-01-16 · Lyudong Jin, Yanning Zhang, Yanhan Li, Shurong Wang, Howard H. Yang, Jian Wu, Meng Zhang

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.

📄 PDF Abstract BibTeX arXiv:2501.09410

Code (0)

등록된 구현이 없습니다.

Tasks

Collaborative Inference

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Edge-Cloud Collaborative Motion Planning for Autonomous Driving with Large Language Models

2024-08-19 · Jiao Chen, Suyan Dai, Fangfang Chen, Zuohong Lv 외

Integrating large language models (LLMs) into autonomous driving enhances personalization and adaptability in open-world scenarios. However, traditional edge computing models still face significant challenges in processi…

Autonomous DrivingDrift DetectionEdge-computingMotion Planning

Jupiter: Fast and Resource-Efficient Collaborative Inference of Generative LLMs on Edge Devices

2025-04-11 · Shengyuan Ye, Bei Ouyang, Liekang Zeng, Tianyi Qian 외

Generative large language models (LLMs) have garnered significant attention due to their exceptional capabilities in various AI tasks. Traditionally deployed in cloud datacenters, LLMs are now increasingly moving towards…

Collaborative InferenceEdge-computing

Joint Optimization of Model Partitioning and Resource Allocation for Anti-Jamming Collaborative Inference Systems

2026-03-03 · Mengru Wu, Jiawei Li, Jiaqi Wei, Bin Lyu 외 arxiv

With the increasing computational demands of deep neural network (DNN) inference on resource-constrained devices, DNN partitioning-based device-edge collaborative inference has emerged as a promising paradigm. However, t…

Token Level Routing Inference System for Edge Devices

2025-04-10 · Jianshu She, Wenhao Zheng, Zhengzhong Liu, Hongyi Wang 외

The computational complexity of large language model (LLM) inference significantly constrains their deployment efficiency on edge devices. In contrast, small language models offer faster decoding and lower resource consu…

Language ModelingLanguage ModellingLarge Language Model

Efficient Edge LLMs Deployment via HessianAware Quantization and CPU GPU Collaborative

2025-08-10 · Tuo Zhang, Ning Li, Xin Yuan, Wenchao Xu 외 arxiv

With the breakthrough progress of large language models (LLMs) in natural language processing and multimodal tasks, efficiently deploying them on resource-constrained edge devices has become a critical challenge. The Mix…