Lune

VLDB2024Top-tier venue

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Subgraph Matching: A New Decomposition Based ApproachQiyan Li, Jeffrey Yu, Zongyan HeVLDB 2025 · 3 citations
  2. Aquila: A High-Concurrency System for Incremental Graph QueryZiqi Zou, Hao Zhang, Jiaxin Yao, Kangfei Zhao et al.VLDB 2026

Builds on10

  1. In-Memory Subgraph Matching: An In-depth StudyShixuan Sun, Qiong LuoSIGMOD 2020 · 159 citations
  2. RapidMatch: A Holistic Approach to Subgraph Query ProcessingShixuan Sun, Xibo Sun, Yulin Che, Qiong Luo et al.VLDB 2021 · 105 citations
  3. GSI: GPU-friendly Subgraph IsomorphismLi Zeng, Lei Zou, M. Tamer Özsu, Lin Hu et al.ICDE 2020 · 62 citations
  4. Query Processing on Tensor Computation RuntimesDong He, Supun Chathuranga Nakandala, Dalitso Banda, Rathijit Sen et al.VLDB 2022 · 54 citations
  5. Tensors: An abstraction for general data processingDimitrios Koutsoukos, Supun Nakandala, Konstantinos Karanasos, Karla Saur et al.VLDB 2021 · 38 citations

Related papers

  1. TGraph: A Tensor-centric Graph Processing FrameworkYongliang Zhang, Yuanyuan Zhu, Hao Zhang, Congli Gao et al.SIGMOD 2025 · 1 citation
  2. 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
  3. QGTC: accelerating quantized graph neural networks via GPU tensor coreYuke Wang, Boyuan Feng, Yufei DingPPoPP 2022 · 47 citations
  4. TDT: Tensor Based Directed Truss DecompositionGuojing Li, Yuanyuan Zhu, Junchao Ma, Ming Zhong et al.ICDE 2025 · 1 citation
  5. PystachIO: Efficient Distributed GPU Query Processing with PyTorch over Fast Networks & Fast StorageJigao Luo, Nils Boeschen, Muhammad El-Hindi, Carsten BinnigVLDB 2026
Dusk over the sea between two cliffs drawn in fine vertical lines