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.
Towards Training and Inference of Graph Neural Networks in Graph Databases
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

Presentation: Running AI at the Edge: Running Real Workloads Directly in the Browser
InfoQ · Aug 31, 2026

Humanity’s Last Invention — Richard Socher of Recursive
Latent Space · Sep 14, 2026
Synthesis Superintelligence: from Semiconductors to Superconductors — Periodic Labs’ Liam Fedus and Ekin Dogus Cubuk
Latent Space · Oct 8, 2026
Towards Near-Real-Time Telemetry-Aware Routing with Neural Routing Algorithms
arXiv · Sep 9, 2026