Skip to main navigation Skip to search Skip to main content

Efficient, out-of-memory sparse MTTKRP on massively parallel architectures

  • Andy Nguyen
  • , Ahmed E. Helal
  • , Fabio Checconi
  • , Jan Laukemann
  • , Jesmin Jahan Tithi
  • , Yongseok Soh
  • , Teresa Ranadive
  • , Fabrizio Petrini
  • , Jee W. Choi

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

15 Scopus citations

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. 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.

Original languageEnglish
Title of host publicationProceedings of the 36th ACM International Conference on Supercomputing, ICS 2022
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450392815
DOIs
StatePublished - Jun 28 2022
Event36th ACM International Conference on Supercomputing, ICS 2022 - Virtual, Online
Duration: Jun 27 2022 → Jun 30 2022

Publication series

NameProceedings of the International Conference on Supercomputing

Conference

Conference36th ACM International Conference on Supercomputing, ICS 2022
CityVirtual, Online
Period06/27/22 → 06/30/22

Keywords

  • GPU
  • MTTKRP
  • Parallel performance
  • Sparse formats
  • Sparse tensors
  • Tensor decomposition

Fingerprint

Dive into the research topics of 'Efficient, out-of-memory sparse MTTKRP on massively parallel architectures'. Together they form a unique fingerprint.

Cite this