D-CoDe: Scaling Image-Pretrained VLMs to Video via Dynamic Compression and Question Decomposition
Yiyang Huang, Yizhou Wang, Yun Fu
TL;DR
D-CoDe presents a training-free framework to scale image-pretrained vision-language models to video by addressing two bottlenecks: the perception bottleneck and token overload. It combines dynamic compression—adaptive frame selection and spatial token pruning/merging guided by semantic content—with question decomposition to reformulate queries into focused sub-questions, enabling better utilization of visual tokens. Across multiple VideoQA benchmarks, D-CoDe delivers strong gains, notably surpassing some training-required methods on EgoSchema and achieving top open-ended results on short- and long-form videos. The work demonstrates a practical, scalable path to leverage image-based VLMs for diverse video understanding tasks, while acknowledging limitations in highly dynamic scenes and suggesting future enhancements such as slow-fast integration and memory-augmented temporal reasoning.
Abstract
Video large language models (Vid-LLMs), which excel in diverse video-language tasks, can be effectively constructed by adapting image-pretrained vision-language models (VLMs). However, this adaptation remains challenging, as it requires processing dense and temporally extended visual inputs that exceed the capacity of image-based models. This paper identifies the perception bottleneck and token overload as key challenges in extending image-based VLMs to the video domain. To address these issues, we propose D-CoDe, a training-free adaptation framework that incorporates dynamic compression and question decomposition. Specifically, dynamic compression alleviates the perception bottleneck through adaptive selection of representative frames and content-aware aggregation of spatial tokens, thereby reducing redundancy while preserving informative content. In parallel, question decomposition mitigates token overload by reformulating the original query into sub-questions, guiding the model to focus on distinct aspects of the video and enabling more comprehensive understanding. Experiments demonstrate that D-CoDe effectively improves video understanding across various benchmarks. Furthermore, strong performance on the challenging long-video benchmark highlights the potential of D-CoDe in handling complex video-language tasks. Code is available at https://github.com/hukcc/D-CoDe.
