Optimizing Tensor Programs on Flexible Storage
Maximilian Schleich, Amir Shaikhha, Dan Suciu

TL;DR
This paper introduces a system that enables flexible, declarative storage formats for tensors and a cost-based optimizer to enhance performance, demonstrated by significant empirical improvements over existing systems.
Contribution
It presents a novel system allowing declarative specification of tensor storage formats and an optimizer to improve tensor program performance.
Findings
Significant performance improvements over state-of-the-art systems
Flexible storage formats tailored to tensor sparsity properties
Effective cost-based optimization for tensor memory layouts
Abstract
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…
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 · Advanced Data Storage Technologies
