跳到正文
arXiv cs.CL· Vinayshekhar Bannihatti Kumar, Manoj Ghuhan Arivazhagan, Disha Makhija, Rashmi Gangadharaiah·· 30 分钟前AI 评分41

研究揭示 prompt KV cache 的可替代性:上层可换填充内容,服务部署降 15.4% KV 内存

Probing the Prompt KV Cache: Where It Becomes Dispensable

AI 导读

一项受控拼接实验发现,prompt KV cache 的冗余在于形式而非内容:将上层 prompt span 的 KV cache 替换为空用户内容或填充 token 的 chat template scaffold KV cache,可恢复接近无损的准确率,而将整个 prompt KV 置零则准确率崩溃。

来源:arXiv cs.CL · arxiv.org