Abstract
This paper investigates the theoretical capabilities of the Weisfeiler-Lehman (WL) test when applied to geometric point clouds in $d$-dimensional Euclidean space. The authors demonstrate that a geometric version of the $(d-1)$-order WL test is complete—capable of distinguishing any two non-isometric point clouds—within exactly three iterations. This result establishes a formal lower bound for the expressive power required by Graph Neural Networks (GNNs) to fully capture 3D geometric structures, while also identifying surprising limitations in lower-order tests across higher dimensions.
Introduction
In domains such as computational chemistry, structural biology, and autonomous driving, data is frequently represented as point clouds—sets of coordinates in $\mathbb{R}^d$. To process this data, researchers often employ Graph Neural Networks (GNNs), most of which are conceptually rooted in the Weisfeiler-Lehman (WL) graph isomorphism test.
While the standard WL test determines if two abstract graphs are structurally identical, geometric data introduces the requirement of isometry: two point clouds should be considered identical if one can be transformed into the other via rotation, translation, or reflection. This paper addresses a fundamental question: what is the minimum complexity required for a WL-like algorithm to guarantee the distinction of any two non-isometric point clouds?
The Geometric $\ell$-WL Test
The authors analyze a geometric adaptation of the $\ell$-WL test. In this framework, a point cloud is treated as a complete graph where every edge is weighted by the Euclidean distance between points.
- Initial Coloring: Each tuple of $\ell$ points is assigned an initial "color" based on the matrix of pairwise distances between the points in the tuple.
- Refinement: In each iteration, a tuple updates its color by aggregating the colors of its "neighbors"—tuples formed by replacing one point in the current set with another point from the cloud.
- Completeness: A test is considered "complete" if it assigns different colors to any two point clouds that are not isometric.
Key Theoretical Contributions
The Three-Iteration Rule
The primary finding of the paper is that for any dimension $d \ge 2$, the $(d-1)$-WL test is complete for point clouds in $\mathbb{R}^d$ after exactly three iterations. This is a significant result because it shows that the algorithm does not need to run until convergence (stabilization) to capture the full geometry of the set; the global structure is mathematically fixed by the third round of refinement.
Furthermore, the authors show that if the order of the test is increased to $d$-WL, completeness is achieved in just one iteration.
The Barycenter Lemma and Reconstruction
The proof relies on two critical technical components:
- The Barycenter Lemma: The authors prove that the distance from any point in the cloud to the cloud's center of mass (barycenter) can be recovered using information available in the 1-WL test.
- Reconstruction Algorithm: The authors provide a constructive proof by demonstrating that the "colors" produced by a $(d-1)$-WL test after three rounds contain sufficient information to uniquely reconstruct the original coordinates of the points (up to isometry).
Dimension Blindness and the 6D Limit
The research highlights specific failures of lower-order tests:
- 1-WL Inadequacy: The authors demonstrate that 1-WL is "dimension blind." Specifically, it cannot distinguish between certain planar (2D) configurations and non-planar (3D) configurations. This implies that GNNs based on 1-WL logic may fail to recognize the inherent "flatness" or dimensionality of molecular structures.
- The 6D Counter-example: While 2-WL is complete for 3D space ($d=3$), the authors prove it is not complete for 6D space. By using line graphs ($L(K_{4,4})$), they construct a counter-example showing that the relationship between WL order and spatial dimension is non-linear at higher dimensions.
Implications for GNN Design
This work effectively "closes" the theoretical problem for 3D spatial data. Since 1-WL was previously known to be incomplete for 3D point clouds, and this paper proves 2-WL is complete, it establishes that a GNN must possess at least the expressive power of 2-WL to be a universal geometric representer in 3D.
However, there are practical trade-offs. A 2-WL test has a computational complexity of $O(n^3)$, which poses challenges for scaling to large systems like proteins or complex scenes. The challenge for future research lies in designing architectures that achieve the discriminative power of 2-WL without the associated cubic overhead.
Conclusion and Future Work
The paper provides a rigorous foundation for geometric deep learning, defining the exact iteration and order requirements for isometry distinction. Open questions remain regarding the sufficiency of 2-WL for 4D and 5D spaces, as the current proof only confirms its success in 3D and its failure in 6D. Future work will likely focus on bridging this gap and developing more efficient, high-order geometric GNNs.
Summary updated