Lune

PPoPP2021Top-tier venue

Sparta: high-performance, element-wise sparse tensor contraction on heterogeneous memory

Jiawen Liu, Jie Ren, Roberto Gioiosa, Dong Li, Jiajia Li

Abstract

Sparse tensor contractions appear commonly in many applications. Efficiently computing a two sparse tensor product is challenging: It not only inherits the challenges from common sparse matrix-matrix multiplication (SpGEMM), i.e., indirect memory access and unknown output size before computation, but also raises new challenges because of high dimensionality of tensors, expensive multi-dimensional index search, and massive intermediate and output data. To address the above challenges, we introduce three optimization techniques by using multi-dimensional, efficient hashtable representation for the accumulator and larger input tensor, and all-stage parallelization. Evaluating with 15 datasets, we show that Sparta brings 28 -- 576× speedup over the traditional sparse tensor contraction with sparse accumulator. With our proposed algorithm- and memory heterogeneity-aware data management, Sparta brings extra performance improvement on the heterogeneous memory with DRAM and Intel Optane DC Persistent Memory Module (PMM) over a state-of-the-art software-based data management solution, a hardware-based data management solution, and PMM-only by 30.7% (up to 98.5%), 10.7% (up to 28.3%) and 17% (up to 65.1%) respectively.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ArchTM: Architecture-Aware, High Performance Transaction for Persistent Memory cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory cites Sentinel: Efficient Tensor Migration and Allocation on Heterogeneous Memory Systems for Deep Learning
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory cites FlexMem: Adaptive Page Profiling and Migration for Tiered Memory
  • Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered Memory cites Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness
  • FlexMem: Adaptive Page Profiling and Migration for Tiered Memory cites ArchTM: Architecture-Aware, High Performance Transaction for Persistent Memory
  • FlexMem: Adaptive Page Profiling and Migration for Tiered Memory cites Sentinel: Efficient Tensor Migration and Allocation on Heterogeneous Memory Systems for Deep Learning
  • FlexMem: Adaptive Page Profiling and Migration for Tiered Memory cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
  • FlexMem: Adaptive Page Profiling and Migration for Tiered Memory cites Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness
  • Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness cites Distributed-memory DMRG via sparse and dense parallel tensor contractions
  • Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness cites Sentinel: Efficient Tensor Migration and Allocation on Heterogeneous Memory Systems for Deep Learning
  • Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance Awareness cites HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. FlexMem: Adaptive Page Profiling and Migration for Tiered MemoryDong Xu, Junhee Ryu, Kwangsik Shin, Pengfei Su et al.USENIX ATC 2024 · 41 citations
  2. Efficient Quantized Sparse Matrix Operations on Tensor CoresShigang Li, Kazuki Osawa, Torsten HoeflerSC 2022 · 27 citations
  3. Merchandiser: Data Placement on Heterogeneous Memory for Task-Parallel HPC Applications with Load-Balance AwarenessZhen Xie, Jie Liu, Jiajia Li, Dong LiPPoPP 2023 · 18 citations
  4. SparseAuto: An Auto-scheduler for Sparse Tensor Computations using Recursive Loop Nest RestructuringAdhitha Dias, Logan Anderson, Kirshanthan Sundararajah, Artem Pelenitsyn et al.OOPSLA 2024 · 6 citations
  5. Machine Learning-Guided Memory Optimization for DLRM Inference on Tiered MemoryJie Ren, Bin Ma, Shuangyan Yang, Benjamin Francis et al.HPCA 2025 · 6 citations

Builds on6

  1. An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
  2. HM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous MemoryJie Ren, Minjia Zhang, Dong LiNeurIPS 2020 · 136 citations
  3. Sentinel: Efficient Tensor Migration and Allocation on Heterogeneous Memory Systems for Deep LearningJie Ren, Jiaolin Luo, Kai Wu, Minjia Zhang et al.HPCA 2021 · 62 citations
  4. ArchTM: Architecture-Aware, High Performance Transaction for Persistent MemoryKai Wu, Jie Ren, Ivy Bo Peng, Dong LiFAST 2021 · 31 citations
  5. Distributed-memory DMRG via sparse and dense parallel tensor contractionsRyan Levy, Edgar Solomonik, Bryan K. ClarkSC 2020 · 11 citations

Related papers

  1. Acc-SpMM: Accelerating General-purpose Sparse Matrix-Matrix Multiplication with GPU Tensor CoresHaisha Zhao, San Li, Jiaheng Wang, Chunbao Zhou et al.PPoPP 2025 · 18 citations
  2. SpArch: Efficient Architecture for Sparse Matrix MultiplicationZhekai Zhang, Hanrui Wang, Song Han, William J. DallyHPCA 2020 · 280 citations
  3. FaSTCC: Fast Sparse Tensor Contractions on CPUsSaurabh Raje, Hunter McCoy, Atanas Rountev, Prashant Pandey et al.SC 2025 · 2 citations
  4. A Probabilistic Perspective on Tiling Sparse Tensor AlgebraRitvik Sharma, Zi Yu Xue, Nathan Zhang, Rubens Lacouture et al.MICRO 2025 · 1 citation
  5. Exploiting Hierarchical Parallelism and Reusability in Tensor Kernel Processing on Heterogeneous HPC SystemsYuedan Chen, Guoqing Xiao, M. Tamer Özsu, Zhuo Tang et al.ICDE 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines