Distributed-Memory Randomized Algorithms for Sparse Tensor CP Decomposition

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bharadwaj, Vivek, Malik, Osman Asif, Murray, Riley, Buluç, Aydin, Demmel, James
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909183222218752
author Bharadwaj, Vivek
Malik, Osman Asif
Murray, Riley
Buluç, Aydin
Demmel, James
author_facet Bharadwaj, Vivek
Malik, Osman Asif
Murray, Riley
Buluç, Aydin
Demmel, James
contents Candecomp / PARAFAC (CP) decomposition, a generalization of the matrix singular value decomposition to higher-dimensional tensors, is a popular tool for analyzing multidimensional sparse data. On tensors with billions of nonzero entries, computing a CP decomposition is a computationally intensive task. We propose the first distributed-memory implementations of two randomized CP decomposition algorithms, CP-ARLS-LEV and STS-CP, that offer nearly an order-of-magnitude speedup at high decomposition ranks over well-tuned non-randomized decomposition packages. Both algorithms rely on leverage score sampling and enjoy strong theoretical guarantees, each with varying time and accuracy tradeoffs. We tailor the communication schedule for our random sampling algorithms, eliminating expensive reduction collectives and forcing communication costs to scale with the random sample count. Finally, we optimize the local storage format for our methods, switching between analogues of compressed sparse column and compressed sparse row formats. Experiments show that our methods are fast and scalable, producing 11x speedup over SPLATT by decomposing the billion-scale Reddit tensor on 512 CPU cores in under two minutes.
format Preprint
id arxiv_https___arxiv_org_abs_2210_05105
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Distributed-Memory Randomized Algorithms for Sparse Tensor CP Decomposition
Bharadwaj, Vivek
Malik, Osman Asif
Murray, Riley
Buluç, Aydin
Demmel, James
Numerical Analysis
Candecomp / PARAFAC (CP) decomposition, a generalization of the matrix singular value decomposition to higher-dimensional tensors, is a popular tool for analyzing multidimensional sparse data. On tensors with billions of nonzero entries, computing a CP decomposition is a computationally intensive task. We propose the first distributed-memory implementations of two randomized CP decomposition algorithms, CP-ARLS-LEV and STS-CP, that offer nearly an order-of-magnitude speedup at high decomposition ranks over well-tuned non-randomized decomposition packages. Both algorithms rely on leverage score sampling and enjoy strong theoretical guarantees, each with varying time and accuracy tradeoffs. We tailor the communication schedule for our random sampling algorithms, eliminating expensive reduction collectives and forcing communication costs to scale with the random sample count. Finally, we optimize the local storage format for our methods, switching between analogues of compressed sparse column and compressed sparse row formats. Experiments show that our methods are fast and scalable, producing 11x speedup over SPLATT by decomposing the billion-scale Reddit tensor on 512 CPU cores in under two minutes.
title Distributed-Memory Randomized Algorithms for Sparse Tensor CP Decomposition
topic Numerical Analysis
url https://arxiv.org/abs/2210.05105