Spatial-Temporal Knowledge-Embedded Transformer for Video Scene Graph Generation

Tao Pu, Tianshui Chen, Hefeng Wu, Yongyi Lu, Liang Lin
9/23/2023
cs.CV

No official code found. Best implementation: HCPLab-SYSU/STKET (19 stars, last commit 2024-03-13).

Abstract

Video scene graph generation (VidSGG) aims to identify objects in visual scenes and infer their relationships for a given video. It requires not only a comprehensive understanding of each object scattered on the whole scene but also a deep dive into their temporal motions and interactions. Inherently, object pairs and their relationships enjoy spatial co-occurrence correlations within each image and temporal consistency/transition correlations across different images, which can serve as prior knowledge to facilitate VidSGG model learning and inference. In this work, we propose a spatial-temporal knowledge-embedded transformer (STKET) that incorporates the prior spatial-temporal knowledge into the multi-head cross-attention mechanism to learn more representative relationship representations. Specifically, we first learn spatial co-occurrence and temporal transition correlations in a statistical manner. Then, we design spatial and temporal knowledge-embedded layers that introduce the multi-head cross-attention mechanism to fully explore the interaction between visual representation and the knowledge to generate spatial- and temporal-embedded representations, respectively. Finally, we aggregate these representations for each subject-object pair to predict the final semantic labels and their relationships. Extensive experiments show that STKET outperforms current competing algorithms by a large margin, e.g., improving the mR@50 by 8.1%, 4.7%, and 2.1% on different settings over current algorithms.

View on arXivView PDF

Code Implementations(1)

HCPLab-SYSU/STKETCommunity100%

Spatial-Temporal Knowledge-Embedded Transformer for Video Scene Graph Generation (TIP 2024, ACM MM 2023)

192Shell, CythonJun 19, 20232 years ago
scene-graph-generationvideo-understanding

Similar Papers

Cite this paper

@article{pu2023spatialtemporal,
  title  = {Spatial-Temporal Knowledge-Embedded Transformer for Video Scene Graph Generation},
  author = {Tao Pu and Tianshui Chen and Hefeng Wu and Yongyi Lu and Liang Lin},
  year   = {2023},
  eprint = {2309.13237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.13237v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.13237.svg)](https://codeofpaper.com/paper/2309.13237)

Discussion