Large language models (LLMs) deployed on edge devices face a severe memory-bandwidth bottleneck during autoregressive decoding, which is further worsened by the ever-growing KV cache of emerging agentic workloads. Tree-based speculative decoding (SD) only shifts this bottleneck to verification, where the full prefix KV cache must be reloaded at every step. We observe that most prefix tokens contribute negligibly to verification yet cost the same to load, while the draft model's attention scores offer a free importance proxy for selective KV loading. Building on this insight, we present Glimpse, an algorithm-hardware co-design that turns draft attention into verification bandwidth savings for mobile edge speculative decoding. At the algorithm level, Glimpse introduces a two-pass verification scheme. A lossy pass loads only the top-ranked prefix chunks guided by accumulated draft scores, while a periodic lossless pass merges the lossy-accepted chain with a reduced draft tree into one full-attention re-verification, restoring the target model's greedy output and amortizing its bandwidth cost over many accepted tokens. At the hardware level, Glimpse extends a conventional edge NPU with a lightweight Importance Selection Unit that performs on-chip score accumulation and top-K chunk selection at negligible overhead. Evaluated on six target LLMs and three benchmarks against the state-of-the-art (SotA) EAGLE-3, Glimpse delivers 1.33-1.74x speedup and 1.40-1.76x energy efficiency across 2K-64K contexts, with only 2.7% area overhead over the baseline edge NPU.


翻译:暂无翻译

0
下载
关闭预览

相关内容

AI驱动的军事行动知识管理:大语言模型的角色
微软最新《检索增强生成(RAG)》综述
专知会员服务
58+阅读 · 2024年9月24日
移动边缘智能与大型语言模型综述
专知会员服务
42+阅读 · 2024年7月31日
WSDM 2024| LLMs助力图学习?基于大模型的图数据增强
专知会员服务
27+阅读 · 2023年11月19日
探究检索增强下的大模型知识边界
专知会员服务
56+阅读 · 2023年7月25日
用于语音识别的数据增强
AI研习社
24+阅读 · 2019年6月5日
深度学习中Attention Mechanism详细介绍:原理、分类及应用
深度学习与NLP
10+阅读 · 2019年2月18日
【好文解析】ICASSP最佳学生论文:深度对抗声学模型训练框架
中国科学院自动化研究所
13+阅读 · 2018年4月28日
Word2Vec 与 GloVe 技术浅析与对比
LibRec智能推荐
25+阅读 · 2017年5月15日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月18日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
AI驱动的军事行动知识管理:大语言模型的角色
微软最新《检索增强生成(RAG)》综述
专知会员服务
58+阅读 · 2024年9月24日
移动边缘智能与大型语言模型综述
专知会员服务
42+阅读 · 2024年7月31日
WSDM 2024| LLMs助力图学习?基于大模型的图数据增强
专知会员服务
27+阅读 · 2023年11月19日
探究检索增强下的大模型知识边界
专知会员服务
56+阅读 · 2023年7月25日
相关基金
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员