arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.07480cs.DB
收藏

AC/DC:数据库内学习

AC/DC: In-Database Learning Thunderstruck

Mahmoud Abo Khamis, Hung Q. Ngo, XuanLong Nguyen, Dan Olteanu, Maximilian Schleich

摘要:

我们报告的设计和实现的AC/DC梯度下降求解一类优化问题规范化的数据库。AC/DC将优化问题分解为一组数据库关系连接上的聚合。然后,它使用这些聚合的答案来迭代地改进问题的解决方案,直到它收敛。AC/DC面临的挑战是数据库规模大,连续和分类特征的混合,以及大量的聚合计算。AC/DC通过采用稀疏数据表示、因子分解计算、函数依赖下的问题重新参数化以及支持聚合的共享计算的数据结构来解决这些挑战。为了在来自高达86 M元组的真实世界数据集的所有关系的自然连接上训练高达154 K特征的多项式回归模型和因式分解机器,AC/DC需要在商品机器的一个核心上长达30分钟。这比其竞争对手R、MadLib、libFM和TensorFlow在完成时快三个数量级,因此不会超过内存限制、24小时超时或内部设计限制。

英文摘要:

We report on the design and implementation of the AC/DC gradient descent solver for a class of optimization problems over normalized databases. AC/DC decomposes an optimization problem into a set of aggregates over the join of the database relations. It then uses the answers to these aggregates to iteratively improve the solution to the problem until it converges. The challenges faced by AC/DC are the large database size, the mixture of continuous and categorical features, and the large number of aggregates to compute. AC/DC addresses these challenges by employing a sparse data representation, factorized computation, problem reparameterization under functional dependencies, and a data structure that supports shared computation of aggregates. To train polynomial regression models and factorization machines of up to 154K features over the natural join of all relations from a real-world dataset of up to 86M tuples, AC/DC needs up to 30 minutes on one core of a commodity machine. This is up to three orders of magnitude faster than its competitors R, MadLib, libFM, and TensorFlow whenever they finish and thus do not exceed memory limitation, 24-hour timeout, or internal design limitations.

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

↑