VisQA: X-raying Vision and Language Reasoning in Transformers

Theo Jaunet, Corentin Kervadec, Romain Vuillemot, Grigory Antipov, Moez Baccouche +1 more
4/2/2021
cs.CVcs.HC
transformer-attention

Official code: Theo-Jaunet/VisQA (10 stars, Python, last commit 2021-11-10).

Abstract

Visual Question Answering systems target answering open-ended textual questions given input images. They are a testbed for learning high-level reasoning with a primary use in HCI, for instance assistance for the visually impaired.

Show full abstract

Recent research has shown that state-of-the-art models tend to produce answers exploiting biases and shortcuts in the training data, and sometimes do not even look at the input image, instead of performing the required reasoning steps. We present VisQA, a visual analytics tool that explores this question of reasoning vs. bias exploitation. It exposes the key element of state-of-the-art neural models -- attention maps in transformers. Our working hypothesis is that reasoning steps leading to model predictions are observable from attention distributions, which are particularly useful for visualization. The design process of VisQA was motivated by well-known bias examples from the fields of deep learning and vision-language reasoning and evaluated in two ways. First, as a result of a collaboration of three fields, machine learning, vision and language reasoning, and data analytics, the work lead to a better understanding of bias exploitation of neural models for VQA, which eventually resulted in an impact on its design and training through the proposition of a method for the transfer of reasoning patterns from an oracle model. Second, we also report on the design of VisQA, and a goal-oriented evaluation of VisQA targeting the analysis of a model decision process from multiple experts, providing evidence that it makes the inner workings of models accessible to users.

View on arXivView PDF

Code Implementations(1)

Theo-Jaunet/VisQAOfficial100%

Online visual analytics tool designed to investigate how attention maps in transformer models behaves, and build hypothesis on those models bias exploitation.

100Python, JavaScriptSep 23, 20205 years ago

Similar Papers

Cite this paper

@article{jaunet2021visqa,
  title  = {VisQA: X-raying Vision and Language Reasoning in Transformers},
  author = {Theo Jaunet and Corentin Kervadec and Romain Vuillemot and Grigory Antipov and Moez Baccouche and Christian Wolf},
  year   = {2021},
  eprint = {2104.00926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.00926}
}

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

Discussion