Lune

SC2020Top-tier venue

SpTFS: sparse tensor format selection for MTTKRP via deep learning

Qingxiao Sun, Yi Liu, Ming Dun, Hailong Yang, Zhongzhi Luan, Lin Gan, Guangwen Yang, Depei Qian

Abstract

Canonical polyadic decomposition (CPD) is one of the most common tensor computations adopted in many scientific applications. The major bottleneck of CPD is matricized tensor times Khatri-Rao product (MTTKRP). To optimize the performance of MTTKRP, various sparse tensor formats have been proposed such as CSF and HiCOO. However, due to the spatial complexity of the tensors, no single format fits all tensors. To address this problem, we propose SpTFS, a framework that automatically predicts the optimal storage format for an input sparse tensor. Specifically, SpTFS leverages a set of sampling methods to lower the sparse tensor to fix-sized matrices and specific features. Then, TnsNet combines CNN and the feature layer to accurately predict the optimal format. The experimental results show that SpTFS achieves prediction accuracy of 92.7% and 96% on CPU and GPU 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.

3 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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. WACO: Learning Workload-Aware Co-optimization of the Format and Schedule of a Sparse Tensor ProgramJaeyeon Won, Charith Mendis, Joel S. Emer, Saman P. AmarasingheASPLOS 2023 · 30 citations
  2. Heuristic adaptability to input dynamics for SpMM on CPUsGuohao Dai, Guyue Huang, Shang Yang, Zhongming Yu et al.DAC 2022 · 27 citations
  3. LiteForm: Lightweight and Automatic Format Composition for Sparse Matrix-Matrix Multiplication on GPUsZhen Peng, Polykarpos Thomadakis, Jacques A. Pienaar, Gokcen KestorHPDC 2025 · 1 citation

Builds on1

  1. Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor ComputationsNitish Kumar Srivastava, Hanchen Jin, Shaden Smith, Hongbo Rong et al.HPCA 2020 · 121 citations

Related papers

  1. 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
  2. STile: Searching Hybrid Sparse Formats for Sparse Deep Learning Operators AutomaticallyJingzhi Fang, Yanyan Shen, Yue Wang, Lei ChenSIGMOD 2024 · 6 citations
  3. Application Performance Modeling via Tensor CompletionEdward Hutter, Edgar SolomonikSC 2023 · 4 citations
  4. Provable Online CP/PARAFAC Decomposition of a Structured Tensor via Dictionary LearningSirisha Rambhatla, Xingguo Li, Jarvis D. HauptNeurIPS 2020 · 13 citations
  5. Optimizing Tensor Programs on Flexible StorageMaximilian Schleich, Amir Shaikhha, Dan SuciuSIGMOD 2023 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines