NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VideoGPT+: Integrating Image and Video Encoders for Enhanced Video Understanding

Muhammad Maaz, Hanoona Abdul Rasheed, Salman Khan, Fahad Shahbaz Khan · Submission to ICLR 2025 · Withdrawn

TL;DR

Video Large Multimodal Models (LMMs) typically force a compromise: rely on image encoders and lose temporal context, or rely on video encoders and sacrifice high-resolution spatial detail. VideoGPT+ resolves this tradeoff by combining both—pairing a high-resolution CLIP image encoder with an InternVideo-v2 temporal encoder via a dual-encoder architecture and segment-wise sampling. Backed by a newly generated 112K instruction dataset and a comprehensive new benchmark (VCGBench-Diverse), VideoGPT+ achieves state-of-the-art results across standard open-ended and multiple-choice video benchmarks while using a compact 3.8B parameter language model.

What Problem Does This Paper Address?

Existing video LMMs generally use one of two visual encoding strategies, each with distinct drawbacks:

  1. Image encoders (e.g., CLIP ViT): They process individual frames at higher resolutions, capturing fine-grained spatial details. However, they lack explicit temporal context. Simply concatenating unpooled frame tokens quickly overflows an LLM’s context window, while standard spatial or temporal pooling discards critical action dynamics.
  2. Video encoders: They model spatiotemporal interactions directly, but memory and compute constraints force them to operate on sparse frames at lower resolutions, washing out object attributes and small spatial details.

Moreover, existing instruction tuning datasets often suffer from hallucinations and noise, and popular video benchmarks either lack domain diversity or rely strictly on multiple-choice formats that fail to probe open-ended visual reasoning.

Methods

VideoGPT+ introduces a complementary dual-stream architecture fed into a Phi-3-Mini (3.8B) language model:

  • Segment-Wise Sampling: Instead of uniform sparse sampling across the entire video, the video is split into $K$ segments of $n$ frames. The video encoder processes these segment-wise clips at $224 \times 224$ to capture local motion dynamics, while the image encoder processes sampled frames at $336 \times 336$ for spatial clarity.
  • Visual Adapters & Adaptive Pooling: Features from the penultimate layers of both encoders are mapped into the LLM token space using separate MLP adapters ($W_g$ and $W_h$). To prevent context explosion, projected visual features undergo a non-learnable $2 \times 2$ spatial adaptive average pooling, compressing visual tokens by $4\times$.
  • Sequential Feature Fusion: Rather than interleaving image and video tokens segment-by-segment, the model feeds all image tokens first, followed sequentially by all video segment tokens ($E = [E^{\text{img}}, E^{\text{vid}}_1, \dots, E^{\text{vid}}_K, E^{\text{text}}]$). This avoids distribution-shift penalties caused by alternating between distinct modality projections.
  • Two-Stage Training: Adapters are pretrained on CC-595K with frozen encoders. Instruction tuning then freezes the encoders, tunes the adapters, and applies LoRA ($r=64$) to the LLM.
Input Video ──► Segment-Wise Split
                 ├── High-Res Frames  ──► CLIP ViT-L/14   ──► Adapter + 2x2 Pool ──► [E_img] ──┐
                 └── Low-Res Segments ──► InternVideo-v2 ──► Adapter + 2x2 Pool ──► [E_vid] ──┼─► [LLM: Phi-3-Mini]
User Query   ─────────────────────────────────────────────────────────────────────► [E_text] ─┘

Datasets

  • VCG+ 112K (New Instruction Set): A semi-automated pipeline that extracts scene-adaptive keyframes via PySceneDetect, generates dense frame captions with LLaVA-v1.6, prompts GPT-4 to harmonize these into an inconsistency-free video narrative, and uses GPT-3.5 to construct 112K diverse QA pairs (spanning dense captioning, temporal flow, spatial reasoning, and causal questions).
  • VCGBench-Diverse (New Benchmark): An evaluation suite containing 877 videos across 18 domains (e.g., surveillance, traffic, gaming, science), 5 capture settings, and 6 reasoning complexities, totaling 4,354 open-ended QA pairs evaluated via GPT-3.5.
  • Standard Datasets: Evaluated on VCGBench, MVBench, Video-MME, and four zero-shot QA benchmarks (MSVD-QA, MSRVTT-QA, TGIF-QA, ActivityNet-QA).

Key Insights and Ideas

  • Spatial and Temporal Encoders Are Truly Complementary: Ablation shows the dual encoder outperforms either single-encoder setup. GPT-4 preference judging selected the dual-encoder output over image-only or video-only models in 51% of VCGBench cases.
  • Sequential Beats Interleaved Concatenation: Feeding all image tokens followed by all video tokens achieved higher performance than interleaving them per segment (3.28 vs. 3.26 average on VCGBench). Separate adapters create distinct latent distributions; interleaving them introduces disruptive feature shifts.
  • Spatial Pooling Over Temporal Pooling for Video Features: Pooling video features spatially ($2 \times 2$) preserved temporal fidelity far better than pooling across time (3.28 vs. 3.23), proving temporal ordering across tokens should be left intact for the LLM.

Key Results

  • VCGBench: Achieved a top average score of 3.28 (surpassing IG-VLM at 3.03 and Chat-UniVi at 2.99).
  • VCGBench-Diverse: Reached an average score of 2.47, outperforming open-source baselines such as VideoChat2 (2.20) and Chat-UniVi (2.29), showing strong gains in spatial (+7.4%) and temporal (+4.6%) metrics.
  • MVBench: Achieved 58.7% overall accuracy across 20 fine-grained temporal tasks—a +7.6% leap over VideoChat2 (51.1%), setting SOTA in 14 of 20 categories, including dramatic gains in Moving Attributes (+32%) and Object Existence (+27.5%).
  • Video-MME & Zero-Shot QA: Scored 48.7% on Video-MME (vs. 39.5% for VideoChat2) and established strong zero-shot QA marks, including 74.6% accuracy on TGIF-QA and 72.4% on MSVD-QA.

Limitations and Future Work

  • Precise Action Localization: The authors note the model still struggles with fine-grained temporal timestamp boundary prediction.
  • Extreme Long-Form Video: While segment-wise sampling handles minutes-long videos effectively, scaling to multi-hour streams without information loss remains an open challenge.
  • Complex Spatial Trajectories: Navigating continuous camera movements and long visual paths still challenges the combined representations.

Summary updated

BibTeX
@misc{maaz2024videogpt,
  author = {Muhammad Maaz and Hanoona Abdul Rasheed and Salman Khan and Fahad Shahbaz Khan},
  title = {{VideoGPT+: Integrating Image and Video Encoders for Enhanced Video Understanding}},
  year = {2024},
  eprint = {2406.09418},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.09418},
}
Figure