MagNet: A Neural Network for Directed Graphs

Xitong Zhang, Yixuan He, Nathan Brugnone, Michael Perlmutter, Matthew Hirn
2/22/2021
cs.LG
gnn

Official code: matthew-hirn/magnet (41 stars, Jupyter Notebook, Apache-2.0, last commit 2024-01-08).

Abstract

The prevalence of graph-based data has spurred the rapid development of graph neural networks (GNNs) and related machine learning algorithms. Yet, despite the many datasets naturally modeled as directed graphs, including citation, website, and traffic networks, the vast majority of this research focuses on undirected graphs.

Show full abstract

In this paper, we propose MagNet, a spectral GNN for directed graphs based on a complex Hermitian matrix known as the magnetic Laplacian. This matrix encodes undirected geometric structure in the magnitude of its entries and directional information in their phase. A "charge" parameter attunes spectral information to variation among directed cycles. We apply our network to a variety of directed graph node classification and link prediction tasks showing that MagNet performs well on all tasks and that its performance exceeds all other methods on a majority of such tasks. The underlying principles of MagNet are such that it can be adapted to other spectral GNN architectures.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MagNet graph convolutional network

416Jupyter Notebook, PythonApr 7, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2021magnet,
  title  = {MagNet: A Neural Network for Directed Graphs},
  author = {Xitong Zhang and Yixuan He and Nathan Brugnone and Michael Perlmutter and Matthew Hirn},
  year   = {2021},
  eprint = {2102.11391},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.11391}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.11391.svg)](https://codeofpaper.com/paper/2102.11391)

Discussion