Described Spatial-Temporal Video Detection

Wei Ji, Xiangyan Liu, Yingfei Sun, Jiajun Deng, You Qin, Ammar Nuwanna, Mengyao Qiu, Lina Wei, Roger ZimmermannarXiv 2024

Abstract

Detecting visual content based on language expressions is a growing field. However, current Spatial-Temporal Video Grounding (STVG) is limited to detecting a single pre-existing object per frame. This work introduces Described Spatial-Temporal Video Detection (DSTVD), a more practical setting that allows for detecting zero to multiple entities. We present the DVD-ST benchmark, containing over 150 entities and complex multi-object queries. We also adapt two baseline models, TubeDETR and STCAT, to this new task. Our findings reveal a significant performance gap between single and multi-object detection, providing a new challenge for the community.

Introduction: From Grounding to Detection

For years, the primary task for connecting video and language has been Spatial-Temporal Video Grounding (STVG). STVG operates under a restrictive assumption: every text query refers to exactly one object that exists throughout the video. In real-world scenarios—such as surveillance, sports analysis, or autonomous driving—a description like "people wearing helmets" might refer to multiple individuals, a single person, or none at all.

To bridge this gap, we propose Described Spatial-Temporal Video Detection (DSTVD). Unlike STVG, DSTVD requires models to localize and track an arbitrary number of entities across time based on a single, open-ended description. This shift from "grounding" (finding the one) to "detection" (finding all) forces models to deeply understand the semantics of the query.

The DVD-ST Benchmark

To facilitate research in DSTVD, we introduced the DVD-ST (Described Video Detection - Spatial Temporal) dataset. Built upon the VidOR dataset, DVD-ST includes 5,734 descriptions across 2,750 videos, covering 163 object categories.

Comparison between VidSTG and DVD-ST annotations. VidSTG often misses multiple entities or specific spatial relations described in the query, whereas DVD-ST provides comprehensive multi-object grounding.

As shown in the comparison above, traditional datasets like VidSTG often fail to capture the full scope of a natural language query. DVD-ST addresses this by including queries that refer to up to 12 objects, involving a rich mix of appearances, actions, and complex interactions (e.g., "a dog led by someone").

Methodology: Adapting STVG Models

We adapted two state-of-the-art STVG models, TubeDETR and STCAT, into multi-object versions: TubeDETR-M and STCAT-M.

The technical adaptations include:

  • Tubelet Queries: Models use learned embeddings to represent potential object trajectories (tubes) through the video.
  • Tubelet-wise Target Assignment: We implemented a Hungarian algorithm-based matcher to link predicted tubes to ground-truth tubes by optimizing loss across the entire video sequence.
  • Three-Way Classification: A new loss function classifies every predicted box as: (1) matching the description, (2) existing but not matching, or (3) no object present.

Key Results and Insights

Our benchmarking on DVD-ST using metrics like mean video Intersection over Union (m_vIoU) and video Average Precision (video-AP) yielded several insights:

  1. The Multi-Object Gap: There is a massive performance drop when moving from single-object to multi-object queries. For instance, STCAT-M’s video-AP plummeted from 61.26 on single objects to 14.81 on multi-object cases.
  2. Description Length: Models generally performed better on longer descriptions, likely because more words provide specific spatial and temporal cues that help "tubelet queries" lock onto targets.
  3. Semantic Complexity: Queries mentioning too many different entities (e.g., "a man, a dog, and a car") caused performance to drop, suggesting models struggle with high semantic complexity and distractors.
Example of multi-object detection in DVD-ST for the query "bottles held by people in red dress," where multiple entities are correctly localized.

Conclusion

DSTVD represents a significant step toward more realistic video-language understanding. While our adapted baselines provide a starting point, the substantial performance gap in multi-object scenarios highlights the need for architectures that can better handle counting, complex text parsing, and distinguishing between similar entities.

Summary updated

BibTeX
@misc{ji2024described,
  author = {Wei Ji and Xiangyan Liu and Yingfei Sun and Jiajun Deng and You Qin and Ammar Nuwanna and Mengyao Qiu and Lina Wei and Roger Zimmermann},
  title = {{Described Spatial-Temporal Video Detection}},
  year = {2024},
  eprint = {2407.05610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.05610},
}
Figure