FLoC: Facility Location-Based Efficient Visual Token Compression for Long Video Understanding
Janghoon Cho, Jungsoo Lee, Munawar Hayat, Kyuwoong Hwang, Fatih Porikli, Sungha Choi
TL;DR
Long video understanding is hampered by explosive visual token counts. The paper proposes FLoC, a training-free, model-agnostic, and query-agnostic token-compression method based on the submodular facility location function $f(S) = \sum_{v\in V} \max_{u\in S} \mathrm{sim}(v,u)$ with cosine similarity $\mathrm{sim}(v,u) = \frac{v^\top u}{\|v\|\|u\|}$, solved efficiently by a lazy greedy algorithm under a budget $|S|\le K$. The selected token subset is concatenated with text prompts and fed into video-LMMs, enabling efficient processing of long videos. Extensive experiments on Video-MME, MLVU, and LongVideoBench demonstrate that FLoC surpasses clustering- and pruning-based baselines in accuracy and speed, highlighting its practical impact for scalable long-video understanding in real-world applications.
Abstract
Recent studies in long video understanding have harnessed the advanced visual-language reasoning capabilities of Large Multimodal Models (LMMs), driving the evolution of video-LMMs specialized for processing extended video sequences. However, the scalability of these models is severely limited by the overwhelming volume of visual tokens generated from extended video sequences. To address this challenge, this paper proposes FLoC, an efficient visual token compression framework based on the facility location function, a principled approach that swiftly selects a compact yet highly representative and diverse subset of visual tokens within a predefined budget on the number of visual tokens. By integrating the lazy greedy algorithm, our method achieves remarkable efficiency gains by swiftly selecting a compact subset of tokens, drastically reducing the number of visual tokens while guaranteeing near-optimal performance. Notably, our approach is training-free, model-agnostic, and query-agnostic, providing a versatile solution that seamlessly integrates with diverse video-LLMs and existing workflows. Extensive evaluations on large-scale benchmarks, such as Video-MME, MLVU, and LongVideoBench, demonstrate that our framework consistently surpasses recent compression techniques, highlighting not only its effectiveness and robustness in addressing the critical challenges of long video understanding, but also its efficiency in processing speed.
