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

2.5D visual relationship detection

Yu-Chuan Su, Soravit Changpinyo, Xiangning Chen, Sathish Thoppay, Cho-Jui Hsieh, Lior Shapira, Radu Soricut, Hartwig Adam, Matthew Brown, Ming-Hsuan Yang, Boqing Gong

TL;DR

2.5D Visual Relationship Detection (2.5VRD) is a new computer vision task that challenges models to move beyond 2D "what is it?" recognition toward 3D "where is it?" understanding. By introducing a massive dataset of 220,000 human-annotated relationships, the authors demonstrate that while current models can guess depth using semantic shortcuts, they still struggle to grasp the true underlying geometry of a scene.

What Problem Does This Paper Address?

Most modern computer vision systems are experts at 2D semantics—they can tell you there is a "man" and a "tree" in an image with high precision. However, they often lack an "egocentric" understanding of the 3D world. If you ask a self-driving car or a robot which object is closer to its camera, or whether one object is partially hiding another, standard 2D detectors falter.

Existing tasks like depth estimation provide pixel-level maps but don't reason about objects, while standard Visual Relationship Detection (VRD) focuses on semantic actions (e.g., "man riding horse") rather than geometric ones. This paper introduces 2.5VRD to bridge this gap, requiring models to jointly detect objects and predict their relative depth and occlusion relationships.

Methods

The authors frame 2.5VRD as a two-stage problem. First, an "oracle" or off-the-shelf detector (like Faster R-CNN) identifies object bounding boxes. Second, a relationship predictor determines the geometric link between pairs of objects.

To establish a baseline, the researchers developed:

  • Rule-Based Baselines: Simple heuristics using object size (bigger is closer), location (lower in the frame is closer), or pre-computed depth maps from monocular depth estimators like MiDaS.
  • Simple MLP Baselines: A multi-layer perceptron that ingests four types of visual cues: Object Class (semantics), Bounding Box (geometry), Appearance (visual features), and Depth (inferred from a separate model).
  • State-of-the-Art (SOTA) Benchmarking: They adapted four existing 2D VRD models (ViP-CNN, PPR-FCN, DRNet, and VTransE) to see if architectures designed for semantic relationships could handle geometric ones.

Datasets

The core contribution is the 2.5VRD Dataset, built on top of the Open Images Dataset (OID).

  • Scale: It contains 219,570 human-annotated relationships across 11,084 images, involving over 511,000 objects. This is an order of magnitude larger than previous spatial relationship datasets.
  • Unique Features: Unlike previous datasets, it includes "across-image" depth relationships (comparing the depth of a tree in Image A to a car in Image B).
  • Quality: Validation and test sets were exhaustively labeled by five different human raters to ensure high-quality ground truth and to measure human performance on the task.

Key Insights and Ideas

  • Humans find geometry hard too: The researchers categorized pairs by difficulty. Interestingly, humans disagreed or found it "infeasible" to determine relative depth in about 7-10% of cases, often due to a lack of background context or ambiguous perspectives.
  • Semantic Shortcuts: Models often rely on "natural bias." For example, they learn that swimming pools are usually far away and people are usually close. While this helps accuracy, it’s a heuristic, not true geometric reasoning.
  • Cues are task-specific: The study found that size and location are the most important cues for predicting depth, whereas appearance is the critical signal for predicting occlusion.
  • The Generalization Gap: Current SOTA models for 2D VRD do not significantly outperform simple MLP baselines on this task. Furthermore, models trained on "within-image" relationships fail to generalize to "across-image" tasks, suggesting they haven't learned a universal concept of depth.

Key Results

  • Top Performance: The MLP baseline using all features (Bounding box + Class + Depth + Appearance) achieved the best overall results with an average F1-score of 0.335.
  • Depth Maps Help: Using a pre-trained monocular depth estimator (MiDaS) as an input feature significantly boosted performance, proving that pixel-level depth is a strong signal for object-level relationships.
  • Occlusion is the "Boss Level": Predicting occlusion proved much harder than predicting relative depth. Even the best models struggled with "mutual occlusion" (where two objects overlap in complex ways).
  • Human-Model Alignment: Model performance correlated strongly with human difficulty ratings; if humans found a pair "easy" to rank, the models generally performed well (F1 ~0.88).

Limitations and Future Work

The authors acknowledge several hurdles for the field:

  1. Symmetry and Transitivity: Current models aren't "logically consistent." A model might predict that Object A is closer than B, but if you swap them, it might not consistently predict that B is further than A.
  2. Dataset Bias: The dataset reflects the "natural bias" of our world (e.g., trees are usually far). Future work is needed to ensure models aren't just memorizing these statistics.
  3. Model Architecture: There is a clear need for new architectures that explicitly incorporate 3D geometric priors rather than treating depth as just another classification label.

By formalizing 2.5VRD, the authors have provided the community with the data and benchmarks necessary to move toward more robust, physically aware AI.

Summary updated

BibTeX
@article{su2022d,
  author = {Yu-Chuan Su and Soravit Changpinyo and Xiangning Chen and Sathish Thoppay and Cho-Jui Hsieh and Lior Shapira and Radu Soricut and Hartwig Adam and Matthew Brown and Ming-Hsuan Yang and Boqing Gong},
  title = {{2.5D visual relationship detection}},
  journal = {Computer Vision and Image Understanding},
  year = {2022},
  url = {https://openreview.net/forum?id=0HuQuzG1lq},
}
Figure