Optimizing Tensor Programs on Flexible Storage
Not on the map. Why?
Abstract (arXiv)
Tensor programs often need to process large tensors (vectors, matrices, or higher order tensors) that require a specialized storage format for their memory layout. Several such layouts have been proposed in the literature, such as the Coordinate Format, the Compressed Sparse Row format, and many others, that were especially designed to optimally store tensors with specific sparsity properties. However, existing tensor processing systems require specialized extensions in order to take advantage of every new storage format. In this paper we describe a system that allows users to define flexible storage formats in a declarative tensor query language, similar to the language used by the tensor program. The programmer only needs to write storage mappings, which describe, in a declarative way, how the tensors are laid out in main memory. Then, we describe a cost-based optimizer that optimizes the tensor program for the specific memory layout. We demonstrate empirically significant performance improvements compared to state-of-the-art tensor processing systems.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Oct 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 3; 2025: 0; 2026: 1.
9 papers.
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsitycited by 14
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
- 2023Serving Deep Learning Model in Relational Databasescited by 2
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Enginescited by 2
- 2024XKV: Personalized KV Cache Memory Reduction for Long-Context LLM Inferencecited by 2
- 2022Efficient and Sound Differentiable Programming in a Functional Array-Processing Languagecited by 0
- 2023nablaSD: Differentiable Programming for Sparse Tensorscited by 0
- 2024Compressing Structured Tensor Algebracited by 0
- 2026Automated Tensor-Relational Decomposition for Large-Scale Sparse Tensor Computationcited by 0
- 2026Automated Tensor-Relational Decomposition for Large-Scale Sparse Tensor Computation9 Mar 2026
- 2024XKV: Personalized KV Cache Memory Reduction for Long-Context LLM Inference8 Dec 2024
- 2024Compressing Structured Tensor Algebra18 Jul 2024
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2023The Duck's Brain: Training and Inference of Neural Networks in Modern Database Engines28 Dec 2023
- 2023Serving Deep Learning Model in Relational Databases7 Oct 2023
- 2023Flash-LLM: Enabling Cost-Effective and Highly-Efficient Large Generative Model Inference with Unstructured Sparsity19 Sep 2023
- 2023nablaSD: Differentiable Programming for Sparse Tensors13 Mar 2023
- 2022Efficient and Sound Differentiable Programming in a Functional Array-Processing Language20 Dec 2022