TL;DR
This paper introduces the Geometric Weisfeiler-Leman (GWL) test, a new theoretical framework to characterize the expressive power of geometric Graph Neural Networks (GNNs). It reveals fundamental limitations of invariant GNNs and demonstrates how key design choices—specifically depth, tensor order, and body order—dictate a model's ability to resolve 3D spatial geometry.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) are widely used to model molecules, materials, and physical systems where nodes represent atoms and edges represent bonds. These systems are modeled as geometric graphs, meaning they possess 3D spatial coordinates that must obey physical symmetries: translation, rotation, and reflection (the $E(3)$ or $SE(3)$ Lie groups).
While the expressive power of standard GNNs is well-understood through the lens of the classic Weisfeiler-Leman (1-WL) graph isomorphism test, 1-WL completely ignores spatial geometry. Consequently, there has been a lack of a rigorous theoretical framework to analyze and compare how well geometric GNNs capture 3D structure. This paper fills that gap by establishing a geometric analogue to the WL test.
Methods
The authors introduce the Geometric Weisfeiler-Leman (GWL) test, an abstract mathematical framework that provides a theoretical upper bound on the expressivity of geometric GNNs. GWL iteratively updates node colors by injectively aggregating both invariant neighborhood features (like distances) and equivariant geometric features (like orientation vectors).
The paper uses GWL to analyze two main classes of geometric GNNs:
- $\mathcal{G}$-invariant models (e.g., SchNet, DimeNet), which only propagate scalar features like distances and angles.
- $\mathcal{G}$-equivariant models (e.g., E-GNN, TFN, MACE), which propagate vector or tensor features that transform predictably under spatial rotations and translations.
The authors map out the design space of geometric GNNs across three distinct axes of expressivity: Depth (layer count), Tensor Order (Cartesian vectors vs. higher-order spherical tensors), and Body Order (the number of simultaneous node interactions considered during scalarization). Finally, they prove that a model's ability to discriminate graphs under GWL is mathematically equivalent to its capability for universal function approximation.
Datasets
Instead of standard molecular property prediction datasets (like QM9), the authors introduce geometric-gnn-dojo, a synthetic benchmark suite explicitly designed to probe the theoretical limits of geometric GNN expressivity. It includes:
- $k$-chain geometric graphs: Chains of nodes differentiated only by the spatial orientation of their endpoints, testing long-range geometric propagation.
- Rotationally symmetric structures: Point clouds with $L$-fold rotational symmetry designed to test tensor order limits.
- Degenerate point cloud counterexamples: Specifically constructed configurations from prior literature that require high body-order invariants to be distinguished.
Key Insights and Ideas
- The Blind Spot of Invariance: Invariant GNNs cannot distinguish graphs whose 1-hop neighborhoods are identical, even if their global structures differ. They fail to compute global properties like volume, perimeter, centroids, or dihedral angles because geometric orientation information cannot flow across layers.
- Geometric Oversquashing: While equivariant GNNs are theoretically capable of passing orientation information across multiple hops, they suffer from a geometric variant of "oversquashing." Compressing complex 3D spatial relationships into fixed-dimensional vector spaces over deep layers leads to information loss.
- The Necessity of Higher-Order Tensors: To identify the orientation of a structure with $L$-fold rotational symmetry, an equivariant GNN must use spherical tensors of at least order $L$. Popular models using only Cartesian vectors (tensor order 1) fail completely on symmetries higher than 2-fold.
Key Results
- Depth & Global Geometry (Table 1): Invariant models (SchNet, DimeNet, SphereNet) scored a flat 50% (random guessing) at distinguishing $k$-chains. Equivariant models succeeded but required more layers than GWL theoretically prescribes (e.g., E-GNN needed 5 layers instead of the theoretical 3 for a 4-chain), demonstrating geometric oversquashing.
- Rotational Symmetry (Table 2): Cartesian vector models (E-GNN, GVP-GNN) failed on all rotational symmetry tests (50% accuracy). Spherical tensor models (TFN, MACE) achieved 100% accuracy only when their tensor order $L$ matched or exceeded the fold-symmetry of the dataset.
- Body Order (Table 3): Models constrained to $k$-body scalarization failed on corresponding $(k+1)$-body counterexamples, validating the hierarchical power of body-order expressivity.
Limitations and Future Work
- Pathological Edge Cases: GWL assumes graph topology is derived from radial cutoffs (common in molecular modeling). If graph topology is entirely independent of coordinates, GWL can fail in pathological cases (e.g., if all coordinates are zero, it reduces to standard 1-WL).
- Non-local/Frame-based Architectures: GWL is strictly node-centric and does not directly cover non-local architectures (like GemNet-Q's two-hop dihedral angles) or models that use canonical local reference frames to convert equivariant features into invariant ones.
- Future Directions: The authors suggest using the insights from GWL to design practical, maximally powerful geometric GNNs that mitigate geometric oversquashing and efficiently scale to higher tensor and body orders.
Summary updated