Proceedings

A Logic-based Approach to Contrastive Explainability for Neurosymbolic Visual Question Answering

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 3668-3676.

https://doi.org/10.24963/ijcai.2023/408

Abstract

Visual Question Answering (VQA) is a well-known problem for which deep-learning is key. This poses a challenge for explaining answers to questions, the more if advanced notions like contrastive explanations (CEs) should be provided. The latter explain why an answer has been reached in contrast to a different one and are attractive as they focus on reasons necessary to flip a query answer. We present a CE framework for VQA that uses a neurosymbolic VQA architecture which disentangles perception from reasoning. Once the reasoning part is provided as logical theory, we use answer-set programming, in which CE generation can be framed as an abduction problem. We validate our approach on the CLEVR dataset, which we extend by more sophisticated questions to further demonstrate the robustness of the modular architecture. While we achieve top performance compared to related approaches, we can also produce CEs for explanation, model debugging, and validation tasks, showing the versatility of the declarative approach to reasoning.

  1. [Andres et al., 2012] Benjamin Andres, Benjamin Kaufmann, Oliver Matheis, and Torsten Schaub. Unsatisfiability-based optimization in clasp. In Technical Communications of the 28th International Conference on Logic Programming (ICLP 2012), volume 17 of LIPIcs, pages 211-221. Schloss Dagstuhl -Leibniz-Zentrum für Informatik, 2012.
  2. [Arras et al., 2022] Leila Arras, Ahmed Osman, and Woj- ciech Samek. CLEVR-XAI: A benchmark dataset for the ground truth evaluation of neural network explanations. Information Fusion, 81:14-40, 2022.
  3. [Barra et al., 2021] Silvio Barra, Carmen Bisogni, Maria De Marsico, and Stefano Ricciardi. Visual question answering: Which investigated applications? Pattern Recognit. Lett., 151:325-331, 2021.
  4. [Beckham et al., 2023] Christopher Beckham, Martin Weiss, Florian Golemo, Sina Honari, Derek Nowrouzezahrai, and Christopher Pal. Visual question answering from another perspective: CLEVR mental rotation tests. Pattern Recog- nition, 136:109209, 2023.
  5. [Brewka et al., 2011] Gerhard Brewka, Thomas Eiter, and Miroslaw Truszczynski. Answer set programming at a glance. Commun. ACM, 54(12):92-103, 2011.
  6. [Cabalar et al., 2020] Pedro Cabalar, Jorge Fandinno, and Brais Muñiz. A system for explainable answer set pro- gramming. In Technical Communications of the 36th Inter- national Conference on Logic Programming (ICLP 2020), volume 325 of EPTCS, pages 124-136, 2020.
  7. [Calimeri et al., 2020] Francesco Calimeri, Wolfgang Faber, Martin Gebser, Giovambattista Ianni, Roland Kaminski, Thomas Krennwallner, Nicola Leone, Marco Maratea, Francesco Ricca, and Torsten Schaub. ASP-core-2 input language format. Theory and Practice of Logic Program- ming, 20(2):294-309, 2020.
  8. [Dosilovic et al., 2018] Filip Karlo Dosilovic, Mario Brcic, and Nikica Hlupic. Explainable artificial intelligence: A survey. In Proc. of the 41st International Convention on Information and Communication Technology, pages 210- 215. IEEE, 2018.
  9. [Eiter et al., 2022] Thomas Eiter, Nelson Higuera, Johannes Oetsch, and Michael Pritz. A neuro-symbolic ASP pipeline for visual question answering. Theory and Practice of Logic Programming, 22(5):739-754, 2022.
  10. [Freiesleben, 2022] Timo Freiesleben. The intriguing rela- tion between counterfactual explanations and adversarial examples. Minds Mach., 32(1):77-109, 2022.
  11. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Multi-shot asp solv- ing with clingo. Theory and Practice of Logic Program- ming, 19(1):27-82, 2019.
  12. [He et al., 2020] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross B. Girshick. Mask R-CNN. IEEE Trans. Pattern Anal. Mach. Intell., 42(2):386-397, 2020.
  13. [Hudson and Manning, 2018] Drew A. Hudson and Christo- pher D. Manning. Compositional attention networks for machine reasoning. In Proc. of the 6th International Con- ference on Learning Representations (ICLR 2018), 2018.
  14. [Ignatiev and Silva, 2021] Alexey Ignatiev and João P. Mar- ques Silva. Sat-based rigorous explanations for decision lists. In Proc. of the 24th International Conference Theory and Applications of Satisfiability Testing (SAT 2021), vol- ume 12831 of Lecture Notes in Computer Science, pages 251-269. Springer, 2021.
  15. [Ignatiev et al., 2020] Alexey Ignatiev, Nina Narodytska, Nicholas Asher, and João Marques-Silva. From contrastive to abductive explanations and back again. In In Proc. of the 19th International Conference of the Italian Association for Artificial Intelligence (AIxIA 2020), volume 12414 of Lec- ture Notes in Computer Science, pages 335-355. Springer, 2020.
  16. [Jacovi et al., 2021] Alon Jacovi, Swabha Swayamdipta, Shauli Ravfogel, Yanai Elazar, Yejin Choi, and Yoav Gold- berg. Contrastive explanations for model interpretability. In Proc. of the 2021 Conference on Empirical Methods in Natural Language Processing (EMNLP 2021), pages 1597- 1611. Association for Computational Linguistics, 2021.
  17. [Johnson et al., 2017] Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Li Fei-Fei, C. Lawrence Zitnick, and Ross B. Girshick. CLEVR: A diagnostic dataset for compositional language and elementary visual reasoning. In Proc. of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR 2017), pages 1988-1997. IEEE Computer Society, 2017.
  18. [Lindstrom and Abraham, 2022] Adam Dahlgren Lindstrom and Savitha Sam Abraham. Clevr-math: A dataset for com- positional language, visual and mathematical reasoning. In Proc. of the 16th International Workshop on Neural- Symbolic Learning and Reasoning as part of the 2nd In- ternational Joint Conference on Learning & Reasoning (IJCLR 2022), volume 3212 of CEUR Workshop Proceed- ings, pages 155-170, 2022.
  19. [Lipton, 1990] Peter Lipton. Contrastive explanation. Royal Institute of Philosophy Supplement, 27:247-266, 1990.
  20. [Luong et al., 2015] Minh-Thang Luong, Hieu Pham, and Christopher D. Manning. Effective approaches to attention- based neural machine translation. In Proc. of the 2015 Conference on Empirical Methods in Natural Language Processing, pages 1412-1421. Association for Computa- tional Linguistics, 2015.
  21. [Manhaeve et al., 2018] Robin Manhaeve, Sebastijan Duman- cic, Angelika Kimmig, Thomas Demeester, and Luc De Raedt. Deepproblog: Neural probabilistic logic program- ming. In Proc. of Advances in Neural Information Process- ing Systems 31: Annual Conference on Neural Information Processing Systems (NeurIPS 2018), pages 3753-3763, 2018.
  22. [Marques-Silva, 2023] Joao Marques-Silva. Logic-Based Ex- plainability in Machine Learning, pages 24-104. Springer Nature Switzerland, Cham, 2023.
  23. [Miller, 2019] Tim Miller. Explanation in artificial intelli- gence: Insights from the social sciences. Artif. Intell., 267:1-38, 2019.
  24. [Salewski et al., 2020] Leonard Salewski, A. Sophia Koepke, Hendrik P. A. Lensch, and Zeynep Akata. CLEVR-X: A visual reasoning dataset for natural language explana- tions. In xxAI -Beyond Explainable AI -International Workshop, Held in Conjunction with ICML 2020, Revised and Extended Papers, volume 13200 of Lecture Notes in Computer Science, pages 69-88. Springer, 2020.
  25. [Sampat et al., 2021] Shailaja Keyur Sampat, Akshay Kumar, Yezhou Yang, and Chitta Baral. Clevr hyp: A challenge dataset and baselines for visual question answering with hypothetical actions over images. In Proc. of the 2021 Con- ference of the North American Chapter of the Association for Computational Linguistics: Human Language Technolo- gies (NAACL-HLT 2021), pages 3692-3709. Association for Computational Linguistics, 2021.
  26. [Santoro et al., 2017] Adam Santoro, David Raposo, David G. T. Barrett, Mateusz Malinowski, Razvan Pascanu, Pe- ter W. Battaglia, and Tim Lillicrap. A simple neural net- work module for relational reasoning. In Proc. of Ad- vances in Neural Information Processing Systems 30: An- nual Conference on Neural Information Processing Systems (NeurIPS 2017), pages 4967-4976, 2017.
  27. [Skryagin et al., 2022] Arseny Skryagin, Wolfgang Stammer, Daniel Ochs, Devendra Singh Dhami, and Kristian Kerst- ing. Neural-Probabilistic Answer Set Programming. In Proc. of the 19th International Conference on Principles of Knowledge Representation and Reasoning (KR 2022), pages 463-473, 2022.
  28. [Stepin et al., 2021] Ilia Stepin, José Maria Alonso, Alejan- dro Catalá, and Martin Pereira-Fariña. A survey of con- trastive and counterfactual explanation generation meth- ods for explainable artificial intelligence. IEEE Access, 9:11974-12001, 2021.
  29. [Winters et al., 2022] Thomas Winters, Giuseppe Marra, Robin Manhaeve, and Luc De Raedt. Deepstochlog: Neural stochastic logic programming. In Proc. of the Thirty-Sixth AAAI Conference on Artificial Intelligence (AAAI 2022), pages 10090-10100. AAAI Press, 2022.
  30. [Yang et al., 2020] Zhun Yang, Adam Ishay, and Joohyung Lee. Neurasp: Embracing neural networks into answer set programming. In Christian Bessiere, editor, Proc. of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI 2020), pages 1755-1762, 2020. IJCAI
  31. [Yi et al., 2018] Kexin Yi, Jiajun Wu, Chuang Gan, Antonio Torralba, Pushmeet Kohli, and Josh Tenenbaum. Neural- symbolic VQA: disentangling reasoning from vision and language understanding. In Proc. of Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018 (NeurIPS 2018), pages 1039-1050, 2018.
  32. [Zou and Xie, 2020] Yeyun Zou and Qiyu Xie. A survey on VQA: Datasets and approaches. In Proc. of the 2nd In- ternational Conference on Information Technology and Computer Application (ITCA 2020), pages 289-297, 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards