mlsanityData to 14 Oct 2026

A Novel Technique for Query Plan Representation Based on Graph Neural Nets

arXiv 2405.04814 ↗First posted 8 May 2024cs.DB cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Learning representations for query plans play a pivotal role in machine learning-based query optimizers of database management systems. To this end, particular model architectures are proposed in the literature to transform the tree-structured query plans into representations with formats learnable by downstream machine learning models. However, existing research rarely compares and analyzes the query plan representation capabilities of these tree models and their direct impact on the performance of the overall optimizer. To address this problem, we perform a comparative study to explore the effect of using different state-of-the-art tree models on the optimizer's cost estimation and plan selection performance in relatively complex workloads. Additionally, we explore the possibility of using graph neural networks (GNNs) in the query plan representation task. We propose a novel tree model BiGG employing Bidirectional GNN aggregated by Gated recurrent units (GRUs) and demonstrate experimentally that BiGG provides significant improvements to cost estimation tasks and relatively excellent plan selection performance compared to the state-of-the-art tree models.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 8 May 2024.

Builds on

14 of 29 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  5. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  6. 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
  7. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
  8. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 306
  9. 2018A System for Massively Parallel Hyperparameter Tuningcited by 202
  10. 2023Edge Directionality Improves Learning on Heterophilic Graphscited by 90
  11. 2019Neo: A Learned Query Optimizercited by 80
  12. 2020Bao: Learning to Steer Query Optimizerscited by 62
2 more
  1. 2019An End-to-End Learning-based Cost Estimatorcited by 43
  2. 2022Graph Neural Networks with Adaptive Readoutscited by 29

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.