Unsupervised Temporal Video Grounding with Deep Semantic Clustering

Daizong Liu, Xiaoye Qu, Yinzhen Wang, Xing Di, Kai Zou, Yu Cheng, Zichuan Xu, Pan Zhou

Introduction

Temporal Video Grounding (TVG) is the task of localizing the start and end times of an activity in a video based on a natural language sentence (e.g., "The person puts the book on the shelf"). Traditionally, this task requires fully-supervised data, consisting of thousands of videos paired with specific sentences and precise timestamps. Collecting such data is both expensive and time-consuming.

This paper introduces DSCNet, the first framework for Unsupervised Temporal Video Grounding. By leveraging deep semantic clustering, the model learns to localize video segments without ever seeing a single paired video-query example or manual timestamp during training.

The Challenge of Supervision

While weakly-supervised methods exist—requiring video-sentence pairs without timestamps—even these pairs are often unavailable in massive, uncurated datasets. The authors tackle the unsupervised frontier: learning to ground text in video when provided only with a pile of videos and a separate pile of sentences, with no prior knowledge of which sentence belongs to which video.

Comparison of supervision paradigms and an example of the TVG task.

Proposed Method: DSCNet

The Deep Semantic Clustering Network (DSCNet) operates in two main stages to bridge the gap between visual and linguistic domains:

1. Language-Based Semantic Mining

The model uses an encoder-decoder (LSTM-based) architecture to reconstruct sentences from the query set. During this process, it extracts "necks"—latent semantic features that represent the core meaning of the queries. These features are clustered into semantic centers. This approach assumes that while sentences are unique, they share common semantic themes (e.g., "sitting," "running") that can be discovered across the whole dataset.

2. Video-Based Semantic Aggregation

This module attempts to "compose" activities in the video by matching video frames to the discovered semantic clusters. It utilizes two specialized attention branches:

  • Specific Attention Branch: Matches frame-wise features to specific semantic clusters using a triplet loss to ensure that frames containing similar semantics are grouped together.
  • Foreground Attention Branch: Learns to distinguish between the actual activity (foreground) and irrelevant background frames.
Detailed architecture of the DSCNet framework, showing the semantic mining and aggregation modules.

Iterative Learning

Since there are no ground-truth labels, the model generates pseudo-labels using a clustering algorithm (N-cut). It then uses these pseudo-labels to calculate losses, update the model, and refine the labels in a virtuous cycle of iterative improvement.

Key Results

Despite having zero supervision, DSCNet achieved impressive results on standard TVG benchmarks:

  • Charades-STA: It achieved a 44.15% R@1 (IoU=0.3), which is competitive with fully-supervised baselines and actually outperforms several weakly-supervised methods (like TGA and CTF) that utilize paired data.
  • ActivityNet Captions: It reached 47.29% R@1 (IoU=0.3), showing strong performance on long-form, diverse YouTube content.

Ablation studies confirmed that both the "Specific Attention" and "Foreground Attention" branches are critical; removing either significantly degrades grounding accuracy.

Conclusion

DSCNet demonstrates that shared semantics can serve as a powerful bridge for unsupervised multi-modal tasks. By forcing the language model to reconstruct sentences through a narrow "neck" of features, the authors ensure the model captures essential semantic information rather than just memorizing words. This approach opens new possibilities for scaling video grounding to massive, uncurated datasets where manual annotation is unfeasible.

Summary updated

BibTeX
@inproceedings{liu2022unsupervised,
  author = {Daizong Liu and Xiaoye Qu and Yinzhen Wang and Xing Di and Kai Zou and Yu Cheng and Zichuan Xu and Pan Zhou},
  title = {{Unsupervised Temporal Video Grounding with Deep Semantic Clustering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i2.20060},
}
Figure