Enhancing Temporal Modeling of Video LLMs via Time Gating

Zi-Yuan Hu, Yiwu Zhong, Shijia Huang, Michael R. Lyu, Liwei Wang
10/8/2024
cs.CVcs.AIcs.CL

Official code: LaVi-Lab/TG-Vid (6 stars, last commit 2024-10-10).

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.

View on arXivView PDF

Code Implementations(1)

LaVi-Lab/TG-VidOfficial100%

[EMNLP 2024] Official code for "Enhancing Temporal Modeling of Video LLMs via Time Gating"

60Shell, PythonOct 3, 20242 years ago

Similar Papers

Cite this paper

@article{hu2024enhancing,
  title  = {Enhancing Temporal Modeling of Video LLMs via Time Gating},
  author = {Zi-Yuan Hu and Yiwu Zhong and Shijia Huang and Michael R. Lyu and Liwei Wang},
  year   = {2024},
  eprint = {2410.05714},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.05714v1}
}

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

Discussion