Table of Contents
Fetching ...

Graph neural networks and MSO

Veeti Ahvonen, Damian Heiman, Antti Kuusisto

TL;DR

The paper addresses the expressiveness gap between recurrent Graph Neural Networks over $\mathbb{R}$ and a logical formalism by establishing that, restricted to MSO-definable properties, $\mathrm{GNN}[\mathbb{R}]$ and $\mathrm{GMSC}$ have equivalent expressive power. It delivers an alternative proof to the known result by replacing parity-tree automata with distributed message-passing automata (CMPA) and by showing how MSO-definable node properties translate into bounded FCMPA, which in turn correspond to $\mathrm{GMSC}$ and $\mathrm{GNN}[\mathbb{R}]$. The approach relies on constructing automata with fixed-point accepting conditions, transforming non-deterministic forgetful automata into deterministic ones, and using $k$-extensions of trees to capture MSO truth conditions. The findings reinforce the deep connections between logic and graph-based neural models, and they highlight the robustness of the $\mathrm{GMSC}$-based characterization across various acceptance paradigms. The results have implications for understanding the theoretical limits of GNNs in logic-guided graph reasoning and suggest avenues for automata-theoretic analyses of neural architectures.

Abstract

We give an alternative proof for the existing result that recurrent graph neural networks working with reals have the same expressive power in restriction to monadic second-order logic MSO as the graded modal substitution calculus. The proof is based on constructing distributed automata that capture all MSO-definable node properties over trees. We also consider some variants of the acceptance conditions.

Graph neural networks and MSO

TL;DR

The paper addresses the expressiveness gap between recurrent Graph Neural Networks over and a logical formalism by establishing that, restricted to MSO-definable properties, and have equivalent expressive power. It delivers an alternative proof to the known result by replacing parity-tree automata with distributed message-passing automata (CMPA) and by showing how MSO-definable node properties translate into bounded FCMPA, which in turn correspond to and . The approach relies on constructing automata with fixed-point accepting conditions, transforming non-deterministic forgetful automata into deterministic ones, and using -extensions of trees to capture MSO truth conditions. The findings reinforce the deep connections between logic and graph-based neural models, and they highlight the robustness of the -based characterization across various acceptance paradigms. The results have implications for understanding the theoretical limits of GNNs in logic-guided graph reasoning and suggest avenues for automata-theoretic analyses of neural architectures.

Abstract

We give an alternative proof for the existing result that recurrent graph neural networks working with reals have the same expressive power in restriction to monadic second-order logic MSO as the graded modal substitution calculus. The proof is based on constructing distributed automata that capture all MSO-definable node properties over trees. We also consider some variants of the acceptance conditions.
Paper Structure (12 sections, 7 theorems, 14 equations)

This paper contains 12 sections, 7 theorems, 14 equations.

Key Result

Proposition 3.1

Let $\varphi(x)$ be an $\mathrm{MSO}$-formula definable in $\omega\text{-}\mathrm{GML}$. Then for all rooted trees $(T,w)$: if $T \models \varphi(w)$, there is a $k \in \mathbb N$ such that $(T,w)$ is $k$-extendable w.r.t. $\varphi(x)$.

Theorems & Definitions (14)

  • Proposition 3.1
  • proof
  • Lemma 3.2
  • Lemma 3.3
  • proof
  • Lemma 3.4
  • proof
  • Theorem 3.5
  • proof
  • Lemma 3.6
  • ...and 4 more