A Neuro-Symbolic ASP Pipeline for Visual Question Answering
- 11 July 2022
- journal article
- research article
- Published by Cambridge University Press (CUP) in Theory and Practice of Logic Programming
- Vol. 22 (5) , 739-754
Abstract
We present a neuro-symbolic visual question answering (VQA) pipeline for CLEVR, which is a well-known dataset that consists of pictures showing scenes with objects and questions related to them. Our pipeline covers (i) training neural networks for object classification and bounding-box prediction of the CLEVR scenes, (ii) statistical analysis on the distribution of prediction values of the neural networks to determine a threshold for high-confidence predictions, and (iii) a translation of CLEVR questions and network predictions that pass confidence thresholds into logic programmes so that we can compute the answers using an answer-set programming solver. By exploiting choice rules, we consider deterministic and non-deterministic scene encodings. Our experiments show that the non-deterministic scene encoding achieves good results even if the neural networks are trained rather poorly in comparison with the deterministic approach. This is important for building robust VQA systems if network predictions are less-than perfect. Furthermore, we show that restricting non-determinism to reasonable choices allows for more efficient implementations in comparison with related neuro-symbolic approaches without losing much accuracy.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- NeurASP: Embracing Neural Networks into Answer Set Programming2020
- AQuA: ASP-Based Visual Question Answering2020
- Integrating Non-monotonic Logical Reasoning and Inductive Learning With Deep Learning for Explainable Visual Question AnsweringFrontiers in Robotics and AI, 2019
- CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning2017
- Revisiting Visual Question Answering Baselines2016
- Stacked Attention Networks for Image Question Answering2016
- Visual7W: Grounded Question Answering in Images2016
- VQA: Visual Question Answering2015
- Answer set programming at a glanceCommunications of the ACM, 2011
- Classical negation in logic programs and disjunctive databasesNew Generation Computing, 1991