Data-efficient Performance Modeling via Pre-training

Chunting Liu, Riyadh Baghdadi
1/24/2025
cs.PLcs.DCcs.LG

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Performance models are essential for automatic code optimization, enabling compilers to predict the effects of code transformations on performance and guide search for optimal transformations. Building state-of-the-art performance models with deep learning, however, requires vast labeled datasets of random programs -- an expensive and time-consuming process, stretching over months. This paper introduces a self-supervised pre-training scheme with autoencoders to reduce the need for labeled data. By pre-training on a large dataset of random programs, the autoencoder learns representations of code and transformations, which are then used to embed programs for the performance model. Implemented in the Tiramisu autoscheduler, our approach improves model accuracy with less data. For example, to achieve a MAPE of 20.72%, the original model requires 18 million data points, whereas our method achieves a similar MAPE of 22.44% with only 3.6 million data points, reducing data requirements by 5x.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2025dataefficient,
  title  = {Data-efficient Performance Modeling via Pre-training},
  author = {Chunting Liu and Riyadh Baghdadi},
  year   = {2025},
  eprint = {2501.14438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.14438v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.14438.svg)](https://codeofpaper.com/paper/2501.14438)

Discussion