Prior KV cache compression schemes empirically demonstrate that the prompt cache can be dropped or summarised during decoding with little accuracy loss, indicating that it is partly redundant. We ask when and what kind of redundancy, i.e., at which layers, after how many decoding steps, and in what form can the prompt span KV cache be replaced without breaking the task. A controlled splice intervention swept over layers and decoding steps shows this redundancy is about form rather than content. Replacing the upper layer prompt span KV cache with KV cache from a chat template scaffold with empty user content or filler tokens recovers near clean accuracy, while zeroing the entire prompt KV collapses accuracy. The dissociation replicates across the Qwen3, Gemma 3, and Llama 3 model families of varying sizes on multiple datasets. A serving implementation of this technique reduces KV memory by $15.4\%$, supports $18\%$ more HBM-constrained concurrent requests, and improves throughput by $13$-$21\%$.


翻译:暂无翻译

0
下载
关闭预览

相关内容

打造 LLMOps 时代 Prompt 数据驱动引擎
专知会员服务
35+阅读 · 2024年8月23日
FlowQA: Grasping Flow in History for Conversational Machine Comprehension
专知会员服务
35+阅读 · 2019年10月18日
NLP新宠 | 浅谈Prompt的前世今生
机器学习与推荐算法
14+阅读 · 2021年8月16日
【泡泡点云时空】Potree:基于Web浏览器的大规模点云渲染
【资源推荐】模型压缩与加速相关资源汇总
Github 项目推荐 | 用 Pytorch 实现的 Capsule Network
AI研习社
22+阅读 · 2018年3月7日
CapsNet入门系列之四:胶囊网络架构
论智
12+阅读 · 2018年2月23日
Capsule Networks解析
机器学习研究会
11+阅读 · 2017年11月12日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 11月11日
VIP会员
最新内容
超越技术:美战争部的AI变革管理
专知会员服务
5+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
6+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
12+阅读 · 11月25日
乌克兰无人机饱和战场中的错误教训
专知会员服务
19+阅读 · 11月17日
面向最后一战术英里:美军无人机创新尝试
专知会员服务
15+阅读 · 11月17日
相关资讯
NLP新宠 | 浅谈Prompt的前世今生
机器学习与推荐算法
14+阅读 · 2021年8月16日
【泡泡点云时空】Potree:基于Web浏览器的大规模点云渲染
【资源推荐】模型压缩与加速相关资源汇总
Github 项目推荐 | 用 Pytorch 实现的 Capsule Network
AI研习社
22+阅读 · 2018年3月7日
CapsNet入门系列之四:胶囊网络架构
论智
12+阅读 · 2018年2月23日
Capsule Networks解析
机器学习研究会
11+阅读 · 2017年11月12日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员