SAViR-T: Spatially Attentive Visual Reasoning with Transformers

Pritish Sahu, Kalliopi Basioti, Vladimir Pavlovic
6/18/2022
cs.CV
transformer-attention

Official code: kalbasioti/visual-reasoning (0 stars, Python, last commit 2024-10-15).

Abstract

We present a novel computational model, "SAViR-T", for the family of visual reasoning problems embodied in the Raven's Progressive Matrices (RPM). Our model considers explicit spatial semantics of visual elements within each image in the puzzle, encoded as spatio-visual tokens, and learns the intra-image as well as the inter-image token dependencies, highly relevant for the visual reasoning task.

Show full abstract

Token-wise relationship, modeled through a transformer-based SAViR-T architecture, extract group (row or column) driven representations by leveraging the group-rule coherence and use this as the inductive bias to extract the underlying rule representations in the top two row (or column) per token in the RPM. We use this relation representations to locate the correct choice image that completes the last row or column for the RPM. Extensive experiments across both synthetic RPM benchmarks, including RAVEN, I-RAVEN, RAVEN-FAIR, and PGM, and the natural image-based "V-PROM" demonstrate that SAViR-T sets a new state-of-the-art for visual reasoning, exceeding prior models' performance by a considerable margin.

View on arXivView PDF

Code Implementations(1)

Codebase for SAViR-T: Spatially Attentive Visual Reasoning with Transformers, ECML/PKDD 2022

00PythonOct 15, 20242 years ago

Similar Papers

Cite this paper

@article{sahu2022savirt,
  title  = {SAViR-T: Spatially Attentive Visual Reasoning with Transformers},
  author = {Pritish Sahu and Kalliopi Basioti and Vladimir Pavlovic},
  year   = {2022},
  eprint = {2206.09265},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09265}
}

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/2206.09265.svg)](https://codeofpaper.com/paper/2206.09265)

Discussion