ProfiX: Improving Profile-Guided Optimization in Compilers with Graph Neural Networks

Huiri Tan, Ju-Yong Jiang, Jiasi Shen
1/1/2025
gnn

No confident code implementation found for this paper.

Abstract

Profile-guided optimization (PGO) advances the frontiers of compiler optimization by leveraging dynamic runtime information to generate highly optimized binaries. Traditional instrumentation-based profiling collects accurate profile data but often suffers from heavy runtime overhead.

Show full abstract

In contrast, sampling-based profiling is more efficient and scalable when collecting profile data while avoiding intrusive source code modifications. However, accurately collecting execution profiles via sampling remains challenging, especially when applied to fully optimized binaries. Such inaccurate profile data can restrict the benefits of PGO. This paper presents P ROFI X, a machine learning-guided approach based on hybrid GNN architecture that addresses the problem of profile inference, aiming to correct inaccuracies in the profiles collected by sampling. Experiments on the SPEC 2017 benchmarks demonstrate that P ROFI X achieves up to a 9.15% performance improvement compared to the state-of-the-art traditional algorithm and an average 6.26% improvement over the baseline machine learning models. These results highlight the effectiveness of P ROFI X in optimizing real-world application profiles.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — 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{tan2025profix,
  title  = {ProfiX: Improving Profile-Guided Optimization in Compilers with Graph Neural Networks},
  author = {Huiri Tan and Ju-Yong Jiang and Jiasi Shen},
  year   = {2025},
  doi    = {10.52202/085713-3944},
  url    = {https://doi.org/10.52202/085713-3944},
  journal = {Neural Information Processing Systems}
}

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/40c59ec4559eca9dfadd47a539a15de9856a88ca.svg)](https://codeofpaper.com/paper/40c59ec4559eca9dfadd47a539a15de9856a88ca)

Discussion