Reproduce “Make Your LVLM KV Cache More Lightweight” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xihao Chen, Yangyang Guo, Roger Zimmermann

Researchers from the National University of Singapore developed LightKV, a training-free method to reduce GPU memory for the Key-Value (KV) cache in Large Vision-Language Models (LVLMs) during inference prefill. This approach employs prompt-guided hierarchical compression of vision tokens, reducing KV cache size by approximately 50% and computation by up to 40% while maintaining or enhancing model performance across multiple benchmarks.

Key insights

  • Significant redundancy exists among vision-token embeddings, which can be effectively exploited for compression without substantial performance degradation if guided by cross-modal relevance.
  • Prompt-aware guidance, derived from the model's inherent attention mechanisms between vision and text tokens, is crucial for preserving pertinent information during vision token aggregation and maintaining LVLM performance.
  • A hierarchical compression strategy that combines local (intra-window) and broader (inter-window) aggregation across different decoder layers balances the preservation of spatial coherence with the integration of global semantic context.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.