Automatic Optimization of Matrix Implementations for Distributed Machine Learning and Linear Algebra
Automatic Optimization of Matrix Implementations for Distributed Machine Learning and Linear Algebra
复制标题
DOI:
10.1145/3448016.3457317
复制
发表时间:
2021-06
期刊:
影响因子:
--
通讯作者:
Shangyu Luo;Dimitrije Jankov;Binhang Yuan;C. Jermaine
中科院分区:
文献类型:
--
作者:
Shangyu Luo;Dimitrije Jankov;Binhang Yuan;C. Jermaine
Machine learning (ML) computations are often expressed using vectors, matrices, or higher-dimensional tensors. Such data structures can have many different implementations, especially in a distributed environment: a matrix could be stored as row or column vectors, tiles of different sizes, or relationally, as a set of (rowIndex, colIndex, value) triples. Many other storage formats are possible. The choice of format can have a profound impact on the performance of a ML computation. In this paper, we propose a framework for automatic optimization of the physical implementation of a complex ML or linear algebra (LA) computation in a distributed environment, develop algorithms for solving this problem, and show, through a prototype on top of a distributed relational database system, that our ideas can radically speed up common ML and LA computations.