WSLLN: Weakly Supervised Natural Language Localization Networks

Mingfei Gao, Larry Davis, Richard Socher, Caiming Xiong

Abstract

Weakly Supervised Natural Language Localization Networks (WSLLN) is a novel framework designed to identify specific events in long, untrimmed videos using only text queries, without requiring temporal boundary annotations during training. By employing a dual-branch architecture that decouples semantic matching from temporal selection, WSLLN achieves state-of-the-art performance for weakly supervised methods and even surpasses some fully supervised baselines.

Introduction

Natural Language Localization (NLL) involves retrieving a specific temporal segment from a video based on a free-form text query (e.g., "the person starts to jump over the hurdle"). Traditionally, training effective NLL models requires "strong supervision," where human annotators manually mark the exact start and end timestamps for every sentence across thousands of videos. This process is prohibitively expensive and difficult to scale.

WSLLN addresses this "annotation bottleneck" through a weakly supervised approach. In this paradigm, the model is trained only on video-sentence pairs. It knows a sentence describes an event within a video but lacks information on where or when it occurs. The challenge lies in learning fine-grained alignment between visual segments and text using only these coarse, video-level labels.

Proposed Method: Two-Branch Architecture

WSLLN utilizes an end-to-end structure that processes text queries via BERT and extracts visual features from video proposals using standard encoders like C3D or VGG. The core innovation is its two-branch architecture, inspired by weakly supervised object detection techniques.

Figure 1: The WSLLN architecture featuring the dual alignment and detection (selection) branches for video-sentence matching.
  1. Alignment Branch: This branch measures semantic consistency between the text and each visual proposal independently, determining if a clip matches the description.
  2. Selection (Detection) Branch: This branch performs a softmax operation across all proposals in a video. It introduces competition between segments to identify which clip is the most representative of the description.
  3. Score Merging and Pseudo-Labeling: The final score for a segment is the product of the alignment and selection scores. To refine localization, the model employs a pseudo-labeling strategy where it treats its own highest-scoring segment as a "pseudo-ground truth" during training, encouraging sharper and more precise predictions.

Experimental Results

The authors evaluated WSLLN on two major benchmarks: ActivityNet Captions (20k videos, 100k pairs) and DiDeMo (10k videos, 40k pairs). In both cases, temporal annotations were hidden during training to simulate the weakly supervised setting.

Performance Comparison

WSLLN demonstrated significant improvements over existing weakly supervised methods. On ActivityNet Captions, it achieved a Mean IoU (mIoU) of 32.2%, notably outperforming the previous state-of-the-art, WSDEC-W (28.2%). Remarkably, it also surpassed the fully supervised CTRL model, which achieved only 20.5% mIoU.

Figure 3: Performance comparison on ActivityNet Captions. WSLLN (WS=T) outperforms previous weakly supervised methods and the supervised CTRL baseline.

Key Insights

  • Separation of Concerns: Ablation studies revealed that removing either the alignment or selection branch caused performance to drop drastically (mIoU falling from 32.2% to ~13%). This confirms that content matching and temporal localization are distinct tasks that benefit from specialized branches.
  • The Power of Pseudo-Labels: Despite the lack of real timestamps, using self-generated pseudo-GT labels helps the model converge on more precise boundaries.
  • Robustness: While BERT was used for text encoding, experiments showed that simpler GRU encoders still yielded competitive results, indicating that the strength of WSLLN lies in its architectural design rather than just the language model.

Conclusion and Future Work

WSLLN proves that smart architectural choices can compensate for a lack of detailed labels, narrowing the gap between weakly and fully supervised NLL. However, a performance gap remains at high IoU thresholds, where precise overlap is required. Future research may focus on more sophisticated multi-modal fusion techniques and improved methods for generating initial video proposals to further enhance localization accuracy.

Summary updated

BibTeX
@inproceedings{gao2019wslln,
  author = {Mingfei Gao and Larry Davis and Richard Socher and Caiming Xiong},
  title = {{WSLLN: Weakly Supervised Natural Language Localization Networks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1157},
}
Figure