Lune

OOPSLA2023顶会

Compiling Structured Tensor Algebra

Mahdi Ghorbani, Mathieu Huot, Shideh Hashemian, Amir Shaikhha

摘要

Tensor algebra is essential for data-intensive workloads in various computational domains. Computational scientists face a trade-off between the specialization degree provided by dense tensor algebra and the algorithmic efficiency that leverages the structure provided by sparse tensors. This paper presents StructTensor, a framework that symbolically computes structure at compilation time. This is enabled by Structured Tensor Unified Representation (STUR), an intermediate language that can capture tensor computations as well as their sparsity and redundancy structures. Through a mathematical view of lossless tensor computations, we show that our symbolic structure computation and the related optimizations are sound. Finally, for different tensor computation workloads and structures, we experimentally show how capturing the symbolic structure can result in outperforming state-of-the-art frameworks for both dense and sparse tensor algebra.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Optimizing Tensor Programs on Flexible Storage 引用了 Functional collection programming with semi-ring dictionaries
  • Compressed and Parallelized Structured Tensor Algebra 引用了 Optimizing Tensor Programs on Flexible Storage
  • Compressed and Parallelized Structured Tensor Algebra 引用了 Functional collection programming with semi-ring dictionaries
  • Compressed and Parallelized Structured Tensor Algebra 引用了 Finch: Sparse and Structured Tensor Programming with Control Flow
  • PyTond: Efficient Python Data Science on the Shoulders of Databases 引用了 Optimizing Tensor Programs on Flexible Storage
  • PyTond: Efficient Python Data Science on the Shoulders of Databases 引用了 Functional collection programming with semi-ring dictionaries
  • Finch: Sparse and Structured Tensor Programming with Control Flow 引用了 Optimizing Tensor Programs on Flexible Storage
  • Finch: Sparse and Structured Tensor Programming with Control Flow 引用了 Functional collection programming with semi-ring dictionaries
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Finch: Sparse and Structured Tensor Programming with Control FlowWillow Ahrens, Teodoro Fields Collin, Radha Patel, Kyle Deeds 等OOPSLA 2025 · 6 次引用
  2. PyTond: Efficient Python Data Science on the Shoulders of DatabasesHesam Shahrokhi, Amirali Kaboli, Mahdi Ghorbani, Amir ShaikhhaICDE 2024 · 4 次引用
  3. Compressed and Parallelized Structured Tensor AlgebraMahdi Ghorbani, Emilien Bauer, Tobias Grosser, Amir ShaikhhaOOPSLA 2025 · 1 次引用

它引用的 Paper2

  1. Functional collection programming with semi-ring dictionariesAmir Shaikhha, Mathieu Huot, Jaclyn Smith, Dan OlteanuOOPSLA 2022 · 31 次引用
  2. Optimizing Tensor Programs on Flexible StorageMaximilian Schleich, Amir Shaikhha, Dan SuciuSIGMOD 2023 · 21 次引用

相关 Paper

  1. A Mechanized Algebra of Verified Data Structures for Optimizing Sparse Tensor ProgramsAmanda Liu, Gilbert Louis Bernstein, Shoaib Kamil, Adam Chlipala 等PLDI 2026
  2. FreeTensor: a free-form DSL with holistic optimizations for irregular tensor programsShizhi Tang, Jidong Zhai, Haojie Wang, Lin Jiang 等PLDI 2022 · 16 次引用
  3. UniSparse: An Intermediate Language for General Sparse Format CustomizationJie Liu, Zhongyuan Zhao, Zijian Ding, Benjamin Brock 等OOPSLA 2024 · 7 次引用
  4. Compilation of dynamic sparse tensor algebraStephen Chou, Saman P. AmarasingheOOPSLA 2022 · 8 次引用
  5. SpDISTAL: Compiling Distributed Sparse Tensor ComputationsRohan Yadav, Alex Aiken, Fredrik KjolstadSC 2022 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖