Although convolutional neural networks (CNNs) showed remarkable results in many vision tasks, they are still strained by simple yet challenging visual reasoning problems. Inspired by the recent success of the Transformer network in computer vision, in this paper, we introduce the Recurrent Vision Transformer (RViT) model. Thanks to the impact of recurrent connections and spatial attention in reasoning tasks, this network achieves competitive results on the same-different visual reasoning problems from the SVRT dataset. The weight-sharing both in spatial and depth dimensions regularizes the model, allowing it to learn using far fewer free parameters, using only 28k training samples. A comprehensive ablation study confirms the importance of a hybrid CNN + Transformer architecture and the role of the feedback connections, which iteratively refine the internal representation until a stable prediction is obtained. In the end, this study can lay the basis for a deeper understanding of the role of attention and recurrent connections for solving visual abstract reasoning tasks. The code for reproducing our results is publicly available here: https://tinyurl.com/recvit

Recurrent vision transformer for solving visual reasoning problems

Messina N;Amato G;Carrara F;Gennaro C;Falchi F
2022

Abstract

Although convolutional neural networks (CNNs) showed remarkable results in many vision tasks, they are still strained by simple yet challenging visual reasoning problems. Inspired by the recent success of the Transformer network in computer vision, in this paper, we introduce the Recurrent Vision Transformer (RViT) model. Thanks to the impact of recurrent connections and spatial attention in reasoning tasks, this network achieves competitive results on the same-different visual reasoning problems from the SVRT dataset. The weight-sharing both in spatial and depth dimensions regularizes the model, allowing it to learn using far fewer free parameters, using only 28k training samples. A comprehensive ablation study confirms the importance of a hybrid CNN + Transformer architecture and the role of the feedback connections, which iteratively refine the internal representation until a stable prediction is obtained. In the end, this study can lay the basis for a deeper understanding of the role of attention and recurrent connections for solving visual abstract reasoning tasks. The code for reproducing our results is publicly available here: https://tinyurl.com/recvit
2022
Istituto di Scienza e Tecnologie dell'Informazione "Alessandro Faedo" - ISTI
Inglese
Sclaroff S., Distante C., Leo M., Farinella G.M., Tombari F.
Image Analysis and Processing - ICIAP 2022
ICIAP 2022 - 21st International Conference on Image Analysis and Processing
50
61
978-3-031-06433-3
https://link.springer.com/chapter/10.1007/978-3-031-06433-3_5
Sì, ma tipo non specificato
23-27/05/2022
Lecce, Italy
Visual reasoning
Transformer networks
Deep Learning
5
open
Messina, N; Amato, G; Carrara, F; Gennaro, C; Falchi, F
273
info:eu-repo/semantics/conferenceObject
04 Contributo in convegno::04.01 Contributo in Atti di convegno
   A European AI On Demand Platform and Ecosystem
   AI4EU
   H2020
   825619

   A European Excellence Centre for Media, Society and Democracy
   AI4Media
   H2020
   951911
File in questo prodotto:
File Dimensione Formato  
prod_468786-doc_189577.pdf

Open Access dal 15/05/2023

Descrizione: Preprint - Recurrent vision transformer for solving visual reasoning problems
Tipologia: Versione Editoriale (PDF)
Dimensione 572.61 kB
Formato Adobe PDF
572.61 kB Adobe PDF Visualizza/Apri
prod_468786-doc_189580.pdf

Open Access dal 15/05/2023

Descrizione: Recurrent vision transformer for solving visual reasoning problems
Tipologia: Versione Editoriale (PDF)
Dimensione 756.64 kB
Formato Adobe PDF
756.64 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/414314
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 5
social impact