Back to search

Massachusetts Institute of Technology

A framework for computing on sparse tensors based on operator properties

Abstract

dc:description.abstract

Tensor operations have been traditionally limited to addition and multiplication operations. For operations of sparse tensors, theses semantics were extended to handle operating on zero values. However, there are many operators with a rich semantics of operator properties that can be used in dense and sparse tensor computations. This work addresses the problem of generating code for computing on a mix of sparse and dense tensors based on the properties of the operators on those tensors. I introduce the concept of a fill value to each tensor so that the data can be sparse on non-zeros. I show how to reason about the operator properties, along with the fill values of the input tensors in order to construct an IR describing how to iterate over these tensors. I show how we can take advantage of the operator properties to perform useful optimizations for both iterating over tensors and performing reductions. Lastly, I show how a user can leverage set notation to directly describe to a compiler how it should iterate over sparse tensors. The ideas discussed in this work have been prototyped in the open-source TACO system. The API used makes operator properties and tensor fill values have to be explicitly provided by the user. However, it makes the TACO system much more flexible. I show how the primitives exposed in this work allows one to efficiently perform several graph algorithms by drawing on the literature about GraphBLAS. In the evaluation section, we benchmark this system against the SuiteSparse implementation of GraphBLAS on a variety of graph algorithms to demonstrate its performance.

Degree

thesis:*
Name thesis:degree_name
Master
Department dc:contributor.department
EECS
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Henry, Rawn Tristan.
Advisor dc:contributor.advisor
  • Saman P. Amarasinghe.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • MIT theses may be protected by copyright. Please reuse MIT thesis content according to the MIT Libraries Permissions Policy, which is available through the URL provided.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1192560490

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Henry, Rawn Tristan.. A framework for computing on sparse tensors based on operator properties. Massachusetts Institute of Technology, 2020. https://hdl.handle.net/1721.1/127406