Introduction
This paper introduces the Geometric Weisfeiler-Leman (GWL) test, a novel theoretical framework designed to measure how well Geometric Graph Neural Networks (GNNs) can distinguish between different 3D structures. The authors prove that equivariant models—which track directions and orientations—are strictly more powerful than invariant ones, which rely solely on distances and angles. By unpacking these differences, the paper provides a roadmap for designing "maximally powerful" geometric models.
The Problem with Standard WL
In standard graph machine learning, the Weisfeiler-Leman (WL) test is the gold standard for measuring a model's "expressive power," or its ability to tell two different graphs apart. However, the standard WL test fails for geometric graphs—structures like molecules, proteins, or materials where the physical coordinates in 3D space matter just as much as the topological connections.
Geometric graphs possess specific Euclidean symmetries: if you rotate, translate, or reflect a molecule, it remains the same molecule. Standard GNNs do not inherently "understand" these 3D relationships, and existing theoretical tools could not adequately explain why certain geometric models perform better than others. The authors bridge this gap by creating a version of the WL test that explicitly respects these physical symmetries.
The Geometric WL (GWL) Framework
To evaluate expressivity, the authors propose GWL, a theoretical test that iteratively updates node "colors" (labels) based on both local connectivity and geometric orientation.
Key components of their framework include:
- Invariant GWL (IGWL): A restricted version that only looks at local geometric scalars, such as the distances between atoms.
- Equivariant GWL: The full version that propagates geometric information (vectors and tensors) across the graph.
- Body Order: A measure of how many nodes are involved in a single geometric descriptor (e.g., a distance involves 2 nodes, an angle involves 3).
- Tensor Order: Whether the model uses scalars (order 0), vectors (order 1), or higher-order spherical tensors.
Using these tools, the authors categorize popular models into a unified design space. For instance, SchNet is classified as an invariant model relying on scalars, E-GNN uses equivariant vectors, and MACE leverages high-order spherical tensors for maximum expressivity.
Synthetic Expressivity Benchmarks
Rather than relying solely on standard benchmark datasets—which can sometimes be "solved" by simple models exploiting statistical correlations—the authors developed a suite of synthetic expressivity benchmarks (available in their geometric-gnn-dojo repository):
- k-chains: Long chains of nodes designed to test a model's ability to propagate geometric information over long distances.
- Rotationally Symmetric Structures: 3D shapes that appear identical to low-order sensors but differ in high-order symmetry.
- Geometric Counterexamples: Specific 3D point clouds crafted to be indistinguishable to models with low "body order."
Key Insights
The GWL framework reveals several fundamental insights about geometric GNN design:
- The "Picasso Problem" for GNNs: Invariant models (like SchNet) suffer from a geometric version of the Picasso problem. They know the "parts" (e.g., pairwise distances) are present, but they fail to understand how those parts are oriented relative to each other across the entire graph.
- Equivariance is a Superpower: The paper mathematically proves that equivariant layers are strictly more powerful than invariant ones because they can propagate "orientation" information. This allows them to compute global properties—like the volume of a bounding box—that invariant models simply cannot perceive.
- Body Order vs. Tensor Order: There are two primary ways to increase a model's power: involve more nodes in local calculations (higher body order) or use more complex geometric features (higher tensor order). The authors demonstrate that these approaches are often complementary.
- Discrimination Equals Approximation: A core theoretical result is the proof that a model's ability to distinguish two graphs is mathematically equivalent to its ability to universally approximate any continuous geometric function.
Experimental Results
The theoretical claims are strongly supported by the synthetic benchmark results:
- Depth Matters: In the k-chain experiment, equivariant models (such as GVP-GNN and MACE) successfully distinguished the structures as the number of layers increased. In contrast, invariant models (like SchNet and DimeNet) failed entirely, remaining at random guessing (50% accuracy) regardless of depth.
- The Tensor Ceiling: Models using only vectors (Tensor Order 1) cannot distinguish structures with high-fold rotational symmetry. Only models utilizing higher-order spherical tensors (like TFN or MACE) could solve these specific tasks.
- Oversquashing: The authors also found evidence of "geometric oversquashing," where equivariant information becomes lost or distorted when passed through too many layers of a fixed-size hidden dimension.
Limitations and Future Work
While GWL provides a robust theoretical foundation, the authors note a few limitations. First, GWL is a node-centric framework; it does not perfectly describe "non-local" architectures like certain Graph Transformers or models that rely on global canonical reference frames. Second, while higher-order tensors provide maximum expressive power, they come with a high computational cost. Finding the optimal "sweet spot" between expressivity and efficiency remains an open engineering challenge. Finally, GWL assumes discrete features for its proofs; extending this framework to a fully continuous setting with noisy, real-world data is a promising direction for future research.
Summary updated