Jointly Visual- and Semantic-Aware Graph Memory Networks for Temporal Sentence Localization in Videos

Daizong Liu, Pan Zhou

Abstract

Temporal Sentence Localization in Videos (TSLV) is a challenging task that requires identifying the specific start and end times of an activity within an untrimmed video based on a natural language query. Current methods often struggle with a granularity mismatch between local object features and global frame context, while also neglecting the rich semantic relationships inherent in object labels. This paper presents the Hierarchical Visual- and Semantic-Aware Reasoning Network (HVSARN), a framework that integrates hierarchical reasoning with a dedicated semantic memory. By modeling both visual interactions and commonsense semantic correlations, HVSARN achieves state-of-the-art performance across three major benchmarks: ActivityNet Captions, TACoS, and Charades-STA.

Introduction

The goal of TSLV is to bridge the gap between vision and language by localizing specific actions described in text. For example, given the query "The person makes a cup of tea," a model must pinpoint the exact segment where this occurs. Existing approaches typically fall into two traps: they either focus on global frame-level features, which are often cluttered with irrelevant background noise, or they focus on local object-level features that lack the necessary temporal context to understand a complete action. Furthermore, most models rely purely on visual pixels, ignoring the "commonsense" knowledge that certain objects (like a kettle and a cup) are semantically related.

HVSARN addresses these limitations by mimicking human perception. It identifies individual actors and tools, understands their semantic relationships, and then aggregates this information to comprehend the broader temporal flow of the scene.

Methodology

The HVSARN architecture utilizes a sophisticated pipeline designed for deep reasoning:

1. Dual-Stream Encoding

The model employs a pre-trained Faster R-CNN to extract two distinct types of information from video frames: the visual features of detected objects and their corresponding semantic labels or attributes.

2. Object-Level Graph Reasoning

To capture the complexity of the scene, HVSARN constructs two types of graphs:

  • Visual Graph: This models the spatial and temporal relationships between detected objects.
  • Semantic Graph: Utilizing word embeddings (fastText), this graph links object classes to encode commonsense knowledge, allowing the model to understand that a "spoon" and a "bowl" are likely part of the same activity context.

3. Graph Memory Mechanism

Rather than a single-pass analysis, the model uses a "read and write" memory controller. This allows the network to iteratively update its understanding of the video by comparing the text query to the graph nodes, effectively filtering out irrelevant background data over multiple reasoning steps.

4. Hierarchical Fusion and Enhancement

Once object-level reasoning is complete, the features are aggregated into frame-level representations. A second round of graph reasoning occurs at this higher level to capture motion and scene transitions. Throughout this process, a cross-modal enhancement module ensures that the visual and semantic branches continuously inform one another.

Experimental Results

The HVSARN model was evaluated on three diverse datasets, each representing different challenges in video localization:

  • ActivityNet Captions: A large-scale dataset featuring diverse, open-domain activities.
  • TACoS: A dataset focused on highly detailed cooking activities in kitchen settings.
  • Charades-STA: A collection of daily indoor activities involving complex temporal actions.

Performance Metrics

HVSARN established new state-of-the-art (SOTA) benchmarks across all three datasets. On ActivityNet Captions, the model achieved an R@1, IoU=0.5 of 55.76%, a significant improvement over the previous CBLN model (48.12%). On the TACoS dataset, it reached 41.04% (R@1, IoU=0.5), outperforming the previous best (MARN) by nearly 4%.

Ablation studies further demonstrated the necessity of the model's core components. Removing either the hierarchical structure or the semantic reasoning branch resulted in a sharp decline in localization accuracy, confirming that both visual context and semantic logic are vital for high-performance TSLV.

Discussion and Conclusion

HVSARN demonstrates that integrating hierarchical reasoning with semantic memory significantly improves the accuracy of video localization. By treating object labels as semantically linked concepts rather than isolated categories, the model becomes more robust to visual ambiguities like poor lighting or occlusions.

Despite its success, some limitations remain. The reliance on a pre-trained Faster R-CNN and multiple graph reasoning steps increases computational complexity. Future research may focus on developing more computationally efficient, end-to-end trainable systems and exploring dynamic semantic graphs that can adapt to the specific context of a video in real-time.

Summary updated

BibTeX
@inproceedings{liu2023jointly,
  author = {Daizong Liu and Pan Zhou},
  title = {{Jointly Visual- and Semantic-Aware Graph Memory Networks for Temporal Sentence Localization in Videos}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096382},
}
Figure