ScaWL: Scaling k-WL (Weisfeiler-Lehman) Algorithms in Memory and Performance on Shared and Distributed-Memory Systems

Coby Soss, Aravind Sukumaran Rajam, Janet Layne, Edoardo Serra, Mahantesh Halappanavar, Assefaw H. Gebremedhin

Research output: Contribution to journalArticlepeer-review

Abstract

The k-dimensional Weisfeiler-Lehman (k-WL) algorithm - developed as an efficient heuristic for testing if two graphs are isomorphic - is a fundamental kernel for node embedding in the emerging field of graph neural networks. Unfortunately, the k-WL algorithm has exponential storage requirements, limiting the size of graphs that can be handled. This work presents a novel k-WL scheme with a storage requirement orders of magnitude lower while maintaining the same accuracy as the original k-WL algorithm. Due to the reduced storage requirement, our scheme allows for processing much bigger graphs than previously possible on a single compute node. For even bigger graphs, we provide the first distributed-memory implementation. Our k-WL scheme also has significantly reduced communication volume and offers high scalability. Our experimental results demonstrate that our approach is significantly faster and has superior scalability compared to five other implementations employing state-of-the-art techniques.

Original languageEnglish
Article number45
JournalACM Transactions on Architecture and Code Optimization
Volume22
Issue number1
DOIs
StatePublished - 21 Mar 2025

Keywords

  • Optimization
  • k-WL algorithm
  • parallel

Fingerprint

Dive into the research topics of 'ScaWL: Scaling k-WL (Weisfeiler-Lehman) Algorithms in Memory and Performance on Shared and Distributed-Memory Systems'. Together they form a unique fingerprint.

Cite this