mlsanityData to 7 Oct 2026

A Practical Theory of Generalization in Selectivity Learning

arXiv 2409.07014 ↗First posted 11 Sep 2024stat.ML cs.DB cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Query-driven machine learning models have emerged as a promising estimation technique for query selectivities. Yet, surprisingly little is known about the efficacy of these techniques from a theoretical perspective, as there exist substantial gaps between practical solutions and state-of-the-art (SOTA) theory based on the Probably Approximately Correct (PAC) learning framework. In this paper, we aim to bridge the gaps between theory and practice. First, we demonstrate that selectivity predictors induced by signed measures are learnable, which relaxes the reliance on probability measures in SOTA theory. More importantly, beyond the PAC learning framework (which only allows us to characterize how the model behaves when both training and test workloads are drawn from the same distribution), we establish, under mild assumptions, that selectivity predictors from this class exhibit favorable out-of-distribution (OOD) generalization error bounds. These theoretical advances provide us with a better understanding of both the in-distribution and OOD generalization capabilities of query-driven selectivity learning, and facilitate the design of two general strategies to improve OOD generalization for existing query-driven selectivity models. We empirically verify that our techniques help query-driven selectivity models generalize significantly better to OOD queries both in terms of prediction accuracy and query latency performance, while maintaining their superior in-distribution generalization performance.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 18 of its 68 references that are in the map. First posted on arXiv 11 Sep 2024.

Builds on

18 of 68 references.

References · 18

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  3. 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
  4. 2020Certified Monotonic Neural Networkscited by 51
  5. 2019An End-to-End Learning-based Cost Estimatorcited by 43
  6. 2021Cardinality Estimation in DBMS: A Comprehensive Benchmark Evaluationcited by 30
  7. 2022Learning from Label Proportions by Learning with Label Noisecited by 30
  8. 2021Flow-Loss: Learning Cardinality Estimates That Mattercited by 22
  9. 2020NeuroCard: One Cardinality Estimator for All Tablescited by 21
  10. 2021A Unified Deep Model of Learning from both Data and Queries for Cardinality Estimationcited by 21
  11. 2019DeepDB: Learn from Data, not from Queries!cited by 20
  12. 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
6 more
  1. 2023ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic Workloads (Extended)cited by 13
  2. 2018QuickSel: Quick Selectivity Learning with Mixture Modelscited by 12
  3. 2023Duet: efficient and scalable hybriD neUral rElation undersTandingcited by 3
  4. 2024Convolution and Cross-Correlation of Count Sketches Enables Fast Cardinality Estimation of Multi-Join Queriescited by 3
  5. 2022SafeBound: A Practical System for Generating Cardinality Boundscited by 2
  6. 2024PARQO: Penalty-Aware Robust Plan Selection in Query Optimizationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.