Format Abstraction for Sparse Tensor Algebra Compilers
Not on the map. Why?
Abstract (arXiv)
This paper shows how to build a sparse tensor algebra compiler that is agnostic to tensor formats (data layouts). We develop an interface that describes formats in terms of their capabilities and properties, and show how to build a modular code generator where new formats can be added as plugins. We then describe six implementations of the interface that compose to form the dense, CSR/CSF, COO, DIA, ELL, and HASH tensor formats and countless variants thereof. With these implementations at hand, our code generator can generate code to compute any tensor algebra expression on any combination of the aforementioned formats. To demonstrate our technique, we have implemented it in the taco tensor algebra compiler. Our modular code generator design makes it simple to add support for new tensor formats, and the performance of the generated code is competitive with hand-optimized implementations. Furthermore, by extending taco to support a wider range of formats specialized for different application and data characteristics, we can improve end-user application performance. For example, if input data is provided in the COO format, our technique allows computing a single matrix-vector multiplication directly with the data in COO, which is up to 3.6× faster than by first converting the data to CSR.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Apr 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 2; 2024: 4; 2025: 1; 2026: 4.
16 papers.
Sort:
By area:
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modelingcited by 15
- 2023JaxPruner: A concise library for sparsity researchcited by 13
- 2022BaCO: A Fast and Portable Bayesian Compiler Optimization Frameworkcited by 11
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2024UniSparse: An Intermediate Language for General Sparse Format Customizationcited by 4
- 2024Scorch: A Library for Sparse Deep Learningcited by 1
- 2023nablaSD: Differentiable Programming for Sparse Tensorscited by 0
- 2024Delta Tensor: Efficient Vector and Tensor Storage in Delta Lakecited by 0
- 2024Compressing Structured Tensor Algebracited by 0
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflowcited by 0
4 more
- 2026Automated Tensor-Relational Decomposition for Large-Scale Sparse Tensor Computationcited by 0
- 2026TensorBench: Benchmarking Coding Agents on a Compiler-Based Tensor Frameworkcited by 0
- 2026A Hardware-oriented Approach for Efficient Bayesian Inference Computation and Deploymentcited by 0
- 2026Efficient Human-Contact Representation for Human-Scene Interactioncited by 0
- 2026Efficient Human-Contact Representation for Human-Scene Interaction10 Aug 2026
- 2026A Hardware-oriented Approach for Efficient Bayesian Inference Computation and Deployment20 Jul 2026
- 2026TensorBench: Benchmarking Coding Agents on a Compiler-Based Tensor Framework4 Jun 2026
- 2026Automated Tensor-Relational Decomposition for Large-Scale Sparse Tensor Computation9 Mar 2026
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow6 Nov 2025
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2024Scorch: A Library for Sparse Deep Learning27 May 2024
- 2024Delta Tensor: Efficient Vector and Tensor Storage in Delta Lake3 May 2024
- 2024UniSparse: An Intermediate Language for General Sparse Format Customization9 Mar 2024
- 2023JaxPruner: A concise library for sparsity research27 Apr 2023
- 2023nablaSD: Differentiable Programming for Sparse Tensors13 Mar 2023
- 2022BaCO: A Fast and Portable Bayesian Compiler Optimization Framework1 Dec 2022
4 more
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modeling12 May 2022
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Padding19 Oct 2021
- 2021Functional Collection Programming with Semi-Ring Dictionaries10 Mar 2021
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2022Sparseloop: An Analytical Approach To Sparse Tensor Accelerator Modelingcited by 15
- 2023JaxPruner: A concise library for sparsity researchcited by 13
- 2022BaCO: A Fast and Portable Bayesian Compiler Optimization Frameworkcited by 11
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2024UniSparse: An Intermediate Language for General Sparse Format Customizationcited by 4
- 2024Scorch: A Library for Sparse Deep Learningcited by 1
- 2023nablaSD: Differentiable Programming for Sparse Tensorscited by 0
- 2024Delta Tensor: Efficient Vector and Tensor Storage in Delta Lakecited by 0
- 2024Compressing Structured Tensor Algebracited by 0
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflowcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Efficient Human-Contact Representation for Human-Scene Interaction10 Aug 2026
- 2026A Hardware-oriented Approach for Efficient Bayesian Inference Computation and Deployment20 Jul 2026
- 2026Automated Tensor-Relational Decomposition for Large-Scale Sparse Tensor Computation9 Mar 2026
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow6 Nov 2025
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2024Scorch: A Library for Sparse Deep Learning27 May 2024
- 2024Delta Tensor: Efficient Vector and Tensor Storage in Delta Lake3 May 2024
- 2024UniSparse: An Intermediate Language for General Sparse Format Customization9 Mar 2024
- 2023JaxPruner: A concise library for sparsity research27 Apr 2023
- 2023nablaSD: Differentiable Programming for Sparse Tensors13 Mar 2023
- 2022BaCO: A Fast and Portable Bayesian Compiler Optimization Framework1 Dec 2022
- 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learning11 Jul 2022
12 newest of 15 All 15 (JSON)