Modeling Graphs Beyond Hyperbolic: Graph Neural Networks in Symmetric Positive Definite Matrices

Wei Zhao, Federico Lopez, J. Maxwell Riestenberg, Michael Strube, Diaaeldin Taha +1 more
6/24/2023
cs.LG

Official code: andyweizhao/SPD4GNNs (10 stars, last commit 2023-03-31).

Abstract

Recent research has shown that alignment between the structure of graph data and the geometry of an embedding space is crucial for learning high-quality representations of the data. The uniform geometry of Euclidean and hyperbolic spaces allows for representing graphs with uniform geometric and topological features, such as grids and hierarchies, with minimal distortion. However, real-world graph data is characterized by multiple types of geometric and topological features, necessitating more sophisticated geometric embedding spaces. In this work, we utilize the Riemannian symmetric space of symmetric positive definite matrices (SPD) to construct graph neural networks that can robustly handle complex graphs. To do this, we develop an innovative library that leverages the SPD gyrocalculus tools \cite{lopez2021gyroSPD} to implement the building blocks of five popular graph neural networks in SPD. Experimental results demonstrate that our graph neural networks in SPD substantially outperform their counterparts in Euclidean and hyperbolic spaces, as well as the Cartesian product thereof, on complex graphs for node and graph classification tasks. We release the library and datasets at \url{https://github.com/andyweizhao/SPD4GNNs}.

View on arXivView PDF

Code Implementations(1)

101PythonMar 30, 20233 years ago

Similar Papers

Cite this paper

@article{zhao2023modeling,
  title  = {Modeling Graphs Beyond Hyperbolic: Graph Neural Networks in Symmetric Positive Definite Matrices},
  author = {Wei Zhao and Federico Lopez and J. Maxwell Riestenberg and Michael Strube and Diaaeldin Taha and Steve Trettel},
  year   = {2023},
  eprint = {2306.14064},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.14064v1}
}

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

Discussion