TY - GEN
T1 - Use of Code Structural Features for Machine Learning to Predict Effective Optimizations
AU - Kawarabatake, Yuki
AU - Agung, Mulya
AU - Komatsu, Kazuhiko
AU - Egawa, Ryusuke
AU - Takizawa, Hiroyuki
N1 - Publisher Copyright:
© 2018 IEEE.
PY - 2018/8/3
Y1 - 2018/8/3
N2 - Since it is difficult to explicitly express the underlying relationship between a code and appropriate optimizations for it, this paper discusses a possibility of using machine learning to predict appropriate optimizations for a given code. In this paper, selection of appropriate compiler options is taken as an example of the prediction, because it can be seen as selection of code optimizations; use of different compiler options results in enabling different compiler optimizations. One severe problem is that it is difficult to collect a sufficient number of data for a machine learning model to well understand the underlying relationships among codes and their appropriate optimizations. Therefore, in addition to conventional features of a code, such as profiling data and parameterized code features, we directly use a code structure itself to retrieve more information from a limited number of codes. The evaluation results suggest that use of code structural features can potentially improve the prediction accuracy if the training dataset contains data of similar code structures.
AB - Since it is difficult to explicitly express the underlying relationship between a code and appropriate optimizations for it, this paper discusses a possibility of using machine learning to predict appropriate optimizations for a given code. In this paper, selection of appropriate compiler options is taken as an example of the prediction, because it can be seen as selection of code optimizations; use of different compiler options results in enabling different compiler optimizations. One severe problem is that it is difficult to collect a sufficient number of data for a machine learning model to well understand the underlying relationships among codes and their appropriate optimizations. Therefore, in addition to conventional features of a code, such as profiling data and parameterized code features, we directly use a code structure itself to retrieve more information from a limited number of codes. The evaluation results suggest that use of code structural features can potentially improve the prediction accuracy if the training dataset contains data of similar code structures.
KW - Code structural features
KW - Machine learning
KW - Performance optimization
UR - http://www.scopus.com/inward/record.url?scp=85052226968&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85052226968&partnerID=8YFLogxK
U2 - 10.1109/IPDPSW.2018.00163
DO - 10.1109/IPDPSW.2018.00163
M3 - Conference contribution
AN - SCOPUS:85052226968
SN - 9781538655559
T3 - Proceedings - 2018 IEEE 32nd International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2018
SP - 1049
EP - 1055
BT - Proceedings - 2018 IEEE 32nd International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2018
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 32nd IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2018
Y2 - 21 May 2018 through 25 May 2018
ER -