mlsanityData to 7 Oct 2026

A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimation

arXiv 2107.12295 ↗First posted 26 Jul 2021cs.DB cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

Cardinality estimation is a fundamental problem in database systems. To capture the rich joint data distributions of a relational table, most of the existing work either uses data as unsupervised information or uses query workload as supervised information. Very little work has been done to use both types of information, and cannot fully make use of both types of information to learn the joint data distribution. In this work, we aim to close the gap between data-driven and query-driven methods by proposing a new unified deep autoregressive model, UAE, that learns the joint data distribution from both the data and query workload. First, to enable using the supervised query information in the deep autoregressive model, we develop differentiable progressive sampling using the Gumbel-Softmax trick. Second, UAE is able to utilize both types of information to learn the joint data distribution in a single model. Comprehensive experimental results demonstrate that UAE achieves single-digit multiplicative error at tail, better accuracies over state-of-the-art methods, and is both space and time efficient.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 19 of its 76 references that are in the map. First posted on arXiv 26 Jul 2021.

Builds on

19 of 76 references.

References · 19

  1. 2013Auto-Encoding Variational Bayescited by 3,980
  2. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  3. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  4. 2014Deep Learning in Neural Networks: An Overviewcited by 765
  5. 2017Masked Autoregressive Flow for Density Estimationcited by 680
  6. 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 415
  7. 2015MADE: Masked Autoencoder for Distribution Estimationcited by 306
  8. 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
  9. 2019An End-to-End Learning-based Cost Estimatorcited by 43
  10. 2015MuProp: Unbiased Backpropagation for Stochastic Neural Networkscited by 36
  11. 2019Deep Unsupervised Cardinality Estimationcited by 36
  12. 2019Autoregressive Energy Machinescited by 23
7 more
  1. 2020NeuroCard: One Cardinality Estimator for All Tablescited by 21
  2. 2019DeepDB: Learn from Data, not from Queries!cited by 20
  3. 2018QuickSel: Quick Selectivity Learning with Mixture Modelscited by 12
  4. 2019An Empirical Analysis of Deep Learning for Cardinality Estimationcited by 8
  5. 2019Improved Cardinality Estimation by Learning Queries Containment Ratescited by 3
  6. 2020Variable Skipping for Autoregressive Range Density Estimationcited by 3
  7. 2019Joins on Samples: A Theoretical Guide for Practitionerscited by 1

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 1; 2023: 2; 2024: 5; 2025: 11.

21 papers.

Sort:

  1. 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
  2. 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
  3. 2024PRICE: A Pretrained Model for Cross-Database Cardinality Estimationcited by 8
  4. 2024Theoretical Analysis of Learned Database Operations under Distribution Shift through Distribution Learnabilitycited by 4
  5. 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3
  6. 2024Cardinality Estimation on Hyper-relational Knowledge Graphscited by 3
  7. 2024A Practical Theory of Generalization in Selectivity Learningcited by 3
  8. 2021Glue: Adaptively Merging Single Table Cardinality to Estimate Join Query Sizecited by 2
  9. 2024Towards Establishing Guaranteed Error for Learned Database Operationscited by 2
  10. 2025DistJoin: A Decoupled Join Cardinality Estimator based on Adaptive Neural Predicate Modulationcited by 1
  11. 2025Data-Agnostic Cardinality Learning from Imperfect Workloadscited by 1
  12. 2023BitE : Accelerating Learned Query Optimization in a Mixed-Workload Environmentcited by 0
9 more
  1. 2025Optimize Cardinality Estimation Model Pretraining by Simplifying the Training Datasetscited by 0
  2. 2025ACE: A Cardinality Estimator for Set-Valued Queriescited by 0
  3. 2025BQSched: A Non-intrusive Scheduler for Batch Concurrent Queries via Reinforcement Learningcited by 0
  4. 2025Sketched Sum-Product Networks for Joinscited by 0
  5. 2025A Lightweight Learned Cardinality Estimation Modelcited by 0
  6. 2025QCardEst/QCardCorr: Quantum Cardinality Estimation and Correctioncited by 0
  7. 2025ZeroCard: Cardinality Estimation with Zero Dependence on Target Databases -- No Data, No Query, No Retrainingcited by 0
  8. 2025CoLSE: A Lightweight and Robust Hybrid Learned Model for Single-Table Cardinality Estimation using Joint CDFcited by 0
  9. 2025TiCard: Deployable EXPLAIN-only Residual Learning for Cardinality Estimationcited by 0