TL;DR
FlexiVideo is a novel video Multimodal Large Language Model (MLLM) that dynamically adjusts its temporal perception window based on visual variation. By grouping visually similar frames into longer segments and highly dynamic frames into shorter ones, it reduces visual token overhead by up to 43.5% while simultaneously improving accuracy on complex motion and long-video benchmarks.
What Problem Does This Paper Address?
Most state-of-the-art video MLLMs treat all video frames identically, applying a uniform sampling rate or a fixed multi-frame compression ratio. For example, Qwen2.5-VL uses 3D convolutions to patchize rigid, fixed-size pairs of adjacent frames.
The authors point out two major flaws with this rigid approach:
- Redundancy: Low-dynamic or static scenes are over-sampled, wasting precious token budget and computation.
- Visual Confusion: When a fixed window spans a sharp scene transition or high-dynamic action, forcing those disparate frames into a single embedding causes "visual confusion," leading to hallucinations and temporal reasoning errors.
FlexiVideo introduces a content-adaptive approach that mimics the human visual system—allocating more processing granularity to fast-moving action and compressing static scenes.
Methods
FlexiVideo introduces two core, synergistic modules that plug into existing vision-language architectures without requiring modifications to the backbone network:
- Adaptive Temporal Segmentation (ATS): This module calculates an inter-frame difference metric (using an $L_2$ norm of normalized pixel differences). It iteratively groups consecutive frames with subtle visual changes into variable-length "scene segments." Static scenes get long windows, while high-motion scenes are split into dense, short windows.
- Dynamical Spatio-Temporal Embedding (DSTE): To process these variable-length segments without parameter explosion, DSTE dynamically resizes a single, shared 3D convolutional patch embedding kernel. Inspired by spatial resizing in FlexiViT, it uses a mathematical resampling matrix and its pseudo-inverse to ensure consistent convolutional responses across arbitrary temporal lengths.
Additionally, the authors use a Temporal Extension Initialization strategy to scale up pre-trained weights from shorter windows (like Qwen2.5-VL) via periodic replication and normalization, avoiding training from scratch.
Datasets
- Training: The model was fully fine-tuned on 140k samples, combining 35k images from PixMo and 105k videos (75k from LLaVA-Video-178K and 30k from ShareGPT4Video).
- Evaluation: FlexiVideo was tested across 6 mainstream benchmarks covering diverse scenarios:
- Comprehensive: Video-MME and MLVU
- Long-form: LongVideoBench and LVBench
- Motion-focused: MotionBench and FavorBench
Key Insights and Ideas
- The Dual Role of Temporal Dynamics: High-dynamic sequences contain the richest semantic cues for action recognition, but rigid multi-frame encoding disrupts the model's ability to maintain semantic consistency. Eliminating frame differences in high-dynamic pairs via frame repetition actually improves baseline model performance, proving that visual confusion is a major bottleneck.
- Semantic Smoothness Matters: By dynamically aligning the embedding window with actual scene boundaries, FlexiVideo produces smoother, more stable feature trajectories in the embedding space, preventing token drift and subsequent text hallucinations during event transitions.
Key Results
FlexiVideo-3B consistently outperformed its base model, Qwen2.5-VL-3B, and other larger open-source models across all evaluated benchmarks:
- Efficiency Gain: On MotionBench at 10 FPS, FlexiVideo-3B achieved a 1.3% performance gain while reducing visual tokens by 43.5% compared to Qwen2.5-VL-3B.
- State-of-the-Art Performance: It achieved 62.5% accuracy on Video-MME (without subtitles), setting a new benchmark for 3B-class models.
- Memory & Token Reduction: As shown in the benchmark breakdown, the dynamic strategy significantly lowers peak memory and token counts compared to a fixed 2-frame encoding baseline.
Limitations and Future Work
The authors note that the hyperparameters for the system—specifically the temporal variation threshold ($\tau$) used to split scenes—were not exhaustively tuned, leaving room for further optimization.
Moving forward, the team plans to explore even more efficient visual perception methods and extend this adaptive, scene-level framework to handle more complex, multi-modal tasks beyond standard video QA.
Summary updated