Memory-Guided Semantic Learning Network for Temporal Sentence Grounding

Daizong Liu, Xiaoye Qu, Xing Di, Yu Cheng, Zichuan Xu, Pan Zhou

Introduction

Temporal Sentence Grounding (TSG) is a critical task in video understanding that involves identifying the precise start and end times of an action within a video based on a natural language query. While deep learning models have made significant strides in this area, they often struggle with a "forgetting" problem—a generalization gap where models over-optimize for frequent actions and words while failing to ground rare concepts.

An example of the temporal sentence grounding task.

The Challenge of Rare Cases

The primary obstacle identified by the authors is the imbalance in training datasets. Standard models tend to perform well on common actions but suffer significantly when encountering infrequent video-query pairs. For example, if a specific noun or verb appears fewer than 10 times in a large dataset, models often fail to ground it correctly during testing. This "rare case" bottleneck is a primary obstacle to robust video understanding.

Methodology: MGSL-Net

To address this, the authors propose the Memory-Guided Semantic Learning Network (MGSL-Net). The framework consists of four key stages:

  1. Cross-Modal Feature Alignment: Utilizing a Cross-modal Graph Convolutional Network (GCN), the model explicitly aligns video frames with query words, ensuring visual representations are mathematically linked to textual semantics.
  2. Memory Augmentation: This is the core innovation. MGSL-Net maintains persistent memory slots for both video and query domains. These slots act as a shared "compact dictionary" across all training samples. Unlike episodic memory that resets, this persistent memory builds a long-term knowledge base throughout training. During testing, the model retrieves these stored memories to enhance features of rare cases.
  3. Heterogeneous Multi-Modal Integration: A specialized attention module integrates these enhanced features, considering both intra-modality and inter-modality relations while using the original video as a global calibration signal.
  4. Grounding Heads: A proposal-free regression module directly predicts temporal boundaries, confidence scores, and Intersection over Union (IoU).

Experimental Results

MGSL-Net achieves state-of-the-art accuracy across standard benchmarks including ActivityNet Caption, TACoS, and Charades-STA. On ActivityNet, it reached 51.87% R@1 (IoU=0.5), surpassing previous methods like CBLN.

The most significant improvement is seen in rare samples. On the TACoS dataset, MGSL-Net achieved 32.76% accuracy on rare cases, nearly tripling the performance of the DRN model. Furthermore, the model is highly efficient, processing queries in just 0.10 seconds on a single GPU, making it roughly 5x faster than 2DTAN.

Comparison of performance (R@1, IoU=0.5) for rare and common cases on the ActivityNet Caption dataset.

Latent space visualizations show that while common cases form compact clusters, rare cases are typically scattered. The persistent memory module helps bridge these gaps by providing a stable semantic reference.

Conclusion

MGSL-Net effectively mitigates the "forgetting" problem in TSG through its persistent memory-guided approach. By maintaining a long-term knowledge base of semantics, it achieves superior performance on rare cases without sacrificing inference speed. Future work may involve scaling memory modules for open-world scenarios and extending this approach to other unbalanced multi-modal tasks.

Summary updated

BibTeX
@inproceedings{liu2022memory,
  author = {Daizong Liu and Xiaoye Qu and Xing Di and Yu Cheng and Zichuan Xu and Pan Zhou},
  title = {{Memory-Guided Semantic Learning Network for Temporal Sentence Grounding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i2.20058},
}
Figure