ALX: Large Scale Matrix Factorization on TPUs
ALX: Large Scale Matrix Factorization on TPUs
复制标题
ALX:TPU 上的大规模矩阵分解
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Li Zhang
中科院分区:
文献类型:
--
作者:
Harsh Mehta;Steffen Rendle;Walid Krichene;Li Zhang
We present ALX, an open-source library for distributed matrix factorization using Alternating Least Squares, written in JAX. Our design allows for efficient use of the TPU architecture and scales well to matrix factorization problems of O(B) rows/columns by scaling the number of available TPU cores. In order to spur future research on large scale matrix factorization methods and to illustrate the scalability properties of our own implementation, we also built a real world web link prediction dataset called WebGraph. This dataset can be easily modeled as a matrix factorization problem. We created several variants of this dataset based on locality and sparsity properties of sub-graphs. The largest variant of WebGraph has around 365M nodes and training a single epoch finishes in about 20 minutes with 256 TPU cores. We include speed and performance numbers of ALX on all variants of WebGraph. Both the framework code and the dataset is open-sourced.