New Method Boosts MLLM Efficiency by Optimizing KV Cache Selection

Jinsong Shu, Chenyang Wu, Zhongle Xie, Baokun Wang, Lidan Shou· July 28, 2026 View original

Summary

A novel training-free method, MM-ShiftKV, improves the efficiency of multimodal large language models (MLLMs) by optimizing Key-Value (KV) cache selection during the prefill stage. It addresses the challenge of high memory footprint from visual tokens by better approximating decoding-time query behavior, preventing critical visual tokens from being discarded.

Multimodal Large Language Models (MLLMs) face significant memory bottlenecks due to the large number of visual tokens in their Key-Value (KV) cache, which grows linearly with context length. Existing KV selection methods often estimate importance during the prefill stage, assuming this accurately reflects decoding-time queries. However, this research highlights that decoding-time queries in MLLMs exhibit much greater variance, leading to unstable importance estimation and the potential discarding of crucial visual tokens, which degrades performance. To counter this, MM-ShiftKV is introduced as a training-free, decode-aware KV selection method that operates strictly during prefilling. It constructs "variance-expanded query proxies" to better anticipate decoding-time query behavior and estimates prompt KV importance based on their aggregated attention mass. Experiments show that MM-ShiftKV consistently outperforms other methods under tight KV-cache budgets, preserving grounding and reasoning performance by preventing the premature discarding of semantically vital visual information.

Why it matters

For professionals deploying MLLMs, MM-ShiftKV offers a way to significantly reduce memory footprint and improve inference efficiency without sacrificing performance, making MLLMs more practical for real-world applications.

How to implement this in your domain

  1. 1Evaluate the memory footprint and inference latency of your current MLLM deployments, especially with long multimodal contexts.
  2. 2Investigate integrating MM-ShiftKV into your MLLM serving system to optimize KV cache management.
  3. 3Benchmark the performance of MLLMs with and without MM-ShiftKV under various KV-cache budget constraints.
  4. 4Monitor the impact on grounding and reasoning performance to ensure critical visual information is retained.

Who benefits

AI EngineeringRoboticsAutonomous VehiclesDigital MediaE-commerce

Key takeaways

  • KV cache memory is a major bottleneck for MLLM inference due to visual tokens.
  • Prefill-stage KV selection methods often fail to account for decoding-time query variance.
  • MM-ShiftKV improves MLLM efficiency by better approximating decoding-time query behavior.
  • This method helps maintain MLLM performance under strict memory budgets.

Original post by Jinsong Shu, Chenyang Wu, Zhongle Xie, Baokun Wang, Lidan Shou

"arXiv:2607.22586v1 Announce Type: new Abstract: Key-Value (KV) caching is essential for efficient inference in multimodal large language models (MLLMs), yet its memory footprint grows linearly with context length and becomes a major bottleneck due to the large number of visual to…"

View on X

Originally posted by Jinsong Shu, Chenyang Wu, Zhongle Xie, Baokun Wang, Lidan Shou on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses