CoServe: Efficient Collaboration-of-Experts (CoE) Model Inference with Limited Memory

📅 2025-03-04
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Deploying Collaborative Experts (CoE) models in resource-constrained settings faces critical bottlenecks—excessive GPU memory consumption and high overhead from frequent expert switching. Method: This work introduces, for the first time, an expert dependency modeling framework that constructs an expert dependency graph to characterize inter-task expert invocation patterns. Based on this graph, we design a dependency-aware request scheduler and a dynamic expert loading/unloading mechanism. Further, leveraging offline performance profiling across heterogeneous CPU/GPU hardware, we formulate a memory-aware automatic resource allocation optimization. Contribution/Results: Evaluated on real-world smart manufacturing PCB inspection workloads, our system achieves 4.5×–12× higher throughput than state-of-the-art CoE deployment methods, while significantly reducing expert switching frequency and peak GPU memory usage. This establishes a new paradigm for high-accuracy, resource-efficient multi-expert collaborative inference.

Technology Category

Application Category

📝 Abstract
Large language models like GPT-4 are resource-intensive, but recent advancements suggest that smaller, specialized experts can outperform the monolithic models on specific tasks. The Collaboration-of-Experts (CoE) approach integrates multiple expert models, improving the accuracy of generated results and offering great potential for precision-critical applications, such as automatic circuit board quality inspection. However, deploying CoE serving systems presents challenges to memory capacity due to the large number of experts required, which can lead to significant performance overhead from frequent expert switching across different memory and storage tiers. We propose CoServe, an efficient CoE model serving system on heterogeneous CPU and GPU with limited memory. CoServe reduces unnecessary expert switching by leveraging expert dependency, a key property of CoE inference. CoServe introduces a dependency-aware request scheduler and dependency-aware expert management for efficient inference. It also introduces an offline profiler to automatically find optimal resource allocation on various processors and devices. In real-world intelligent manufacturing workloads, CoServe achieves 4.5$ imes$ to 12$ imes$ higher throughput compared to state-of-the-art systems.
Problem

Research questions and friction points this paper is trying to address.

Optimizes memory usage in Collaboration-of-Experts model inference.
Reduces performance overhead from frequent expert switching.
Enhances throughput in precision-critical applications like manufacturing.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Dependency-aware request scheduler for CoE
Dependency-aware expert management system
Offline profiler for optimal resource allocation
🔎 Similar Papers
No similar papers found.
J
Jiashun Suo
State Key Laboratory of CCSE and School of Computer Science and Engineering, Beihang University, Beijing, China
Xiaojian Liao
Xiaojian Liao
Beihang University
Storage SystemAI System
Limin Xiao
Limin Xiao
FDU
Fiber OpticsOptoelectronics
Li Ruan
Li Ruan
beihang university
File system and StorageSuperComputingCloud ComputingBig Data
J
Jinquan Wang
State Key Laboratory of CCSE and School of Computer Science and Engineering, Beihang University, Beijing, China
Xiao Su
Xiao Su
State Key Laboratory of CCSE and School of Computer Science and Engineering, Beihang University, Beijing, China
Z
Zhisheng Huo
State Key Laboratory of CCSE and School of Computer Science and Engineering, Beihang University, Beijing, China