Beyond the Cloud: Edge Inference for Generative Large Language Models in Wireless Networks

计算机科学 推论 云计算 无线网络 无线 GSM演进的增强数据速率 生成语法 人工智能 电信 操作系统
作者
Xinyuan Zhang,Jiangtian Nie,Yudong Huang,Gaochang Xie,Zehui Xiong,Jiang Liu,Dusit Niyato,Xuemin Shen
出处
期刊:IEEE Transactions on Wireless Communications [Institute of Electrical and Electronics Engineers]
卷期号:24 (1): 643-658 被引量:28
标识
DOI:10.1109/twc.2024.3497923
摘要

Generative Artificial Intelligenge (GAI) is revolutionizing the world with its unprecedented content creation ability. Large Language Model (LLM) is one of its most embraced branches. However, due to LLM’s substantial size and resource-intensive nature, it is cloud-hosted, raising concerns about privacy, usage limitations, and latency. In this paper, we propose to utilize ubiquitous distributed wireless edge computing resources for real-time LLM inference. Specifically, we introduce a novel LLM edge inference framework, incorporating batching and model quantization to ensure high throughput inference on resource-limited edge devices. Then, based on the architecture of transformer decoder-based LLMs, we formulate an edge inference optimization problem which is NP-hard, considering batch scheduling and joint allocation of communication and computation resources. The solution is the optimal throughput under edge resource constraints and heterogeneous user requirements on latency and accuracy. To solve this NP-hard problem, we develop an OT-GAH (Optimal Tree-search with Generalized Assignment Heuristics) algorithm with reasonable complexity and $\frac {1}{2}$ -approximation ratio. We first design the OT algorithm with online tree-pruning for single-edge-node multi-user case, which navigates the inference request selection within the tree structure to miximize throughput. We then consider the multi-edge-node case and propose the GAH algorithm, which recrusively invokes the OT in each node’s inference scheduling iteration. Simulation results demonstrate the superiority of OT-GAH batching over other benchmarks, revealing an over 45% time complexity reduction compared to brute-force searching.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI6.2应助yang采纳,获得10
1秒前
LX完成签到,获得积分10
1秒前
科研通AI6.2应助www采纳,获得10
1秒前
1秒前
清爽的青丝完成签到,获得积分10
1秒前
2秒前
温眸完成签到,获得积分10
2秒前
寒冰发布了新的文献求助10
3秒前
LWDYF发布了新的文献求助10
3秒前
英姑应助emo小猫在流泪采纳,获得10
4秒前
PhDLi完成签到,获得积分10
4秒前
NCU-Xzzzz发布了新的文献求助10
4秒前
5秒前
大模型应助小南子采纳,获得10
6秒前
刘浩发布了新的文献求助10
6秒前
8秒前
yuan完成签到,获得积分10
8秒前
所所应助kukude采纳,获得10
9秒前
酵母君完成签到,获得积分10
9秒前
六66完成签到,获得积分10
9秒前
自信忻完成签到,获得积分10
9秒前
10秒前
爱笑冷珍发布了新的文献求助10
10秒前
10秒前
NCU-Xzzzz完成签到,获得积分10
11秒前
612发布了新的文献求助10
12秒前
superxin发布了新的文献求助10
13秒前
13秒前
14秒前
lizishu应助阿菜采纳,获得10
14秒前
欢呼剑完成签到,获得积分10
14秒前
nqterysc完成签到,获得积分10
15秒前
搜集达人应助张雨桐采纳,获得10
15秒前
15秒前
风吹枫又落完成签到,获得积分10
15秒前
罗显发完成签到,获得积分10
16秒前
领导范儿应助东海帝皇采纳,获得10
16秒前
balko完成签到,获得积分10
16秒前
冬瓜鑫发布了新的文献求助20
17秒前
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Applied Min-Max Approach to Missile Guidance and Control 3000
Inorganic Chemistry Eighth Edition 1200
Free parameter models in liquid scintillation counting 1000
Standards for Molecular Testing for Red Cell, Platelet, and Neutrophil Antigens, 7th edition 1000
The Organic Chemistry of Biological Pathways Second Edition 800
The Psychological Quest for Meaning 800
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6316583
求助须知:如何正确求助?哪些是违规求助? 8132684
关于积分的说明 17046616
捐赠科研通 5371932
什么是DOI,文献DOI怎么找? 2851719
邀请新用户注册赠送积分活动 1829616
关于科研通互助平台的介绍 1681423