An Asymptotic Cost Model for Autoscheduling Sparse Tensor Programs
Willow Ahrens, Fredrik Kjolstad, Saman Amarasinghe

TL;DR
This paper introduces the first automatic asymptotic scheduler for sparse tensor programs, significantly reducing scheduling complexity and improving performance by selecting optimal kernels based on asymptotic cost analysis.
Contribution
It presents a novel approach to automatically select asymptotically optimal schedules for sparse tensor programs, narrowing the search space to a Pareto frontier.
Findings
Reduces scheduling space by orders of magnitude
Generated kernels outperform default schedules asymptotically
Automates decision-making in sparse tensor compilation
Abstract
While loop reordering and fusion can make big impacts on the constant-factor performance of dense tensor programs, the effects on sparse tensor programs are asymptotic, often leading to orders of magnitude performance differences in practice. Sparse tensors also introduce a choice of compressed storage formats that can have asymptotic effects. Research into sparse tensor compilers has led to simplified languages that express these tradeoffs, but the user is expected to provide a schedule that makes the decisions. This is challenging because schedulers must anticipate the interaction between sparse formats, loop structure, potential sparsity patterns, and the compiler itself. Automating this decision making process stands to finally make sparse tensor compilers accessible to end users. We present, to the best of our knowledge, the first automatic asymptotic scheduler for sparse tensor…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Tensor decomposition and applications · Distributed and Parallel Computing Systems
