A Neuro-Symbolic ASP Pipeline for Visual Question Answering
2022 (English)In: Theory and Practice of Logic Programming, ISSN 1471-0684, E-ISSN 1475-3081, Vol. 22, no 5, p. 739-754Article in journal (Refereed) Published
Abstract [en]
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.
Place, publisher, year, edition, pages
Cambridge University Press, 2022. Vol. 22, no 5, p. 739-754
Keywords [en]
answer-set programming, neuro-symbolic computation, visual question answering, Computation theory, Encoding (symbols), Forecasting, Logic programming, Program translators, Answer set programming, Deterministics, Encodings, Network prediction, Neural-networks, Object classification, Question Answering, Symbolic computation, Pipelines
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-63556DOI: 10.1017/S1471068422000229ISI: 000825043500001Scopus ID: 2-s2.0-85136279413OAI: oai:DiVA.org:hj-63556DiVA, id: diva2:1838576
2024-02-162024-02-162024-02-16Bibliographically approved