EdgeSpec: Distributed Speculative Decoding for Large Language Models at Edge

计算机科学 解码方法 GSM演进的增强数据速率 算法 理论计算机科学 语言模型 编码(内存) 自然语言 人工智能 程序设计语言 钥匙(锁) 口译(哲学) 语义学(计算机科学) 计算 自然语言处理
作者
Yulin Chen,Meng Tian,Chao Qiu,X L Wang,Haipeng Yao,Yuan He,Yunhao Liu
出处
期刊: [Institute of Electrical and Electronics Engineers]
卷期号:: 1-10
标识
DOI:10.1109/infocom59046.2026.11571680
摘要

The growing demand for deploying large language models (LLMs) in applications requiring low latency and strong privacy has brought increasing attention to edge inference. While distributing computation across edge devices helps alleviate resource bottlenecks, the sequential and layer-wise nature of autoregressive decoding still limits real-time deployment, leading to device underutilization, increased latency, and workload imbalance. Existing methods rely on heavyweight drafts and static policies, which cannot adapt to device heterogeneity and bandwidth variation, leading to limited parallelism and elevated latency. To bridge this gap, we propose EdgeSpec, a hierarchical speculative decoding framework at edges. Instead of relying on last-layer speculation, EdgeSpec enables intermediate transformer layers to emit draft tokens, which are validated and used to predict the next token in parallel across devices via attention masking. The system combines offline entropy profiling with an online Kalman filter to adaptively select confident trigger layers based on runtime load and input complexity. To further improve efficiency, EdgeSpec jointly optimizes model partitioning, entropy thresholds, and candidate sizes through a two-stage strategy that integrates offline planning with online adaptation. Experiments on LLaMA2 showed that EdgeSpec reduced inference latency by up to 17.1× while preserving output quality comparable to standard decoding.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
勇敢的蓝血完成签到,获得积分10
刚刚
yuna完成签到,获得积分10
刚刚
平淡雪瑶发布了新的文献求助10
1秒前
2秒前
王旭东发布了新的文献求助10
2秒前
2秒前
糟糕的如音完成签到,获得积分10
3秒前
xl发布了新的文献求助10
4秒前
4秒前
隐形曼青的应助被HuiLang采纳,获得10
4秒前
星星发布了新的文献求助10
4秒前
温柔悠完成签到,获得积分10
4秒前
hmhu发布了新的文献求助10
5秒前
无极微光的应助被如意2023采纳,获得20
5秒前
土豆子完成签到,获得积分10
5秒前
5秒前
6秒前
7秒前
科目三的应助被番茄米线儿采纳,获得10
7秒前
Rencal完成签到 ,获得积分10
8秒前
8秒前
WGS发布了新的文献求助10
8秒前
9秒前
10秒前
10秒前
领导范儿的应助被梁yy采纳,获得10
10秒前
蛋花肉圆汤完成签到,获得积分0
11秒前
11秒前
12秒前
12秒前
13秒前
14秒前
孤独的sum的应助被jin采纳,获得10
14秒前
剑八发布了新的文献求助10
14秒前
15秒前
郁北林完成签到,获得积分10
15秒前
15秒前
GIN的应助被lijiansong采纳,获得10
16秒前
甜甜天德发布了新的文献求助10
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
基于结构调控的功能化水诱导发电材料与器件研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8193201
求助须知:如何正确求助?哪些是违规求助? 9579416
关于积分的说明 21865593
捐赠科研通 7792801
什么是DOI,文献DOI怎么找? 3437184
关于科研通互助平台的介绍 2560685
邀请新用户注册赠送积分活动 2483994