mlsanityData to 14 Oct 2026

Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats

arXiv 2405.14606 ↗First posted 23 May 2024cs.LO cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

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 infinitary and rule-based logics are equally expressive. This implies that recurrent GNNs with reals and floats have the same expressive power over MSO-definable properties and shows that, for such properties, also recurrent GNNs with reals are characterized by a (finitary!) rule-based modal logic. In the general case, in contrast, the expressive power with floats is weaker than with reals. In addition to logic-oriented results, we also characterize recurrent GNNs, with both reals and floats, via distributed automata, drawing links to distributed computing models.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 11 of its 37 references that are in the map. First posted on arXiv 23 May 2024.

Builds on

11 of 37 references.

References · 11

  1. 2017Inductive Representation Learning on Large Graphscited by 6,320
  2. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  3. 2020Graph Neural Networks in Recommender Systems: A Surveycited by 494
  4. 2021Graph Neural Network for Traffic Forecasting: A Surveycited by 261
  5. 2021The Logic of Graph Neural Networkscited by 85
  6. 2023The Descriptive Complexity of Graph Neural Networkscited by 26
  7. 2024Decidability of Graph Neural Networks via Logical Characterizationscited by 14
  8. 2023On the Correspondence Between Monotonic Max-Sum GNNs and Datalogcited by 12
  9. 2016Asynchronous Distributed Automata: A Characterization of the Modal Mu-Fragmentcited by 1
  10. 2023Descriptive complexity for distributed computing with circuitscited by 1
  11. 2023Descriptive complexity for neural networks via Boolean networkscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 9; 2026: 4.

13 papers.

Sort: