KR2026Proceedings of the 23rd International Conference on Principles of Knowledge Representation and ReasoningProceedings of the 23rd International Conference on Principles of Knowledge Representation and Reasoning

Lisbon, Portugal. July 20-23, 2026.

Edited by

ISSN: 2334-1033
ISBN: 978-1-956792-18-8

Sponsored by
Published by

Copyright © 2026 International Joint Conferences on Artificial Intelligence Organization

Unifying Approach to Uniform Expressivity of Graph Neural Networks

  1. Huan Luo(University of Glasgow, University of Sheffield)
  2. Jonni Virtema(University of Glasgow, University of Sheffield)

Keywords

  1. null-Logic and graph neural networks
  2. null-Uniform expressivity
  3. null-Weisfeiler-Leman algorithm
  4. null-Bisimulation

Abstract

The expressive power of Graph Neural Networks (GNNs) is often analysed via correspondence to the Weisfeiler-Leman (WL) algorithm and fragments of first-order logic. Standard GNNs are limited to performing aggregation over immediate neighbourhoods or over global read-outs. To increase their expressivity, recent attempts have been made to incorporate substructural information (e.g. cycle counts and subgraph properties). In this paper, we formalise this architectural trend by introducing Template GNNs (T-GNNs), a generalised framework where node features are updated by aggregating over valid template embeddings from a specified set of graph templates. We propose a corresponding logic, Graded template-modal logic (GML(T)), and generalised notions of template-based bisimulation and WL algorithm. We establish an equivalence between the expressive power of T-GNNs and GML(T), and provide a unifying approach for analysing GNN expressivity: we show how standard AC-GNNs and its recent variants such as AC+-GNNs can be interpreted as instantiations of T-GNNs.