A Probabilistic Perspective on Tiling Sparse Tensor Algebra
Ritvik Sharma, Zi Yu Xue, Nathan Zhang, Rubens Lacouture, Fredrik Kjolstad, Sara Achour, Mark Horowitz
摘要
Sparse tensor algebra computations are often memory-bound due to irregular access patterns and low arithmetic intensity. We present D2T2 (Data-Driven Tensor Tiling), a framework that optimizes static coordinate-space tiling schemes to minimize memory traffic by identifying and leveraging relevant high-level statistics from input operands. For a given tensor algebra computation, D2T2 collects statistics from input tensors, builds a probability distribution-based model of the tensor computation, and uses it to predict traffic for various tiling configurations. It searches over tile shape and size configurations to minimize total traffic. We evaluate D2T2 against Tailors and DRT, two state of the art tiling schemes for sparse tensor algebra. We find that D2T2 achieves, on average, a 2.54× speedup over Tailors and a 1.13× lower memory bandwidth compared to DRT for sparse-sparse matrix multiplication (SpMSpM). We also achieve 1.22-48.94× lower bandwidth for SpMSpM and up to 34.31× lower bandwidth for tensor operations (TTM and MTTKRP) than conservative static tiling schemes. Unlike prior tiling techniques, D2T2 is deployable without specialized hardware support. On Opal, a 16nm sparse tensor algebra accelerator, D2T2 generated tiling configurations that achieve 1.23-3.34× speedups compared to their original hand-tuned configurations.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling 引用了 Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
- Spada: Accelerating Sparse Matrix Multiplication with Adaptive Dataflow 引用了 Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplication
它引用的 Paper13
- Gamma: leveraging Gustavson's algorithm to accelerate sparse matrix multiplicationGuowei Zhang, Nithya Attaluri, Joel S. Emer, Daniel SánchezASPLOS 2021 · 158 次引用
- Sparseloop: An Analytical Approach To Sparse Tensor Accelerator ModelingYannan Nellie Wu, Po-An Tsai, Angshuman Parashar, Vivienne Sze 等MICRO 2022 · 76 次引用
- Spada: Accelerating Sparse Matrix Multiplication with Adaptive DataflowZhiyao Li, Jiaxiang Li, Taijie Chen, Dimin Niu 等ASPLOS 2023 · 59 次引用
- A sparse iteration space transformation framework for sparse tensor algebraRyan Senanayake, Changwan Hong, Ziheng Wang, Amalee Wilson 等OOPSLA 2020 · 51 次引用
- Capstan: A Vector RDA for SparsityAlexander Rucker, Matthew Vilim, Tian Zhao, Yaqi Zhang 等MICRO 2021 · 37 次引用
相关 Paper
- Accelerating Sparse Data Orchestration via Dynamic Reflexive TilingToluwanimi O. Odemuyiwa, Hadi Asghari Moghaddam, Michael Pellauer, Kartik Hegde 等ASPLOS 2023 · 20 次引用
- Tailors: Accelerating Sparse Tensor Algebra by Overbooking Buffer CapacityZi Yu Xue, Yannan Nellie Wu, Joel S. Emer, Vivienne SzeMICRO 2023 · 11 次引用
- Efficient tiled sparse matrix multiplication through matrix signaturesSüreyya Emre Kurt, Aravind Sukumaran-Rajam, Fabrice Rastello, P. SadayappanSC 2020 · 20 次引用
- HYTE: Flexible Tiling for Sparse Accelerators via Hybrid Static-Dynamic ApproachesXintong Li, Zhiyao Li, Mingyu GaoISCA 2025 · 2 次引用
- Harmonia: A Unified Hierarchical Scheduling Framework for Sparse Matrix MultiplicationJingkui Yang, Fangxin Liu, Xin Ju, Ning Yang 等ISCA 2026
