Abstract
Traditional video grounding (VG) focuses on locating specific segments in pre-recorded videos using text descriptions. However, real-world scenarios like live surveillance and interactive search demand an "online" approach capable of processing streaming data and handling diverse query types. This paper introduces Online Video Grounding with Hybrid-modal Queries (OVG-HQ), a novel task that utilizes text, images, and video clips as queries for streaming video. We propose the OVG-HQ-Unify framework, which leverages a Parametric Memory Block (PMB) for efficient long-term memory and a hybrid distillation strategy to balance multi-modal inputs. Our model achieves state-of-the-art performance on the new QVHighlights-Unify benchmark while maintaining high-speed processing (45.95 FPS).
Introduction
Video grounding is a fundamental task in computer vision, yet it has historically been constrained by two major assumptions: the "offline" assumption, where the entire video is available for processing, and the "text-only" limitation, where queries are restricted to natural language. These constraints limit the utility of VG in dynamic environments like live broadcasts or security monitoring.
To bridge this gap, we propose the OVG-HQ task. Unlike traditional VG, OVG-HQ requires models to identify events in a streaming fashion, where "future" frames are unknown. Furthermore, it allows for hybrid-modal queries, enabling users to search for events using visual examples (images or short clips) alongside or instead of text.
The OVG-HQ-Unify Framework
The technical challenges of OVG-HQ include managing memory without linear computational growth and preventing "modality imbalance," where models over-rely on text. Our solution, OVG-HQ-Unify, addresses these through two primary innovations.
Parametric Memory Block (PMB)
Efficiently remembering past frames is critical for online grounding. Instead of traditional RNNs or large external memory banks, we introduce the Parametric Memory Block (PMB). This component utilizes Test-Time Training (TTT), where the model's own weights serve as a high-capacity memory. As the video streams, the model performs rapid self-supervised updates to these weights, effectively "compressing" historical information. This allows the model to maintain a rich representation of the past with minimal latency (approx. 0.3ms per frame).
Hybrid Distillation and Fusion
To ensure the model effectively utilizes visual queries, we employ a hybrid distillation strategy. A "teacher" model, trained on high-quality text and video segments, guides a "student" model to extract robust features from weaker or static visual queries (like a single image). This prevents the model from ignoring visual cues in favor of text, a common failure mode in multi-modal systems.
Dataset: QVHighlights-Unify
To support this new task, we developed the QVHighlights-Unify dataset. We augmented the existing QVHighlights benchmark with:
- Synthetic Queries: Images and 6-second segments generated via Stable Diffusion and CogVideoX.
- Retrieved Queries: Semantically similar images sourced from the web.
- Complementary Pairs: Query sets where text and images provide distinct, necessary information for successful grounding.
We also introduced new "online" metrics, such as omAP and oR@n, which incorporate a decay factor to penalize late detections, reflecting the real-world importance of timeliness in streaming applications.
Results and Discussion
OVG-HQ-Unify demonstrates superior performance across multiple benchmarks. On QVHighlights-Unify, it achieved an [email protected] of 23.26%, outperforming the previous state-of-the-art online model, TwinNet (20.78%). The model is highly efficient, running at 45.95 FPS on a single NVIDIA RTX 4090, making it suitable for real-time applications.
Furthermore, the model's robust memory architecture allows it to excel even on text-only datasets like ANet-Captions and TACoS, proving that the TTT-based memory is a powerful general-purpose tool for online video understanding.
Conclusion
The shift toward online, hybrid-modal video grounding represents a significant step toward more natural and useful AI assistants. By treating model weights as dynamic memory and proactively balancing input modalities, OVG-HQ-Unify provides a scalable and efficient foundation for future research in live video analysis. Future work will explore the model's performance on long-form surveillance footage and messy, real-world visual queries.
Summary updated