Reasoning Step-by-Step: Temporal Sentence Localization in Videos via Deep Rectification-Modulation Network

Daizong Liu, Xiaoye Qu, Jianfeng Dong, Pan Zhou

Introduction

Temporal Sentence Localization in Videos (TSLV) is a challenging task that requires a model to identify the precise start and end times of an activity described by a natural language query within a long, untrimmed video. For instance, given the query "the girl in the blue dress hops for a second time," a model must distinguish between multiple hopping events and ground the text to the correct temporal segment.

Traditional approaches typically treat this as a "one-shot" matching problem, where visual and textual features are fused once to predict boundaries. However, this often leads to errors if the initial attention mechanism focuses on the wrong visual cue. Furthermore, these methods often use static temporal modeling that doesn't adapt to the specific semantics of the query.

The Deep Rectification-Modulation Network (RMN)

To overcome these limitations, the authors propose the Deep Rectification-Modulation Network (RMN). Instead of a single pass, RMN frames localization as an iterative, multi-step reasoning process. The model cascades several reasoning layers, each consisting of a Rectification module and a Modulation module.

Conceptual overview of Rectification and Modulation.

1. The Rectification Module

The Rectification module is designed to correct attention misalignments. In a complex video, a model might initially attend to a visually similar but semantically incorrect segment (e.g., the first hop instead of the second). By using the original video and query features as a "global anchor," the Rectification module employs an update gate to compare the current reasoning state against these anchors, allowing the model to "re-think" and correct its focus in subsequent layers.

2. The Modulation Module

Standard temporal modeling often ignores how the query should influence the relationship between video frames. The Modulation module addresses this by using a channel-wise gating mechanism to condition frame-to-frame (and word-to-word) relationships on the other modality. This ensures that the temporal correlation between frames is viewed through the "lens" of the specific sentence query, making the reasoning process context-aware.

Network Architecture

The overall architecture of RMN involves extracting visual features (using C3D) and textual features (using GloVe and Bi-GRU). These features are then passed through $L$ cascaded reasoning layers.

The architecture of the RMN showing cascaded reasoning layers.

As shown in the architecture diagram, each reasoning layer iteratively refines the multi-modal representations. After the final reasoning layer, a gated fusion mechanism integrates the features, which are then used to predict confidence scores and temporal offsets for candidate moments.

Experimental Evaluation

The RMN was evaluated on three major benchmarks:

  • ActivityNet Caption: Contains 20k videos with 100k descriptions. RMN achieved a significant improvement, specifically a 3.33% increase in the strict R@1, IoU=0.7 metric.
  • Charades-STA: Focused on indoor activities. RMN saw a 3.55% absolute improvement in R@1, IoU=0.7.
  • TACoS: A challenging dataset of cooking activities with many repetitive actions. RMN outperformed existing methods like CMIN and CBP, especially in high-overlap scenarios.

Ablation studies confirmed that the multi-step approach is crucial, with performance typically peaking at around 5 reasoning layers. This highlights that deep, iterative comparison is necessary for accurate video-language grounding.

Conclusion

The Deep Rectification-Modulation Network represents a shift from simple matching to complex reasoning in TSLV. By explicitly modeling the ability to correct initial mistakes and modulating temporal relations based on query semantics, RMN sets a new state-of-the-art across multiple benchmarks. Future work may explore "anchor-free" versions of this reasoning framework to improve computational efficiency.

Summary updated

BibTeX
@inproceedings{liu2020reasoning,
  author = {Daizong Liu and Xiaoye Qu and Jianfeng Dong and Pan Zhou},
  title = {{Reasoning Step-by-Step: Temporal Sentence Localization in Videos via Deep Rectification-Modulation Network}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-main.167},
}
Figure