SparseVILA: Decoupling Visual Sparsity for Efficient VLM Inference
Samir Khaki, Junxian Guo, Jiaming Tang, Shang Yang, Yukang Chen, Konstantinos N. Plataniotis, Yao Lu, Song Han, Zhijian Liu
TL;DR
SparseVILA tackles the latency overhead in Vision-Language Models caused by dense visual token processing. It introduces a decoupled sparsity framework that prunes visually redundant tokens during prefill in a query-agnostic manner and performs query-aware retrieval from a preserved KV cache during decoding. This separation aligns sparsity with the distinct costs of context construction and autoregressive generation, enabling large end-to-end speedups while maintaining multi-turn fidelity across image, video, and reasoning tasks. The approach relies on efficient token-salience estimation, fast fused kernels, and careful RoPE handling, achieving up to 4.0x prefilling, 2.5x decoding, and 2.6x end-to-end speedups with robust accuracy gains, making it a practical, architecture-agnostic solution for scalable multimodal inference.
Abstract
Vision Language Models (VLMs) have rapidly advanced in integrating visual and textual reasoning, powering applications across high-resolution image understanding, long-video analysis, and multi-turn conversation. However, their scalability remains limited by the growing number of visual tokens that dominate inference latency. We present SparseVILA, a new paradigm for efficient VLM inference that decouples visual sparsity across the prefilling and decoding stages. SparseVILA distributes sparsity across stages by pruning redundant visual tokens during prefill and retrieving only query-relevant tokens during decoding. This decoupled design matches leading prefill pruning methods while preserving multi-turn fidelity by retaining most of the visual cache so that query-aware tokens can be retrieved at each conversation round. Built on an AWQ-optimized inference pipeline, SparseVILA achieves up to 4.0 times faster prefilling, 2.5 times faster decoding, and an overall 2.6 times end-to-end speedup on long-context video tasks -- while improving accuracy on document-understanding and reasoning tasks. By decoupling query-agnostic pruning and query-aware retrieval, SparseVILA establishes a new direction for efficient multimodal inference, offering a training-free, architecture-agnostic framework for accelerating large VLMs without sacrificing capability.
