mlsanityData to 14 Oct 2026

CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distribution

arXiv 2412.05864 ↗First posted 8 Dec 2024cs.DB cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Query-driven learned estimators are accurate, flexible, and lightweight alternatives to traditional estimators in query optimization. However, existing query-driven approaches struggle with the Out-of-distribution (OOD) problem, where the test workload distribution differs from the training workload, leading to performancedegradation. In this paper, we present CardOOD, a general learning framework designed to construct robust query-driven cardinality estimators that are resilient against the OOD problem. Our framework focuses on offline training algorithms that develop one-off models from a static workload, suitable for model initialization and periodic retraining. In CardOOD, we extend classical transfer/robust learning techniques to train query-driven cardinalityestimators, and the algorithms fall into three categories: representation learning, data manipulation, and new learning strategies. As these learning techniques are originally evaluated in computervision tasks, we also propose a new learning algorithm that exploits the property of cardinality estimation. This algorithm, lying in the category of new learning strategy, models the partial order constraint of cardinalities by a self-supervised learning task. Comprehensive experimental studies demonstrate the efficacy of the algorithms of CardOOD in mitigating the OOD problem to varying extents. We further integrate CardOOD into PostgreSQL, showcasing its practical utility in query optimization.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 59 references that are in the map. First posted on arXiv 8 Dec 2024.

Builds on

21 of 59 references.

References · 21

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  2. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  3. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
  4. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  5. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
  6. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
  7. 2019Self-supervised Visual Feature Learning with Deep Neural Networks: A Surveycited by 657
  8. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  9. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 450
  10. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
  11. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  12. 2022G-Mixup: Graph Data Augmentation for Graph Classificationcited by 146
9 more
  1. 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
  2. 2022C-Mixup: Improving Generalization in Regressioncited by 57
  3. 2019An End-to-End Learning-based Cost Estimatorcited by 43
  4. 2020NeuroCard: One Cardinality Estimator for All Tablescited by 21
  5. 2019DeepDB: Learn from Data, not from Queries!cited by 20
  6. 2020Are We Ready For Learned Cardinality Estimation?cited by 19
  7. 2023Machine Unlearning in Learned Databases: An Experimental Analysiscited by 18
  8. 2019Approximate Query Processing using Deep Generative Modelscited by 8
  9. 2022Detect, Distill and Update: Learned DB Systems Facing Out of Distribution Datacited by 6

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.