快速分解学习:由内存数据库系统驱动
Fast Factorized Learning: Powered by In-Memory Database Systems
AI总结:
本文提出利用内存数据库系统实现分解学习,通过预计算共因子显著提升线性回归训练效率,相比传统磁盘数据库系统提升100倍。
摘要:
在分解连接上学习模型通过识别并预先计算共享共因子来避免冗余计算。先前的研究探讨了在传统磁盘数据库系统上计算共因子时的性能提升。由于没有发布的代码,无法在内存数据库系统上重现实验。本文描述了在使用共因子进行数据库内分解学习时的实现。我们对使用PostgreSQL(作为磁盘数据库系统)和HyPer(作为内存引擎)进行线性回归学习的开源实现进行了基准测试。评估显示,在内存数据库系统上,分解学习相比非分解学习性能提升70%,相比磁盘数据库系统提升100倍。因此,现代数据库引擎可以通过在数据提取前预计算聚合来加速训练,从而贡献于机器学习流水线。
英文摘要:
Learning models over factorized joins avoids redundant computations by identifying and pre-computing shared cofactors. Previous work has investigated the performance gain when computing cofactors on traditional disk-based database systems. Due to the absence of published code, the experiments could not be reproduced on in-memory database systems. This work describes the implementation when using cofactors for in-database factorized learning. We benchmark our open-source implementation for learning linear regression on factorized joins with PostgreSQL -- as a disk-based database system -- and HyPer -- as an in-memory engine. The evaluation shows a performance gain of factorized learning on in-memory database systems by 70\% to non-factorized learning and by a factor of 100 compared to disk-based database systems. Thus, modern database engines can contribute to the machine learning pipeline by pre-computing aggregates prior to data extraction to accelerate training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。