ALTO: Adaptive Linearized Storage of Sparse Tensors

Ahmed E. Helal, Jan Laukemann, Fabio Checconi, Jesmin Jahan Tithi, Teresa Ranadive +2 more
2/20/2021
cs.DCcs.DScs.PF

Official code: IntelLabs/ALTO (0 stars, C++, MIT, last commit 2026-10-15).

Abstract

The analysis of high-dimensional sparse data is becoming increasingly popular in many important domains. However, real-world sparse tensors are challenging to process due to their irregular shapes and data distributions.

Show full abstract

We propose the Adaptive Linearized Tensor Order (ALTO) format, a novel mode-agnostic (general) representation that keeps neighboring nonzero elements in the multi-dimensional space close to each other in memory. To generate the indexing metadata, ALTO uses an adaptive bit encoding scheme that trades off index computations for lower memory usage and more effective use of memory bandwidth. Moreover, by decoupling its sparse representation from the irregular spatial distribution of nonzero elements, ALTO eliminates the workload imbalance and greatly reduces the synchronization overhead of tensor computations. As a result, the parallel performance of ALTO-based tensor operations becomes a function of their inherent data reuse. On a gamut of tensor datasets, ALTO outperforms an oracle that selects the best state-of-the-art format for each dataset, when used in key tensor decomposition operations. Specifically, ALTO achieves a geometric mean speedup of 8X over the best mode-agnostic (coordinate and hierarchical coordinate) formats, while delivering a geometric mean compression ratio of 4.3X relative to the best mode-specific (compressed sparse fiber) formats.

View on arXivView PDF

Code Implementations(1)

IntelLabs/ALTOOfficial100%
MIT

A template-based implementation of the Adaptive Linearized Tensor Order (ALTO) format for storing and processing sparse tensors.

09C++, ShellMay 20, 20211 months agoMIT
multicoresparse-tensorstensor-decomposition

Similar Papers

Cite this paper

@article{helal2021alto,
  title  = {ALTO: Adaptive Linearized Storage of Sparse Tensors},
  author = {Ahmed E. Helal and Jan Laukemann and Fabio Checconi and Jesmin Jahan Tithi and Teresa Ranadive and Fabrizio Petrini and Jeewhan Choi},
  year   = {2021},
  eprint = {2102.10245},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.10245}
}

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/2102.10245.svg)](https://codeofpaper.com/paper/2102.10245)

Discussion