EviCastKV: Query-Conditioned Multimodal KV Cache Compression

Arup Kumar Sarker, Mills Staylor, Aymen Alsaadi, Gregor von Laszewski, Yue Cheng, Shantenu Jha, Geoffrey FoxarXiv 2026

TL;DR

Multimodal AI models chew through GPU memory because images expand into massive sequences of cached representations—most of which are visual fluff, though a tiny detail might hold the entire answer. EviCastKV is a training-free system that shrinks this memory footprint without losing crucial details or getting bogged down in slow bookkeeping. By treating memory compression as a joint problem of what to keep, how it physically sits in hardware, and how long the cleanup takes, it achieves sharper answers and noticeably faster end-to-end response times than existing methods.

What Problem Does This Paper Address?

When a Multimodal Large Language Model (MLLM) looks at an image and reads your prompt, it builds a Key–Value (KV) cache—essentially its working memory for generating a response word by word. Because high-res images explode into hundreds or thousands of visual tokens, this working memory balloons rapidly.

Pruning the cache is tricky for three reasons:

  1. The needle-in-a-haystack problem: Visual data is redundant, yet a tiny text label or single object relationship might be the exact clue needed later. Relying purely on raw attention scores can accidentally throw away quiet, complementary context (like keeping a chart mark while deleting its legend).
  2. Logical vs. physical reality: Throwing away 50% of your tokens on paper doesn't automatically free 50% of your GPU bytes. Memory padding, preallocation, and preserving original token positions (specifically Rotary Position Embeddings, or RoPE—moving token #7 into slot #3 doesn't mean you can pretend it was the 3rd word) complicate actual byte savings.
  3. The planning tax: If your clever compression algorithm takes 15 seconds to decide what to delete so you can save 0.2 seconds during text generation, you’ve lost the game.

Methods

EviCastKV is training-free and explores two distinct, alternative architectures for building a compressed cache right after reading the prompt:

Figure 1. EviCastKV’s evaluated cache-construction configurations. Exact retention uses routed inter-modal evidence selection and physical-capacity reconciliation. Shared-source encoding uses attention-based exact protection and layer-local reconstruction. Rows are alternative configurations, not consecutive stages; measurement scopes and execution policies are defined per protocol. Here, w denotes the prompt-observation window length.
  • Exact-Retention Configuration: Following the standard observation-window trick (peeking at what the final $w$ prompt tokens attend to), EviCastKV adds a twist: routed planning. Instead of running heavy math everywhere, it partitions model layers/heads into "stable" and "routed" groups. Almost all groups (255/256) take a fast lane using vectorized prompt ranking. Only a tiny routed fraction (1/256) builds a sparse inter-modal graph that scores tokens on value contribution, novelty, and diversity—preventing the cache budget from being blown on duplicate visual patches. Finally, a physical capacity transaction packs the winning K/V entries into a strict physical-byte budget, accounting for hardware padding while keeping original RoPE positions intact.
  • Shared-Source Configuration: Instead of storing two separate 16-bit vectors ($K$ and $V$) per token, this path captures the single normalized input vector before projection and quantizes it down to 3-bit codes (turning 16 KiB per position into ~1.5 KiB plus overhead). High-priority prompt entries get exact "overlays" for protection, newly generated history is losslessly coded, and the runtime reconstructs $K$ and $V$ on the fly layer-by-layer into reusable temporary buffers.
Comparison of exact selection payload packing vs. shared-source 3-bit encoding.

Datasets

Because EviCastKV is training-free, datasets are used strictly for evaluation:

  • Microsoft COCO: 256 images evaluated on image captioning (measured via CIDEr).
  • MileBench: 192 multi-image/long-context examples spanning four tasks—ActionPrediction, ActionSequence, CLEVR-Change, and Spot-the-Diff—split evenly between temporal accuracy (96 examples) and semantic ROUGE-L (96 examples). No new benchmarks were introduced.

Key Insights and Ideas

  • Compression overhead dominates decoding speedups: At matched byte capacities, actual token-by-token decoding times across methods are nearly identical (~2.8–3.1 seconds). The real latency battle is won or lost during the cache planning and construction phase—meaning papers that only report isolated decoding speedups miss the biggest bottleneck in the room.
  • Routing gives you "smart" selection on a budget: Building relationship graphs across visual and text tokens helps preserve diverse evidence under tight memory caps, and restricting that heavy lifting to 1/256th of head groups keeps the computational cost faster than even simple baselines.
  • Simple baselines are surprisingly tough: Standard Prompt Top-K selection remains fiercely competitive in output quality at moderate budgets, proving that complex token-merging schemes aren't always worth their heavy latency penalties.

Key Results

Evaluated on A100 GPUs using LLaVA-v1.6-Mistral-7B and LLaVA-1.5-7B:

  • COCO (Exact Retention @ 40 MiB cap): EviCastKV cuts initial K/V storage by 86.0% compared to an uncompressed cache. Against a local VL-Cache implementation, it boosts CIDEr from 107.84 to 111.48 (+11.34 at a tighter 10 MiB cap) while cutting total request time by 19.65% (16.68s vs. 20.75s).
  • MileBench (Exact Retention @ 16 MiB cap): Against a local LOOK-M port, EviCastKV jumps temporal Accuracy by 18.75 percentage points (21.88% vs. 3.12%) and ROUGE-L by 2.21 points, with 38.6% lower request time (14.95s vs. 24.36s). Across budgets, it runs 5.6–7.5% faster end-to-end than Prompt Top-K.
  • COCO (Shared-Source): Shrinks initial storage to 41.14 MiB (vs. 301.50 MiB uncompressed), reducing initial storage by 18.89% and decode peak memory by 10.03% compared to an adapted Top-K baseline, scoring 119.77 CIDEr at a 6.55s median request time.

Limitations and Future Work

The authors are admirably transparent about what their numbers do not prove:

  • Unisolated speedups & CUDA replay: Exact-retention timings don't isolate how much speedup comes from graph routing versus engineering choices like descriptor reuse. In shared-source mode, request-private CUDA graph replay engaged only for EviCastKV's layouts (256/256 requests vs. 0/256 for baselines), mixing representation and execution speedups together.
  • Runtime & Architectural Scope: Experiments used batch-size-one Hugging Face eager execution (without FlashAttention or PagedAttention), and shared-source encoding currently targets full multi-head attention rather than Grouped-Query Attention (GQA). Additionally, memory caps apply to initial prompt compression, not unbounded generation growth, and audited scopes exclude transient prefill buffers.
  • Next steps: Conducting clean component ablations on independent workloads, bringing graph-guided protection to the shared-source codec, supporting GQA, and integrating with fused kernels, paged memory, and batched serving.

Summary updated

BibTeX
@misc{sarker2026evicastkv,
  author = {Arup Kumar Sarker and Mills Staylor and Aymen Alsaadi and Gregor von Laszewski and Yue Cheng and Shantenu Jha and Geoffrey Fox},
  title = {{EviCastKV: Query-Conditioned Multimodal KV Cache Compression}},
  year = {2026},
  eprint = {2611.36649},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36649},
}

Loading related content...

Figure