pith. sign in

arxiv: 2405.14371 · v1 · pith:OYAIMLAJnew · submitted 2024-05-23 · 💻 cs.DC

EdgeShard: Efficient LLM Inference via Collaborative Edge Computing

classification 💻 cs.DC
keywords edgecomputingdevicesefficientinferencemodellatencyllms
0
0 comments X
read the original abstract

Large language models (LLMs) have shown great potential in natural language processing and content generation. However, current LLMs heavily rely on cloud computing, leading to prolonged latency, high bandwidth cost, and privacy concerns. Edge computing is promising to address such concerns by deploying LLMs on edge devices, closer to data sources. Some works try to leverage model quantization to reduce the model size to fit the resource-constraint edge devices, but they lead to accuracy loss. Other works use cloud-edge collaboration, suffering from unstable network connections. In this work, we leverage collaborative edge computing to facilitate the collaboration among edge devices and cloud servers for jointly performing efficient LLM inference. We propose a general framework to partition the LLM model into shards and deploy on distributed devices. To achieve efficient LLM inference, 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, respectively. Experiments of Llama2 serial models on a heterogeneous physical prototype demonstrate that EdgeShard achieves up to 50% latency reduction and 2x throughput improvement over baseline methods.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Image Prompt Reconstruction Attacks on Distributed MLLM Inference Frameworks

    cs.CR 2026-06 unverdicted novelty 7.0

    First study of image prompt reconstruction attacks on distributed MLLM inference, proposing MPAA for pixel-level and IEDA for semantic reconstruction with 100% embedding extraction accuracy on four model families.