Learning Models over Relational Data Using Sparse Tensors and Functional Dependencies

Author:

Khamis Mahmoud Abo1,Ngo Hung Q.1,Nguyen Xuanlong2,Olteanu Dan3,Schleich Maximilian3

Affiliation:

1. RelationalAI, Inc., Berkeley, CA

2. University of Michigan, Ann Arbor, MI

3. University of Oxford, Oxford, UK

Abstract

Integrated solutions for analytics over relational databases are of great practical importance as they avoid the costly repeated loop data scientists have to deal with on a daily basis: select features from data residing in relational databases using feature extraction queries involving joins, projections, and aggregations; export the training dataset defined by such queries; convert this dataset into the format of an external learning tool; and train the desired model using this tool. These integrated solutions are also a fertile ground of theoretically fundamental and challenging problems at the intersection of relational and statistical data models. This article introduces a unified framework for training and evaluating a class of statistical learning models over relational databases. This class includes ridge linear regression, polynomial regression, factorization machines, and principal component analysis. We show that, by synergizing key tools from database theory such as schema information, query structure, functional dependencies, recent advances in query evaluation algorithms, and from linear algebra such as tensor and matrix operations, one can formulate relational analytics problems and design efficient (query and data) structure-aware algorithms to solve them. This theoretical development informed the design and implementation of the AC/DC system for structure-aware learning. We benchmark the performance of AC/DC against R, MADlib, libFM, and TensorFlow. For typical retail forecasting and advertisement planning applications, AC/DC can learn polynomial regression models and factorization machines with at least the same accuracy as its competitors and up to three orders of magnitude faster than its competitors whenever they do not run out of memory, exceed 24-hour timeout, or encounter internal design limitations.

Funder

European Union’s Horizon 2020 research and innovation programme

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference70 articles.

1. Research directions for principles of data management (dagstuhl perspectives workshop 16151);Abiteboul Serge;Dagstuhl Manifestos,2018

2. S. Abiteboul R. Hull and V. Vianu. 1995. Foundations of Databases. Addison-Wesley. 94019295 Retrieved from https://books.google.com/books?id=HN9QAAAAMAAJ. S. Abiteboul R. Hull and V. Vianu. 1995. Foundations of Databases. Addison-Wesley. 94019295 Retrieved from https://books.google.com/books?id=HN9QAAAAMAAJ.

3. AC/DC: In-database learning thunderstruck;Khamis Mahmoud Abo;Proceedings of the DEEM.,2018

4. In-Database Learning with Sparse Tensors

Cited by 19 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Data Lakes: A Survey of Functions and Systems;IEEE Transactions on Knowledge and Data Engineering;2023-12-01

2. Givens rotations for QR decomposition, SVD and PCA over database joins;The VLDB Journal;2023-11-23

3. F-IVM: analytics over relational databases under updates;The VLDB Journal;2023-11-14

4. SmartLite: A DBMS-Based Serving System for DNN Inference in Resource-Constrained Environments;Proceedings of the VLDB Endowment;2023-11

5. Compiling Structured Tensor Algebra;Proceedings of the ACM on Programming Languages;2023-10-16

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3