RAPID: Codec-Aware Video Decoding for Efficient Long-Video Understanding
Abstract
Recent vision-language models (VLMs) can process hour-long videos, but the large number of input frames incurs substantial inference overhead. Existing approaches to efficient long-video understanding largely overlook video decoding, which can take longer than LLM prefill. We propose RAPID (Reference- and Access-Point-Informed Decoding), a codec-aware framework that exploits information embedded in compressed bitstreams to reduce both frame decoding and selection costs. RAPID consists of two components. RAPID-Dec exploits reference-frame information and random access points to skip unnecessary frames and decode the retained frames in parallel while preserving exact reconstruction of the target frames. It achieves up to a 3.7x decoding speedup over the fastest baseline on H.264/AVC videos. RAPID-Sel uses keyframes as coarse representatives of video segments, avoiding the dense candidate decoding and scoring required by existing frame selection methods. It achieves comparable accuracy with up to a 3.0x preprocessing speedup. Together, RAPID achieves a 4.9x time to first token (TTFT) speedup on hour-long videos over a state-of-the-art frame selection method using the fastest baseline decoder.
Create a lesson
Metadata
- Categories
- cs.CV, cs.MM
- Comments
- 16 pages, 16 figures
Related papers
Speculate in the Right Order: Efficient Self-Speculative Decoding for Autoregressive Image Generation
Shared title terminologycs.CVYihan Chen, Jintao Zhang, Jun Zhu
SVUBench: A Comprehensive Benchmark for Proactive Streaming Video Understanding
Shared title terminologycs.CVYuxuan Liang, Bohan Zhang, Haiyang Yu et al.
Graph2Scene: Relation-Aware Text-to-Image Generation with Graph-Guided Diffusion Model
Shared title terminologycs.CVPeizheng Li, Xin Ai, Guanghui Cheng et al.
Diffutoon-2: Toon Shading with Video Diffusion Models
Shared title terminologycs.CVYuze Sun, Zhongjie Duan, Yingda Chen et al.
GlanceNav: Efficient Vision-and-Language Navigation with Streaming Memory and Counterfactual Rewind
Shared title terminologycs.CVAnh Dao, Quan-Dung Pham, Danh Vinh Le et al.
Certified Defense against Adversarial Patches on Traffic Signs via Mask-Aware Training
Shared title terminologycs.CVRudra Saxena, Vishal Dev Verma, Rohan Sharma et al.