Home · ASPLOS 2026 · Machine Learning Systems

Trinity: Three-Dimensional Tensor Program Optimization via Tile-level Equality Saturation

Jaehyeong Park, Youngchan Kim, Haechan An, Gieun Jeong, Jeehoon Kang and Dongsu Han

Conference
ASPLOS 2026
Published
2026
Pages
2079-2107
Citations
0

The authors' abstract

This is the paper's own summary, in the paper's own words. It is dense on purpose — abstracts are written to compress.

Modern tensor program optimizers operate at two separate levels: graph-level optimizations (operator fusion, algebraic rewrites) and operator-level scheduling (tiling, parallelization). This separation prevents them from discovering cross-operator, tile-level optimizations that make hand-tuned kernels like FlashAttention effective. We present Trinity, the first tensor program optimizer that achieves scalable joint optimization through tile-level equality saturation. Our key insight is that optimal performance requires simultaneously optimizing three interdependent dimensions -- algebraic equivalence, memory I/O, and compute orchestration. To enable this, Trinity introduces a novel fine-grained IR that exposes all three axes as first-class, rewritable entities and applies equality saturation to perform scalable joint optimization. As a result, Trinity automatically discovers complex optimizations that require coordinated reasoning across all three dimensions. Across diverse Transformer variants, Trinity achieves up to 2.09× speedup over TensorRT and 2.35× over TorchInductor, both state-of-the-art production compilers.

The plain-English explainer is not written yet

When it is, it will replace the abstract above and walk through six questions in order: what problem the paper attacks, what people did before, why that was not good enough, what the paper's idea is, why that idea works, and what the measurements actually showed. Terms get defined the first time they appear.

Related papers on Machine Learning Systems

See all 212 →