Compressing Structured Tensor Algebra
Mahdi Ghorbani, Emilien Bauer, Tobias Grosser, Amir Shaikhha

TL;DR
This paper introduces DASTAC, a framework that optimizes tensor algebra computations by combining structure-aware algorithms with code generation techniques, significantly improving performance and reducing memory usage.
Contribution
DASTAC is a novel framework that propagates high-level tensor structures to low-level code, integrating data layout compression, polyhedral analysis, and parallelization.
Findings
Achieves 10x to 100x speedup over TACO and StructTensor.
Reduces memory footprint compared to existing tensor algebra compilers.
Enables efficient parallelization through MLIR.
Abstract
Tensor algebra is a crucial component for data-intensive workloads such as machine learning and scientific computing. As the complexity of data grows, scientists often encounter a dilemma between the highly specialized dense tensor algebra and efficient structure-aware algorithms provided by sparse tensor algebra. In this paper, we introduce DASTAC, a framework to propagate the tensors's captured high-level structure down to low-level code generation by incorporating techniques such as automatic data layout compression, polyhedral analysis, and affine code generation. Our methodology reduces memory footprint by automatically detecting the best data layout, heavily benefits from polyhedral optimizations, leverages further optimizations, and enables parallelization through MLIR. Through extensive experimentation, we show that DASTAC achieves 1 to 2 orders of magnitude speedup over TACO, a…
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 · Matrix Theory and Algorithms
