# Compiling Structured Tensor Algebra

arXiv: https://arxiv.org/abs/2211.10482 · HTML: https://mlsanity.com/paper/2211.10482/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Submitted 18 Nov 2022.

## Built on by (most cited first, 1 of 1)

- [Representing Tensors as Compositions for Efficient Computation on Sparse and Structured Data](https://mlsanity.com/paper/2611.10855/) (2026)

## Abstract (arXiv)

Tensor algebra is essential for data-intensive workloads in various computational domains. Computational scientists face a trade-off between the specialization degree provided by dense tensor algebra and the algorithmic efficiency that leverages the structure provided by sparse tensors. This paper presents StructTensor, a framework that symbolically computes structure at compilation time. This is enabled by Structured Tensor Unified Representation (STUR), an intermediate language that can capture tensor computations as well as their sparsity and redundancy structures. Through a mathematical view of lossless tensor computations, we show that our symbolic structure computation and the related optimizations are sound. Finally, for different tensor computation workloads and structures, we experimentally show how capturing the symbolic structure can result in outperforming state-of-the-art frameworks for both dense and sparse tensor algebra.
