Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/118711
PIRA download icon_1.1View/Download Full Text
Title: EdgeShard : efficient LLM inference via collaborative edge computing
Authors: Zhang, M 
Shen, X 
Cao, J 
Cui, Z 
Jiang, S 
Issue Date: 15-May-2025
Source: IEEE internet of things journal, 15 May 2025, v. 12, no. 10, p. 13119-13131
Abstract: Large language models (LLMs) have shown great success in content generation and intelligent intelligent decision making for IoT systems. Traditionally, LLMs are deployed on the cloud, incurring prolonged latency, high bandwidth costs, and privacy concerns. More recently, edge computing has been considered promising in addressing such concerns because the edge devices are closer to data sources. However, edge devices are cursed by their limited resources and can hardly afford LLMs. Existing studies address such a limitation by offloading heavy workloads from edge to cloud or compressing LLMs via model quantization. These methods either still rely heavily on the remote cloud or suffer substantial accuracy loss. This work is the first to deploy LLMs on a collaborative edge computing environment, in which edge devices and cloud servers share resources and collaborate to infer LLMs with high efficiency and no accuracy loss. We design EdgeShard, a novel approach to partition a computation-intensive LLM into affordable shards and deploy them on distributed devices. The partition and distribution are nontrivial, considering device heterogeneity, bandwidth limitations, and model complexity. To this end, we formulate an adaptive joint device selection and model partition problem and design an efficient dynamic programming algorithm to optimize the inference latency and throughput. Extensive experiments of the popular Llama2 serial models on a real-world testbed reveal that EdgeShard achieves up to 50% latency reduction and 2× throughput improvement over the state-of-the-art.
Keywords: Cloud-edge-end collaboration
Edge artificial intelligence (AI)
Edge computing
Large language models (LLMs)
Publisher: Institute of Electrical and Electronics Engineers
Journal: IEEE internet of things journal 
EISSN: 2327-4662
DOI: 10.1109/JIOT.2024.3524255
Rights: © 2024 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
The following publication M. Zhang, X. Shen, J. Cao, Z. Cui and S. Jiang, 'EdgeShard: Efficient LLM Inference via Collaborative Edge Computing,' in IEEE Internet of Things Journal, vol. 12, no. 10, pp. 13119-13131, 15 May 2025 is available at https://doi.org/10.1109/JIOT.2024.3524255.
Appears in Collections:Journal/Magazine Article

Files in This Item:
File Description SizeFormat 
Zhang_EdgeShard_Efficient_LLM.pdfPre-Published version3.84 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.