NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Expressive Power of Geometric Graph Neural Networks

Chaitanya K. Joshi, Cristian Bodnar, Simon V. Mathis, Taco Cohen, Pietro Liò · OpenReview

Abstract

The expressive power of Graph Neural Networks (GNNs) has been studied extensively through the Weisfeiler-Leman (WL) graph isomorphism test. However, standard GNNs and the WL framework are inapplicable for geometric graphs embedded in Euclidean space, such as biomolecules, materials, and other physical systems. In this work, we propose a geometric version of the WL test (GWL) for discriminating geometric graphs while respecting the underlying physical symmetries: permutations, rotation, reflection, and translation. We use GWL to characterise the expressive power of geometric GNNs that are invariant or equivariant to physical symmetries in terms of distinguishing geometric graphs. GWL unpacks how key design choices influence geometric GNN expressivity: (1) Invariant layers have limited expressivity as they cannot distinguish one-hop identical geometric graphs; (2) Equivariant layers distinguish a larger class of graphs by propagating geometric information beyond local neighbourhoods; (3) Higher order tensors and scalarisation enable maximally powerful geometric GNNs; and (4) GWL's discrimination-based perspective is equivalent to universal approximation.

Introduction

Standard GNN analysis typically relies on the Weisfeiler-Leman (WL) test to measure topological expressivity. However, this framework is "blind" to the 3D geometry essential in fields like drug discovery and materials science. While numerous geometric GNNs (e.g., SchNet, DimeNet, SE(3)-Transformers) have been developed, a formal theoretical compass for comparing their power was missing. This paper introduces the Geometric Weisfeiler-Leman (GWL) test to fill this gap, providing a rigorous way to analyze models acting on 3D spatial data.

The Geometric Weisfeiler-Leman (GWL) Framework

The GWL test extends the standard WL approach by updating both a scalar "color" and an auxiliary geometric object (such as a vector or tensor) for each node. This allows the test to respect physical symmetries—rotation, reflection, and translation—while distinguishing spatial configurations.

The GWL test distinguishes geometric graphs by updating scalar colors and geometric features over iterations to capture spatial relationships.

A critical distinction arises between Invariant GWL (IGWL), which only utilizes scalar invariants like distances and angles, and Equivariant GWL, which propagates geometric information across the graph. The authors demonstrate that invariant models suffer from a "Picasso Problem": they may recognize local features (like "eyes" and "noses") but fail to understand their relative global orientations.

Axes of Expressivity: Body Order and Tensor Order

The theoretical framework identifies three primary axes that determine a geometric GNN's power:

  • Body Order ($k$): The number of nodes involved in a local descriptor (e.g., 2-body for distances, 3-body for angles).
  • Tensor Order ($L$): The complexity of geometric features, ranging from scalars ($L=0$) and Cartesian vectors ($L=1$) to higher-order spherical harmonics.
  • Depth: The number of message-passing layers.
A taxonomy of geometric GNNs categorized by body order, tensor order, and depth.

Equivariant layers act as a "geometric wire," allowing nodes to sense the orientation of distant parts of the graph. This makes them strictly more powerful than invariant models for sparse graphs, as invariant models cannot distinguish "1-hop identical" graphs regardless of depth.

Experimental Insights and Results

To validate the GWL theory, the authors developed synthetic benchmarks including $k$-chains and rotationally symmetric structures.

  • Invariant Failure: Popular models like SchNet and DimeNet failed the $k$-chain task (50% accuracy) because they could not propagate orientation information beyond local neighborhoods.
  • The Necessity of High-Order Tensors: Distinguishing structures with $L$-fold rotational symmetry requires tensors of at least order $L$. Models limited to Cartesian vectors failed on symmetries higher than 2-fold.
  • MACE's Performance: The MACE architecture, which combines high body order with high tensor order, was the only model capable of solving all synthetic challenges.

Conclusion

The GWL framework provides a necessary theoretical foundation for the next generation of geometric GNNs. It proves that equivariance is not merely a local symmetry constraint but a fundamental mechanism for global geometric awareness. Furthermore, the authors establish that a model's ability to distinguish geometric graphs is mathematically equivalent to its ability to approximate any continuous geometric function, bridging the gap between discrimination and universal approximation.

Limitations

The current analysis notes that the gap between invariant and equivariant models diminishes if graphs are fully connected, though this is often computationally prohibitive. Future work remains to analyze models using local coordinate frames and to seek a "perfect" test for all non-isomorphic geometric graphs.

Synthetic experiments and code are available at github.com/chaitjo/geometric-gnn-dojo.

Summary updated

BibTeX
@inproceedings{joshi2023expressive,
  author = {Chaitanya K. Joshi and Cristian Bodnar and Simon V. Mathis and Taco Cohen and Pietro Liò},
  title = {{On the Expressive Power of Geometric Graph Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=6Ed3gchl9L},
}
Figure