Visual Question Answering based on Formal Logic
Not on the map. Why?
Abstract (arXiv)
Visual question answering (VQA) has been gaining a lot of traction in the machine learning community in the recent years due to the challenges posed in understanding information coming from multiple modalities (i.e., images, language). In VQA, a series of questions are posed based on a set of images and the task at hand is to arrive at the answer. To achieve this, we take a symbolic reasoning based approach using the framework of formal logic. The image and the questions are converted into symbolic representations on which explicit reasoning is performed. We propose a formal logic framework where (i) images are converted to logical background facts with the help of scene graphs, (ii) the questions are translated to first-order predicate logic clauses using a transformer based deep learning model, and (iii) perform satisfiability checks, by using the background knowledge and the grounding of predicate clauses, to obtain the answer. Our proposed method is highly interpretable and each step in the pipeline can be easily analyzed by a human. We validate our approach on the CLEVR and the GQA dataset. We achieve near perfect accuracy of 99.6% on the CLEVR dataset comparable to the state of art models, showcasing that formal logic is a viable tool to tackle visual question answering. Our model is also data efficient, achieving 99.1% accuracy on CLEVR dataset when trained on just 10% of the training data.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 12 of its 19 references that are in the map. First posted on arXiv 8 Nov 2021.
Builds on
12 of 19 references.
References · 12
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2015VQA: Visual Question Answeringcited by 2,489
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2017Scene Graph Generation by Iterative Message Passingcited by 462
- 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 369
- 2018Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understandingcited by 304
- 2017Inferring and Executing Programs for Visual Reasoningcited by 130
- 2016Visual Question Answering: A Survey of Methods and Datasetscited by 123
- 2016Learning to Compose Neural Networks for Question Answeringcited by 85
- 2018Factorizable Net: An Efficient Subgraph-based Framework for Scene Graph Generationcited by 78
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Augmented Vision-Language Models: A Systematic Reviewcited by 0
- 2025Augmented Vision-Language Models: A Systematic Review24 Jul 2025