Fine-grained Semantic Alignment Network for Weakly Supervised Temporal Language Grounding

Yuechen Wang, Wengang Zhou, Houqiang Li

Introduction

Temporal Language Grounding (TLG) aims to localize specific events in untrimmed videos based on natural language queries. While supervised methods have shown promise, they rely on expensive, frame-level annotations. Weakly supervised approaches, which use only video-level descriptions, offer a more scalable alternative. However, traditional "Multiple Instance Learning" (MIL) frameworks often fail by treating sentences as monolithic feature vectors, thereby losing the fine-grained semantics of individual words that define event boundaries.

The FSAN Framework

The Fine-grained Semantic Alignment Network (FSAN) addresses these limitations by adopting a "candidate-free" architecture. Instead of evaluating thousands of pre-defined proposal segments, FSAN constructs a Semantic Alignment Map (SAP). This 2D grid maps individual text tokens against short video clips, allowing the model to learn which specific words correspond to which moments in time.

The FSAN architecture utilizes an Iterative Cross-Modal Interaction Module (ICIM) to refine features before grounding.

Iterative Cross-Modal Interaction

At the heart of FSAN is the Iterative Cross-Modal Interaction Module (ICIM). Comprising a 6-layer stack of Transformers, the ICIM facilitates repeated communication between visual and textual modalities. By alternating between cross-modal attention (aligning video to text) and inner-modal attention (refining features within a single modality), the network produces highly discriminative features for the final alignment map.

Fine-Grained Semantic Alignment

A key innovation of FSAN is its focus on "small words" that carry heavy semantic weight for temporal boundaries. For instance, in the query "person takes a phone off a desk," the word "off" is the critical anchor for the action's start and end. By aligning at the token level, FSAN captures these nuances that coarse-grained models typically overlook.

Example of token-by-clip alignment where specific words like 'takes' and 'off' are mapped to relevant video segments.

Learning without Timestamps

To train without ground-truth timestamps, FSAN employs a Two-Fold Loss Function:

  1. Inner-sample loss: Encourages at least one strong word-clip match within the predicted segment.
  2. Outer-sample loss: Suppresses matches in irrelevant parts of the video.

Experimental Results

FSAN was evaluated on two benchmark datasets: ActivityNet-Captions and DiDeMo.

  • ActivityNet-Captions: FSAN achieved a 7% relative improvement in Accuracy (R@1, IoU=0.1) over the previous state-of-the-art (SCN), demonstrating its robustness in handling long, complex videos.
  • DiDeMo: The model outperformed existing weakly supervised methods like TGA and WSLLN across all primary metrics, including Rank@1 and mIoU.

Ablation studies confirmed that both the iterative interaction module and the fine-grained alignment strategy are essential, as removing either component led to significant performance degradation.

Conclusion and Future Work

FSAN demonstrates that fine-grained, token-level alignment is a powerful paradigm for weakly supervised TLG. By moving away from candidate proposals and focusing on the interplay between individual words and video clips, the model achieves superior accuracy and efficiency. Future research may explore end-to-end training from raw pixels and better handling of abstract linguistic concepts.

Summary updated

BibTeX
@inproceedings{wang2021fine,
  author = {Yuechen Wang and Wengang Zhou and Houqiang Li},
  title = {{Fine-grained Semantic Alignment Network for Weakly Supervised Temporal Language Grounding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.9},
}
Figure