Skip to main content
QUICK REVIEW

[Paper Review] edGNN: a Simple and Powerful GNN for Directed Labeled Graphs

Guillaume Jaume, An-phi Nguyen|arXiv (Cornell University)|Apr 18, 2019
Advanced Graph Neural NetworksComputer Science25 references11 citations
TL;DR

This paper proposes edGNN, a simple yet powerful Graph Neural Network (GNN) for directed labeled graphs that achieves expressive power equivalent to the Weisfeiler–Lehman (WL) algorithm for graph isomorphism. The model leverages both node and edge labels through a message-passing framework, theoretically proving it can distinguish almost all directed labeled graphs, with empirical results showing state-of-the-art performance on node and graph classification benchmarks.

ABSTRACT

The ability of a graph neural network (GNN) to leverage both the graph topology and graph labels is fundamental to building discriminative node and graph embeddings. Building on previous work, we theoretically show that edGNN, our model for directed labeled graphs, is as powerful as the Weisfeiler-Lehman algorithm for graph isomorphism. Our experiments support our theoretical findings, confirming that graph neural networks can be used effectively for inference problems on directed graphs with both node and edge labels. Code available at https://github.com/guillaumejaume/edGNN.

Motivation & Objective

  • To extend the theoretical power of message-passing GNNs to directed labeled graphs with both node and edge labels.
  • To formally establish that edGNN is as powerful as the one-dimensional Weisfeiler–Lehman (WL) algorithm for graph isomorphism in the context of directed labeled graphs.
  • To empirically validate that the theoretical expressive power translates into strong performance on real-world node and graph classification tasks.
  • To provide a theoretically grounded, yet simple, GNN architecture that effectively captures structural and label information in directed graphs.

Proposed method

  • edGNN employs a message-passing framework where node representations are updated iteratively using incoming and outgoing neighbor features.
  • The model uses separate learnable weights for incoming and outgoing edges, enabling it to distinguish directionality in directed graphs.
  • Node representations are updated via a differentiable aggregation of neighbor features followed by a multilayer perceptron, ensuring expressive feature learning.
  • Edge labels are encoded into initial edge embeddings and remain fixed throughout training, preserving label information.
  • Graph-level representations are constructed by concatenating aggregated node representations across all layers, following Xu et al. (2019).
  • The model is trained using standard cross-entropy loss with a final linear classifier for node and graph classification.

Experimental results

Research questions

  • RQ1Can a GNN for directed labeled graphs achieve expressive power equivalent to the Weisfeiler–Lehman (WL) algorithm for graph isomorphism?
  • RQ2Does the proposed edGNN model maintain theoretical expressiveness while remaining simple and trainable in practice?
  • RQ3How does edGNN compare to state-of-the-art models in node and graph classification tasks on benchmark datasets with directed labeled graphs?
  • RQ4To what extent do edge labels and directed topology contribute to improved performance in GNNs?

Key findings

  • edGNN achieves a test accuracy of 88.8% on the MUTAG graph classification dataset, surpassing the previous state-of-the-art model (R-GCN) at 81.5%.
  • On the AIFB node classification dataset, edGNN achieves a maximum accuracy of 97.2%, outperforming R-GCN (95.8%) and RDF2Vec (88.9%).
  • The model's average performance across ten runs on MUTAG is 86.9%, demonstrating consistent and strong generalization.
  • edGNN achieves a 68.0% accuracy on the PTC FR dataset, outperforming R-GCN (65.8%) and matching the best result of WLSP kernel.
  • Theoretical analysis confirms that edGNN is as powerful as the WL algorithm for directed labeled graphs, meaning it can distinguish almost all non-isomorphic graphs.
  • Empirical results support the theoretical claims, showing that edGNN effectively leverages both topology and labels for improved inference on directed graphs.

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.