TL;DR
This paper introduces DYTO, a novel training-free framework for zero-shot video understanding that dynamically selects key frames and merges visual tokens to balance computational efficiency with semantic richness. DYTO significantly improves performance on existing benchmarks, setting a new state-of-the-art for zero-shot video understanding with image-trained MLLMs and enhancing video-fine-tuned models.
What Problem Does This Paper Address?
The field of video understanding has seen rapid progress with the advent of multimodal large language models (MLLMs). However, achieving high performance in zero-shot video tasks remains a significant challenge. Traditional methods often require extensive fine-tuning, demanding substantial data and computational resources. While training-free approaches offer efficiency, they can struggle with robustness and preserving crucial context-rich features across complex videos. Existing methods often face a trade-off between accuracy and efficiency, with aggressive token pooling risking the loss of important temporal and spatial details. This paper aims to bridge this gap by developing a method that can dynamically optimize token efficiency while preserving essential scene details for robust zero-shot video understanding.
Methods
DYTO introduces a two-pronged approach:
- Hierarchical Clustering Module: This module dynamically selects key frames by first clustering frames based on their [CLS] token embeddings. It constructs a 1-NN temporal graph to identify nearest neighbors based on temporally weighted distances, effectively partitioning the video into clusters representing distinct events. The module then recursively merges these clusters to identify multiple segmentation results, selecting the second-largest one for further processing. This ensures that critical events are captured without rigid sampling strategies.
- Dynamic Bipartite Token Merging Module: Inspired by ToMe (Token Merging), this module compresses the visual tokens from the selected key frames. It dynamically merges tokens by iteratively splitting them into two sets and merging the most similar token pairs. This process is designed to minimize the number of visual tokens while preserving semantic fidelity, striking a balance between computational efficiency and representation richness. The merging ratio is adjusted to control the final output token length.
Datasets
The paper evaluates DYTO on a variety of benchmarks for both structured and open-ended video question answering (VQA):
- Structured VQA: NExTQA, EgoSchema, IntentQA, VideoMME, and MVBench.
- Open-ended VQA: MSVD-QA, MSRVTT-QA, TGIF-QA, ANet-QA, and Video-ChatGPT Generation (VCG).
The paper does not introduce new benchmarks.
Key Insights and Ideas
- Dynamic Adaptation is Key: The core insight is that a static approach to frame sampling and token compression is insufficient for diverse video content. DYTO's dynamic clustering and merging adapt to the temporal complexity of each video, leading to more accurate and efficient representations.
- Clustering for Temporal Coherence: Hierarchical clustering proves effective in segmenting videos into semantically meaningful event chunks, allowing for more targeted key-frame selection than uniform sampling.
- Bipartite Merging for Efficiency without Sacrifice: The dynamic bipartite token merging effectively reduces redundancy without losing critical semantic information, a common pitfall in other compression methods.
- Training-Free Power: DYTO demonstrates that significant improvements in zero-shot video understanding can be achieved without task-specific fine-tuning, leveraging the inherent capabilities of pre-trained MLLMs.
Key Results
DYTO achieves state-of-the-art performance on multiple benchmarks:
- Structured VQA: DYTO outperforms existing training-free methods and even many fine-tuned models across all tested benchmarks. For instance, with the InternVL2-8B base model, DYTO achieves 81.4% accuracy on NEXTQA, significantly outperforming previous methods.
- Open-ended VQA: DYTO consistently outperforms other methods on benchmarks like MSVD-QA, MSRVTT-QA, TGIF-QA, and ANet-QA. It also shows exceptional performance on Video-ChatGPT, surpassing fine-tuned models.
- Scalability: The performance of DYTO scales well with larger base models (e.g., 34B vs. 7B), showing substantial accuracy gains across benchmarks.
- Robustness to Video Length: DYTO exhibits remarkable stability and less performance degradation on longer videos compared to other methods like IG-VLM and SlowFast-LLaVA.
Limitations and Future Work
- Limitations: While DYTO shows strong performance, the paper notes that performance can slightly degrade with increasing video length, though less so than competing methods. The choice of the hyperparameter Z (output token length) involves a trade-off, with larger values sometimes benefiting specific benchmarks but potentially degrading performance elsewhere.
- Future Work: The authors suggest extending DYTO to enhance token adaptability for real-time applications, enabling online understanding. This would further push the boundaries of training-free video understanding.
Summary updated