D-CoDe: Scaling Image-Pretrained VLMs to Video via Dynamic Compression and Question Decomposition

Yiyang Huang, Yizhou Wang, Yun Fu
10/9/2025
cs.CVcs.AI

Official code: hukcc/D-CoDe (6 stars, Apache-2.0, last commit 2026-03-24).

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.

View on arXivView PDF

Code Implementations(1)

hukcc/D-CoDeOfficial100%
Apache-2.0

[EMNLP 2025] D-CoDe: Scaling Image-Pretrained VLMs to Video via Dynamic Compression and Question Decomposition

60Shell, PythonSep 2, 20257 months agoApache-2.0
emnlpmultimodaltraining-freevideo-qavideo-understanding+2 more

Similar Papers

Cite this paper

@article{huang2025dcode,
  title  = {D-CoDe: Scaling Image-Pretrained VLMs to Video via Dynamic Compression and Question Decomposition},
  author = {Yiyang Huang and Yizhou Wang and Yun Fu},
  year   = {2025},
  eprint = {2510.08818},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.08818v1}
}

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/2510.08818.svg)](https://codeofpaper.com/paper/2510.08818)

Discussion