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

使用MLWeaving加速广义线性模型:一个适合任何精度学习的通用系统(技术报告)

Accelerating Generalized Linear Models with MLWeaving: A One-Size-Fits-All System for Any-precision Learning (Technical Report)

Systems Group, Department of Computer Science ETH Zurich(苏黎世联邦理工学院计算机科学系系统组);ETH Zurich(苏黎世联邦理工学院);Department of Computer Science ETH Zurich(苏黎世联邦理工学院计算机科学系);Computer Science ETH Zurich(苏黎世联邦理工学院计算机科学)

Zeke Wang, Kaan Kara, Hantian Zhang, Gustavo Alonso, Onur Mutlu, Ce Zhang

摘要:

从存储在数据库中的数据中学习是关系引擎中越来越多的重要功能。使用较低精度输入数据的方法特别令人感兴趣,因为它们的整体效率更高,但是在数据库中,这些方法具有隐藏成本:将实际值量化为较小的数字是昂贵的步骤。为了解决这个问题,在本文中,我们提出MLWeaving,一个数据结构和硬件加速技术,旨在加快学习数据库中的广义线性模型。ML-Weaving提供了一种紧凑的内存表示,支持以任何精度级别检索数据。MLWeaving还利用基于FPGA的加速器的日益增加的可用性来提供随机梯度下降的高效实现。MLWeaving中采用的解决方案在空间(因为它可以在同一设计上处理任何分辨率)和资源(通过使用位串行乘法器)方面比现有设计更有效。MLWeaving还支持运行时精度调优,而不是在训练期间使用固定的精度级别。我们用一个简单的,动态的精度时间表来说明这一点。实验结果表明,MLWeaving实现了高达16的性能提高了低精度的CPU实现的一阶方法。

英文摘要:

Learning from the data stored in a database is an important function increasingly available in relational engines. Methods using lower precision input data are of special interest given their overall higher efficiency but, in databases, these methods have a hidden cost: the quantization of the real value into a smaller number is an expensive step. To address the issue, in this paper we present MLWeaving, a data structure and hardware acceleration technique intended to speed up learning of generalized linear models in databases. ML-Weaving provides a compact, in-memory representation enabling the retrieval of data at any level of precision. MLWeaving also takes advantage of the increasing availability of FPGA-based accelerators to provide a highly efficient implementation of stochastic gradient descent. The solution adopted in MLWeaving is more efficient than existing designs in terms of space (since it can process any resolution on the same design) and resources (via the use of bit-serial multipliers). MLWeaving also enables the runtime tuning of precision, instead of a fixed precision level during the training. We illustrate this using a simple, dynamic precision schedule. Experimental results show MLWeaving achieves up to16 performance improvement over low-precision CPU implementations of first-order methods.

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

↑