Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a ...

We consider both enumeration of such loop nests for autotuning and efficient algorithms for finding the lowest cost loop nest for simpler metrics, such as buffer size or cache miss models. Our runtime system identifies the best choice of loop nest without user guidance, and also provides a distributed-memory parallelization of SpTTN kernels.

As opposed to prior frameworks for sparse tensor contractions , by restricting consid-eration to a single sparsity pattern and dense bufers, we are able to enumerate and eficiently find the minimum cost SpTTN loop nest .
Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a ...

We consider both enumeration of such loop nests for autotuning and efficient algorithms for finding the lowest cost loop-nest for simpler metrics, such as buffer size or cache miss models. Our runtime system identifies the best choice of loop nest without user guidance, and also provides a distributed-memory parallelization of SpTTN kernels.
Typically, the main bottleneck in optimization of these models are contractions of a single large sparse tensor with a network of several dense matrices or tensors (SpTTN).

Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a ...
This work presents algorithms and a runtime system for identifying and executing the most efficient loop nest for any SpTTN kernel and demonstrates that this approach outperforms available generalized state- of -the-art libraries and matches the performance of specialized codes. Sparse tensor decomposition and completion are common in numerous applications, ranging from machine learning to ...
This work tackles the bottleneck of contracting a sparse input tensor with a tensor network of dense factors by automatically discovering minimum-cost loop nests for SpTTN kernels.
Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a ...
Several critical inter-dependent aspects must be considered in the generation of efficient code for a contraction tree, including sparse tensor layout mode order, loop fusion to reduce ...
Conclusion This paper presents a novel algorithm for efficiently contracting sparse tensors using tensor networks. The key innovation is a method for finding the minimum-cost loop nest structure to perform the tensor contraction , which can lead to significant performance improvements for a variety of applications.
Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a ...
Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a Tensor Network Citation Details This content will become publicly available on June 17, 2025 Title: Minimum Cost Loop Nests for Contraction of a Sparse Tensor with a Tensor Network Award ID (s): 1931258 PAR ID: 10563681 Author (s) / Creator (s): Kanakagiri, Raghavendra; Solomonik ...







This paper presents algorithms and a runtime system for optimizing the contraction of sparse tensors with tensor networks, focusing on identifying the most efficient loop nests to minimize computational costs .