Can Transformers Capture Spatial Relations between Objects?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wen, Chuan, Jayaraman, Dinesh, Gao, Yang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913250619162624
author Wen, Chuan
Jayaraman, Dinesh
Gao, Yang
author_facet Wen, Chuan
Jayaraman, Dinesh
Gao, Yang
contents Spatial relationships between objects represent key scene information for humans to understand and interact with the world. To study the capability of current computer vision systems to recognize physically grounded spatial relations, we start by proposing precise relation definitions that permit consistently annotating a benchmark dataset. Despite the apparent simplicity of this task relative to others in the recognition literature, we observe that existing approaches perform poorly on this benchmark. We propose new approaches exploiting the long-range attention capabilities of transformers for this task, and evaluating key design principles. We identify a simple "RelatiViT" architecture and demonstrate that it outperforms all current approaches. To our knowledge, this is the first method to convincingly outperform naive baselines on spatial relation prediction in in-the-wild settings. The code and datasets are available in \url{https://sites.google.com/view/spatial-relation}.
format Preprint
id arxiv_https___arxiv_org_abs_2403_00729
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can Transformers Capture Spatial Relations between Objects?
Wen, Chuan
Jayaraman, Dinesh
Gao, Yang
Computer Vision and Pattern Recognition
Robotics
Spatial relationships between objects represent key scene information for humans to understand and interact with the world. To study the capability of current computer vision systems to recognize physically grounded spatial relations, we start by proposing precise relation definitions that permit consistently annotating a benchmark dataset. Despite the apparent simplicity of this task relative to others in the recognition literature, we observe that existing approaches perform poorly on this benchmark. We propose new approaches exploiting the long-range attention capabilities of transformers for this task, and evaluating key design principles. We identify a simple "RelatiViT" architecture and demonstrate that it outperforms all current approaches. To our knowledge, this is the first method to convincingly outperform naive baselines on spatial relation prediction in in-the-wild settings. The code and datasets are available in \url{https://sites.google.com/view/spatial-relation}.
title Can Transformers Capture Spatial Relations between Objects?
topic Computer Vision and Pattern Recognition
Robotics
url https://arxiv.org/abs/2403.00729