TenGraph: A Tensor-Based Graph Query Engine
Guanghua Li, Hao Zhang, Xibo Sun, Qiong Luo, Yuanyuan Zhu
Abstract
We propose a novel tensor-based approach to in-memory graph query processing. Tensors are multi-dimensional arrays, and have been utilized as data units in deep learning frameworks such as TensorFlow and PyTorch. Through tensors, these frameworks encapsulate optimized hardware-dependent code for automatic performance improvement on modern processors. Inspired by this practice, we explore how to utilize tensors to efficiently process graph queries. Specifically, we design a succinct storage format for tensors to represent graph topology effectively and compose graph query operations using tensor computation on batches of vertices. We have developed TenGraph, our PyTorch-based prototype, and evaluated it on graph query benchmark workloads in comparison with a variety of CPU- and GPU-based systems. Our experimental results show that TenGraph not only achieves a speedup of 50-100 times on the GPU over the CPU but also outperforms the other CPU- and GPU-based systems significantly.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- RapidMatch: A Holistic Approach to Subgraph Query Processing cites In-Memory Subgraph Matching: An In-depth Study
- Query Processing on Tensor Computation Runtimes cites Tensors: An abstraction for general data processing
- Aquila: A High-Concurrency System for Incremental Graph Query cites RapidMatch: A Holistic Approach to Subgraph Query Processing
- Aquila: A High-Concurrency System for Incremental Graph Query cites In-Memory Subgraph Matching: An In-depth Study
- Subgraph Matching: A New Decomposition Based Approach cites RapidMatch: A Holistic Approach to Subgraph Query Processing
- Subgraph Matching: A New Decomposition Based Approach cites In-Memory Subgraph Matching: An In-depth Study
Cited by top-tier papers2
Builds on10
- In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
- RapidMatch: A Holistic Approach to Subgraph Query ProcessingShixuan Sun, Xibo Sun, Yulin Che, Qiong Luo et al.VLDB 2021 · 105 citations
- GSI: GPU-friendly Subgraph IsomorphismLi Zeng, Lei Zou, M. Tamer Özsu, Lin Hu et al.ICDE 2020 · 62 citations
- Query Processing on Tensor Computation RuntimesDong He, Supun Chathuranga Nakandala, Dalitso Banda, Rathijit Sen et al.VLDB 2022 · 54 citations
- Tensors: An abstraction for general data processingDimitrios Koutsoukos, Supun Nakandala, Konstantinos Karanasos, Karla Saur et al.VLDB 2021 · 38 citations
Related papers
- TGraph: A Tensor-centric Graph Processing FrameworkYongliang Zhang, Yuanyuan Zhu, Hao Zhang, Congli Gao et al.SIGMOD 2025 · 1 citation
- WholeGraph: A Fast Graph Neural Network Training Framework with Multi-GPU Distributed Shared Memory ArchitectureDongxu Yang, Junhong Liu, Jiaxing Qi, Junjie LaiSC 2022 · 12 citations
- QGTC: accelerating quantized graph neural networks via GPU tensor coreYuke Wang, Boyuan Feng, Yufei DingPPoPP 2022 · 47 citations
- TDT: Tensor Based Directed Truss DecompositionGuojing Li, Yuanyuan Zhu, Junchao Ma, Ming Zhong et al.ICDE 2025 · 1 citation
- PystachIO: Efficient Distributed GPU Query Processing with PyTorch over Fast Networks & Fast StorageJigao Luo, Nils Boeschen, Muhammad El-Hindi, Carsten BinnigVLDB 2026
