OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference 文章

ArXiv CS.CL2026-06-01NEWSen作者: Yuzhe Gu, Xiyu Liang, Jiaojiao Zhao, Enmao Diao

摘要

arXiv:2510.07651v2 Announce Type: replace Abstract: Large language models (LLMs) with extended context windows enable powerful applications but impose significant memory overhead, as caching all key-value (KV) states scales linearly with sequence length and batch size. Existing cache eviction methods address this by exploiting attention sparsity, yet they typically rank tokens heuristically using accumulated attention weights without considering their true impact on attention outputs. We propose Optimal Brain Cache (OBCache), a principled framework that formulates cache eviction as a layer-wise structured pruning problem. Building upon the Optimal Brain Damage (OBD) theory, OBCache quantifies token saliency by measuring the perturbation in attention outputs induced by pruning tokens, with closed-form scores derived for isolated keys, isolated values, and joint key-value pairs.

相关公司

暂无数据

相关人物

暂无数据