Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

MadaKV: Adaptive Modality-Perception KV Cache Eviction for Efficient Multimodal Long-Context Inference

About

This paper introduces MadaKV, a modality-adaptive key-value (KV) cache eviction strategy designed to enhance the efficiency of multimodal large language models (MLLMs) in long-context inference. In multimodal scenarios, attention heads exhibit varying preferences for different modalities, resulting in significant disparities in modality importance across attention heads. Traditional KV cache eviction methods, which are tailored for unimodal settings, fail to capture modality-specific information, thereby yielding suboptimal performance. MadaKV addresses these challenges through two key components: modality preference adaptation and hierarchical compression compensation. By dynamically sensing modality information within attention heads and adaptively retaining critical tokens, MadaKV achieves substantial reductions in KV cache memory footprint and model inference decoding latency (1.3 to 1.5 times improvement) while maintaining high accuracy across various multimodal long-context tasks. Extensive experiments on representative MLLMs and the MileBench benchmark demonstrate the effectiveness of MadaKV compared to existing KV cache eviction methods.

Kunxi Li, Zhonghua Jiang, Zhouzhou Shen, Zhaode Wang, Chengfei Lv, Shengyu Zhang, Fan Wu, Fei Wu• 2025

Related benchmarks

TaskDatasetResultRank
Video CaptioningVATEX
CIDEr0.4708
76
Video Question AnsweringNextQA
WUPS33.25
26
Long-context multimodal evaluationMileBench (test)
TN Score23.43
18
Video-based Dialogue EvaluationVideo-ChatGPT
CI2.94
18
Multi-image Multi-modal Question AnsweringMileBench
CL-CH Score43.37
18
Showing 5 of 5 rows

Other info

Follow for update