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. Our scores account not only for attention weights but also for information from value states and attention outputs, thereby enhancing existing eviction strategies with output-aware signals. Experiments on LLaMA and Qwen models demonstrate that replacing the heuristic scores in existing works, which estimate token saliency across different query positions, with OBCache's output-aware scores consistently improves long-context accuracy. Code is available at https://github.com/DreamSoul-AI/OBCache.
VisCache: Visual KV Cache Pruning for Efficient Vision Large Language Model Inference
Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Loop Area Institute(深圳河套学院)
Faculty of Science and Technology, University of Macau, Macau, China(澳门大学科学与技术学院);School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu, China(电子科技大学信息与软件工程学院)
ZSMerge: Zero-Shot KV Cache Compression for Memory-Efficient Long-Context LLMs
Information Hub, The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学信息中心);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院)
Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activations
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Xiaomi AI Lab(小米AI实验室)
Beyond Homogeneous Attention: Memory-Efficient LLMs via Fourier-Approximated KV Cache
School of Computer Science, Fudan University(复旦大学计算机科学学院);Shanghai Innovation Institute(上海创新研究院);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Shanghai AI Lab(上海AI实验室)
HybridKV: Hybrid KV Cache Compression for Efficient Multimodal Large Language Model Inference
The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全国家重点实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新区(滨江)区块链与数据安全研究院);Hangzhou Dianzi University(杭州电子科技大学)
TokenPilot: Cache-Efficient Context Management for LLM Agents
Zhejiang University(浙江大学);University of Electronic Science and Technology of China(电子科技大学);Xi’an University of Electronic Science and Technology(西安电子科技大学);HomologyAI(同源人工智能)
CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective
School of Computer Science, University of Science and Technology of China(科学技术大学计算机科学学院);School of Biomedical Engineering, USTC(USTC生物医学工程学院);Data Darkness Lab, MIRACLE Center, Suzhou Institute for Advanced Research(苏州先进研究院数据黑暗实验室、奇迹中心);School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院)
CHESS: Context-aware Hierarchical Efficient Semantic Selection for Long-Context LLM Inference
King Abdullah University of Science;Centre for Artificial Intelligence;Robotics, Hong Kong Institute of Science \& Innovation, Chinese Academy of Sciences, Hong Kong, China
Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding
School of information(信息学院);Electronics, Beijing Institute of Technology, Beijing(电子学院,北京理工大学,北京);Department of Computer Science, City University of Hong Kong, Hong Kong(计算机科学系,香港城市大学,香港);School of Computer Science, Wuhan University, Wuhan(计算机科学学院,武汉大学,武汉);School of Economics(经济学院);Management, Communication University of China, Beijing(管理学院,中国传媒大学,北京);School of Science(科学学院);Engineering, The Chinese University of Hong Kong (Shenzhen), Shenzhen(工程学院,香港中文大学(深圳),深圳)