Inferring and Executing Programs for Visual Reasoning

Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Judy Hoffman, Li Fei-Fei +2 more
5/10/2017
cs.CVcs.CLcs.LG

Official code: facebookresearch/clevr-iep (804 stars, last commit 2021-08-30).

Abstract

Existing methods for visual reasoning attempt to directly map inputs to outputs using black-box architectures without explicitly modeling the underlying reasoning processes. As a result, these black-box models often learn to exploit biases in the data rather than learning to perform visual reasoning. Inspired by module networks, this paper proposes a model for visual reasoning that consists of a program generator that constructs an explicit representation of the reasoning process to be performed, and an execution engine that executes the resulting program to produce an answer. Both the program generator and the execution engine are implemented by neural networks, and are trained using a combination of backpropagation and REINFORCE. Using the CLEVR benchmark for visual reasoning, we show that our model significantly outperforms strong baselines and generalizes better in a variety of settings.

View on arXivView PDF

Code Implementations(1)

Inferring and Executing Programs for Visual Reasoning

804216Shell, PythonMay 3, 20175 years agoNOASSERTION

Similar Papers

Cite this paper

@article{johnson2017inferring,
  title  = {Inferring and Executing Programs for Visual Reasoning},
  author = {Justin Johnson and Bharath Hariharan and Laurens van der Maaten and Judy Hoffman and Li Fei-Fei and C. Lawrence Zitnick and Ross Girshick},
  year   = {2017},
  eprint = {1705.03633},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1705.03633}
}

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

Discussion