MSGNN: A Spectral Graph Neural Network Based on a Novel Magnetic Signed Laplacian

Yixuan He, Michael Permultter, Gesine Reinert, Mihai Cucuringu
9/1/2022
stat.MLcs.AIcs.LG
gnn

Official code: SherylHYX/MSGNN (14 stars, Python, MIT, PyTorch, last commit 2026-09-03).

Abstract

Signed and directed networks are ubiquitous in real-world applications. However, there has been relatively little work proposing spectral graph neural networks (GNNs) for such networks.

Show full abstract

Here we introduce a signed directed Laplacian matrix, which we call the magnetic signed Laplacian, as a natural generalization of both the signed Laplacian on signed graphs and the magnetic Laplacian on directed graphs. We then use this matrix to construct a novel efficient spectral GNN architecture and conduct extensive experiments on both node clustering and link prediction tasks. In these experiments, we consider tasks related to signed information, tasks related to directional information, and tasks related to both signed and directional information. We demonstrate that our proposed spectral GNN is effective for incorporating both signed and directional information, and attains leading performance on a wide range of data sets. Additionally, we provide a novel synthetic network model, which we refer to as the Signed Directed Stochastic Block Model, and a number of novel real-world data sets based on lead-lag relationships in financial time series.

View on arXivView PDF

Code Implementations(1)

SherylHYX/MSGNNOfficial100%
PyTorchMIT

Official code for the LoG2022 paper -- MSGNN: A Spectral Graph Neural Network Based on a Novel Magnetic Signed Laplacian.

143Python, ShellJun 8, 20222 months agoMIT
directed-networksgraph-neural-networksmachine-learningmagnetic-laplacianpytorch+2 more

Similar Papers

Cite this paper

@article{he2022msgnn,
  title  = {MSGNN: A Spectral Graph Neural Network Based on a Novel Magnetic Signed Laplacian},
  author = {Yixuan He and Michael Permultter and Gesine Reinert and Mihai Cucuringu},
  year   = {2022},
  eprint = {2209.00546},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.00546}
}

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/2209.00546.svg)](https://codeofpaper.com/paper/2209.00546)

Discussion