Online Video Understanding: OVBench and VideoChat-Online

Zhenpeng Huang, Xinhao Li, Jiaqi Li, Jing Wang, X. Zeng, Cheng Liang, Tao Wu, Xi Chen, Liang Li, Limin Wang · DOI

Abstract

Multimodal Large Language Models (MLLMs) have significantly progressed in offline video understanding. However, applying these models to real-world scenarios, such as autonomous driving and human-computer interaction, presents unique challenges due to the need for real-time processing of continuous online video streams. To this end, this paper presents systematic efforts from three perspectives: evaluation benchmark, model architecture, and training strategy. First, we introduce OVBench, a comprehensive question-answering benchmark designed to evaluate models' ability to perceive, memorize, and reason within online video contexts. It features 6 core task types across three temporal contexts—past, current, and future—forming 16 subtasks from diverse datasets. Second, we propose a new Pyramid Memory Bank (PMB) that effectively retains key spatiotemporal information in video streams. Third, we proposed an offline-to-online learning paradigm, designing an interleaved dialogue format for online video data and constructing an instruction-tuning dataset tailored for online video training. This framework led to the development of VideoChat-Online, a robust and efficient model for online video understanding. Despite the lower computational cost and higher efficiency, VideoChat-Online outperforms existing state-of-the-art offline and online models across popular offline video benchmarks and OVBench, demonstrating the effectiveness of our model architecture and training strategy.

Introduction: The Shift to Online Video Understanding

While current Multimodal Large Language Models (MLLMs) excel at analyzing static video clips (offline understanding), they often falter when faced with continuous, real-time video streams. Real-world applications like autonomous driving, robotics, and augmented reality require "online" understanding. In these settings, the model must differentiate between the immediate present and the distant past, handle an infinite stream of incoming data without memory overflow, and provide contextually relevant answers that change as the video progresses.

OVBench: A Comprehensive Online Video Benchmark

To evaluate models in these dynamic environments, the researchers introduced OVBench. Unlike traditional benchmarks that provide a complete clip for a single question, OVBench simulates a streaming environment. It comprises approximately 7,000 human-verified annotations across seven diverse domains, including movies, road scenes, and instructional videos.

Overview of the six core task types in OVBench across past, current, and future temporal contexts.

The benchmark evaluates six core dimensions of online perception:

  1. Spatial Perception: Identifying object positions in the current frame.
  2. Spatio-Temporal Perception: Tracking movements over short intervals.
  3. Temporal Perception: Localizing actions and sequences.
  4. Hallucination: Verifying the continued presence or state of objects.
  5. Past Memory: Recalling specific details or actions from earlier in the stream.
  6. Future Prediction: Anticipating upcoming actions or movements.

The VideoChat-Online Architecture

The core technical innovation of VideoChat-Online is the Pyramid Memory Bank (PMB). Standard models struggle with long videos because storing every frame's high-resolution tokens quickly exceeds memory limits. The PMB addresses this by mimicking human hierarchical memory.

The Pyramid Memory Bank (PMB) architecture, showing the hierarchical layers and the frame eviction/down-writing flow.

The PMB consists of three specialized layers:

  • Temporal Layer ($m_t$): Captures high-frequency temporal details for fast-moving actions.
  • Main Layer ($m_{main}$): Maintains a balance of spatial and temporal information.
  • Spatial Layer ($m_s$): Preserves high-resolution spatial details for fine-grained object recognition.

As new frames arrive, older tokens are "evicted" from high-detail layers and "down-written" into lower-resolution, more abstract representations in deeper layers. This allows the model to maintain a massive temporal receptive field while keeping the total token count fixed (e.g., at 832 tokens), ensuring constant-time inference and low memory usage.

Training Strategy: Offline-to-Online Learning

VideoChat-Online employs a two-stage training paradigm. First, it undergoes standard offline training to build a foundation in general video understanding. Second, it is fine-tuned using a novel interleaved dialogue format. In this stage, the model is presented with a continuous video stream and asked multiple questions at different "current" timestamps. This forces the model to learn state tracking and distinguish between temporal contexts (past vs. present). The researchers curated a 96k-sample instruction-tuning dataset from 12 existing sources to support this training.

Results and Performance

VideoChat-Online, despite having only 4 billion parameters (InternViT-300M + Phi-3), demonstrates remarkable efficiency and accuracy:

  • Superior Accuracy: On OVBench, it outperformed the 7B-parameter Qwen2-VL by 4.19% and the specialized online model Flash-VStream by 23.7%.
  • Memory Efficiency: It requires only 8.71 GB of VRAM for evaluation. In contrast, many larger models suffered from Out-Of-Memory (OOM) errors when attempting the same long-context streaming tasks.
  • Generalization: The model also remains competitive on traditional offline benchmarks, achieving 54.7% on EgoSchema and 54.4% on VideoMME.

Conclusion

VideoChat-Online represents a significant step toward practical, real-time video AI. By combining a biologically inspired memory architecture with a specialized online training paradigm and a rigorous new benchmark, the authors have demonstrated that smaller, more efficient models can outperform larger counterparts in the challenging domain of streaming video understanding.

Summary updated

BibTeX
@inproceedings{huang2025online,
  author = {Zhenpeng Huang and Xinhao Li and Jiaqi Li and Jing Wang and X. Zeng and Cheng Liang and Tao Wu and Xi Chen and Liang Li and Limin Wang},
  title = {{Online Video Understanding: OVBench and VideoChat-Online}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00316},
}
Figure