Skip to content
aiqbench takeMachine Learning

aiqbench analysis

This paper shows that GNN sampling, feature retrieval, and even full forward passes can run inside a graph database using Cypher, rather than relying on ad hoc pipelines around in-memory graphs. The reported gains, about 2.5x faster training at unchanged accuracy and over 10x faster inference than cold-loading into RAM, are promising but come from specific real-world graphs and setups, so their generality needs independent testing. For ML practitioners, the key question is whether database-native pipelines can handle evolving graphs at scale without the usual memory and engineering overhead.
Sources coveringarXiv, MIT News, InfoQ
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Towards Training and Inference of Graph Neural Networks in Graph Databases

arXiv2 min read

arXiv:2610.19142v1 Announce Type: new Abstract: Graph Neural Networks on large graphs commonly rely on in-memory graph storage with ad hoc data processing pipelines for both training and inference. Graph databases provide scalable storage and efficient traversal for graphs that can evolve over time, but their applicability in GNN training and inference are rarely studied. We show that graph DBs can be used in GNN training and inference directly, executing sampling, feature retrieval, and even the full forward pass. We show different GNN training pipelines can perform on-the-fly sampling and retrieval in graph DBs using Cypher. We further provide optimisations that speed up the training process by \~2.5x while maintaining the same accuracy. We illustrate that fully in-DB inference is possible, independent of how the GNNs are trained. Our inference setup can be >10x faster than cold loading the graph into RAM with no extra memory overhead on real-world graphs. Our work lays the foundation for in-graph-DB GNN training and inference.

Abstract:Graph Neural Networks on large graphs commonly rely on in-memory graph storage with ad hoc data processing pipelines for both training and inference. Graph databases provide scalable storage and efficient traversal for graphs that can evolve over time, but their applicability in GNN training and inference are rarely studied. We show that graph DBs can be used in GNN training and inference directly, executing sampling, feature retrieval, and even the full forward pass. We show different GNN training pipelines can perform on-the-fly sampling and retrieval in graph DBs using Cypher. We further provide optimisations that speed up the training process by \~2.5x while maintaining the same accuracy. We illustrate that fully in-DB inference is possible, independent of how the GNNs are trained. Our inference setup can be >10x faster than cold loading the graph into RAM with no extra memory overhead on real-world graphs. Our work lays the foundation for in-graph-DB GNN training and inference.

Machine Learning (cs.LG); Databases (cs.DB)

arXiv:2610.19142 [cs.LG]

(or arXiv:2610.19142v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2610.19142 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 251 words

Related coverage