Proceedings

A Logic for Reasoning about Aggregate-Combine Graph Neural Networks

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3532-3540.

https://doi.org/10.24963/ijcai.2024/391

Abstract

We propose a modal logic in which counting modalities appear in linear inequalities. We show that each formula can be transformed into an equivalent graph neural network (GNN). We also show that a broad class of GNNs can be transformed efficiently into a

formula, thus significantly improving upon the literature about the logical expressiveness of GNNs. We also show that the satisfiability problem is PSPACE-complete. These results bring together the promise of using standard logical methods for reasoning about GNNs and their properties, particularly in applications such as GNN querying, equivalence checking, etc. We prove that such natural problems can be solved in polynomial space.

  1. [Areces et al., 2010] Carlos Areces, Guillaume Hoffmann, and Alexandre Denis. Modal logics with counting. In Anuj Dawar and Ruy J. G. B. de Queiroz, editors, Logic, Lan- guage, Information and Computation, 17th International Workshop, WoLLIC 2010, Brasilia, Brazil, July 6-9, 2010. Proceedings, volume 6188 of Lecture Notes in Computer Science, pages 98-109. Springer, 2010.
  2. [Azzolin et al., 2022] Steve Azzolin, Antonio Longa, Pietro Barbiero, Pietro Liò, and Andrea Passerini. Global ex- plainability of GNNs via logic combination of learned concepts. CoRR, abs/2210.07147, 2022.
  3. [Baader et al., 2020] Franz Baader, Bartosz Bednarczyk, and Sebastian Rudolph. Satisfiability and query answering in description logics with global and local cardinality con- straints. In 24th European Conference on Artificial Intel- ligence (ECAI 2020), volume 325 of Frontiers in Artificial Intelligence and Applications, pages 616-623. IOS Press, 2020.
  4. [Barceló et al., 2020] Pablo Barceló, Egor V Kostylev, Mikaël Monet, Jorge Pérez, Juan Reutter, and Juan-Pablo Silva. The logical expressiveness of graph neural net- works. In 8th International Conference on Learning Rep- resentations (ICLR 2020), Virtual conference, Ethiopia, April 2020.
  5. [Blackburn et al., 2001] Patrick Blackburn, Maarten de Ri- jke, and Yde Venema. Modal Logic, volume 53 of Cam- bridge Tracts in Theoretical Computer Science. Cam- bridge University Press, 2001.
  6. [Cucala et al., 2023] David Tena Cucala, Bernardo Cuenca Grau, Boris Motik, and Egor V. Kostylev. On the corre- spondence between monotonic max-sum GNNs and Dat- alog. In Pierre Marquis, Tran Cao Son, and Gabriele Kern-Isberner, editors, Proceedings of the 20th Interna- tional Conference on Principles of Knowledge Represen- tation and Reasoning, KR 2023, Rhodes, Greece, Septem- ber 2-8, 2023, pages 658-667, 2023.
  7. [de Rijke, 2000] Maarten de Rijke. A note on graded modal logic. Studia Logica, 64(2):271-283, 2000.
  8. [Demri and Lugiez, 2010] Stéphane Demri and Denis Lugiez. Complexity of modal logics with Presburger constraints. J. Appl. Log., 8(3):233-252, 2010.
  9. [Fattorosi-Barnaba and Caro, 1985] Maurizio Fattorosi- Barnaba and F. Caro. Graded modalities. I. Studia Logica, 44(2):197-221, 1985.
  10. [Galliani et al., 2023] Pietro Galliani, Oliver Kutz, and Nico- las Troquard. Succinctness and complexity of ALC with counting perceptrons. In Pierre Marquis, Tran Cao Son, and Gabriele Kern-Isberner, editors, Proceedings of the 20th International Conference on Principles of Knowledge Representation and Reasoning, KR 2023, Rhodes, Greece, September 2-8, 2023, pages 291-300, 2023.
  11. [Gilmer et al., 2017] Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Doina Precup and Yee Whye Teh, editors, Proceedings of the 34th Inter- national Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pages 1263- 1272. PMLR, 2017.
  12. [Grohe, 2021] Martin Grohe. The logic of graph neural net- works. In 36th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2021, Rome, Italy, June 29 -July 2, 2021, pages 1-17. IEEE, 2021.
  13. [Hampson, 2016] Christopher Hampson. Decidable first- order modal logics with counting quantifiers. In Lev D. Beklemishev, Stéphane Demri, and András Maté, editors, Advances in Modal Logic 11, proceedings of the 11th con- ference on "Advances in Modal Logic," held in Budapest, Hungary, August 30 -September 2, 2016, pages 382-400. College Publications, 2016.
  14. [Huang et al., 2020] Xiaowei Huang, Daniel Kroening, Wenjie Ruan, James Sharp, Youcheng Sun, Emese Thamo, Min Wu, and Xinping Yi. A survey of safety and trustwor- thiness of deep neural networks: Verification, testing, ad- versarial attack and defence, and interpretability. Comput. Sci. Rev., 37:100270, 2020.
  15. [Katz et al., 2017] Guy Katz, Clark W. Barrett, David L. Dill, Kyle Julian, and Mykel J. Kochenderfer. Reluplex: An efficient SMT solver for verifying deep neural net- works. In Rupak Majumdar and Viktor Kuncak, editors, Computer Aided Verification -29th International Confer- ence, CAV 2017, Heidelberg, Germany, July 24-28, 2017, Proceedings, Part I, volume 10426 of Lecture Notes in Computer Science, pages 97-117. Springer, 2017.
  16. [Ladner, 1977] Richard E. Ladner. The computational com- plexity of provability in systems of modal propositional logic. SIAM Journal on Computing, 6(3):467-480, 1977.
  17. [Marques-Silva and Ignatiev, 2022] João Marques-Silva and Alexey Ignatiev. Delivering trustworthy AI through for- mal XAI. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, Thirty-Fourth Conference on In- novative Applications of Artificial Intelligence, IAAI 2022, The Twelveth Symposium on Educational Advances in Ar- tificial Intelligence, EAAI 2022 Virtual Event, February 22 -March 1, 2022, pages 12342-12350. AAAI Press, 2022.
  18. [Müller et al., 2022] Peter Müller, Lukas Faber, Karolis Martinkus, and Roger Wattenhofer. DT+GNN: A fully explainable graph neural network using decision trees. CoRR, abs/2205.13234, 2022.
  19. [Nunn et al., 2024] Pierre Nunn, Marco Sälzer, François Schwarzentruber, and Nicolas Troquard. A Logic for Reasoning About Aggregate-Combine Graph Neural Net- works. CoRR, abs/2405.00205, 2024.
  20. [Pinchinat et al., 2022] Sophie Pinchinat, Sasha Rubin, and François Schwarzentruber. Formula synthesis in proposi- tional dynamic logic with shuffle. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, Thirty- Fourth Conference on Innovative Applications of Artificial Intelligence, IAAI 2022, The Twelveth Symposium on Ed- ucational Advances in Artificial Intelligence, EAAI 2022 Virtual Event, February 22 -March 1, 2022, pages 9902- 9909. AAAI Press, 2022.
  21. [Reiser et al., 2022] Patrick Reiser, Marlen Neubert, André Eberhard, Luca Torresi, Chen Zhou, Chen Shao, Houssam Metni, Clint van Hoesel, Henrik Schopmans, Timo Som- mer, and Pascal Friederich. Graph neural networks for ma- terials science and chemistry. Communications Materials, 3(93), 2022.
  22. [Rudin, 2019] Cynthia Rudin. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat. Mach. Intell., 1(5):206- 215, 2019.
  23. [Salamat et al., 2021] Amirreza Salamat, Xiao Luo, and Ali Jafari. Heterographrec: A heterogeneous graph-based neu- ral networks for social recommendations. Knowl. Based Syst., 217:106817, 2021.
  24. [Sälzer and Lange, 2022] Marco Sälzer and Martin Lange. We cannot guarantee safety: The undecidability of graph neural network verification. CoRR, abs/2206.05070, 2022.
  25. [Shirazi and Amir, 2007] Afsaneh Shirazi and Eyal Amir. Probabilistic modal logic. In Proceedings of the Twenty- Second AAAI Conference on Artificial Intelligence, July 22-26, 2007, Vancouver, British Columbia, Canada, pages 489-495. AAAI Press, 2007.
  26. [Sistla and Clarke, 1985] A. Prasad Sistla and Edmund M. Clarke. The complexity of propositional linear temporal logics. J. ACM, 32(3):733-749, 1985.
  27. [Snell et al., 2012] William Snell, Dirk Pattinson, and Flo- rian Widmann. Solving graded/probabilistic modal logic via linear inequalities (system description). In Nikolaj S. Bjørner and Andrei Voronkov, editors, Logic for Program- ming, Artificial Intelligence, and Reasoning -18th Inter- national Conference, LPAR-18, Mérida, Venezuela, March 11-15, 2012. Proceedings, volume 7180 of Lecture Notes in Computer Science, pages 383-390. Springer, 2012.
  28. [Tseitin, 1983] Grigori S. Tseitin. On the complexity of derivation in propositional calculus. Automation of rea- soning: 2: Classical papers on computational logic 1967- 1970, pages 466-483, 1983.
  29. [Xiong et al., 2021] Jiacheng Xiong, Zhaoping Xiong, Kaix- ian Chen, Hualiang Jiang, and Mingyue Zheng. Graph neural networks for automated de novo drug design. Drug Discovery Today, 26(6):1382-1393, 2021.
  30. [Ye et al., 2022] Zi Ye, Yogan Jaya Kumar, Goh Ong Sing, Fengyan Song, and Junsong Wang. A comprehensive sur- vey of graph neural networks for knowledge graphs. IEEE Access, 10:75729-75741, 2022.
  31. [Yuan et al., 2023] Hao Yuan, Haiyang Yu, Shurui Gui, and Shuiwang Ji. Explainability in graph neural networks: A taxonomic survey. IEEE Trans. Pattern Anal. Mach. In- tell., 45(5):5782-5799, 2023.
  32. [Zhou et al., 2020] Jie Zhou, Ganqu Cui, Shengding Hu, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, Lifeng Wang, Changcheng Li, and Maosong Sun. Graph neural networks: A review of methods and applications. AI Open, 1:57-81, 2020.

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

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