arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1911.00231cs.DBcs.LG
收藏

用ML推理扩展关系查询处理

Extending Relational Query Processing with ML Inference

Microsoft(微软);University of California, Berkeley(加州大学伯克利分校);University of California, San Diego(加州大学圣地亚哥分校)
Konstantinos Karanasos, Matteo Interlandi, Doris Xin, Fotis Psallidas, Rathijit Sen, Kwanghyun Park, Ivan Popivanov, Supun Nakandal, Subru Krishnan, Markus Weim… 展开作者

Konstantinos Karanasos, Matteo Interlandi, Doris Xin, Fotis Psallidas, Rathijit Sen, Kwanghyun Park, Ivan Popivanov, Supun Nakandal, Subru Krishnan, Markus Weimer, Yuan Yu, Raghu Ramakrishnan, Carlo Curino

摘要:

机器学习在企业中的广泛采用增加了严格治理和经济高效性能的压力,特别是对于模型存储和推理的常见和后续步骤。RDBMS提供了一个自然的起点,考虑到其用于快速数据访问和处理的成熟基础设施,以及对企业功能(例如,加密、审计、高可用性)。为了利用上述所有优势,我们需要解决一个关键问题:ML模型的RDBMS内评分是否匹配(优于?)专用框架的性能?我们通过构建Raven来积极回答上述问题,Raven是一个利用ML运行时的本地集成的系统(即,ONNX数据库)和统一的中间表示(IR),以实现ML和DB操作符之间的高级交叉优化。在这个优化领域中,我们发现了结合DB/机器学习/ML思维的最令人兴奋的研究机会。我们对真实数据的初步评估表明,在SQL Server中原生集成ML的性能提升高达5.5倍,交叉优化的性能提升高达24倍-我们将在会议期间现场演示Raven。

英文摘要:

The broadening adoption of machine learning in the enterprise is increasing the pressure for strict governance and cost-effective performance, in particular for the common and consequential steps of model storage and inference. The RDBMS provides a natural starting point, given its mature infrastructure for fast data access and processing, along with support for enterprise features (e.g., encryption, auditing, high-availability). To take advantage of all of the above, we need to address a key concern: Can in-RDBMS scoring of ML models match (outperform?) the performance of dedicated frameworks? We answer the above positively by building Raven, a system that leverages native integration of ML runtimes (i.e., ONNX Runtime) deep within SQL Server, and a unified intermediate representation (IR) to enable advanced cross-optimizations between ML and DB operators. In this optimization space, we discover the most exciting research opportunities that combine DB/Compiler/ML thinking. Our initial evaluation on real data demonstrates performance gains of up to 5.5x from the native integration of ML in SQL Server, and up to 24x from cross-optimizations--we will demonstrate Raven live during the conference talk.

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

↑