Graph Representation Learning with Individualization and Refinement

Mohammed Haroon Dupty, Wee Sun LeearXiv 2022 · DOI

Abstract

Standard Graph Neural Networks (GNNs) are theoretically limited by the 1-dimensional Weisfeiler-Lehman (1-WL) test, failing to distinguish certain complex graph structures. This paper introduces GNN-IR, a framework that incorporates the classic Individualization and Refinement (IR) technique into GNNs. By adaptively breaking graph symmetries through unique node labeling and learned propagation, GNN-IR achieves higher expressivity than 1-WL models with significantly lower computational costs than higher-order k-WL GNNs.

Introduction

Most modern GNNs rely on message passing, a process mathematically equivalent to the 1-WL test for graph isomorphism. Consequently, these models are "blind" to certain structures; for instance, they cannot distinguish between graphs where every node has the same degree or count simple structures like triangles. While higher-order GNNs (k-WL) can solve these issues, their $O(n^k)$ complexity makes them impractical for large-scale applications. GNN-IR seeks a middle ground: a model more powerful than 1-WL but faster than k-WL.

The GNN-IR Framework

The authors adapt the Individualization and Refinement (IR) technique—the foundation of state-of-the-art non-neural graph solvers like Nauty—into a deep learning framework. The process consists of three primary stages:

  1. Initialization: A standard GNN pass generates initial node embeddings.
  2. Individualization: To break symmetry, the model identifies a "target cell" (a group of nodes with similar embeddings) and selects $k$ nodes to "individualize" by assigning them unique identifiers.
  3. Refinement: Additional GNN layers propagate these unique identifiers. Because a node now has a unique "color," its neighbors receive distinct messages, effectively refining the entire graph's representation.
Overview of the GNN-IR process: Initialization, Individualization, Refinement, and Aggregation.

To maintain efficiency, the authors employ a GRU-based Target Cell Selector to learn which nodes are most beneficial to individualize. A learned aggregation function then merges the branched representations into a single high-quality graph embedding, keeping complexity linear at $O(Lkn)$, where $L$ is the number of IR layers and $k$ is the number of individualized nodes.

Experimental Evaluation

GNN-IR was evaluated on synthetic "stress tests" (TRIANGLES, CSL) and real-world benchmarks (ZINC, QM9, TUDataset).

Key Results

  • Structural Expressivity: On the TRIANGLES dataset, GNN-IR achieved 99% accuracy, compared to ~47% for standard GNNs.
  • Symmetry Breaking: On CSL graphs, where 1-WL models perform at random chance (10%), GNN-IR reached 98.67% accuracy.
  • Molecular Benchmarks: GNN-IR outperformed both 1-WL models and several higher-order variants on the ZINC and QM9 datasets.
Comparison of GNN-IR against baselines on the CSL dataset, showing superior performance as L and k increase.

Conclusion

GNN-IR demonstrates that manually and learnably breaking graph symmetry allows GNNs to unlock a deeper understanding of topology. By providing a tunable trade-off between speed and power via parameters $L$ and $k$, GNN-IR effectively fills the gap between basic message-passing GNNs and computationally heavy higher-order models.

Reference: Dupty, M. H., & Lee, W. S. (2022). Graph Representation Learning with Individualization and Refinement. Proceedings of the AAAI Conference on Artificial Intelligence.

Summary updated

BibTeX
@misc{dupty2022graph,
  author = {Mohammed Haroon Dupty and Wee Sun Lee},
  title = {{Graph Representation Learning with Individualization and Refinement}},
  year = {2022},
  eprint = {2203.09141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.09141},
}
Figure