KV-Efficient VLA: A Method to Speed up Vision Language Models with RNN-Gated Chunked KV Cache
Wanshun Xu, Long Zhuang, Lianlei Shan
TL;DR
This work tackles the real-time inference bottlenecks of Vision-Language-Action models caused by growing KV caches and long-context attention. It introduces KV-Efficient, a model-agnostic memory compression mechanism that partitions the KV cache into fixed-size chunks, aggregates each chunk with an MLP, and uses an LSTM-based recurrent gate to selectively retain high-utility history while preserving recent detail. The approach preserves a fixed recent window and compresses older context, resulting in substantial efficiency gains: approximately $24.6\%$ reduction in FLOPs, $1.34\times$ faster inference, and $1.87\times$ memory savings for KV caches, with seamless integration into existing VLA stacks. The method is validated theoretically via a cost-model and empirically on diverse VLA backbones and datasets (OpenX-Embodiment, RLBench), demonstrating scalable inference for long-horizon robotic tasks while maintaining flexibility for future real-world deployment.
Abstract
Vision-Language-Action (VLA) models offer a unified framework for robotic perception and control, but their ability to scale to real-world, long-horizon tasks is limited by the high computational cost of attention and the large memory required for storing key-value (KV) pairs during inference, particularly when retaining historical image tokens as context. Recent methods have focused on scaling backbone architectures to improve generalization, with less emphasis on addressing inference inefficiencies essential for real-time use. In this work, we present KV-Efficient VLA, a model-agnostic memory compression approach designed to address these limitations by introducing a lightweight mechanism to selectively retain high-utility context. Our method partitions the KV cache into fixed-size chunks and employs a recurrent gating module to summarize and filter the historical context according to learned utility scores. This design aims to preserve recent fine-grained detail while aggressively pruning stale, low-relevance memory. Based on experiments, our approach can yield an average of 24.6% FLOPs savings, 1.34x inference speedup, and 1.87x reduction in KV memory. Our method integrates seamlessly into recent VLA stacks, enabling scalable inference without modifying downstream control logic.
