Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats
Veeti Ahvonen, Damian Heiman, Antti Kuusisto, Carsten Lutz

TL;DR
This paper provides exact logical characterizations of recurrent graph neural networks with reals and floats, establishing their expressive power and linking them to modal logics and distributed automata.
Contribution
It introduces precise logical frameworks matching recurrent GNNs with reals and floats, extending prior work to new settings and connecting to distributed automata.
Findings
Recurrent GNNs with reals are characterized by an infinitary modal logic.
Recurrent GNNs with floats are characterized by a rule-based modal logic with counting.
Recurrent GNNs with reals and floats have equivalent expressive power over MSO-definable properties.
Abstract
In pioneering work from 2019, Barcel\'o and coauthors identified logics that precisely match the expressive power of constant iteration-depth graph neural networks (GNNs) relative to properties definable in first-order logic. In this article, we give exact logical characterizations of recurrent GNNs in two scenarios: (1) in the setting with floating-point numbers and (2) with reals. For floats, the formalism matching recurrent GNNs is a rule-based modal logic with counting, while for reals we use a suitable infinitary modal logic, also with counting. These results give exact matches between logics and GNNs in the recurrent setting without relativising to a background logic in either case, but using some natural assumptions about floating-point arithmetic. Applying our characterizations, we also prove that, relative to graph properties definable in monadic second-order logic (MSO), our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNeural Networks and Applications · Fault Detection and Control Systems · Advanced Graph Neural Networks
