FlexSelect: Flexible Token Selection for Efficient Long Video Understanding

Yun-Zhu Zhang, Yu Lu, Tianyi Wang, Feng-Yun Rao, Yi Yang +1 more
6/1/2025
25 citations
transformer-attention

No official code found. Best implementation: yunzhuzhang0918/flexselect (33 stars).

Abstract

Long-form video understanding poses a significant challenge for video large language models (VideoLLMs) due to prohibitively high computational and memory demands. In this paper, we propose FlexSelect, a flexible and efficient token selection strategy for processing long videos.

Show full abstract

FlexSelect identifies and retains the most semantically relevant content by leveraging cross-modal attention patterns from a reference transformer layer. It comprises two key components: (1) a training-free token ranking pipeline that leverages faithful cross-modal attention weights to estimate each video token's importance, and (2) a rank-supervised lightweight selector that is trained to replicate these rankings and filter redundant tokens. This generic approach can be seamlessly integrated into various VideoLLM architectures, such as LLaVA-Video, InternVL and Qwen-VL, serving as a plug-and-play module to extend their temporal context length. Empirically, FlexSelect delivers strong gains across multiple long-video benchmarks including VideoMME, MLVU, LongVB, and LVBench. Moreover, it achieves significant speed-ups (for example, up to 9 times on a LLaVA-Video-7B model), highlighting FlexSelect's promise for efficient long-form video understanding. Project page available at: https://yunzhuzhang0918.github.io/flex_select

View on arXivView PDF

Code Implementations(1)

The official repository for paper "FlexSelect: Flexible Token Selection for Efficient Long Video Understanding".

330

Similar Papers

Cite this paper

@article{zhang2025flexselect,
  title  = {FlexSelect: Flexible Token Selection for Efficient Long Video Understanding},
  author = {Yun-Zhu Zhang and Yu Lu and Tianyi Wang and Feng-Yun Rao and Yi Yang and Linchao Zhu},
  year   = {2025},
  eprint = {2506.00993},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.00993},
  url    = {https://doi.org/10.48550/arXiv.2506.00993},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.00993.svg)](https://codeofpaper.com/paper/2506.00993)

Discussion