Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ahvonen, Veeti, Heiman, Damian, Kuusisto, Antti, Lutz, Carsten
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913815188209664
author Ahvonen, Veeti
Heiman, Damian
Kuusisto, Antti
Lutz, Carsten
author_facet Ahvonen, Veeti
Heiman, Damian
Kuusisto, Antti
Lutz, Carsten
contents In pioneering work from 2019, Barceló 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_14606
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats
Ahvonen, Veeti
Heiman, Damian
Kuusisto, Antti
Lutz, Carsten
Logic in Computer Science
Artificial Intelligence
F.4.1; F.1.1; I.2.0
In pioneering work from 2019, Barceló 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.
title Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats
topic Logic in Computer Science
Artificial Intelligence
F.4.1; F.1.1; I.2.0
url https://arxiv.org/abs/2405.14606