MLComp: A Methodology for Machine Learning-based Performance Estimation and Adaptive Selection of Pareto-Optimal Compiler Optimization Sequences
Alessio Colucci, D\'avid Juh\'asz, Martin Mosbeck, Alberto Marchisio,, Semeen Rehman, Manfred Kreutzer, Guenther Nadbath, Axel Jantsch, Muhammad, Shafique

TL;DR
This paper introduces MLComp, a machine learning-based methodology that uses reinforcement learning and analytical models to efficiently optimize compiler sequences for embedded systems, improving performance metrics with minimal profiling.
Contribution
The paper presents a novel MLComp framework that combines reinforcement learning and analytical models for multi-objective compiler optimization, reducing profiling time and achieving near-optimal sequences.
Findings
Performance Estimator achieves <2% error and 50x faster training.
Phase Selection Policy improves execution time by up to 12%.
Energy consumption is reduced by up to 6%.
Abstract
Embedded systems have proliferated in various consumer and industrial applications with the evolution of Cyber-Physical Systems and the Internet of Things. These systems are subjected to stringent constraints so that embedded software must be optimized for multiple objectives simultaneously, namely reduced energy consumption, execution time, and code size. Compilers offer optimization phases to improve these metrics. However, proper selection and ordering of them depends on multiple factors and typically requires expert knowledge. State-of-the-art optimizers facilitate different platforms and applications case by case, and they are limited by optimizing one metric at a time, as well as requiring a time-consuming adaptation for different targets through dynamic profiling. To address these problems, we propose the novel MLComp methodology, in which optimization phases are sequenced by a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
