Three iterations of -WL test distinguish non isometric clouds of -dimensional points

The Weisfeiler--Lehman (WL) test is a fundamental iterative algorithm for checking isomorphism of graphs. It has also been observed that it underlies the design of several graph neural network architectures, whose capabilities and performance can be understood in terms of the expressive power of this test. Motivated by recent developments in machine learning applications to datasets involving three-dimensional objects, we study when the WL test is {\em complete} for clouds of euclidean points represented by complete distance graphs, i.e., when it can distinguish, up to isometry, any arbitrary such cloud. %arbitrary clouds of euclidean points represented by complete distance graphs. % How many dimensions of the Weisfeiler--Lehman test is enough to distinguish any two non-isometric point clouds in -dimensional Euclidean space, assuming that these point clouds are given as complete graphs labeled by distances between the points? This question is important for understanding, which architectures of graph neural networks are capable of fully exploiting the spacial structure of a point cloud.Our main result states that the -dimensional WL test is complete for point clouds in -dimensional Euclidean space, for any , and that only three iterations of the test suffice. We also observe that the -dimensional WL test only requires one iteration to achieve completeness.Our paper thus provides complete understanding of the 3-dimensional case: it was shown in previous works that 1-WL is not complete in , and we show that 2-WL is complete there. We also strengthen the lower bound for 1-WL by showing that it is unable to recognize planar point clouds in . Finally, we show that 2-WL is not complete in , leaving as an open question, whether it is complete in for .
View on arXiv@article{rose2025_2303.12853, title={ Three iterations of $(d-1)$-WL test distinguish non isometric clouds of $d$-dimensional points }, author={ Valentino Delle Rose and Alexander Kozachinskiy and Cristóbal Rojas and Mircea Petrache and Pablo Barceló }, journal={arXiv preprint arXiv:2303.12853}, year={ 2025 } }