mlsanityData to 7 Oct 2026

LOOPer: A Learned Automatic Code Optimizer For Polyhedral Compilers

arXiv 2403.11522 ↗First posted 18 Mar 2024cs.PL cs.DC cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

While polyhedral compilers have shown success in implementing advanced code transformations, they still face challenges in selecting the ones that lead to the most profitable speedups. This has motivated the use of machine learning based cost models to guide the search for polyhedral optimizations. State-of-the-art polyhedral compilers have demonstrated a viable proof-of-concept of such an approach. While promising, this approach still faces significant limitations. State-of-the-art polyhedral compilers that use a deep learning cost model only support a small subset of affine transformations, limiting their ability to explore complex code transformations. Furthermore, their applicability does not scale beyond simple programs, thus excluding many program classes from their scope, such as those with non-rectangular iteration domains or multiple loop nests. These limitations significantly impact the generality of such compilers and autoschedulers and put into question the whole approach. In this paper, we introduce LOOPer, the first polyhedral autoscheduler that uses a deep learning based cost model and covers a large space of affine transformations and programs. LOOPer allows the optimization of an extensive set of programs while being effective at applying complex sequences of polyhedral transformations. We implement and evaluate LOOPer and show that it achieves competitive speedups over the state-of-the-art. On the PolyBench benchmarks, LOOPer achieves a geometric mean speedup of 1.84x over Tiramisu and 1.42x over Pluto, two state-of-the-art polyhedral autoschedulers.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 8 of its 50 references that are in the map. First posted on arXiv 18 Mar 2024.

Builds on

8 of 50 references.

References · 8

  1. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  2. 2018Learning to Optimize Tensor Programscited by 138
  3. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  4. 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
  5. 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
  6. 2021A Deep Learning Based Cost Model for Automatic Code Optimizationcited by 33
  7. 2020TIRAMISU: A Polyhedral Compiler for Dense and Sparse Deep Learningcited by 7
  8. 2013PENCIL: Towards a Platform-Neutral Compute Intermediate Language for DSLscited by 2

Built on by

Cited by year (2026 to 7 Oct)

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

7 papers.