Enhancing Temporal Modeling of Video LLMs via Time Gating
Zi-Yuan Hu, Yiwu Zhong, Shijia Huang, Michael R. Lyu, Liwei Wang
TL;DR
The paper tackles the gap in temporal modeling within Video LLMs, proposing Time Gating (TG) to enhance temporal-aware video understanding. TG-Vid inserts a module-specific Time Gating mechanism between a frozen vision encoder and QFormer, gating spatial, temporal, and MLP sub-paths over $T$ video frames and per-frame query length $L_q$. Experiments on MVBench, TempCompass, and NExT-QA show TG-Vid achieving state-of-the-art results, with ablations confirming the effectiveness of the TG design and its components. The work contributes a practical method to improve temporal reasoning in multimodal video-language models, with potential extensions to longer videos and broader video-language tasks.
Abstract
Video Large Language Models (Video LLMs) have achieved impressive performance on video-and-language tasks, such as video question answering. However, most existing Video LLMs neglect temporal information in video data, leading to struggles with temporal-aware video understanding. To address this gap, we propose a Time Gating Video LLM (TG-Vid) designed to enhance temporal modeling through a novel Time Gating module (TG). The TG module employs a time gating mechanism on its sub-modules, comprising gating spatial attention, gating temporal attention, and gating MLP. This architecture enables our model to achieve a robust understanding of temporal information within videos. Extensive evaluation of temporal-sensitive video benchmarks (i.e., MVBench, TempCompass, and NExT-QA) demonstrates that our TG-Vid model significantly outperforms the existing Video LLMs. Further, comprehensive ablation studies validate that the performance gains are attributed to the designs of our TG module. Our code is available at https://github.com/LaVi-Lab/TG-Vid.
