Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization

Arie Soeteman, Balder ten Cate
6/16/2025
cs.LGcs.AIcs.LO

No official code found. Best implementation: ariesoeteman/HEGNN (0 stars, MIT, last commit 2025-06-20).

Abstract

We propose and study Hierarchical Ego Graph Neural Networks (HEGNNs), an expressive extension of graph neural networks (GNNs) with hierarchical node individualization, inspired by the Individualization-Refinement paradigm for graph isomorphism testing. HEGNNs generalize subgraph-GNNs and form a hierarchy of increasingly expressive models that, in the limit, can distinguish graphs up to isomorphism. We provide a logical characterization of HEGNN node classifiers, with and without subgraph restrictions, using graded hybrid logic. This characterization enables us to relate the separating power of HEGNNs to that of higher-order GNNs, GNNs enriched with local homomorphism count features, and color refinement algorithms based on Individualization-Refinement. Our experimental results confirm the practical feasibility of HEGNNs and show benefits in comparison with traditional GNN architectures, both with and without local homomorphism count features.

View on arXivView PDF

Code Implementations(1)

ariesoeteman/HEGNNCommunity100%
MIT
01PythonJun 4, 20251 years agoMIT

Cite this paper

@article{soeteman2025logical,
  title  = {Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization},
  author = {Arie Soeteman and Balder ten Cate},
  year   = {2025},
  eprint = {2506.13911},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.13911v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.13911.svg)](https://codeofpaper.com/paper/2506.13911)

Discussion