Please use this identifier to cite or link to this item: https://research.matf.bg.ac.rs/handle/123456789/3037
Title: Improving ML-Based Static Profiling Using Method Names
Authors: Milenković, Stefan 
Čugurović, Milan 
Vujošević Janičić, Milena 
Affiliations: Informatics and Computer Science 
Informatics and Computer Science 
Informatics and Computer Science 
Keywords: Static profilers;GraalVM Native Image;Binary size reduction;Machine learning
Issue Date: 2025
Rank: M64
Publisher: Beograd : Matematički fakultet
Related Publication(s): XV Simpozijum "Matematika i primene" : Knjiga apstrakata
Conference: Simpozijum "Matematika i primene" (15 ; 2025 ; Beograd)
Abstract: 
Profile-guided optimizations (PGO) can yield substantial erformance improvements or reduce the binary size of generated programs. Despite these benefits, PGO is still not widely adopted because it relies on dynamic profiling, which places non-trivial demands on developers by requiring them to identify suitable workloads for profile data collection. To mitigate this cost, several static profiling techniques have been proposed [1], with recent approaches leveraging machine learning for more accurate predictions [2, 3]. These techniques typically estimate branch probabilities from feature sets that capture static branch information, such as control-flow structure, basic-block properties, and branch-instruction types. In this work, we employ a gradient-boosted binary classifier to predict method hotness in the GraalVM Native Image compiler [4], with a focus on minimizing binary size. We further extend existing feature sets by incorporating method-name features, which aim to improve prediction accuracy by exploiting semantic information often reflected in method names. Using GloVe embeddings [5] to encode method names, we measure an 8% reduction in binary size with only a 2% runtime performance penalty compared to a baseline model without these features.
URI: https://research.matf.bg.ac.rs/handle/123456789/3037
Appears in Collections:Research outputs

Show full item record

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.