Edge Inference for Large Language Models With Pipeline Parallelism and Batching

计算机科学 管道(软件) 推论 平行性(语法) GSM演进的增强数据速率 并行计算 算法 理论计算机科学 程序设计语言 数据建模 信号处理 管道运输 建模语言 语言模型 语义学(计算机科学) 实时计算 语言理解 分布式计算
作者
Jie Jiang,Zhixiong Chen,Hyundong Shin,Arumugam Nallanathan
出处
期刊:IEEE Transactions on Communications [IEEE Communications Society]
卷期号:74: 8390-8406 被引量:3
标识
DOI:10.1109/tcomm.2026.3686718
摘要

Edge computing enables distributed inference for computation-intensive applications. However, the autoregressive nature and large model size of large language models (LLMs) pose challenges for their deployment in wireless edge networks. Existing edge inference methods mainly assume an equivalent delay for each token generation step, which fails to capture the dynamic computational and memory overhead incurred during the decoding process. This paper proposes a latency-sensitive wireless edge inference framework for LLMs, where tasks are grouped into multiple batches and processed in parallel by partitioning the LLM into multiple pipeline stages across heterogeneous edge GPUs. An accurate latency model is established, where the latency of each token generation step increases during the autoregressive generation process. Based on this model, the end-to-end inference latency is minimized, which is formulated as a joint optimization problem of bandwidth allocation, model partitioning, and batch scheduling subject to heterogeneous GPU memory constraints. To solve this NP-hard problem with coupled variables, we develop a polynomial-time alternating optimization algorithm that iteratively optimizes model partitioning and batch scheduling via dynamic programming. The closed-form solutions of wireless bandwidth allocation are derived. Extensive simulations show that our approach reduces latency by up to 42.1% versus state-of-the-art baselines across diverse edge scenarios.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
所所的应助被luckyhan采纳,获得10
1秒前
1秒前
luojia完成签到,获得积分10
2秒前
小星星完成签到,获得积分10
2秒前
2秒前
yu完成签到,获得积分10
3秒前
十八寒露完成签到,获得积分10
3秒前
RAnnn完成签到,获得积分10
3秒前
落后鸭子完成签到,获得积分10
3秒前
Daring完成签到,获得积分10
3秒前
3秒前
4秒前
4秒前
奋斗土豆完成签到,获得积分10
5秒前
5秒前
5秒前
虚心龙猫发布了新的文献求助10
6秒前
llllliu发布了新的文献求助10
6秒前
大概是你才可以完成签到,获得积分10
6秒前
berry发布了新的文献求助10
7秒前
付乐乐发布了新的文献求助10
7秒前
7秒前
8秒前
GBYYYY完成签到,获得积分20
8秒前
suigetsu发布了新的文献求助10
9秒前
miaojuly完成签到,获得积分10
10秒前
liux发布了新的文献求助10
10秒前
陌尘发布了新的文献求助10
11秒前
张棒棒发布了新的文献求助10
11秒前
小杨关注了科研通微信公众号
11秒前
空白发布了新的文献求助30
11秒前
12秒前
yy123完成签到 ,获得积分10
12秒前
12秒前
Gauss的应助被Jim采纳,获得30
12秒前
润泉完成签到,获得积分10
13秒前
哈哈哈哈哈完成签到,获得积分10
15秒前
CipherSage的应助被morena采纳,获得10
16秒前
march完成签到,获得积分10
16秒前
房军关注了科研通微信公众号
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Theories of Human Development 800
The Martian climate revisited : atmosphere and environment of a desert planet 600
[Radiotherapy of prostatic cancer at the loco-regional stage: therapeutic results and prognostic factors] 500
[Cancer of the prostate: intolerability and morbidity of external radiotherapy] 500
[Experiences with intensive radiotherapy of prostatic cancer in conjunction with surgery (transurethral resection, pelvic lymph node excision)] 500
Prior transurethral resection does not increase morbidity following real-time ultrasound-guided prostate seed implantation 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8218762
求助须知:如何正确求助?哪些是违规求助? 9599480
关于积分的说明 21987574
捐赠科研通 7827285
什么是DOI,文献DOI怎么找? 3445671
关于科研通互助平台的介绍 2567045
邀请新用户注册赠送积分活动 2494295