The Descriptive Complexity of Graph Neural Networks
Not on the map. Why?
Abstract (arXiv)
We analyse the power of graph neural networks (GNNs) in terms of Boolean circuit complexity and descriptive complexity. We prove that the graph queries that can be computed by a polynomial-size bounded-depth family of GNNs are exactly those definable in the guarded fragment GFO+C of first-order logic with counting and with built-in relations. This puts GNNs in the circuit complexity class (non-uniform) TC0. Remarkably, the GNN families may use arbitrary real weights and a wide class of activation functions that includes the standard ReLU, logistic "sigmoid", and hyperbolic tangent functions. If the GNNs are allowed to use random initialisation and global readout (both standard features of GNNs widely used in practice), they can compute exactly the same queries as bounded depth Boolean circuits with threshold gates, that is, exactly the queries in TC0. Moreover, we show that queries computable by a single GNN with piecewise linear activations and rational weights are definable in GFO+C without built-in relations. Therefore, they are contained in uniform TC0.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 13 of its 34 references that are in the map. First posted on arXiv 8 Mar 2023.
Builds on
13 of 34 references.
References · 13
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 190
- 2020Random Features Strengthen Graph Neural Networkscited by 184
- 2020Machine Learning on Graphs: A Model and Comprehensive Taxonomycited by 156
- 2021Weisfeiler and Leman go Machine Learning: The Story so farcited by 121
- 2021The Logic of Graph Neural Networkscited by 84
- 2023Some Might Say All You Need Is Sumcited by 21
- 2022Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networkscited by 20
- 2017First-Order Logic with Counting: At Least, Weak Hanf Normal Forms Always Exist and Can Be Computed!cited by 9
- 2022On the expressive power of message-passing neural networks as global feature map transformerscited by 8
1 more
- 2020Learning Concepts Described by Weight Aggregation Logiccited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 11; 2026: 6.
26 papers.
Sort:
By area:
- 2023Fine-grained Expressivity of Graph Neural Networkscited by 25
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 17
- 2024Weisfeiler-Leman at the margin: When more expressivity matterscited by 13
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floatscited by 13
- 2025Provable Failure of Language Models in Learning Majority Boolean Logic via Gradient Descentcited by 8
- 2024Almost Surely Asymptotically Constant Graph Neural Networkscited by 7
- 2024Logical Distillation of Graph Neural Networkscited by 6
- 2024Future Directions in the Theory of Graph Machine Learningcited by 5
- 2024Graph Neural Networks and Arithmetic Circuitscited by 3
- 2024Foundations and Frontiers of Graph Learning Theorycited by 3
- 2025Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualizationcited by 3
- 2025Implicit Hypergraph Neural Networks: A Stable Framework for Higher-Order Relational Learning with Provable Guaranteescited by 3
14 more
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functionscited by 3
- 2025Verifying Quantized Graph Neural Networks is PSPACE-completecited by 2
- 2025Improving Subgraph Matching by Combining Algorithms and Graph Neural Networkscited by 1
- 2025What Expressivity Theory Misses: Message Passing Complexity for GNNscited by 1
- 2025From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networkscited by 1
- 2025Sound Logical Explanations for Mean Aggregation Graph Neural Networkscited by 1
- 2026On the Expressive Power of GNNs for Boolean Satisfiabilitycited by 1
- 2023The logic of rational graph neural networkscited by 0
- 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspectivecited by 0
- 2026Query Languages for Machine-Learning Modelscited by 0
- 2026Graph Learning Should Move Beyond Restrictive Views of Spectral and Message-Passing GNNscited by 0
- 2026Lost in Aggregation: On a Fundamental Expressivity Limit of Message-Passing Graph Neural Networkscited by 0
- 2026Towards Understanding the Expressive Power of GNNs with Global Readoutcited by 0
- 2026Structural Preservation and the Logical Expressiveness of Graph Neural Networkscited by 0
- 2026Structural Preservation and the Logical Expressiveness of Graph Neural Networks16 Jun 2026
- 2026Towards Understanding the Expressive Power of GNNs with Global Readout23 Apr 2026
- 2026Lost in Aggregation: On a Fundamental Expressivity Limit of Message-Passing Graph Neural Networks16 Mar 2026
- 2026Graph Learning Should Move Beyond Restrictive Views of Spectral and Message-Passing GNNs10 Feb 2026
- 2026On the Expressive Power of GNNs for Boolean Satisfiability9 Feb 2026
- 2026Query Languages for Machine-Learning Models14 Jan 2026
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functions22 Dec 2025
- 2025Sound Logical Explanations for Mean Aggregation Graph Neural Networks27 Oct 2025
- 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspective7 Oct 2025
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting6 Oct 2025
- 2025From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networks28 Sep 2025
- 2025What Expressivity Theory Misses: Message Passing Complexity for GNNs1 Sep 2025
14 more
- 2025Implicit Hypergraph Neural Networks: A Stable Framework for Higher-Order Relational Learning with Provable Guarantees13 Aug 2025
- 2025Improving Subgraph Matching by Combining Algorithms and Graph Neural Networks27 Jul 2025
- 2025Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualization16 Jun 2025
- 2025Provable Failure of Language Models in Learning Majority Boolean Logic via Gradient Descent7 Apr 2025
- 2025Verifying Quantized Graph Neural Networks is PSPACE-complete22 Feb 2025
- 2024Foundations and Frontiers of Graph Learning Theory3 Jul 2024
- 2024Logical Distillation of Graph Neural Networks11 Jun 2024
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floats23 May 2024
- 2024Almost Surely Asymptotically Constant Graph Neural Networks6 Mar 2024
- 2024Graph Neural Networks and Arithmetic Circuits27 Feb 2024
- 2024Weisfeiler-Leman at the margin: When more expressivity matters12 Feb 2024
- 2024Future Directions in the Theory of Graph Machine Learning3 Feb 2024
- 2023The logic of rational graph neural networks19 Oct 2023
- 2023Fine-grained Expressivity of Graph Neural Networks6 Jun 2023
- 2023Fine-grained Expressivity of Graph Neural Networkscited by 25
- 2024Weisfeiler-Leman at the margin: When more expressivity matterscited by 13
- 2024Logical Characterizations of Recurrent Graph Neural Networks with Reals and Floatscited by 13
- 2024Almost Surely Asymptotically Constant Graph Neural Networkscited by 7
- 2024Logical Distillation of Graph Neural Networkscited by 6
- 2024Future Directions in the Theory of Graph Machine Learningcited by 5
- 2024Graph Neural Networks and Arithmetic Circuitscited by 3
- 2024Foundations and Frontiers of Graph Learning Theorycited by 3
- 2025Logical Expressiveness of Graph Neural Networks with Hierarchical Node Individualizationcited by 3
- 2025Implicit Hypergraph Neural Networks: A Stable Framework for Higher-Order Relational Learning with Provable Guaranteescited by 3
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functionscited by 3
- 2025Verifying Quantized Graph Neural Networks is PSPACE-completecited by 2
12 most cited of 24 All 24 (JSON)
- 2026Structural Preservation and the Logical Expressiveness of Graph Neural Networks16 Jun 2026
- 2026Towards Understanding the Expressive Power of GNNs with Global Readout23 Apr 2026
- 2026Lost in Aggregation: On a Fundamental Expressivity Limit of Message-Passing Graph Neural Networks16 Mar 2026
- 2026Graph Learning Should Move Beyond Restrictive Views of Spectral and Message-Passing GNNs10 Feb 2026
- 2026On the Expressive Power of GNNs for Boolean Satisfiability9 Feb 2026
- 2026Query Languages for Machine-Learning Models14 Jan 2026
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functions22 Dec 2025
- 2025Sound Logical Explanations for Mean Aggregation Graph Neural Networks27 Oct 2025
- 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspective7 Oct 2025
- 2025From Neural Networks to Logical Theories: The Correspondence between Fibring Modal Logics and Fibring Neural Networks28 Sep 2025
- 2025What Expressivity Theory Misses: Message Passing Complexity for GNNs1 Sep 2025
- 2025Implicit Hypergraph Neural Networks: A Stable Framework for Higher-Order Relational Learning with Provable Guarantees13 Aug 2025
12 newest of 24 All 24 (JSON)