Union Subgraph Neural Networks

Abstract

Graph Neural Networks (GNNs) are widely used for graph representation learning in many application domains. The expressiveness of vanilla GNNs is upper-bounded by 1-dimensional Weisfeiler-Leman (1-WL) test as they operate on rooted subtrees through iterative message passing. In this paper, we empower GNNs by injecting neighbor-connectivity information extracted from a new type of substructure. We first investigate different kinds of connectivities existing in a local neighborhood and identify a substructure called union subgraph, which is able to capture the complete picture of the 1-hop neighborhood of an edge. We then design a shortest-path-based substructure descriptor that possesses three nice properties and can effectively encode the high-order connectivities in union subgraphs. By infusing the encoded neighbor connectivities, we propose a novel model, namely Union Subgraph Neural Network (UnionSNN), which is proven to be strictly more powerful than 1-WL in distinguishing non-isomorphic graphs. Additionally, the local encoding from union subgraphs can also be injected into arbitrary message-passing neural networks (MPNNs) and Transformer-based models as a plugin. Extensive experiments on 18 benchmarks of both graph-level and node-level tasks demonstrate that UnionSNN outperforms state-of-the-art baseline models, with competitive computational efficiency. The injection of our local encoding to existing models is able to boost the performance by up to 11.09%. Our code is available at https://github.com/AngusMonroe/UnionSNN.

Cite

Text

Xu et al. "Union Subgraph Neural Networks." AAAI Conference on Artificial Intelligence, 2024. doi:10.1609/AAAI.V38I14.29551

Markdown

[Xu et al. "Union Subgraph Neural Networks." AAAI Conference on Artificial Intelligence, 2024.](https://mlanthology.org/aaai/2024/xu2024aaai-union/) doi:10.1609/AAAI.V38I14.29551

BibTeX

@inproceedings{xu2024aaai-union,
  title     = {{Union Subgraph Neural Networks}},
  author    = {Xu, Jiaxing and Zhang, Aihu and Bian, Qingtian and Dwivedi, Vijay Prakash and Ke, Yiping},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2024},
  pages     = {16173-16183},
  doi       = {10.1609/AAAI.V38I14.29551},
  url       = {https://mlanthology.org/aaai/2024/xu2024aaai-union/}
}