EdgeShard: Efficient LLM Inference via Collaborative Edge Computing

计算机科学 推论 边缘计算 GSM演进的增强数据速率 分布式计算 理论计算机科学 人工智能
作者
Mingjin Zhang,Xiaoming Shen,Jiannong Cao,Zeyang Cui,Shan Jiang
出处
期刊:IEEE Internet of Things Journal [Institute of Electrical and Electronics Engineers]
卷期号:12 (10): 13119-13131 被引量:432
标识
DOI:10.1109/jiot.2024.3524255
摘要

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 \times $throughput improvement over the state-of-the-art.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
1秒前
1秒前
1秒前
1秒前
1571424272发布了新的文献求助100
1秒前
1秒前
Owen的应助被壮观溪流采纳,获得10
2秒前
翱翔天空完成签到,获得积分10
2秒前
Jacqueline777完成签到,获得积分10
2秒前
2秒前
情怀的应助被徐佳乐采纳,获得10
2秒前
闲潭梦的应助被准好好采纳,获得10
2秒前
3秒前
海边的月亮完成签到,获得积分10
3秒前
圆圆发布了新的文献求助10
4秒前
雨灵发布了新的文献求助10
4秒前
5秒前
小蘑菇的应助被lby采纳,获得10
5秒前
5秒前
67完成签到,获得积分10
5秒前
5秒前
5秒前
nano发布了新的文献求助10
5秒前
动听的笑南完成签到,获得积分10
6秒前
6秒前
激情的健柏完成签到 ,获得积分10
7秒前
xin发布了新的文献求助10
7秒前
anian发布了新的文献求助10
7秒前
1111完成签到,获得积分10
7秒前
8秒前
雪白智宸发布了新的文献求助10
8秒前
8秒前
eight发布了新的文献求助10
8秒前
赘婿的应助被笑嘻嘻采纳,获得10
8秒前
好运时间完成签到 ,获得积分10
9秒前
领导范儿的应助被ludd2采纳,获得10
9秒前
一路生花完成签到,获得积分10
9秒前
无花果的应助被z_jiawei采纳,获得10
10秒前
8R60d8的应助被nano采纳,获得10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Theories of Human Development 600
Orthognathic Surgery - 2 Volume Set 500
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
Determination of Coagulation Factor Activities Using the One-Stage Clotting Assay 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
《化学系特許明細書・意見書の書き方》全文 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8217922
求助须知:如何正确求助?哪些是违规求助? 9598926
关于积分的说明 21983724
捐赠科研通 7826295
什么是DOI,文献DOI怎么找? 3445475
关于科研通互助平台的介绍 2566911
邀请新用户注册赠送积分活动 2494017