arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.00607cs.DB
收藏

DeepDB:从数据中学习,而不是从数据中学习!

DeepDB: Learn from Data, not from Queries!

Benjamin Hilprecht, Andreas Schmidt, Moritz Kulessa, Alejandro Molina, Kristian Kersting, Carsten Binnig

摘要:

学习DBMS组件的典型方法是通过运行一组有代表性的查询来捕获行为,并使用观察结果来训练机器学习模型。然而,这种工作量驱动的方法有两个主要的缺点。首先,收集训练数据可能非常昂贵,因为所有查询都需要在潜在的大型数据库上执行。其次,当工作量和数据发生变化时,必须重新收集训练数据。为了克服这些限制,我们采取了不同的路线:我们建议学习一个纯数据驱动的模型,可以用于不同的任务,如查询回答或基数估计。这种数据驱动的模型还支持临时查询和数据更新,而不需要在工作负载或数据发生变化时进行全面的重新训练。事实上,人们现在可能会认为这是以较低的准确性为代价的,因为工作负载驱动的模型可以利用更多的信息。然而,事实并非如此。我们的实证评估结果表明,我们的数据驱动的方法不仅提供了更好的准确性比国家的最先进的学习组件,但也更好地推广到看不见的查询。

英文摘要:

The typical approach for learned DBMS components is to capture the behavior by running a representative set of queries and use the observations to train a machine learning model. This workload-driven approach, however, has two major downsides. First, collecting the training data can be very expensive, since all queries need to be executed on potentially large databases. Second, training data has to be recollected when the workload and the data changes. To overcome these limitations, we take a different route: we propose to learn a pure data-driven model that can be used for different tasks such as query answering or cardinality estimation. This data-driven model also supports ad-hoc queries and updates of the data without the need of full retraining when the workload or data changes. Indeed, one may now expect that this comes at a price of lower accuracy since workload-driven models can make use of more information. However, this is not the case. The results of our empirical evaluation demonstrate that our data-driven approach not only provides better accuracy than state-of-the-art learned components but also generalizes better to unseen queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑