mlsanityData to 7 Oct 2026

Pure Tensor Program Rewriting via Access Patterns (Representation Pearl)

arXiv 2105.09377 ↗First posted 19 May 2021cs.PLcited by 7

Not on the map. Why?

Abstract (arXiv)

Tensor kernels in machine learning (ML) often correspond to pure mathematical expressions, making term rewriting an attractive strategy for optimization and mapping to specialized hardware accelerators. However, existing ML intermediate representations (IRs) tend to either be textitpure but high-level, making low-level rewrites to hardware targets inexpressible, or textitlow-level but impure, hampering the use of term rewriting altogether. This paper introduces Glenside, a pure IR whose core abstraction -- the textitaccess pattern -- enables low-level, layout-aware, hardware-centric program rewrites. We demonstrate how term rewriting in Glenside can be used to map program fragments to hardware accelerator invocations and automatically discover classic data layout transformations like textttim2col. Glenside establishes a new foundation for exploring further term rewriting techniques in optimizing low-level tensor programs.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 May 2021.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 3; 2026: 1.

7 papers.