Attention in Reasoning: Dataset, Analysis, and Modeling

Shi Chen, Ming Jiang, Jinhui Yang, Qi Zhao
4/20/2022
cs.CV

Official code: szzexpoi/AiR (57 stars, Python, MIT, last commit 2021-06-29).

Abstract

While attention has been an increasingly popular component in deep neural networks to both interpret and boost the performance of models, little work has examined how attention progresses to accomplish a task and whether it is reasonable. In this work, we propose an Attention with Reasoning capability (AiR) framework that uses attention to understand and improve the process leading to task outcomes.

Show full abstract

We first define an evaluation metric based on a sequence of atomic reasoning operations, enabling a quantitative measurement of attention that considers the reasoning process. We then collect human eye-tracking and answer correctness data, and analyze various machine and human attention mechanisms on their reasoning capability and how they impact task performance. To improve the attention and reasoning ability of visual question answering models, we propose to supervise the learning of attention progressively along the reasoning process and to differentiate the correct and incorrect attention patterns. We demonstrate the effectiveness of the proposed framework in analyzing and modeling attention with better reasoning capability and task performance. The code and data are available at https://github.com/szzexpoi/AiR

View on arXivView PDF

Code Implementations(1)

szzexpoi/AiROfficial100%
MIT

Official Repository for ECCV 2020 paper "AiR: Attention with Reasoning Capability"

574PythonJul 2, 20205 years agoMIT
attentionattention-supervisionmachine-attentionsaliency-maps

Similar Papers

Cite this paper

@article{chen2022attention,
  title  = {Attention in Reasoning: Dataset, Analysis, and Modeling},
  author = {Shi Chen and Ming Jiang and Jinhui Yang and Qi Zhao},
  year   = {2022},
  eprint = {2204.09774},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.09774}
}

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

Discussion