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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper3
- 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 次引用
- Heuristic adaptability to input dynamics for SpMM on CPUsGuohao Dai, Guyue Huang, Shang Yang, Zhongming Yu 等DAC 2022 · 27 次引用
- LiteForm: Lightweight and Automatic Format Composition for Sparse Matrix-Matrix Multiplication on GPUsZhen Peng, Polykarpos Thomadakis, Jacques A. Pienaar, Gokcen KestorHPDC 2025 · 1 次引用
它引用的 Paper1
相关 Paper
- Exploiting Hierarchical Parallelism and Reusability in Tensor Kernel Processing on Heterogeneous HPC SystemsYuedan Chen, Guoqing Xiao, M. Tamer Özsu, Zhuo Tang 等ICDE 2022 · 7 次引用
- STile: Searching Hybrid Sparse Formats for Sparse Deep Learning Operators AutomaticallyJingzhi Fang, Yanyan Shen, Yue Wang, Lei ChenSIGMOD 2024 · 6 次引用
- Application Performance Modeling via Tensor CompletionEdward Hutter, Edgar SolomonikSC 2023 · 4 次引用
- Provable Online CP/PARAFAC Decomposition of a Structured Tensor via Dictionary LearningSirisha Rambhatla, Xingguo Li, Jarvis D. HauptNeurIPS 2020 · 13 次引用
- Optimizing Tensor Programs on Flexible StorageMaximilian Schleich, Amir Shaikhha, Dan SuciuSIGMOD 2023 · 21 次引用
