Detect, Distill and Update: Learned DB Systems Facing Out of Distribution Data
Not on the map. Why?
Abstract (arXiv)
Machine Learning (ML) is changing DBs as many DB components are being replaced by ML models. One open problem in this setting is how to update such ML models in the presence of data updates. We start this investigation focusing on data insertions (dominating updates in analytical DBs). We study how to update neural network (NN) models when new data follows a different distribution (a.k.a. it is "out-of-distribution" -- OOD), rendering previously-trained NNs inaccurate. A requirement in our problem setting is that learned DB components should ensure high accuracy for tasks on old and new data (e.g., for approximate query processing (AQP), cardinality estimation (CE), synthetic data generation (DG), etc.). This paper proposes a novel updatability framework (DDUp). DDUp can provide updatability for different learned DB system components, even based on different NNs, without the high costs to retrain the NNs from scratch. DDUp entails two components: First, a novel, efficient, and principled statistical-testing approach to detect OOD data. Second, a novel model updating approach, grounded on the principles of transfer learning with knowledge distillation, to update learned models efficiently, while still ensuring high accuracy. We develop and showcase DDUp's applicability for three different learned DB components, AQP, CE, and DG, each employing a different type of NN. Detailed experimental evaluation using real and benchmark datasets for AQP, CE, and DG detail DDUp's performance advantages.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 53 of its 92 references that are in the map. First posted on arXiv 11 Oct 2022.
Builds on
53 of 92 references.
References · 53
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2016Learning without Forgettingcited by 2,465
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
- 2017Gradient Episodic Memory for Continual Learningcited by 1,871
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2016Progressive Neural Networkscited by 1,332
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 734
- 2019Large Scale Incremental Learningcited by 727
38 more
- 2019Modeling Tabular data using Conditional GANcited by 695
- 2019Eternal Sunshine of the Spotless Net: Selective Forgetting in Deep Networkscited by 599
- 2018End-to-End Incremental Learningcited by 596
- 2018Born Again Neural Networkscited by 539
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2020Learning under Concept Drift: A Reviewcited by 470
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
- 2020A Unifying Review of Deep and Shallow Anomaly Detectioncited by 423
- 2019Using Pre-Training Can Improve Model Robustness and Uncertaintycited by 373
- 2016Expert Gate: Lifelong Learning with a Network of Expertscited by 369
- 2021Remember What You Want to Forget: Algorithms for Machine Unlearningcited by 360
- 2016Revisiting Classifier Two-Sample Testscited by 258
- 2018To Trust Or Not To Trust A Classifiercited by 205
- 2017Generating Multi-label Discrete Patient Records using Generative Adversarial Networkscited by 197
- 2017The Case for Learned Index Structurescited by 188
- 2018Data Synthesis based on Generative Adversarial Networkscited by 184
- 2019Learning to Remember: A Synaptic Plasticity Driven Framework for Continual Learningcited by 181
- 2017FearNet: Brain-Inspired Model for Incremental Learningcited by 177
- 2020Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encodercited by 145
- 2018Rotate your Networks: Better Weight Consolidation and Less Catastrophic Forgettingcited by 127
- 2019Functional Regularisation for Continual Learning with Gaussian Processescited by 121
- 2019Neo: A Learned Query Optimizercited by 80
- 2020Density of States Estimation for Out-of-Distribution Detectioncited by 74
- 2018Learned Cardinalities: Estimating Correlated Joins with Deep Learningcited by 64
- 2020Bao: Learning to Steer Query Optimizerscited by 62
- 2019ALEX: An Updatable Adaptive Learned Indexcited by 43
- 2020Continual Learning with Extended Kronecker-factored Approximate Curvaturecited by 39
- 2019Deep Unsupervised Cardinality Estimationcited by 36
- 2019Learning Multi-dimensional Indexescited by 30
- 2020Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloadscited by 25
- 2020FLAT: Fast, Lightweight and Accurate Method for Cardinality Estimationcited by 22
- 2020Are We Ready For Learned Cardinality Estimation?cited by 19
- 2020Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findingscited by 16
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 2.
6 papers.
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Modelcited by 9
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Databasecited by 5
- 2025In-Context Adaptation to Concept Drift for Learned Database Operationscited by 3
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
- 2024CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distributioncited by 1
- 2025Forgetting by Pruning: Data Deletion in Join Cardinality Estimationcited by 0
- 2025Forgetting by Pruning: Data Deletion in Join Cardinality Estimation25 Nov 2025
- 2025In-Context Adaptation to Concept Drift for Learned Database Operations7 May 2025
- 2024CardOOD: Robust Query-driven Cardinality Estimation under Out-of-Distribution8 Dec 2024
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Database6 Aug 2024
- 2024E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language Model17 Apr 2024
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challenges25 Aug 2023