ACL2026

Reducing Peak Memory Usage for Modern Multimodal Large Language Model Pipelines

Junwan Kim, Hyunkyung Bae

摘要

Multimodal large language models (MLLMs) achieve strong visual-textual reasoning by scaling to high-resolution images and long video sequences, but this scalability introduces substantial inference-time memory overhead due to the growth of the key-value (KV) cache. Existing KV-cache compression methods primarily operate after the full multimodal context has been processed, and therefore do not address the peak memory consumption incurred during the prefill stage. We observe that visual tokens in MLLMs exhibit strong structural regularities and representational redundancy that can be exploited earlier in the inference pipeline. Based on this observation, we propose a sequential, structure-aware KV-cache compression framework that operates during prefill and enforces a fixed memory budget throughout input processing. Unlike conventional postprefill compression, which first constructs the full KV cache and compresses it afterward, our method compresses incrementally during prefix encoding. Experimental results show that our approach substantially reduces peak memory usage with minimal degradation in generative performance, enabling more practical and memory-efficient multimodal inference for large-scale visual inputs.