Span-based Localizing Network for Natural Language Video Localization

Hao Zhang, Aixin Sun, Wei Jing, Joey Tianyi Zhou

Introduction

Natural Language Video Localization (NLVL) is the task of identifying the specific start and end timestamps of an activity within an untrimmed video based on a natural language query. Traditional approaches typically treat this as a proposal-ranking or regression task. However, these methods often suffer from high computational costs or lack the structural context necessary for precise localization. This paper proposes a paradigm shift, treating NLVL as a span-based Question Answering (QA) problem, analogous to reading comprehension in natural language processing.

Methodology: The VSLNet Framework

The authors introduce the Video Span Localizing Network (VSLNet), which adapts successful span-prediction architectures from the NLP domain to the video temporal domain.

The architecture of VSLBase and VSLNet, showing the transition from a standard span-prediction model to one enhanced with Query-Guided Highlighting.

Core Components

The VSLNet architecture consists of several key modules:

  • Feature Encoder: Visual features are extracted using a pre-trained 3D ConvNet, while textual features are derived from GloVe embeddings. Both are projected into a shared multi-modal space.
  • Context-Query Attention: This module computes the relevance between video frames and query words, highlighting segments of the video that align with specific parts of the natural language description.
  • Conditioned Span Predictor: Instead of predicting start and end points independently, VSLNet uses a pointer-style network (via LSTMs) where the end-point prediction is conditioned on the start-point, ensuring temporal consistency.

Query-Guided Highlighting (QGH)

A key innovation of VSLNet is the Query-Guided Highlighting (QGH) strategy. Video content is often continuous and redundant, making it difficult for models to pinpoint exact boundaries. QGH acts as a binary classifier that distinguishes between "foreground" (relevant) and "background" (irrelevant) segments.

Illustration of the Query-Guided Highlighting (QGH) strategy, which provides additional context by extending the foreground labels.

By extending the foreground labels slightly beyond the ground truth (using a parameter $\alpha$), the model gains "antecedent and consequent" context. This coarse-to-fine approach narrows the search space for the final span predictor, significantly improving performance on long or complex videos.

Datasets and Evaluation

The model was rigorously tested on three major benchmarks:

  • Charades-STA: Focused on daily indoor activities with relatively short videos.
  • ActivityNet Caption: Diverse YouTube content with complex, multi-sentence descriptions.
  • TACoS: Fine-grained cooking activities in long videos, presenting a significant challenge for localization.

Results and Discussion

VSLNet achieved state-of-the-art (SOTA) performance across all datasets. On Charades-STA, it reached 54.19% R@1 (IoU=0.5), a significant improvement over previous benchmarks like ExCL (44.10%). On ActivityNet Caption, it achieved a mean IoU of 43.19%. The most dramatic gains were seen in TACoS, where the QGH strategy helped the model reach 29.61% R@1 (IoU=0.3), outperforming previous models by over 5%.

Qualitative analysis reveals that the model effectively attends to verbs and objects within the query. For instance, in a query like "person eating a sandwich," the attention weights peak during the "eating" action and when the "sandwich" is visible, demonstrating the model's ability to ground language in visual context.

Conclusion

By reframing video localization as a span-based QA task, VSLNet demonstrates that techniques from NLP can be powerfully adapted for multimodal understanding. The Query-Guided Highlighting strategy effectively manages video redundancy, providing a robust framework for finding specific moments in large video datasets. Future work may involve integrating large-scale pre-trained multimodal transformers to further enhance semantic understanding.

Summary updated

BibTeX
@inproceedings{zhang2020span,
  author = {Hao Zhang and Aixin Sun and Wei Jing and Joey Tianyi Zhou},
  title = {{Span-based Localizing Network for Natural Language Video Localization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.585},
}
Figure