Progressively Guide to Attend: An Iterative Alignment Framework for Temporal Sentence Grounding

Daizong Liu, Xiaoye Qu, Pan Zhou

Abstract

Temporal Sentence Grounding (TSG) involves identifying the start and end timestamps of an activity in an untrimmed video based on a natural language query. Traditional approaches often utilize single-step attention mechanisms, which are prone to misalignment due to complex semantic dependencies and background noise. This paper introduces the Iterative Alignment Network (IA-Net), a framework that mimics human reasoning by progressively refining the alignment between video and text. IA-Net utilizes learnable paddings to mitigate the "nowhere-to-attend" problem and a dedicated calibration module to ensure stable iterative refinement. Experimental results on ActivityNet Captions, TACoS, and Charades-STA demonstrate that IA-Net achieves state-of-the-art performance with significant efficiency gains.

Introduction

Temporal Sentence Grounding (TSG) is a critical task at the intersection of computer vision and natural language processing. The goal is to retrieve a specific segment from a long, untrimmed video that corresponds to a textual description. Despite recent progress, two primary challenges persist in current state-of-the-art (SOTA) methods.

First, the Single-Step Trap: most models attempt to align video frames and words in a single pass of soft attention. However, complex queries often require multi-step reasoning—for instance, identifying a primary object before locating a specific action associated with it. Second, the "Nowhere-to-Attend" Problem: in long videos, many frames are irrelevant to the query. Standard attention mechanisms force these "background" frames to attend to the sentence, introducing semantic noise that degrades localization accuracy.

Comparison between single-step interaction and the proposed iterative alignment with calibration.

The IA-Net Framework

To address these issues, we propose the Iterative Alignment Network (IA-Net). The architecture is designed to progressively hone in on the target segment through multiple interaction cycles.

Architecture Overview

The IA-Net pipeline consists of three main stages: feature encoding, iterative interaction, and segment localization.

The overall architecture of IA-Net, featuring iterative inter- and intra-modal interaction blocks.
  1. Feature Encoding: Videos are processed using standard backbones (e.g., C3D or I3D), while sentence queries are embedded using GloVe and a Bi-GRU to capture contextual information.
  2. Iterative Interaction Blocks (IIB): This core component stacks multiple blocks to refine cross-modal features. Each block performs improved inter-modal interaction (aligning video to text and vice versa) and intra-modal interaction (self-attention within each modality).
  3. Segment Localizer: The final refined features are passed to a localizer to predict the precise temporal boundaries.

Key Innovations

  • Learnable Paddings: To solve the "nowhere-to-attend" problem, we introduce $K$ learnable padding vectors to both video and text features. These act as "sinks" for irrelevant content, allowing the model to effectively ignore background noise.
  • Calibration Module: Iterative processes can accumulate errors. IA-Net incorporates a gating-based calibration module after each attention step. This module decides how much of the new interaction information should be integrated, ensuring that the features are "re-calibrated" at each step.

Experimental Results

IA-Net was evaluated on three benchmark datasets: ActivityNet Captions, TACoS, and Charades-STA. The model consistently outperformed existing SOTA methods, particularly in strict evaluation metrics requiring high overlap (e.g., R@1, IoU=0.7).

Dataset Metric (R@1, IoU=0.7) Improvement over previous SOTA
ActivityNet Captions 27.95% ~2-3%
Charades-STA 37.91% ~4.5%

Beyond accuracy, IA-Net is highly efficient. With only 68M parameters, it is significantly lighter than convolution-heavy models like 2DTAN (232M) and achieves faster inference speeds (0.11s vs 0.57s on TACoS), making it suitable for real-time applications.

Conclusion

IA-Net demonstrates that temporal sentence grounding is best approached as a multi-step refinement process. By combining iterative interaction with learnable paddings and feature calibration, the model effectively filters noise and captures complex semantic relationships. Future work will explore dynamic iteration counts and applying these principles to Video Question Answering (VideoQA).

Summary updated

BibTeX
@inproceedings{liu2021progressively,
  author = {Daizong Liu and Xiaoye Qu and Pan Zhou},
  title = {{Progressively Guide to Attend: An Iterative Alignment Framework for Temporal Sentence Grounding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.733},
}
Figure