Skip to main content
QUICK REVIEW

[Paper Review] Identity-aware Graph Neural Networks

Jiaxuan You, Jonathan M. Gomes-Selman|arXiv (Cornell University)|Jan 25, 2021
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

This paper proposes Identity-aware Graph Neural Networks (ID-GNNs), a general framework that enhances message-passing GNNs by incorporating node identity during message passing, enabling expressive power beyond the 1-Weisfeiler-Lehman (1-WL) test. By using heterogeneous message passing or cycle-count feature augmentation, ID-GNNs achieve up to 40% accuracy gain on node, edge, and graph property prediction tasks, with significant improvements in link prediction and competitive performance on graph classification benchmarks.

ABSTRACT

Message passing Graph Neural Networks (GNNs) provide a powerful modeling framework for relational data. However, the expressive power of existing GNNs is upper-bounded by the 1-Weisfeiler-Lehman (1-WL) graph isomorphism test, which means GNNs that are not able to predict node clustering coefficients and shortest path distances, and cannot differentiate between different d-regular graphs. Here we develop a class of message passing GNNs, named Identity-aware Graph Neural Networks (ID-GNNs), with greater expressive power than the 1-WL test. ID-GNN offers a minimal but powerful solution to limitations of existing GNNs. ID-GNN extends existing GNN architectures by inductively considering nodes' identities during message passing. To embed a given node, ID-GNN first extracts the ego network centered at the node, then conducts rounds of heterogeneous message passing, where different sets of parameters are applied to the center node than to other surrounding nodes in the ego network. We further propose a simplified but faster version of ID-GNN that injects node identity information as augmented node features. Altogether, both versions of ID-GNN represent general extensions of message passing GNNs, where experiments show that transforming existing GNNs to ID-GNNs yields on average 40% accuracy improvement on challenging node, edge, and graph property prediction tasks; 3% accuracy improvement on node and graph classification benchmarks; and 15% ROC AUC improvement on real-world link prediction tasks. Additionally, ID-GNNs demonstrate improved or comparable performance over other task-specific graph networks.

Motivation & Objective

  • To address the fundamental limitation of existing message-passing GNNs, which are bounded by the 1-WL graph isomorphism test and fail to distinguish nodes with identical neighborhood structures.
  • To develop a general, inductive, and efficient extension of message-passing GNNs that overcomes this expressiveness bottleneck without sacrificing simplicity or scalability.
  • To enable GNNs to differentiate between nodes in d-regular graphs of different sizes, nodes with same neighborhood but different shortest path distances, and distinct d-regular graphs in graph classification.
  • To provide a practical, plug-and-play solution that can be easily integrated into existing GNN architectures with minimal implementation overhead.

Proposed method

  • ID-GNNs extract the ego network centered on each target node and perform iterative message passing where the center node uses a different set of parameters than surrounding nodes, enabling identity-aware representation learning.
  • The full ID-GNN variant uses heterogeneous message passing with distinct weight matrices for the center node and its neighbors, allowing the model to distinguish structural roles based on identity.
  • A simplified version, ID-GNN-Fast, injects node identity information via cycle counts—number of cycles of each length originating from the center node—as augmented node features.
  • Cycle counts are precomputed once per node and serve as a structural fingerprint that captures identity-related information without requiring iterative retraining.
  • The method maintains compatibility with standard GNN frameworks and can be implemented as a drop-in replacement for existing GNN layers.
  • Theoretical analysis shows that ID-GNNs exceed the expressive power of the 1-WL test by breaking symmetry in computational graphs that would otherwise be indistinguishable.

Experimental results

Research questions

  • RQ1Can message-passing GNNs be made more expressive than the 1-WL test while remaining simple and efficient?
  • RQ2How can node identity be inductively incorporated into GNN message passing without relying on transductive one-hot encodings?
  • RQ3Can a minimal architectural change—such as parameter sharing differences between center and neighbor nodes—significantly improve GNN performance on tasks where 1-WL-bounded models fail?
  • RQ4Does feature augmentation using cycle counts provide a practical and effective alternative to full heterogeneous message passing?
  • RQ5Can ID-GNNs generalize across node, edge, and graph-level prediction tasks while maintaining strong performance?

Key findings

  • ID-GNNs achieve an average 40% accuracy improvement on challenging node, edge, and graph property prediction tasks compared to standard GNNs.
  • On node and graph classification benchmarks, ID-GNNs improve accuracy by 3% over baseline GNNs, demonstrating consistent gains across diverse datasets.
  • In real-world link prediction tasks, ID-GNNs achieve a 15% improvement in ROC AUC, highlighting their ability to distinguish nodes with identical neighborhoods but different path distances.
  • The ID-GNN-Fast variant, using cycle-count features, matches the performance of the full heterogeneous message passing version while being significantly faster and requiring only one-time feature pre-processing.
  • On graph classification tasks, the best ID-GNN-Full model achieves 93.0% accuracy on PROTEINS, 96.5% on MUTAG, and 62.5% on PTC, outperforming or matching state-of-the-art models like PPGN and GSN.
  • ID-GNNs demonstrate superior or comparable performance to task-specific, more complex architectures, proving their generality and practicality as a universal GNN enhancement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.