GNN Logical Expressiveness Characterized by Structural Preservation Properties.

Przemys{\l}aw Andrzej Wa{\l}\k{e}ga, Bernardo Cuenca Grau· June 17, 2026 View original

Summary

This paper semantically characterizes the logical expressiveness of Graph Neural Network (GNN) classifiers by linking them to structural preservation properties like embeddings, injective homomorphisms, and homomorphisms. It shows that for each property, a fragment of graded modal logic exists that characterizes the class of GNNs, offering a deeper understanding of GNN capabilities independent of specific architectural choices.

The relationship between Graph Neural Networks (GNNs) and logical formalisms has traditionally been established by fixing specific architectural elements, such as aggregation, combination, and activation functions. This approach defines restricted GNN classes that can be tightly correlated with logical formulae through translation. This research takes a different, semantic perspective by investigating the logical expressiveness of GNN classifiers based on their preservation under various structural properties. Specifically, it examines preservation under embeddings (extensions), injective homomorphisms, and general homomorphisms. The findings reveal that for each of these structural properties, a corresponding fragment of graded modal logic precisely characterizes the class of GNNs exhibiting that preservation. For instance, preservation under embeddings corresponds to existential graded modal logic, while injective homomorphisms align with its existential-positive fragment, and general homomorphisms with existential-positive modal logic. These results provide a fundamental understanding of GNN expressiveness that is independent of particular architectural choices, although the paper also demonstrates that each characterized class admits a GNN architecture with equivalent expressiveness. The technical foundation includes a new well-quasi-order result for trees of bounded height, which facilitates finite representations of unravelling-invariant classes.

Why it matters

Understanding the logical expressiveness of GNNs is crucial for designing more powerful and reliable graph-based AI models. Professionals working with GNNs can use this theoretical framework to select appropriate GNN architectures for tasks requiring specific structural reasoning capabilities, ensuring models are both expressive enough for the problem and not overly complex.

How to implement this in your domain

  1. 1Select GNN architectures based on their known logical expressiveness and structural preservation properties for specific graph analysis tasks.
  2. 2Utilize the insights into graded modal logic fragments to formally verify the capabilities of custom GNN designs.
  3. 3Develop GNNs that explicitly leverage structural preservation properties to improve performance on tasks like anomaly detection or pattern recognition in graphs.
  4. 4Apply the theoretical understanding to interpret the reasoning mechanisms of existing GNN models more effectively.

Who benefits

AI ResearchNetwork ScienceDrug DiscoverySocial Network AnalysisCybersecurity

Key takeaways

  • GNN logical expressiveness can be characterized by structural preservation properties like embeddings and homomorphisms.
  • Each preservation property corresponds to a specific fragment of graded modal logic.
  • This provides a semantic understanding of GNN capabilities independent of architectural choices.
  • The research helps in selecting appropriate GNN architectures for tasks requiring specific structural reasoning.

Original post by Przemys{\l}aw Andrzej Wa{\l}\k{e}ga, Bernardo Cuenca Grau

"arXiv:2606.17882v1 Announce Type: new Abstract: Bridges between graph neural networks (GNNs) and logical formalisms have been established by fixing architectural choices, such as the types of aggregation, combination, and activation functions. These choices define restricted clas…"

View on X

Originally posted by Przemys{\l}aw Andrzej Wa{\l}\k{e}ga, Bernardo Cuenca Grau on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses