Duet: Efficient and Scalable Hybrid Neural Relation Understanding
Kaixin Zhang, Hongzhi Wang, Yabin Lu, Ziqi Li, Chang Shu, Yu Yan, Donghua Yang
摘要
Learned cardinality estimation methods have achieved high precision compared to traditional methods. Among learned methods, query-driven approaches have faced the work-load drift problem for a long time. Although both data-driven and hybrid methods are proposed to avoid this problem, most of them suffer from high training and estimation costs, limited scalability, instability, and long-tail distribution problems on high-dimensional tables, which seriously affects the practical application of learned cardinality estimators. In this paper, we prove that most of these problems are directly caused by the widely used progressive sampling. We solve this problem by introducing predicate information into the autoregressive model and propose Duet, a stable, efficient, and scalable hybrid method to estimate cardinality directly without sampling or any non-differentiable process, which can not only reduce the inference complexity fromtocompared to Naru and UAE but also achieve higher accuracy on high cardinality and high-dimensional tables. Experimental results show that Duet can achieve all the design goals above and be much more practical. Besides, Duet even has a lower inference cost on CPU than that of most learned methods on GPU.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Are We Ready For Learned Cardinality Estimation? 引用了 Deep Unsupervised Cardinality Estimation
- Are We Ready For Learned Cardinality Estimation? 引用了 An End-to-End Learning-based Cost Estimator
- DeepDB: Learn from Data, not from Queries! 引用了 An End-to-End Learning-based Cost Estimator
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 Are We Ready For Learned Cardinality Estimation?
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 DeepDB: Learn from Data, not from Queries!
- Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation 引用了 An End-to-End Learning-based Cost Estimator
- A Practical Theory of Generalization in Selectivity Learning 引用了 DeepDB: Learn from Data, not from Queries!
- A Practical Theory of Generalization in Selectivity Learning 引用了 An End-to-End Learning-based Cost Estimator
- Data-Agnostic Cardinality Learning from Imperfect Workloads 引用了 DeepDB: Learn from Data, not from Queries!
- Data-Agnostic Cardinality Learning from Imperfect Workloads 引用了 Deep Unsupervised Cardinality Estimation
- Data-Agnostic Cardinality Learning from Imperfect Workloads 引用了 Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluation
- Data-Agnostic Cardinality Learning from Imperfect Workloads 引用了 A Practical Theory of Generalization in Selectivity Learning
引用它的顶会 Paper2
它引用的 Paper14
- An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
- Deep Unsupervised Cardinality EstimationZongheng Yang, Eric Liang, Amog Kamsetty, Chenggang Wu 等VLDB 2020 · 206 次引用
- Cardinality Estimation in DBMS: A Comprehensive Benchmark EvaluationYuxing Han, Ziniu Wu, Peizhi Wu, Rong Zhu 等VLDB 2022 · 169 次引用
- Are We Ready For Learned Cardinality Estimation?Xiaoying Wang, Changbo Qu, Weiyuan Wu, Jiannan Wang 等VLDB 2021 · 156 次引用
- DeepDB: Learn from Data, not from Queries!Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina 等VLDB 2020 · 154 次引用
相关 Paper
- A Unified Deep Model of Learning from both Data and Queries for Cardinality EstimationPeizhi Wu, Gao CongSIGMOD 2021 · 73 次引用
- FACE: A Normalizing Flow based Cardinality EstimatorJiayi Wang, Chengliang Chai, Jiabin Liu, Guoliang LiVLDB 2022
- CoLSE: A Lightweight and Robust Hybrid Learned Model for Single-Table Cardinality Estimation Using Joint CDFLankadinee Rathuwadu, Guanli Liu, Christopher Leckie, Renata Borovica-GajicICDE 2026
- Warper: Efficiently Adapting Learned Cardinality Estimators to Data and Workload DriftsBeibin Li, Yao Lu, Srikanth KandulaSIGMOD 2022 · 29 次引用
- Small Selectivities Matter: Lifting the Burden of Empty SamplesAxel Hertzschuch, Guido Moerkotte, Wolfgang Lehner, Norman May 等SIGMOD 2021 · 4 次引用
