Video Relation Detection with Trajectory-aware Multi-modal Features

Wentao Xie, Guanghui Ren, Si Liu · DOI

Abstract

Video relation detection (VidVRD) involves identifying relationships between objects in a video, encompassing both spatial and action-based interactions. This paper presents a robust framework that decomposes VidVRD into three sub-tasks: object detection, trajectory proposal, and relation prediction. By leveraging state-of-the-art object detection and a multi-modal feature representation, the proposed method achieved first place in the ACM Multimedia 2020 Video Relation Understanding Grand Challenge with a 11.74% mAP.

Introduction

Detecting relationships in video is significantly more challenging than in static images due to the temporal dimension. It requires accurate spatial-temporal localization of objects and an understanding of how their interactions evolve over time. Existing methods often struggle with tracking instability caused by rapid motion and the complexity of extracting discriminative features for diverse relationship types.

To address these challenges, we propose a pipeline that emphasizes robust trajectory generation and the fusion of multi-modal features. Our approach addresses tracking gaps through a novel cross-frame linking mechanism and enhances prediction accuracy by combining visual, motion, linguistic, and spatial information.

Methodology

The proposed system follows a three-stage pipeline: Object Detection, Trajectory Generation, and Relation Prediction.

Overall framework of the proposed video relation detection system, illustrating the flow from input frames to final results.

Object Trajectory Detection

We employ a Cascade R-CNN with a ResNeSt101 backbone for high-precision object detection. These detections are then converted into trajectories using an enhanced version of the seq-NMS algorithm.

A key innovation is the Cross-frame Linking Mechanism (CFLM). Standard tracking often fails when objects move rapidly, leading to low Intersection over Union (IoU) between consecutive frames. Our mechanism identifies potential links between non-consecutive frames by analyzing scale and area ratios. When a match is found, linear interpolation is used to bridge gaps of up to eight frames, ensuring trajectory continuity even under challenging motion conditions.

Multi-modal Relation Prediction

The Relation Prediction Network (RPN) determines the relationship triplet (subject, predicate, object) by fusing four distinct feature modalities:

  1. Visual Features: Extracted from a scene graph generation model pre-trained on the Visual Genome dataset. This provides features specifically tuned for identifying object interactions.
  2. Motion Features: These capture the relative displacement and velocity of the subject-object pair over time.
  3. Language Features: Word embeddings of object categories are used to incorporate linguistic priors, helping the model favor semantically plausible relationships.
  4. Location Mask Features: Binary masks of the bounding boxes are processed through convolutional layers to capture the precise spatial layout and geometric interaction of the pair.
Architecture of the Relation Prediction Network illustrating how visual, motion, language, and mask features are integrated.

These features are concatenated and passed through fully connected layers to produce the final relationship prediction.

Experimental Results

The framework was evaluated on the VidOR (Video Object Relation) dataset. To handle class imbalance, the training set was augmented with sampled keyframes and images from the MS COCO dataset.

Performance and Ablation

Our method achieved a state-of-the-art 11.74% mAP on the VidOR test set, securing first place in the ACM Multimedia 2020 Grand Challenge. Ablation studies confirmed the importance of each component:

  • Trajectory Robustness: The inclusion of the CFLM improved mAP significantly (from 8.84% to 9.93% in validation), demonstrating that temporal interpolation is vital for video-based relation detection.
  • Modality Contribution: Removing any single feature modality (language, motion, visual, or mask) led to a decrease in performance. Notably, the location mask was found to be highly critical for spatial relationships.

Conclusion

This paper demonstrates that decomposing video relation detection into specialized sub-tasks and leveraging multi-modal features significantly improves performance. Our winning entry in the ACM MM 2020 Grand Challenge highlights the effectiveness of robust trajectory interpolation and the integration of linguistic and spatial priors. Future work will explore the integration of 3D convolutional features to better capture complex temporal dynamics.

Summary updated

BibTeX
@inproceedings{xie2020video,
  author = {Wentao Xie and Guanghui Ren and Si Liu},
  title = {{Video Relation Detection with Trajectory-aware Multi-modal Features}},
  booktitle = {ACM Multimedia},
  year = {2020},
  doi = {10.1145/3394171.3416284},
}
Figure