@inproceedings{1815895c793644649ca948897fa52cd8,
title = "Work-in-Progress: Searching Optimal Compiler Optimization Passes Sequence for Reducing Runtime Memory Profile using Ensemble Reinforcement Learning",
abstract = "The order in which compiler optimization passes are applied has a significant impact on program performance. However, widely used compiler optimization options use handpicked sets of optimization passes, optimized for specific benchmarks. In this paper, we propose an ensemble reinforcement learning (RL) model that optimizes LLVM transform passes sequence to reduce the runtime memory profile, which is an important consideration in resource-constrained embedded systems. We developed an LLVM intermediate representation (IR) analysis pass to extract static program features. The extracted features are processed with PCA for dimension reduction. We also generated datasets using a random program generator, and clustered them according to the PCA results of their extracted features. The ensemble RL model was trained on each clustered dataset. Experiments showed that the proposed model reduced 37% more memory profile than the standard optimization option.",
keywords = "Code optimization, embedded system, reinforcement learning",
author = "Juneseo Chang and Daejin Park",
note = "Publisher Copyright: {\textcopyright} 2023 ACM.; 23rd ACM SIGBED International Conference on Embedded Software, EMSOFT 2023 ; Conference date: 17-09-2023 Through 22-09-2023",
year = "2023",
doi = "10.1145/3607890.3608460",
language = "English",
series = "Proceedings - 2023 International Conference on Embedded Software, EMSOFT 2023",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "3--4",
booktitle = "Proceedings - 2023 International Conference on Embedded Software, EMSOFT 2023",
address = "United States",
}