Efficient Temporal Extrapolation of Multimodal Large Language Models with Temporal Grounding Bridge

Yuxuan Wang, Yueqian Wang, Pengfei Wu, Jianxin Liang, Dongyan Zhao, Zilong Zheng, Zheng, Zilong · DOI

Abstract

Despite progress in multimodal large language models (MLLMs), the challenge of interpreting long-form videos in response to linguistic queries persists, largely due to the inefficiency in temporal grounding and limited pre-trained context window size. In this work, we introduce Temporal Grounding Bridge (TGB), a novel framework that bootstraps MLLMs with advanced temporal grounding capabilities and broadens their contextual scope. Our framework significantly enhances the temporal capabilities of current MLLMs through three key innovations: an efficient multi-span temporal grounding algorithm applied to low-dimension temporal features projected from flow; a multimodal length extrapolation training paradigm that utilizes low-dimension temporal features to extend the training context window size; and a bootstrapping framework that bridges our model with pluggable MLLMs without requiring annotation. We validate TGB across seven video benchmarks and demonstrate substantial performance improvements compared with prior MLLMs. Notably, our model, initially trained on sequences of four frames, effectively handles sequences up to 16x longer without sacrificing performance, highlighting its scalability and effectiveness in real-world applications.

Introduction

While MLLMs like BLIP-2 or LLaVA excel at describing static images, they struggle with long-form video due to two major hurdles: computational efficiency and context window limits. Processing hundreds of high-resolution frames through a massive Vision Transformer (ViT) is prohibitively expensive. Furthermore, most models are trained on short clips (e.g., 4-8 frames); when faced with longer videos at inference time, their performance typically collapses because they haven't learned to handle longer temporal sequences. Current solutions often rely on sparse sampling, which misses critical motion details. The Temporal Grounding Bridge (TGB) addresses this by creating a mechanism that identifies exactly where to look in a long video without processing every frame at high resolution.

Methodology

The TGB framework introduces a lightweight architecture designed to be "pluggable" with existing MLLMs. It consists of three main components:

  1. Low-Dimension Motion Features: Instead of feeding every frame into a heavy visual encoder, TGB extracts optical flow features. These are projected into a low-dimensional space using a simple CNN and MLP, capturing the video's "action" at a fraction of the computational cost.
  2. Temporal Grounding Bridge (TGB): A lightweight 6-layer Transformer that takes the user's text query and motion features to identify "salient spans"—specific moments relevant to the question. It then selects the top-$k$ keyframes to pass to the heavy MLLM.
  3. Multimodal Length Extrapolation: To solve the context window problem, the framework utilizes Rotary Position Embeddings (RoPE). This allows the model to generalize to temporal sequences much longer than those seen during training.
The TGB architecture showing the flow from input video and language query through the Temporal Grounding Bridge to a pluggable MLLM.

Additionally, TGB employs a bootstrapping strategy to train without human labels. It uses the MLLM’s own predictions on sampled frames to generate "pseudo-labels," which are then used to train the TGB via a Gumbel-Softmax joint optimization.

Experimental Results

The authors validated TGB across seven diverse benchmarks, including Long-form VideoQA (AGQA 2.0, NExT-QA, EgoSchema), Open-Domain VideoQA (MSVD, MSRVTT, ActivityNet), and Temporal Grounding (NExT-GQA).

Efficiency and Accuracy

TGB-BLIP2 achieved state-of-the-art results on the AGQA benchmark while using significantly fewer trainable parameters and lower computational overhead (FLOPs) than competitors like SeViLA. On AGQA 2.0, adding TGB to BLIP-2 boosted accuracy by 7.45 points.

Temporal Extrapolation

A key finding is the model's ability to perform "temporal extrapolation." On the EgoSchema benchmark, the model was trained on 4-frame sequences but maintained consistent, and even improving, performance when extrapolated to 64 frames. This 16x leap demonstrates that by using RoPE, a model can learn the logic of time on short clips and apply it effectively to long ones.

Comparison of TGB against other models. (A) Accuracy vs. Trainable Parameters shows TGB's efficiency. (B) Accuracy vs. Number of Frames highlights TGB's superior extrapolation capability.

Conclusion

The Temporal Grounding Bridge provides a scalable and efficient way to upgrade the temporal capabilities of existing MLLMs. By treating motion as a low-resolution map to guide expensive visual encoders and utilizing extrapolation techniques, TGB achieves high performance on long-form video tasks with minimal training overhead. Future work may focus on scaling the TGB architecture to handle even more complex, multi-step temporal logic.

Summary updated

BibTeX
@inproceedings{wang2024efficient,
  author = {Yuxuan Wang and Yueqian Wang and Pengfei Wu and Jianxin Liang and Dongyan Zhao and Zilong Zheng and Zheng, Zilong},
  title = {{Efficient Temporal Extrapolation of Multimodal Large Language Models with Temporal Grounding Bridge}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.556},
}
Figure