Skip to main content
QUICK REVIEW

[Paper Review] VideoGPT+: Integrating Image and Video Encoders for Enhanced Video Understanding

Muhammad Maaz, Hanoona Rasheed|arXiv (Cornell University)|Jun 13, 2024
Human Pose and Action RecognitionComputer Science7 citations
TL;DR

VideoGPT+ combines image and video encoders with segment-wise sampling and visual adapters to improve video understanding, achieving strong results on VCGBench, VCGBench-Diverse, MVBench and zero-shot QA, and introducing VCG+112K and VCGBench-Diverse benchmarks.

ABSTRACT

Building on the advances of language models, Large Multimodal Models (LMMs) have contributed significant improvements in video understanding. While the current video LMMs utilize advanced Large Language Models (LLMs), they rely on either image or video encoders to process visual inputs, each of which has its own limitations. Image encoders excel at capturing rich spatial details from frame sequences but lack explicit temporal context, which can be important in videos with intricate action sequences. On the other hand, video encoders provide temporal context but are often limited by computational constraints that lead to processing only sparse frames at lower resolutions, resulting in reduced contextual and spatial understanding. To this end, we introduce VideoGPT+, which combines the complementary benefits of the image encoder (for detailed spatial understanding) and the video encoder (for global temporal context modeling). The model processes videos by dividing them into smaller segments and applies an adaptive pooling strategy on features extracted by both image and video encoders. Our architecture showcases improved performance across multiple video benchmarks, including VCGBench, MVBench and Zero-shot question-answering. Further, we develop 112K video-instruction set using a novel semi-automatic annotation pipeline which further improves the model performance. Additionally, to comprehensively evaluate video LMMs, we present VCGBench-Diverse, covering 18 broad video categories such as lifestyle, sports, science, gaming, and surveillance videos. This benchmark with 4,354 question-answer pairs evaluates the generalization of existing LMMs on dense video captioning, spatial and temporal understanding, and complex reasoning, ensuring comprehensive assessment across diverse video types and dynamics. Code: https://github.com/mbzuai-oryx/VideoGPT-plus.

Motivation & Objective

  • Motivate dual-encoder fusion to leverage spatial detail from image encoders and temporal context from video encoders.
  • Propose segment-wise sampling to capture fine-grained temporal dynamics.
  • Introduce a visual adapter to project and align image and video features into language space.
  • Create high-quality, dense video descriptions and QA data (VCG+ 112K) and a diverse benchmark (VCGBench-Diverse) to enhance evaluation.

Proposed method

  • Use a dual encoder: an image encoder (pre-trained) for rich spatial features and a video encoder (pre-trained) for global temporal context.
  • Apply segment-wise sampling to divide videos into K segments and process within each segment.
  • Project image and video features into the language space via vision-language adapters (trainable) and 2x2 adaptive token pooling to reduce sequence length.
  • Concatenate image and segment-wise video embeddings with text embeddings and feed to a frozen Large Language Model fine-tuned with LoRA.
  • Train in two stages: pretraining with image-only and video-only adapters on CC-595K, then instruction-tuning with LoRA on combined features (4K context).
  • Evaluate on VCGBench, VCGBench-Diverse, MVBench, and zero-shot QA; use 16 frames for VCGBench/VCGBench-Diverse and 8 frames for MVBench.

Experimental results

Research questions

  • RQ1How does a dual-encoder (image + video) affect video-conversation performance compared to single-encoder baselines?
  • RQ2Does segment-wise sampling better preserve temporal dynamics than uniform sampling for LLM-based video understanding?
  • RQ3What is the impact of vision-language adapters and pooling strategies on aligning visual features with the language model?
  • RQ4How well do VideoGPT+ variants generalize to diverse video domains (VCGBench-Diverse) and zero-shot QA settings?

Key findings

  • VideoGPT+ achieves an average VCGBench score of 3.28, surpassing prior state-of-the-art methods.
  • On VCGBench-Diverse, VideoGPT+ attains an average of 2.47, with notable gains in spatial understanding and visual reasoning.
  • MVBench results show VideoGPT+ averaging 58.7% across 20 tasks, with improvements in several specific tasks (e.g., Action Prediction, Moving Count, Moving Attributes).
  • In zero-shot QA, VideoGPT+ outperforms prior methods across MSVD-QA, MSRVTT-QA, TGIF-QA, and ActivityNet-QA datasets (e.g., MSVD-QA 72.4 accuracy, 3.9 score).
  • Ablations indicate dual encoders outperform single-encoder setups (dual: 3.28 vs image-only 3.17 and video-only 3.20).
  • VCG+ 112K improves DO and TU with its enhanced annotation pipeline for dense descriptions and QA data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.