Jupiter: Fast and Resource-Efficient Collaborative Inference of Generative LLMs on Edge Devices
Preprint
Abstract
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 more accessible edge platforms to protect sensitive user data and ensure privacy preservation. The limited computational resources of individual edge devices, however, can result in excessively prolonged inference latency and overwhelmed memory usage. While existing research has explored collaborative edge computing to break the resource wall of individual devices, these solutions yet suffer from massive communication overhead and under-utilization of edge resources. Furthermore, they focus exclusively on optimizing the prefill phase, neglecting the crucial autoregressive decoding phase for generative LLMs. To address that, we propose Jupiter, a fast, scalable, and resource-efficient collaborative edge AI system for generative LLM inference. Jupiter introduces a flexible pipelined architecture as a principle and differentiates its system design according to the differentiated characteristics of the prefill and decoding phases. For prefill phase, Jupiter submits a novel intra-sequence pipeline parallelism and develops a meticulous parallelism planning strategy to maximize resource efficiency; For decoding, Jupiter devises an effective outline-based pipeline parallel decoding mechanism combined with speculative decoding, which further magnifies inference acceleration. Extensive evaluation based on realistic implementation demonstrates that Jupiter remarkably outperforms state-of-the-art approaches under various edge environment setups, achieving up to 26.1x end-to-end latency reduction while rendering on-par generation quality.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Edge Graph Intelligence: Reciprocally Empowering Edge Networks With Graph IntelligenceIEEE Communications Surveys & Tutorials, 2025
- EdgeShard: Efficient LLM Inference via Collaborative Edge ComputingIEEE Internet of Things Journal, 2024
- Co-Designing Transformer Architectures for Distributed Inference With Low CommunicationIEEE Transactions on Parallel and Distributed Systems, 2024
- Implementation of Big AI Models for Wireless Networks with Collaborative Edge ComputingIEEE Wireless Communications, 2024
- SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification2024
- Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding2024
- Accelerating Transformer Inference for Translation via Parallel Decoding2023
- Efficient large-scale language model training on GPU clusters using megatron-LM2021
- CoEdge: Cooperative DNN Inference With Adaptive Workload Partitioning Over Heterogeneous Edge DevicesIEEE/ACM Transactions on Networking, 2020
- DeepThings: Distributed Adaptive Deep Learning Inference on Resource-Constrained IoT Edge ClustersIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2018