Contrast-Unity for Partially-Supervised Temporal Sentence Grounding

Haicheng Wang, Chen Ju, Weixiong Lin, Chaofan Ma, Shuai Xiao, Ya Zhang, Yanfeng Wang

Introduction

Temporal Sentence Grounding (TSG) is a critical task in video understanding that involves localizing specific events in untrimmed videos based on natural language queries. Traditionally, research has focused on two paradigms: Fully-Supervised TSG (FTSG), which requires precise manual boundary annotations, and Weakly-Supervised TSG (WTSG), which relies only on video-level labels. While FTSG is accurate but expensive, WTSG is scalable but often lacks precision.

This paper explores a middle ground: Partially-Supervised TSG (PTSG). In this setting, annotators provide only a single frame or a short clip within the event. To leverage this sparse supervision, the authors propose the Contrast-Unity Framework, a two-stage approach that bridges the performance gap between weak and full supervision.

The Contrast-Unity Framework

The framework is divided into two distinct stages: an implicit stage for generating high-quality pseudo-labels and an explicit stage for final model training.

The Contrast-Unity Framework architecture, showing the Implicit Stage for pseudo-label generation and the Explicit Stage for model refinement.

1. The Implicit Stage (Pseudo-Label Generation)

In the implicit stage, the model uses the partial label (a single timestamp or short clip) as a "seed anchor." An event detector predicts the full temporal boundaries around this anchor. To ensure accuracy, the authors introduce Quadruple Contrastive Learning, which optimizes four distinct relationships:

  • Intra-Sample Multi-Modal: Aligns visual event features with textual query features.
  • Intra-Sample Uni-Modal: Differentiates visual event features from background features within the same video to sharpen temporal boundaries.
  • Inter-Sample Multi-Modal: Clusters semantically similar queries across the dataset to pull related video-query pairs together.
  • Inter-Sample Uni-Modal: Pushes apart visual features of events belonging to different semantic clusters.

2. The Explicit Stage (Refinement)

The boundaries generated in the implicit stage serve as "grounding pseudo-labels." In the explicit stage, these labels are used to train an off-the-shelf fully-supervised TSG model. This modular design allows the framework to benefit from any future advancements in fully-supervised architectures by simply swapping the model in this stage.

Evaluation and Results

The framework was evaluated on the Charades-STA and ActivityNet Captions benchmarks. The results demonstrate that partial supervision can achieve performance remarkably close to full supervision at a fraction of the annotation cost.

Performance comparison on Charades-STA and ActivityNet Captions across different supervision settings (F: Full, W: Weak, SG: Single-frame, SC: Short-clip).

Key Findings

  • State-of-the-Art Performance: Under single-frame supervision, the framework achieved a +7.74% mIoU improvement over previous state-of-the-art methods like ViGA on Charades-STA.
  • Closing the Gap: With just a 4-second short-clip annotation, the performance gap between this partially-supervised method and top-tier fully-supervised models (like BM-DETR) shrinks to approximately 1.5%.
  • Robustness and Generalization: The system proved robust to various partial label distributions (e.g., Gaussian vs. uniform sampling) and successfully generalized across different underlying fully-supervised models, including IA-Net and SDN.

Conclusion

The Contrast-Unity Framework effectively addresses the limitations of both fully and weakly supervised TSG. By utilizing quadruple contrastive learning to refine sparse partial labels into dense pseudo-labels, it provides a scalable and high-performance solution for temporal grounding. Its modular "plug-and-play" nature ensures it remains relevant as fully-supervised models continue to evolve.

Summary updated

BibTeX
@inproceedings{wang2025contrast,
  author = {Haicheng Wang and Chen Ju and Weixiong Lin and Chaofan Ma and Shuai Xiao and Ya Zhang and Yanfeng Wang},
  title = {{Contrast-Unity for Partially-Supervised Temporal Sentence Grounding}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=D0Y2XTXioo},
}
Figure