Show simple item record

dc.contributor.authorPatel, Radha
dc.contributor.authorAhrens, Willow
dc.contributor.authorAmarasinghe, Saman
dc.date.accessioned2025-03-07T20:35:59Z
dc.date.available2025-03-07T20:35:59Z
dc.date.issued2025-03-01
dc.identifier.isbn979-8-4007-1275-3
dc.identifier.urihttps://hdl.handle.net/1721.1/158438
dc.descriptionCGO ’25, March 01–05, 2025, Las Vegas, NV, USAen_US
dc.description.abstractSymmetric and sparse tensors arise naturally in many domains including linear algebra, statistics, physics, chemistry, and graph theory. Symmetric tensors are equal to their transposes, so in the n-dimensional case we can save up to a factor of n! by avoiding redundant operations. Sparse tensors, on the other hand, are mostly zero, and we can save asymptotically by processing only nonzeros. Unfortunately, specializing for both symmetry and sparsity at the same time is uniquely challenging. Optimizing for symmetry requires consideration of n! transpositions of a triangular kernel, which can be complex and error prone. Considering multiple transposed iteration orders and triangular loop bounds also complicates iteration through intricate sparse tensor formats. Additionally, since each combination of symmetry and sparse tensor formats requires a specialized implementation, this leads to a combinatorial number of cases. A compiler is needed, but existing compilers cannot take advantage of both symmetry and sparsity within the same kernel. In this paper, we describe the first compiler which can automatically generate symmetry-aware code for sparse or structured tensor kernels. We introduce a taxonomy for symmetry in tensor kernels, and show how to target each kind of symmetry. Our implementation demonstrates significant speedups ranging from 1.36x for SSYMV to 30.4x for a 5-dimensional MTTKRP over the non-symmetric state of the art.en_US
dc.publisherACM|Proceedings of the 23rd ACM/IEEE International Symposium on Code Generation and Optimizationen_US
dc.relation.isversionofhttps://doi.org/10.1145/3696443.3708919en_US
dc.rightsCreative Commons Attributionen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titleSySTeC: A Symmetric Sparse Tensor Compileren_US
dc.typeArticleen_US
dc.identifier.citationPatel, Radha, Ahrens, Willow and Amarasinghe, Saman. 2025. "SySTeC: A Symmetric Sparse Tensor Compiler."
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratoryen_US
dc.contributor.departmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Scienceen_US
dc.identifier.mitlicensePUBLISHER_CC
dc.identifier.mitlicensePUBLISHER_CC
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2025-03-01T08:46:34Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2025-03-01T08:46:34Z
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record