Efficient, Out-of-Memory Sparse MTTKRP on Massively Parallel Architectures

Andy Nguyen, Ahmed E. Helal, Fabio Checconi, Jan Laukemann, Jesmin Jahan Tithi +4 more
1/29/2022
cs.DCcs.DScs.PF

Official code: jeewhanchoi/blocked-linearized-coordinate (7 stars, Cuda, MIT, last commit 2026-05-17).

Abstract

Tensor decomposition (TD) is an important method for extracting latent information from high-dimensional (multi-modal) sparse data. This study presents a novel framework for accelerating fundamental TD operations on massively parallel GPU architectures.

Show full abstract

In contrast to prior work, the proposed Blocked Linearized Coordinate (BLCO) format enables efficient out-of-memory computation of tensor algorithms using a unified implementation that works on a single tensor copy. Our adaptive blocking and linearization strategies not only meet the resource constraints of GPU devices, but also accelerate data indexing, eliminate control-flow and memory-access irregularities, and reduce kernel launching overhead. To address the substantial synchronization cost on GPUs, we introduce an opportunistic conflict resolution algorithm, in which threads collaborate instead of contending on memory access to discover and resolve their conflicting updates on-the-fly, without keeping any auxiliary information or storing non-zero elements in specific mode orientations. As a result, our framework delivers superior in-memory performance compared to prior state-of-the-art, and is the only framework capable of processing out-of-memory tensors. On the latest Intel and NVIDIA GPUs, BLCO achieves 2.12-2.6X geometric-mean speedup (with up to 33.35X speedup) over the state-of-the-art mixed-mode compressed sparse fiber (MM-CSF) on a range of real-world sparse tensors.

View on arXivView PDF

Code Implementations(1)

MIT
72Cuda, C++Apr 22, 20226 months agoMIT

Similar Papers

Cite this paper

@article{nguyen2022efficient,
  title  = {Efficient, Out-of-Memory Sparse MTTKRP on Massively Parallel Architectures},
  author = {Andy Nguyen and Ahmed E. Helal and Fabio Checconi and Jan Laukemann and Jesmin Jahan Tithi and Yongseok Soh and Teresa Ranadive and Fabrizio Petrini and Jee W. Choi},
  year   = {2022},
  eprint = {2201.12523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12523}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.12523.svg)](https://codeofpaper.com/paper/2201.12523)

Discussion