NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Attention Based Spatial-Temporal Graph-to-Sequence Learning for Grounded Video Description

Kai Shen, Lingfei Wu, Fangli Xu, Siliang Tang, Jun Xiao, Yueting Zhuang

Abstract

Grounded Video Description (GVD) is a complex task that requires generating natural language descriptions while simultaneously localizing mentioned objects within video frames. Existing approaches often struggle to model the intricate spatial-temporal relationships between objects and are frequently hampered by temporal redundancy and noisy graph initializations. We propose HAST-Graph2Seq (Hierarchical Attention based Spatial-Temporal Graph-to-Sequence Learning), a novel framework that incorporates an end-to-end graph refinement module and a hierarchical attention mechanism. Our model achieves state-of-the-art performance on the Grounded ActivityNet-Entities benchmark, demonstrating significant improvements in both captioning quality and grounding accuracy.

Introduction

Grounded Video Description goes beyond standard captioning by requiring the model to link generated words to specific bounding boxes in the video. This task demands a deep understanding of object interactions across both space and time. However, current methods often treat object proposals independently or rely on flat attention mechanisms that ignore the logical structure of video events. Furthermore, the inherent temporal redundancy in video—where the same object appears in many consecutive frames—makes constructing a clean, useful graph representation challenging. If every proposal is linked, the resulting graph becomes too noisy to provide meaningful semantic guidance.

The HAST-Graph2Seq Framework

The HAST-Graph2Seq architecture is designed to address these challenges through a three-stage pipeline: initial graph construction, refinement, and hierarchical decoding.

Overview of the HAST-Graph2Seq framework, illustrating the pipeline from video input and region proposal to graph refinement and grounded description generation.

Initial Graph Construction and Refinement

The process begins by extracting object proposals using Faster R-CNN. These proposals are used to build an initial spatial-temporal graph via K-Nearest Neighbors (KNN) or a pre-trained Relation Graph (RG) based on external knowledge. To combat the noise inherent in these initializations, the model employs a multi-head weighted cosine similarity metric to learn an "implicit graph." This learned topology is used to prune irrelevant edges, allowing a spectral Graph Convolutional Network (GCN) to aggregate features only across semantically significant connections.

Hierarchical Graph Attention

During the text generation phase, the model utilizes a hierarchical attention mechanism that mimics human cognitive focus. Rather than attending to all objects across the entire video simultaneously, the decoder first identifies relevant temporal segments (sub-graphs) and then focuses on specific nodes (objects) within those frames.

The Hierarchical Graph Attention mechanism, which first attends to frame-level sub-graphs to identify temporal segments before focusing on specific object nodes.

This two-step process reduces grounding errors by preventing the model from being distracted by similar-looking objects in irrelevant parts of the video sequence.

Experimental Results

The proposed framework was evaluated on the Grounded ActivityNet-Entities dataset, which contains 15k videos and 158k annotated bounding boxes. HAST-Graph2Seq established a new state-of-the-art across multiple metrics:

  • Captioning Quality: The model achieved a CIDEr score of 49.3 and a BLEU@4 of 2.65, significantly outperforming previous benchmarks like ZhouGVD.
  • Grounding Accuracy: Localization accuracy improved to an F1_loc of 26.1%, indicating more precise object-word linking.
  • Qualitative Impact: Visual analysis confirms that the refinement module successfully increases edge weights between interacting objects (e.g., a person and a tool) while suppressing background noise, leading to more accurate descriptions of complex multi-object interactions.

Conclusion

HAST-Graph2Seq demonstrates that modeling structural relationships through refined spatial-temporal graphs is essential for high-quality grounded video description. By combining metric-based graph pruning with hierarchical attention, the model effectively manages temporal redundancy and mimics human-like focus. Future work may explore more robust, unsupervised methods for discovering graph topologies to further reduce reliance on initial hyperparameter settings like those in KNN.

Summary updated

BibTeX
@inproceedings{shen2020hierarchical,
  author = {Kai Shen and Lingfei Wu and Fangli Xu and Siliang Tang and Jun Xiao and Yueting Zhuang},
  title = {{Hierarchical Attention Based Spatial-Temporal Graph-to-Sequence Learning for Grounded Video Description}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/131},
}
Figure