Exploring KV Cache Quantization in Multimodal Large Language Model Inference
TL;DR Highlight
Keeping only 10% of tokens in high precision cut TPOT 4.3x for multimodal LLMs
Who Should Read
Inference infrastructure engineers serving multimodal LLMs with high-resolution images who are short on GPU memory and fighting latency
Core Mechanics
- High-res images blow up the KV cache
- Multimodal LLMs need a lot of memory for the KV cache (stored computations of past tokens) on high-resolution images.
- When memory runs short, CPU-GPU systems offload it to CPU memory, which adds large transfer latency.
- KV cache quantization is underexplored for MLLMs
- It is a promising way to cut memory, but it has not been studied much for multimodal inference.
- The authors first characterized MLLM inference.
- They propose a text-centric quantization method
- It keeps only 10% of tokens in high precision and quantizes the rest.
- The text-centric design is the core idea.
- Big speedups with negligible accuracy loss
- Time-To-First-Token dropped 1.7x.
- Time-Per-Output-Token dropped 4.3x.
Evidence
- TTFT cut 1.7x
- The method reduces Time-To-First-Token by 1.7x.
- TPOT cut 4.3x
- The method reduces Time-Per-Output-Token by 4.3x.
- Only 10% of tokens stay high precision
- The rest are quantized, and accuracy loss is reported as negligible.
How to Apply
- Measure your KV cache bottleneck first
- Record GPU memory use and CPU offloading by image input length.
- Log TTFT and TPOT separately to set a baseline.
- Split high-res requests in your metrics
- Compare latency of low-res and high-res requests.
- If only high-res spikes, treat KV cache quantization as a candidate.
- Check your serving engine for KV cache quantization
- See if your inference engine offers a KV cache quantization option, and compare accuracy and latency before and after.
- The paper's text-centric method has no public code in the source, so you would need to implement it yourself.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's method: bottleneck diagnosis)
We serve a multimodal LLM on our own servers. Environment: {{GPU type and memory}}, inference engine: {{engine name}}, image resolution: {{resolution}}.
Using the ideas from the paper 'Exploring KV Cache Quantization in MLLM Inference' (keep only 10% of tokens in high precision, quantize the rest of the KV cache, improve TTFT and TPOT), tell me:
1. What to measure to confirm a KV cache memory bottleneck
2. Which KV cache quantization options our engine supports
3. A simple experiment plan to compare accuracy and latency before and afterTerminology
Related Papers
A Beginner's Guide to Local AI with Inkling, Qwen, and Unsloth
Install Unsloth Desktop, load a quantized Qwen model, and share a private ChatGPT-like AI on your home LAN.
Muru – AI-assisted Rust server for Python apps by mod_WSGI's creator
mod_wsgi's creator is building Muru, an AI-assisted Rust ASGI/WSGI server, documenting it in public
87% of the Anthropic power will come from gas and 11% from coal in 2028
Analysis of Anthropic's contracted data centers: 87% gas, 11% coal power in 2028
Anthropic’s Nasdaq debut
Anthropic listed on Nasdaq and closed its first day below its opening price.
OpenAI still has a WebRTC Problem
WebRTC drops late audio, hurting voice AI; MoQ retransmits and buffers instead
Gemini 4 Neon
Gemini 4 Neon cuts cost per task 32% versus Carbon, at $3 input and $15 output per million tokens
AI is killing All About Berlin
After Google AI Overviews, a Berlin guide site lost 70-75% of its traffic.
Not Everything Needs an LLM
PostHog used small decision models to skip 98.7% of expensive LLM calls
Original Abstract (Expand)
Multimodal large language models (MLLMs) have demonstrated strong performance across modalities, such as image, video, and audio understanding, by leveraging large language models (LLMs) as a backbone. However, a critical challenge in MLLM inference is the large memory capacity required for the key–value (KV) cache, particularly when processing high-resolution images. This pressure often forces heterogeneous CPU–GPU systems to offload the KV cache to CPU memory, introducing substantial transfer latency. KV cache quantization is a promising way to reduce this memory demand, yet it remains underexplored for MLLM inference. In this work, we characterize MLLM inference and present a text-centric KV cache quantization method that retains only 10% of tokens in high precision while quantizing the rest. Our method reduces Time-To-First-Token (TTFT) by <inline-formula><tex-math notation="LaTeX">$1.7\times$</tex-math><alternatives><mml:math><mml:mrow><mml:mn>1</mml:mn><mml:mo>.</mml:mo><mml:mn>7</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math><inline-graphic xlink:href="rhu-ieq1-3646170.gif"/></alternatives></inline-formula> and Time-Per-Output-Token (TPOT) by <inline-formula><tex-math notation="LaTeX">$4.3\times$</tex-math><alternatives><mml:math><mml:mrow><mml:mn>4</mml:mn><mml:mo>.</mml:mo><mml:mn>3</mml:mn><mml:mo>×</mml:mo></mml:mrow></mml:math><inline-graphic xlink:href="rhu-ieq2-3646170.gif"/></alternatives></inline-formula>, with negligible accuracy loss.