Proceedings

The Power of the Weisfeiler-Leman Algorithm for Machine Learning with Graphs

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Survey Track. Pages 4543-4550.

https://doi.org/10.24963/ijcai.2021/618

Abstract

In recent years, algorithms and neural architectures based on the Weisfeiler-Leman algorithm, a well-known heuristic for the graph isomorphism problem, emerged as a powerful tool for (supervised) machine learning with graphs and relational data. Here, we give a comprehensive overview of the algorithm's use in a machine learning setting. We discuss the theoretical background, show how to use it for supervised graph- and node classification, discuss recent extensions, and its connection to neural architectures. Moreover, we give an overview of current applications and future directions to stimulate research.

  1. [Abboud et al., 2020] R. Abboud, İ. İ. Ceylan, M. Grohe, and T. Lukasiewicz. The surprising power of graph neural networks with random node initialization. CoRR, abs/2010.01179, 2020. IJCAI
  2. [Alon and Yahav, 2020] U. Alon and E. Yahav. On the bottleneck of graph neural networks and its practical implications. CoRR, abs/2006.05205, 2020.
  3. [Arvind et al., 2015] V. Arvind, J. Köbler, G. Rattan, and O. Verbitsky. On the power of color refinement. In International Symposium on Fundamentals of Computation Theory, pages 339-350, 2015.
  4. [Arvind et al., 2019] V. Arvind, F. Fuhlbrück, J. Köbler, and O. Verbit- sky. On Weisfeiler-Leman invariance: Subgraph counts and related graph properties. In International Symposium on Fundamentals of Computation Theory, pages 111-125, 2019.
  5. [Atserias and Maneva, 2013] A. Atserias and E. N. Maneva. Sherali- adams relaxations and indistinguishability in counting logics. SIAM Journal on Computing, 42(1):112-137, 2013.
  6. [Atserias et al., 2019] A. Atserias, L Mancinska, D. E. Roberson, R. Sá- mal, S. Severini, and A. Varvitsiotis. Quantum and non-signalling graph isomorphisms. Journal of Combinatorial Theory, Series B, 136:289-328, 2019.
  7. [Azizian and Lelarge, 2020] W. Azizian and M. Lelarge. Characteriz- ing the expressive power of invariant and equivariant graph neural networks. CoRR, abs/2006.15646, 2020.
  8. [Babai et al., 1980] L. Babai, P. Erdős, and S. M. Selkow. Random graph isomorphism. SIAM Journal on Computing, 9(3):628-635, 1980.
  9. [Babai, 2016] L. Babai. Graph isomorphism in quasipolynomial time. In ACM SIGACT Symposium on Theory of Computing, pages 684-697, 2016.
  10. [Barabasi and Oltvai, 2004] A.-L. Barabasi and Z. N. Oltvai. Network biology: Understanding the cell's functional organization. Nature Reviews Genetics, 5(2):101-113, 2004.
  11. [Berkholz et al., 2013] C. Berkholz, P. S. Bonsma, and M. Grohe. Tight lower and upper bounds for the complexity of canonical colour refinement. In Annual European Symposium on Algorithms, pages 145-156, 2013.
  12. [Bouritsas et al., 2020] G. Bouritsas, F. Frasca, S. Zafeiriou, and M. M. Bronstein. Improving graph neural network expressivity via subgraph isomorphism counting. CoRR, abs/2006.09252, 2020.
  13. [Cai et al., 1992] J. Cai, M. Fürer, and N. Immerman. An optimal lower bound on the number of variables for graph identifications. Combinatorica, 12(4):389-410, 1992.
  14. [Cappart et al., 2021] Q. Cappart, D. Chételat, E. Khalil, A. Lodi, C. Morris, and P. Veličković. Combinatorial optimization and reasoning with graph neural networks. CoRR, abs/2102.09544, 2021. IJCAI
  15. [Chami et al., 2020] I.
  16. Chami, S. Abu-El-Haija, B. Perozzi, C. Ré, and K. Murphy. Machine learning on graphs: A model and comprehensive taxonomy. CoRR, abs/2005.03675, 2020.
  17. [Chen et al., 2020] Z. Chen, L. Chen, S. Villar, and J. Bruna. Can graph neural networks count substructures? CoRR, abs/2002.04025, 2020.
  18. [Dasoulas et al., 2020] G. Dasoulas, L. Dos Santos, K. Scaman, and A. Virmaux. Coloring graph neural networks for node disambiguation. In International Joint Conference on Artificial Intelligence, pages 2126-2132, 2020. IJCAI
  19. [De Cao and Kipf, 2018] N. De Cao and T. Kipf. MolGAN: An implicit generative model for small molecular graphs. International Conference on Machine Learning 2018 Workshop, 2018.
  20. [de Vries, 2013] G. K. D. de Vries. A fast approximation of the weisfeiler-lehman graph kernel for RDF data. In European Conference on Machine Learning and Knowledge Discovery in Databases, pages 606-621, 2013.
  21. [Dell et al., 2018] H. Dell, M. Grohe, and G. Rattan. Lovász meets Weisfeiler and Leman. In International Colloquium on Automata, Languages, and Programming, pages 40:1-40:14, 2018.
  22. [Duvenaud et al., 2015] D. K. Duvenaud, D. Maclaurin, J. Iparraguirre, R. Bombarell, T. Hirzel, A. Aspuru-Guzik, and R. P. Adams. Convo- lutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, pages 2224- 2232, 2015.
  23. [Easley and Kleinberg, 2010] D. Easley and J. Kleinberg. Networks, Crowds, and Markets: Reasoning About a Highly Connected World. Cambridge University Press, 2010.
  24. [Fey and Lenssen, 2019] M. Fey and J. E. Lenssen. Fast graph rep- resentation learning with PyTorch Geometric. In International Conference on Learning Representations Workshop on Representation Learning on Graphs and Manifolds, 2019.
  25. [Fey et al., 2018] M. Fey, J. E. Lenssen, F. Weichert, and H. Müller. SplineCNN: Fast geometric deep learning with continuous B-spline kernels. In IEEE Conference on Computer Vision and Pattern Recognition, pages 869-877, 2018.
  26. [Fey et al., 2020] M. Fey, J. E. Lenssen, C. Morris, J. Masci, and N. M. Kriege. Deep graph matching consensus. In International Conference on Learning Representations, 2020.
  27. [Fürer, 2017] Martin Fürer. On the combinatorial power of the Weisfeiler-Lehman algorithm. In International Conference on Algorithms and Complexity, pages 260-271, 2017.
  28. [Garg et al., 2020] V. K. Garg, S. Jegelka, and T. S. Jaakkola. General- ization and representational limits of graph neural networks. CoRR, abs/2002.06157, 2020.
  29. [Gasse et al., 2019] M. Gasse, D. Chételat, N. Ferroni, L. Charlin, and A. Lodi. Exact combinatorial optimization with graph convolutional neural networks. In Advances in Neural Information Processing Systems, pages 15554-15566, 2019.
  30. [Gilmer et al., 2017] J. Gilmer, S. S. Schoenholz, P. F. Riley, O. Vinyals, and G. E. Dahl. Neural message passing for quantum chemistry. In International Conference on Machine Learning, 2017.
  31. [Grattarola and Alippi, 2020] D. Grattarola and C. Alippi. Graph neural networks in tensorflow and keras with spektral. CoRR, abs/2006.12138, 2020.
  32. [Grohe and Otto, 2015] M. Grohe and M. Otto. Pebble games and linear equations. Journal of Symbolic Logic, 80(3):797-844, 2015.
  33. [Grohe et al., 2014] M. Grohe, K. Kersting, M. Mladenov, and E. Sel- man. Dimension reduction via colour refinement. In European Symposium on Algorithms, pages 505-516, 2014.
  34. [Grohe et al., 2020] M. Grohe, P. Schweitzer, and Wiebking D. Deep Weisfeiler Leman. CoRR, abs/2003.10935, 2020.
  35. [Grohe, 2017] M. Grohe. Descriptive Complexity, Canonisation, and Definable Graph Structure Theory. Cambridge University Press, 2017.
  36. [Grohe, 2021] M. Grohe. The logic of graph neural networks. CoRR, abs/2104.14624, 2021.
  37. [Hamilton et al., 2017] W. L. Hamilton, R. Ying, and J. Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, pages 1025-1035, 2017.
  38. [Hanocka et al., 2019] R. Hanocka, A. Hertz, N. Fish, R. Giryes, S. Fleishman, and D. Cohen-Or. Meshcnn: A network with an edge. ACM Transactions on Graphics, 38(4):90, 2019.
  39. [Immerman and Lander, 1990] N. Immerman and E. Lander. Describ- ing Graphs: A First-Order Approach to Graph Canonization, pages 59-81. 1990.
  40. [J. Klicpera, 2020] S. Günnemann J. Klicpera, J. Groß. Directional message passing for molecular graphs. In International Conference on Learning Representations, 2020.
  41. [Kersting et al., 2014] K. Kersting, M. Mladenov, R. Garnett, and M. Grohe. Power iterated color refinement. In AAAI Conference on Artificial Intelligence, pages 1904-1910, 2014.
  42. [Khalil et al., 2017] E. B. Khalil, H. Dai, Y. Zhang, B. Dilkina, and L. Song. Learning combinatorial optimization algorithms over graphs. In Advances in Neural Information Processing Systems, pages 6348-6358, 2017.
  43. [Kiefer and McKay, 2020] S. Kiefer and B. D. McKay. The iteration number of colour refinement. In International Colloquium on Automata, Languages, and Programming, pages 73:1-73:19, 2020.
  44. [Kiefer and Schweitzer, 2016] S. Kiefer and P. Schweitzer. Upper bounds on the quantifier depth for graph differentiation in first order logic. In ACM/IEEE Symposium on Logic in Computer Science, pages 287-296, 2016.
  45. [Kiefer et al., 2015] S. Kiefer, P. Schweitzer, and E. Selman. Graphs identified by logics with counting. In International Symposium on Mathematical Foundations of Computer Science, pages 319-330, 2015.
  46. [Kipf et al., 2018] T. N. Kipf, E. Fetaya, K.-C. Wang, M. Welling, and R. S. Zemel. Neural relational inference for interacting systems. In International Conference on Machine Learning, pages 2693-2702, 2018.
  47. [Kriege et al., 2016] N. M. Kriege, P.-L. Giscard, and R. C. Wilson. On valid optimal assignment kernels and applications to graph classification. In Advances in Neural Information Processing Systems, pages 1615-1623. NIPS, 2016.
  48. [Kriege et al., 2018] N. M. Kriege, C. Morris, A. Rey, and C. Sohler. A property testing framework for the theoretical expressivity of graph kernels. In International Joint Conference on Artificial Intelligence, pages 2348-2354, 2018. IJCAI
  49. [Kriege et al., 2019] Nils M. Kriege, Pierre-Louis Giscard, Franka Bause, and Richard C. Wilson. Computing optimal assignments in linear time for approximate graph matching. In International Conference on Data Mining, ICDM, pages 349-358, 2019.
  50. [Kriege et al., 2020] N. M. Kriege, F. D. Johansson, and C. Morris. A survey on graph kernels. Appl. Netw. Sci., 5(1):6, 2020.
  51. [Li et al., 2016] W. Li, H. Saidi, H. Sanchez, M. Schäf, and P. Schweitzer. Detecting similar programs via the Weisfeiler-Leman graph kernel. In International Conference on Software Reuse, pages 315-330, 2016.
  52. [Li et al., 2018] Z. Li, Q. Chen, and V. Koltun. Combinatorial optimiza- tion with graph convolutional networks and guided tree search. In Advances in Neural Information Processing Systems, pages 537-546, 2018.
  53. [Li et al., 2019] Y. Li, C. Gu, T. Dullien, O. Vinyals, and P. Kohli. Graph matching networks for learning the similarity of graph structured objects. In International Conference on Machine Learning, pages 3835-3845, 2019.
  54. [Li et al., 2020] Pan Li, Yanbang Wang, Hongwei Wang, and Jure Leskovec. Distance encoding: Design provably more powerful neural networks for graph representation learning. Advances in Neural Information Processing Systems, 2020.
  55. [Liao et al., 2019] R. Liao, Y. Li, Y. Song, S. Wang, C. Nash, W. L. Hamilton, D. Duvenaud, Q. Urtasun, and R. Zemel. Efficient graph generation with graph recurrent attention networks. In Advances in Neural Information Processing Systems, 2019.
  56. [Lichter et al., 2019] M. Lichter, I. Ponomarenko, and P. Schweitzer. Walk refinement, walk logic, and the iteration number of the Weisfeiler- Leman algorithm. In 34th Annual ACM/IEEE Symposium on Logic in Computer Science, pages 1-13, 2019.
  57. [Liu et al., 2020] M. Liu, H. Gao, and S. Ji. Towards deeper graph neural networks. In ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 338-348, 2020.
  58. [Malkin, 2014] P. N. Malkin. Sherali-adams relaxations of graph isomorphism polytopes. Discrete Optimization, 12:73 -97, 2014.
  59. [Maron et al., 2019] H. Maron, H. Ben-Hamu, H. Serviansky, and Y. Lipman. Provably powerful graph networks. CoRR, abs/1905.11136, 2019.
  60. [Monti et al., 2017] F. Monti, D. Boscaini, J. Masci, E. Rodolà, J. Svo- boda, and M. M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In IEEE Conference on Computer Vision and Pattern Recognition, pages 5425-5434, 2017.
  61. [Morris et al., 2016] C. Morris, N. M. Kriege, K. Kersting, and P. Mutzel. Faster kernel for graphs with continuous attributes via hashing. In IEEE International Conference on Data Mining, pages 1095-1100, 2016.
  62. [Morris et al., 2017] C. Morris, K. Kersting, and P. Mutzel. Glocalized Weisfeiler-Lehman kernels: Global-local feature maps of graphs. In IEEE International Conference on Data Mining, pages 327-336, 2017.
  63. [Morris et al., 2019] C. Morris, M. Ritzert, M. Fey, W. L. Hamilton, Jan Eric Lenssen, G. Rattan, and M. Grohe. Weisfeiler and leman go neural: Higher-order graph neural networks. In AAAI Conference on Artificial Intelligence, pages 4602-4609, 2019.
  64. [Morris et al., 2020a] C. Morris, N. M. Kriege, F. Bause, K. Kersting, P. Mutzel, and M. Neumann. TUDataset: A collection of benchmark datasets for learning with graphs. CoRR, abs/2007.08663, 2020.
  65. [Morris et al., 2020b] C. Morris, G. Rattan, and P. Mutzel. Weisfeiler and leman go sparse: Towards higher-order graph embeddings. In Advances in Neural Information Processing Systems, 2020.
  66. [Murphy et al., 2019] R. L. Murphy, B. Srinivasan, V. A. Rao, and B. Ribeiro. Janossy pooling: Learning deep permutation-invariant functions for variable-size inputs. In International Conference on Learning Representationstional Conference on Learning Representa- tions, 2019.
  67. [Narayanan et al., 2016] A. Narayanan, G. Meng, L. Yang, J. Liu, and L. Chen. Contextual weisfeiler-lehman graph kernel for malware detection. In International Joint Conference on Neural Networks, pages 4701-4708, 2016.
  68. [Nguyen and Maehara, 2020] H. Nguyen and T. Maehara. Graph homomorphism convolution. In International Conference on Machine Learning, pages 7306-7316, 2020.
  69. [Nikolentzos et al., 2017] G. Nikolentzos, P. Meladianos, and M. Vazir- giannis. Matching node embeddings for graph similarity. In AAAI Conference on Artificial Intelligence, pages 2429-2435, 2017.
  70. [Orsini et al., 2015] F. Orsini, P. Frasconi, and L. De Raedt. Graph invariant kernels. In International Joint Conference on Artificial Intelligence, pages 3756-3762, 2015.
  71. [Qi et al., 2017] C. R. Qi, , H. Su, K. Mo, and L. J. Guibas. PointNet: Deep learning on point sets for 3D classification and segmentation. In IEEE Conference on Computer Vision and Pattern Recognition, pages 77-85, 2017.
  72. [Raposo et al., 2017] D. Raposo, A. Santoro, D. G. T. Barrett, R. Pas- canu, T. Lillicrap, and P W. Battaglia. Discovering objects and their relations from entangled scene representations. In International Conference on Learning Representations, 2017.
  73. [Ren et al., 2020] H. Ren, W. Hu, and J. Leskovec. Query2box: Rea- soning over knowledge graphs in vector space using box embeddingss. In International Conference on Learning Representations, 2020.
  74. [Rieck et al., 2019] B. Rieck, C. Bock, and K. M. Borgwardt. A persistent Weisfeiler-Lehman procedure for graph classification. In International Conference on Machine Learning, pages 5448-5458, 2019.
  75. [Rogers and Hahn, 2010] D. Rogers and M. Hahn. Extended- connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742-754, May 2010.
  76. [Sato et al., 2020] R. Sato, M. Yamada, and H. Kashima. Random features strengthen graph neural networks. CoRR, abs/2002.03155, 2020.
  77. [Schlichtkrull et al., 2018] M. Schlichtkrull, T. N. Kipf, P. Bloem, R. van den Berg, I. Titov, and M. Welling. Modeling relational data with graph convolutional networks. In The Semantic Web, pages 593-607, 2018.
  78. [Shervashidze et al., 2011] N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, and K. M. Borgwardt. Weisfeiler-Lehman graph kernels. Journal of Machine Learning Research, 12:2539-2561, 2011.
  79. [Simonovsky and Komodakis, 2017] M. Simonovsky and N. Ko- modakis. Dynamic edge-conditioned filters in convolutional neural networks on graphs. In IEEE Conference on Computer Vision and Pattern Recognition, pages 29-38, 2017.
  80. [Simonovsky and Komodakis, 2018] M. Simonovsky and N. Ko- modakis. GraphVAE: Towards generation of small graphs using variational autoencoders. In Artificial Neural Networks and Machine Learning, pages 412-422, 2018.
  81. [Stöcker et al., 2019] B. K. Stöcker, T. Schäfer, P. Mutzel, J. Köster, N. M. Kriege, and S. Rahmann. Protein complex similarity based on weisfeiler-lehman labeling. In International Conference on Similarity Search and Applications, pages 308-322, 2019.
  82. [Stokes et al., 2020] J. Stokes, K. Yang, K. Swanson, W. Jin, A. Cubillos-Ruiz, N. Donghia, C. MacNair, S. French, L. Carfrae, Z. Bloom-Ackerman, V. Tran, A. Chiappino-Pepe, A. Badran, I. An- drews, E. Chory, G. Church, E. Brown, T. Jaakkola, R. Barzilay, and J. Collins. A deep learning approach to antibiotic discovery. Cell, 180:688-702.e13, 02 2020.
  83. [Togninalli et al., 2019] M. Togninalli, E. Ghisu, F. Llinares-López, B. Rieck, and K. M. Borgwardt. Wasserstein weisfeiler-lehman graph kernels. In Advances in Neural Information Processing Systems, pages 6436-6446, 2019.
  84. [Vega-Pons and Avesani, 2013] S. Vega-Pons and P. Avesani. Brain decoding via graph kernels. In International Workshop on Pattern Recognition in Neuroimaging, pages 136-139, 2013.
  85. [Vignac et al., 2020] Clement Vignac, Andreas Loukas, and Pascal Frossard. Building powerful and equivariant graph neural networks with structural message-passing. In Advances in Neural Information Processing Systems, 2020.
  86. [Wang et al., 2019] M. Wang, L. Yu, D. Zheng, Q. Gan, Y. Gai, Z. Ye, M. Li, J. Zhou, Q. Huang, C. Ma, Z. Huang, Q. Guo, H. Zhang, H. Lin, J. Zhao, J. Li, A. J. Smola, and Z. Zhang. Deep graph library: Towards efficient and scalable deep learning on graphs. International Conference on Learning Representations Workshop on Representation Learning on Graphs and Manifolds, 2019. [Weisfeiler and Leman., 1968]
  87. B. Weisfeiler and A. Leman. The reduction of a graph to canonical form and the algebra which appears therein. Nauchno-Technicheskaya Informatsia, 2(9):12-16, 1968. English translation by G. Ryabov is available at https://www.iti.zcu. cz/wl2018/pdf/wl_paper_translation.pdf. Link
  88. [Weisfeiler, 1976] B. Weisfeiler. On Construction and Identification of Graphs. Lecture Notes in Mathematics, Vol. 558. Springer, 1976.
  89. [Wieder et al., 2020] O. Wieder, S. Kohlbacher, M. Kuenemann, A. Garon, P. Ducrot, T. Seidel, and T. Langer. A compact review of molecular property prediction with graph neural networks. Drug Discovery Today: Technologies, 2020.
  90. [Xu et al., 2019a] K. Xu, W. Hu, J. Leskovec, and S. Jegelka. How powerful are graph neural networks? International Conference on Machine Learning, 2019.
  91. [Xu et al., 2019b] K. Xu, L. Wang, M. Yu, Y. Feng, Y. Song, Z. Wang, and D. Yu. Cross-lingual knowledge graph alignment via graph matching neural network. In Conference of the Association for Computational Linguistics, pages 3156-3161, 2019.
  92. [Yao and Holder, 2015] Y. Yao and L. B. Holder. Scalable classifica- tion for large dynamic networks. In IEEE International Conference on Big Data, pages 609-618, 2015.
  93. [Ying et al., 2018a] R. Ying, R. He, K. Chen, P. Eksombatchai, W. L. Hamilton, and J. Leskovec. Graph convolutional neural networks for web-scale recommender systems. In KDD, 2018.
  94. [Ying et al., 2018b] R. Ying, J. You, C. Morris, X. Ren, W. L. Hamilton, and J. Leskovec. Hierarchical graph representation learning with differentiable pooling. In Advances in Neural Information Processing Systems, pages 4800-4810, 2018.
  95. [You et al., 2018] J. You, R. Ying, W. L. Hamilton, and J. Leskovec. GraphRNN: Generating realistic graphs with deep auto-regressive models. In International Conference on Machine Learning, 2018.
  96. [You et al., 2019] J. You, R. Ying, and J. Leskovec. Position-aware graph neural networks. In International Conference on Machine Learning, pages 7134-7143, 2019.
  97. [Yu et al., 2018] B. Yu, H. Yin, and Z. Zhu. Spatio-temporal graph convolutional networks: A deep learning framework for traffic fore- casting. In International Joint Conference on Artificial Intelligence, pages 3634-3640, 2018. IJCAI
  98. [Zhang and Chen, 2017] M. Zhang and Y. Chen. Weisfeiler-Lehman neural machine for link prediction. In KDD, pages 575-583, 2017.
  99. [Zhang et al., 2018] M. Zhang, Z. Cui, M. Neumann, and C. Yixin. An end-to-end deep learning architecture for graph classification. In AAAI Conference on Artificial Intelligence, pages 4428-4435, 2018.
  100. [Zitnik et al., 2018] M. Zitnik, M. Agrawal, and J. Leskovec. Model- ing polypharmacy side effects with graph convolutional networks. Bioinformatics, 34(13):i457-i466, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards