Uncertainty-aware Cardinality Estimation by Neural Network Gaussian Process
Kangfei Zhao, Jeffrey Xu Yu, Zongyan He, Hao Zhang

TL;DR
This paper introduces an uncertainty-aware cardinality estimation method using Neural Network Gaussian Processes, enabling more reliable query planning in databases by providing uncertainty measures and robustness to workload shifts.
Contribution
It applies Neural Network Gaussian Processes to cardinality estimation, offering a fast, accurate, and uncertainty-calibrated approach that improves over existing methods.
Findings
Achieves high accuracy in cardinality estimation.
Provides well-calibrated uncertainty measures.
Demonstrates robustness to workload shifts.
Abstract
Deep Learning (DL) has achieved great success in many real applications. Despite its success, there are some main problems when deploying advanced DL models in database systems, such as hyper-parameters tuning, the risk of overfitting, and lack of prediction uncertainty. In this paper, we study cardinality estimation for SQL queries with a focus on uncertainty, which we believe is important in database systems when dealing with a large number of user queries on various applications. With uncertainty ensured, instead of trusting an estimator learned as it is, a query optimizer can explore other options when the estimator learned has a large variance, and it also becomes possible to update the estimator to improve its prediction in areas with high uncertainty. The approach we explore is different from the direction of deploying sophisticated DL models in database systems to build…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGaussian Processes and Bayesian Inference · Anomaly Detection Techniques and Applications · Neural Networks and Applications
