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

在学习高容量分类器时,可以安全地避免键-外键连接吗?

Are Key-Foreign Key Joins Safe to Avoid when Learning High-Capacity Classifiers?

University of California, San Diego(加州大学圣地亚哥分校);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Vraj Shah, Arun Kumar, Xiaojin Zhu

摘要:

关系数据上的机器学习(ML)是数据库行业和学术界的一个蓬勃发展的领域。虽然有几个项目旨在构建可扩展和快速的ML系统,但很少有工作解决了为ML任务采购数据和功能的痛苦。现实世界的关系数据库通常有许多表(通常是几十个),数据科学家通常很难获得和连接所有可能的表,这些表为ML提供了功能。在这种情况下,Kumar等人最近表明,表之间的键-外键依赖关系(KFKD)通常可以让我们避免这种连接,而不会显著影响预测准确性-他们称之为安全避免连接的想法。虽然最初存在争议,但这一想法已被多家公司用于减轻ML的数据来源负担。但他们的工作仅适用于线性分类器。在这项工作中,我们验证他们的结果是否适用于三种流行的复杂分类器:决策树,SVM和ANN。我们使用真实世界的数据集和模拟进行了广泛的实验研究,以分析避免KFK连接对这些模型的影响。我们的研究结果表明,与线性分类器相比,这些高容量分类器在避免KFK连接方面具有令人惊讶和反直觉的鲁棒性,反驳了先前工作分析的直觉。我们直观地解释了这种行为,并确定了数据管理和ML理论研究交叉点的开放问题。我们所有的代码和数据集都可以从http://cseweb.ucsd.edu/~arunkk/hamlet下载。

英文摘要:

Machine learning (ML) over relational data is a booming area of the database industry and academia. While several projects aim to build scalable and fast ML systems, little work has addressed the pains of sourcing data and features for ML tasks. Real-world relational databases typically have many tables (often, dozens) and data scientists often struggle to even obtain and join all possible tables that provide features for ML. In this context, Kumar et al. showed recently that key-foreign key dependencies (KFKDs) between tables often lets us avoid such joins without significantly affecting prediction accuracy--an idea they called avoiding joins safely. While initially controversial, this idea has since been used by multiple companies to reduce the burden of data sourcing for ML. But their work applied only to linear classifiers. In this work, we verify if their results hold for three popular complex classifiers: decision trees, SVMs, and ANNs. We conduct an extensive experimental study using both real-world datasets and simulations to analyze the effects of avoiding KFK joins on such models. Our results show that these high-capacity classifiers are surprisingly and counter-intuitively more robust to avoiding KFK joins compared to linear classifiers, refuting an intuition from the prior work's analysis. We explain this behavior intuitively and identify open questions at the intersection of data management and ML theoretical research. All of our code and datasets are available for download from http://cseweb.ucsd.edu/~arunkk/hamlet.

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

↑