A Survey on Compiler Autotuning using Machine Learning
Not on the map. Why?
Abstract (arXiv)
Since the mid-1990s, researchers have been trying to use machine-learning based approaches to solve a number of different compiler optimization problems. These techniques primarily enhance the quality of the obtained results and, more importantly, make it feasible to tackle two main compiler optimization problems: optimization selection (choosing which optimizations to apply) and phase-ordering (choosing the order of applying optimizations). The compiler optimization space continues to grow due to the advancement of applications, increasing number of compiler optimizations, and new target architectures. Generic optimization passes in compilers cannot fully leverage newly introduced optimizations and, therefore, cannot keep up with the pace of increasing options. This survey summarizes and classifies the recent advances in using machine learning for the compiler optimization field, particularly on the two major problems of (1) selecting the best optimizations and (2) the phase-ordering of optimizations. The survey highlights the approaches taken so far, the obtained results, the fine-grain classification among different approaches and finally, the influential papers of the field.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Jan 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 6; 2023: 7; 2024: 4; 2025: 10; 2026: 5.
40 papers.
Sort:
By area:
- 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 16
- 2023ytopt: Autotuning Scientific Applications for Energy Efficiency at Large Scalescited by 13
- 2022Compiler Optimization for Quantum Computing Using Reinforcement Learningcited by 11
- 2025Regression Language Models for Codecited by 11
- 2022MLGOPerf: An ML Guided Inliner to Optimize Performancecited by 9
- 2024Gap-Dependent Bounds for Q-Learning using Reference-Advantage Decompositioncited by 8
- 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learningcited by 7
- 2025Gap-Dependent Bounds for Federated Q-learningcited by 4
- 2021LS-CAT: A Large-Scale CUDA AutoTuning Datasetcited by 3
- 2021Generating GPU Compiler Heuristics using Reinforcement Learningcited by 3
28 more
- 2022Finding Reusable Machine Learning Components to Build Programming Language Processing Pipelinescited by 3
- 2025FasterPy: An LLM-based Code Execution Efficiency Optimization Frameworkcited by 3
- 2026Agentic Harness for Real-World Compilerscited by 3
- 2021Using Graph Neural Networks to model the performance of Deep Neural Networkscited by 2
- 2021Profile Guided Optimization without Profiles: A Machine Learning Approachcited by 2
- 2023Power Constrained Autotuning using Graph Neural Networkscited by 2
- 2024CATBench: A Compiler Autotuning Benchmarking Suite for Black-box Optimizationcited by 2
- 2024FastCHGNet: Training one Universal Interatomic Potential to 1.5 Hours with 32 GPUscited by 2
- 2021Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimization (extended version)cited by 1
- 2021Constraint-based Diversification of JOP Gadgetscited by 1
- 2022End-to-end Mapping in Heterogeneous Systems Using Graph Representation Learningcited by 1
- 2022MAGPIE: Machine Automated General Performance Improvement via Evolution of Softwarecited by 1
- 2023SEER: Super-Optimization Explorer for HLS using E-graph Rewriting with MLIRcited by 1
- 2023Target-independent XLA optimization using Reinforcement Learningcited by 1
- 2023LoopTune: Optimizing Tensor Computations with Reinforcement Learningcited by 1
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctnesscited by 1
- 2025Investigating Execution-Aware Language Models for Code Optimizationcited by 1
- 2025Tuning the Tuner: Introducing Hyperparameter Optimization for Auto-Tuningcited by 1
- 2026Protean Compiler: An Agile Framework to Drive Fine-grain Phase Orderingcited by 1
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuningcited by 1
- 2021Fine-Tuning Data Structures for Analytical Query Processingcited by 0
- 2022Towards making the most of NLP-based device mapping optimization for OpenCL kernelscited by 0
- 2023Machine Learning-Driven Adaptive OpenMP For Portable Performance on Heterogeneous Systemscited by 0
- 2025Breaking the log(1/Delta2) Barrier: Better Batched Best Arm Identification with Adaptive Gridscited by 0
- 2025Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Predictioncited by 0
- 2025A Deep Learning Model for Predicting Transformation Legalitycited by 0
- 2026Transpiler Autotuning with Predictive Models for Quantum Circuit Optimizationcited by 0
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilerscited by 0
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026Transpiler Autotuning with Predictive Models for Quantum Circuit Optimization31 Jul 2026
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning18 Jun 2026
- 2026Agentic Harness for Real-World Compilers20 Mar 2026
- 2026Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering5 Feb 2026
- 2025FasterPy: An LLM-based Code Execution Efficiency Optimization Framework28 Dec 2025
- 2025A Deep Learning Model for Predicting Transformation Legality8 Nov 2025
- 2025Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction15 Oct 2025
- 2025Regression Language Models for Code30 Sep 2025
- 2025Tuning the Tuner: Introducing Hyperparameter Optimization for Auto-Tuning30 Sep 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning30 May 2025
28 more
- 2025Investigating Execution-Aware Language Models for Code Optimization11 Mar 2025
- 2025Gap-Dependent Bounds for Federated Q-learning5 Feb 2025
- 2025Breaking the log(1/Delta2) Barrier: Better Batched Best Arm Identification with Adaptive Grids29 Jan 2025
- 2024FastCHGNet: Training one Universal Interatomic Potential to 1.5 Hours with 32 GPUs30 Dec 2024
- 2024Gap-Dependent Bounds for Q-Learning using Reference-Advantage Decomposition10 Oct 2024
- 2024Tadashi: Enabling AI-Based Automated Code Generation With Guaranteed Correctness4 Oct 2024
- 2024CATBench: A Compiler Autotuning Benchmarking Suite for Black-box Optimization24 Jun 2024
- 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++26 Sep 2023
- 2023LoopTune: Optimizing Tensor Computations with Reinforcement Learning4 Sep 2023
- 2023Target-independent XLA optimization using Reinforcement Learning28 Aug 2023
- 2023SEER: Super-Optimization Explorer for HLS using E-graph Rewriting with MLIR15 Aug 2023
- 2023ytopt: Autotuning Scientific Applications for Energy Efficiency at Large Scales28 Mar 2023
- 2023Machine Learning-Driven Adaptive OpenMP For Portable Performance on Heterogeneous Systems15 Mar 2023
- 2023Power Constrained Autotuning using Graph Neural Networks22 Feb 2023
- 2022Compiler Optimization for Quantum Computing Using Reinforcement Learning8 Dec 2022
- 2022Towards making the most of NLP-based device mapping optimization for OpenCL kernels30 Aug 2022
- 2022Finding Reusable Machine Learning Components to Build Programming Language Processing Pipelines11 Aug 2022
- 2022MAGPIE: Machine Automated General Performance Improvement via Evolution of Software4 Aug 2022
- 2022MLGOPerf: An ML Guided Inliner to Optimize Performance18 Jul 2022
- 2022End-to-end Mapping in Heterogeneous Systems Using Graph Representation Learning25 Apr 2022
- 2021Profile Guided Optimization without Profiles: A Machine Learning Approach24 Dec 2021
- 2021Fine-Tuning Data Structures for Analytical Query Processing24 Dec 2021
- 2021Generating GPU Compiler Heuristics using Reinforcement Learning23 Nov 2021
- 2021Constraint-based Diversification of JOP Gadgets18 Nov 2021
- 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Research17 Sep 2021
- 2021Using Graph Neural Networks to model the performance of Deep Neural Networks27 Aug 2021
- 2021Autotuning PolyBench Benchmarks with LLVM Clang/Polly Loop Optimization Pragmas Using Bayesian Optimization (extended version)27 Apr 2021
- 2021LS-CAT: A Large-Scale CUDA AutoTuning Dataset26 Mar 2021
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learningcited by 7
- 2026Agentic Harness for Real-World Compilerscited by 3
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuningcited by 1
- 2026AutoPass: Evidence-Guided LLM Agents for Compiler Performance Tuning18 Jun 2026
- 2026Agentic Harness for Real-World Compilers20 Mar 2026
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025Compiler-R1: Towards Agentic Compiler Auto-tuning with Reinforcement Learning30 May 2025
- 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
- 2023Supersonic: Learning to Generate Source Code Optimizations in C/C++cited by 16
- 2023ytopt: Autotuning Scientific Applications for Energy Efficiency at Large Scalescited by 13
- 2022Compiler Optimization for Quantum Computing Using Reinforcement Learningcited by 11
- 2025Regression Language Models for Codecited by 11
- 2022MLGOPerf: An ML Guided Inliner to Optimize Performancecited by 9
- 2025Gap-Dependent Bounds for Federated Q-learningcited by 4
- 2021LS-CAT: A Large-Scale CUDA AutoTuning Datasetcited by 3
- 2021Generating GPU Compiler Heuristics using Reinforcement Learningcited by 3
- 2022Finding Reusable Machine Learning Components to Build Programming Language Processing Pipelinescited by 3
- 2025FasterPy: An LLM-based Code Execution Efficiency Optimization Frameworkcited by 3
- 2021Using Graph Neural Networks to model the performance of Deep Neural Networkscited by 2
12 most cited of 35 All 35 (JSON)
- 2026Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers21 Aug 2026
- 2026Transpiler Autotuning with Predictive Models for Quantum Circuit Optimization31 Jul 2026
- 2026Protean Compiler: An Agile Framework to Drive Fine-grain Phase Ordering5 Feb 2026
- 2025FasterPy: An LLM-based Code Execution Efficiency Optimization Framework28 Dec 2025
- 2025A Deep Learning Model for Predicting Transformation Legality8 Nov 2025
- 2025Behavioral Embeddings of Programs: A Quasi-Dynamic Approach for Optimization Prediction15 Oct 2025
- 2025Regression Language Models for Code30 Sep 2025
- 2025Tuning the Tuner: Introducing Hyperparameter Optimization for Auto-Tuning30 Sep 2025
- 2025Investigating Execution-Aware Language Models for Code Optimization11 Mar 2025
- 2025Gap-Dependent Bounds for Federated Q-learning5 Feb 2025
- 2025Breaking the log(1/Delta2) Barrier: Better Batched Best Arm Identification with Adaptive Grids29 Jan 2025
- 2024FastCHGNet: Training one Universal Interatomic Potential to 1.5 Hours with 32 GPUs30 Dec 2024
12 newest of 35 All 35 (JSON)