English

Graph Neural Networks on Graph Databases

Machine Learning 2024-11-19 v1 Databases

Abstract

Training graph neural networks on large datasets has long been a challenge. Traditional approaches include efficiently representing the whole graph in-memory, designing parameter efficient and sampling-based models, and graph partitioning in a distributed setup. Separately, graph databases with native graph storage and query engines have been developed, which enable time and resource efficient graph analytics workloads. We show how to directly train a GNN on a graph DB, by retrieving minimal data into memory and sampling using the query engine. Our experiments show resource advantages for single-machine and distributed training. Our approach opens up a new way of scaling GNNs as well as a new application area for graph DBs.

Keywords

Cite

@article{arxiv.2411.11375,
  title  = {Graph Neural Networks on Graph Databases},
  author = {Dmytro Lopushanskyy and Borun Shi},
  journal= {arXiv preprint arXiv:2411.11375},
  year   = {2024}
}

Comments

14 pages, 8 figures

R2 v1 2026-06-28T20:03:14.303Z