检测、提取和更新:面向分布数据的学习DB系统
Detect, Distill and Update: Learned DB Systems Facing Out of Distribution Data
摘要:
机器学习(ML)正在改变DB,因为许多DB组件正在被ML模型取代。在这种情况下,一个开放的问题是如何在数据更新的情况下更新这样的ML模型。我们开始这项调查集中在数据插入(占主导地位的更新分析数据库)。我们研究如何更新神经网络(NN)模型时,新的数据遵循不同的分布(a.k.a.它是“分布外”-- OOD),使得先前训练的NN不准确。在我们的问题设置中的一个要求是,学习的DB组件应该确保对旧数据和新数据的任务的高准确性(例如,用于近似查询处理(AQP)、基数估计(CE)、合成数据生成(DG)等)。提出了一种新的可更新性框架DDUP p。DDUp可以为不同的学习数据库系统组件提供可更新性,甚至基于不同的NN,而无需从头开始重新训练NN的高成本。DDUP包含两个部分:第一,一个新的,高效的,原则性的测试方法来检测OOD数据。第二,一种新的模型更新方法,基于迁移学习与知识蒸馏的原则,有效地更新学习模型,同时仍然确保高精度。我们开发和展示DDUP的适用性三个不同的学习DB组件,AQP,CE和DG,每个采用不同类型的NN。详细的实验评估使用真实和基准数据集的AQP,CE和DG详细DDUP的性能优势。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。