The Sparse Abstract Machine
Not on the map. Why?
Abstract (arXiv)
We propose the Sparse Abstract Machine (SAM), an abstract machine model for targeting sparse tensor algebra to reconfigurable and fixed-function spatial dataflow accelerators. SAM defines a streaming dataflow abstraction with sparse primitives that encompass a large space of scheduled tensor algebra expressions. SAM dataflow graphs naturally separate tensor formats from algorithms and are expressive enough to incorporate arbitrary iteration orderings and many hardware-specific optimizations. We also present Custard, a compiler from a high-level language to SAM that demonstrates SAM's usefulness as an intermediate representation. We automatically bind from SAM to a streaming dataflow simulator. We evaluate the generality and extensibility of SAM, explore the performance space of sparse tensor algebra optimizations using SAM, and show SAM's ability to represent dataflow hardware.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Aug 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 3.
4 papers.
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Developmentcited by 16
- 2023Retrospective: EIE: Efficient Inference Engine on Sparse and Compressed Neural Networkcited by 2
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflowcited by 0
- 2025Streaming Tensor Programs: A Streaming Abstraction for Dynamic Parallelismcited by 0
- 2025Streaming Tensor Programs: A Streaming Abstraction for Dynamic Parallelism11 Nov 2025
- 2025FuseFlow: A Fusion-Centric Compilation Framework for Sparse Deep Learning on Streaming Dataflow6 Nov 2025
- 2025Adaptive Self-improvement LLM Agentic System for ML Library Development4 Feb 2025
- 2023Retrospective: EIE: Efficient Inference Engine on Sparse and Compressed Neural Network15 Jun 2023