Visual Relationship Transformation

Xiaoyu Xu, Jiayan Qiu, Baosheng Yu, Zhou Wang

Abstract

Traditional Visual Relationship Detection (VRD) is limited to static, view-dependent observations. This paper introduces Visual Relationship Transformation (VRT), a novel task requiring models to predict how object relationships evolve in unseen views given a single source image and a relative camera transformation. By leveraging equivariant graph neural networks and a multi-stage optimization strategy, the proposed framework maintains spatial consistency and handles occlusions, significantly enhancing performance in downstream applications like autonomous driving and 3D visual grounding.

1. Introduction

Visual Relationship Detection (VRD) has enabled AI to understand complex scenes by identifying triplets such as "man riding horse" or "cup on table." However, standard VRD models are "view-locked," meaning they struggle to predict how these relationships change when the observer moves. In real-world scenarios—such as robotics or autonomous driving—understanding the 3D structure of a scene from a single perspective is critical for navigation and safety.

Xiaoyu Xu and colleagues propose the Visual Relationship Transformation (VRT) task to address this. Unlike simple detection, VRT predicts the scene graph of a completely unseen "novel" view. This is challenging because relationships are both view-dependent (spatial labels like "left" or "behind" shift with the camera) and non-deterministic (objects may become occluded).

2. The Visual Relationship Transformation Task

The core of VRT is predicting the transformation of spatial semantics. For example, as a camera moves around a vehicle, a "car behind a truck" might transition into a "car to the left of a truck."

Overview of the VRT task: predicting how relationships (e.g., "behind" to "left") change across novel views.

This task requires the model to maintain a persistent "mental map" of the scene, understanding that even if an object becomes invisible due to occlusion, its relationship to other objects remains a part of the underlying 3D topology.

3. Methodology

The authors propose an end-to-end deep learning approach organized into three distinct stages:

Stage 1: Scene Graph Construction & VRT Module

The model first builds a source-view scene graph. This graph is processed by an Equivariant Graph Neural Network (GNN) utilizing Vector-Neuron layers. These layers are specifically designed to preserve spatial properties across rotations and translations, allowing the model to mathematically map relationship features from the source perspective to the target perspective.

To train the model without ground-truth images for every possible angle, the system uses a pre-trained depth estimation model. By projecting bounding boxes from the source view to the target view using camera intrinsic matrices, the model ensures it is evaluating the same objects across different viewpoints.

Stage 3: Optimization and Loss Functions

The framework is optimized using three specialized loss functions:

  • Relationship Transformation Loss: Matches predicted relationships to ground truth in the novel view.
  • Relationship Presentness Loss: Trains the model to detect if a relationship is still visible or has been occluded.
  • Relationship Structure Loss: Uses KL-divergence to ensure the overall scene topology remains spatially plausible.
The three-stage VRT architecture involving scene graph construction, correspondence search via depth estimation, and multi-loss optimization.

4. Experimental Results and Applications

The VRT framework was tested across diverse datasets, including Realestate10K, VidVRD, and PIE (Pedestrian Intention Estimation). The results demonstrate that VRT acts as a powerful "plug-in" for existing state-of-the-art models:

  • Relationship Classification: VRT achieved a 33.6 R@50, significantly outperforming the 25.3 achieved by traditional render-then-detect baselines (e.g., Synsin + GRCNN).
  • Autonomous Driving: Integrating VRT into the PIE model improved pedestrian intention detection accuracy from 79% to nearly 90%, as the model could better estimate the pedestrian's perspective.
  • Visual Grounding: On the Nr3D dataset, VRT improved object localization accuracy by approximately 10%, particularly for queries involving complex spatial perspectives.

5. Conclusion and Future Work

Visual Relationship Transformation represents a significant step toward spatial reasoning in AI. By treating spatial relationships as equivariant vectors rather than arbitrary labels, the model gains a robust understanding of 3D scenes from limited data. Future research aims to extend this to Dynamic VRT, where both the observer and the objects in the scene are in motion simultaneously.

Summary updated

BibTeX
@inproceedings{xu2024visual,
  author = {Xiaoyu Xu and Jiayan Qiu and Baosheng Yu and Zhou Wang},
  title = {{Visual Relationship Transformation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73650-6\_15},
}
Figure