paper-with-me

홈 › Papers

Reqo: A Robust and Explainable Query Optimization Cost Model

2025-01-29 · Baoming Chang, Amin Kamali, Verena Kantere

In recent years, there has been a growing interest in using machine learning (ML) in query optimization to select more efficient plans. Existing learning-based query optimizers use certain model architectures to convert tree-structured query plans into representations suitable for downstream ML tasks. As the design of these architectures significantly impacts cost estimation, we propose a tree model architecture based on Bidirectional Graph Neural Networks (Bi-GNN) aggregated by Gated Recurrent Units (GRUs) to achieve more accurate cost estimates. The inherent uncertainty of data and model parameters also leads to inaccurate cost estimates, resulting in suboptimal plans and less robust query performance. To address this, we implement a novel learning-to-rank cost model that effectively quantifies the uncertainty in cost estimates using approximate probabilistic ML. This model adaptively integrates quantified uncertainty with estimated costs and learns from comparing pairwise plans, achieving more robust performance. In addition, we propose the first explainability technique specifically designed for learning-based cost models. This technique explains the contribution of any subgraphs in the query plan to the final predicted cost, which can be integrated and trained with any learning-based cost model to significantly boost the model's explainability. By incorporating these innovations, we propose a cost model for a Robust and Explainable Query Optimizer, Reqo, that improves the accuracy, robustness, and explainability of cost estimation, outperforming state-of-the-art approaches in all three dimensions.

📄 PDF Abstract BibTeX arXiv:2501.17414

Code (0)

등록된 구현이 없습니다.

Tasks

Learning-To-Rank

Similar Papers 제목 키워드 기반

FreqOrtho-SR: Frequency-Guided Orthogonal Expert Learning for Real-World Image Super-Resolution

2026-06-27 · Minh Son Hoang, Dinh Phu Tran, Quyen Nguyen Duc, Dam Hoang Phuong 외 arxiv

Diffusion prior-based methods have shown impressive results in real-world image super-resolution (ISR), yet two key challenges persist: balancing pixel-level fidelity with semantic quality, and adapting to diverse degrad…

Image Super-Resolution

Learning Interpretable Queries for Explainable Image Classification with Information Pursuit

2023-12-16 · Stefan Kolek, Aditya Chattopadhyay, Kwan Ho Ryan Chan, Hector Andrade-Loarca 외

Information Pursuit (IP) is an explainable prediction algorithm that greedily selects a sequence of interpretable queries about the data in order of information gain, updating its posterior at each step based on observed…

Dictionary Learningimage-classificationImage ClassificationLanguage Modeling+3

KathDB: Explainable Multimodal Database Management System with Human-AI Collaboration

2025-12-11 · Guorui Xiao, Enhao Zhang, Nicole Sullivan, Will Hansen 외 arxiv

Traditional DBMSs execute user- or application-provided SQL queries over relational data with strong semantic guarantees and advanced query optimization, but writing complex SQL is hard and focuses only on structured tab…

JoinGym: An Efficient Query Optimization Environment for Reinforcement Learning

2023-07-21 · Kaiwen Wang, Junxiong Wang, Yueying Li, Nathan Kallus 외

Join order selection (JOS) is the problem of ordering join operations to minimize total query execution cost and it is the core NP-hard combinatorial optimization problem of query optimization. In this paper, we present …

BenchmarkingCombinatorial OptimizationManagementreinforcement-learning+2

Robust Plan Evaluation based on Approximate Probabilistic Machine Learning

2024-01-26 · Amin Kamali, Verena Kantere, Calisto Zuzarte, Vincent Corvinelli

Query optimizers in RDBMSs search for execution plans expected to be optimal for given queries. They use parameter estimates, often inaccurate, and make assumptions that may not hold in practice. Consequently, they may s…

valid