Efficient Video Retrieval Augmented Generation via Token Allocation
Abstract
Efficient long-video understanding requires identifying relevant evidence while minimizing the tokens processed by vision-language models (VLMs). Existing video retrieval-augmented generation (RAG) methods rely on frame selection and token compression, but overlook how much each additional token is worth. We introduce Lembas, a plug-and-play framework that formulates video RAG as a token allocation problem over frames and subtitles under a shared budget. Our key insight is that the value of a token diminishes within each item and decreases further as similar evidence receives more tokens. Lembas captures both effects in a single objective and solves it with an efficient iterative water-filling algorithm that has a provable convergence guarantee. For multi-turn conversations, Lembas reuses the tokens processed in earlier turns and refines relevance with the VLM's attention at no extra cost. Our evaluations show that Lembas improves accuracy by up to 7.2 percentage points over state-of-the-art baselines at comparable compute. On multi-turn video understanding, Lembas achieves up to 1.5 percentage points higher accuracy with 1.7-17.3x fewer TFLOPs.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG, eess.IV
Related papers
RePix-VFI: Re-rendering Observed Pixels for Video Frame Interpolation with Generative Priors from One-Step Diffusion
Shared title terminologycs.CVDayeon Kim, Jeonghyeok Do, Munchurl Kim
Teaching Time Without Losing General Retrieval: Adapting Multimodal Embeddings for Time-Sensitive Video Retrieval
Shared title terminologycs.CVToya Oyama, Rainer Lienhart, Shin'ichi Satoh
PhysMend: Verification-Guided Program Refinement for Physics-Aware Video Generation
Shared title terminologycs.CVMeilong Xu, Ziyi Zhao, Bhagyashree Puranik et al.
NRG-Twins: Pixel-Level Ground Truth for Rigidity Violations in Generated Videos
Shared title terminologycs.CVChenrui Fan, Qiyang Hu, Luca Scharr et al.
Get the Next Moment Right: Short-Term Event Planning for Physically Plausible Video Generation
Shared title terminologycs.CVHao Liu, Xiang Tang, Ruotong Li et al.
BriConstrain: Geometrically Constrained Decoding for Autoregressive Brick Assembly Generation
Shared title terminologycs.CVNadav Magar, Amir Hertz, Ariel Shamir et al.