Automatic Feature Generation for Machine Learning Based Optimizing Compilation

被引:55
|
作者
Leather, Hugh [1 ]
Bonilla, Edwin [1 ]
O'Boyle, Michael [1 ]
机构
[1] Univ Edinburgh, Sch Informat, Edinburgh, Midlothian, Scotland
关键词
D O I
10.1109/CGO.2009.21
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recent work has shown that machine learning can automate and in some cases outperform hand crafted compiler optimizations. Central to such an approach is that machine learning techniques typically rely upon summaries or features of the program. The quality of these features is critical to the accuracy of the resulting machine learned algorithm; no machine learning method will work well with poorly chosen features. However, due to the size and complexity of programs, theoretically there are an infinite number of potential features to choose from. The compiler writer now has to expend effort in choosing the best features from this space. This paper develops a novel mechanism to automatically find those features which most improve the quality of the machine learned heuristic. The feature space is described by a grammar and is then searched with genetic programming and predictive modeling. We apply this technique to loop unrolling in GCC 4.3.1 and evaluate our approach on a Pentium 6. On a benchmark suite of 57 programs, GCC's hard-coded heuristic achieves only 3% of the maximum performance available, while a state of the art machine learning approach with hand-coded features obtains 59%. Our feature generation technique is able to achieve 76% of the maximum available speedup, outperforming existing approaches.
引用
收藏
页码:81 / 91
页数:11
相关论文
共 50 条
  • [1] Automatic Feature Generation for Machine Learning-Based Optimising Compilation
    Leather, Hugh
    Bonilla, Edwin
    O'Boyle, Michael
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2014, 11 (01)
  • [2] Feature Mining for Machine Learning based Compilation Optimization
    Li, Fengqian
    Tang, Feilong
    Shen, Yao
    [J]. 2014 EIGHTH INTERNATIONAL CONFERENCE ON INNOVATIVE MOBILE AND INTERNET SERVICES IN UBIQUITOUS COMPUTING (IMIS), 2014, : 207 - 214
  • [3] Automatic Generation of Labanotation Based On Extreme Learning Machine with Skeleton Topology Feature
    Zhang, Xueyan
    Miao, Zhenjiang
    Zhang, Qiang
    [J]. PROCEEDINGS OF 2018 14TH IEEE INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING (ICSP), 2018, : 510 - 515
  • [4] Automatic Music Generation and Machine Learning Based Evaluation
    Kang, Semin
    Ok, Soo-Yol
    Kang, Young-Min
    [J]. MULTIMEDIA AND SIGNAL PROCESSING, 2012, 346 : 436 - 443
  • [5] Automatic Protocol Feature Word Construction Based on Machine Learning
    Li, Haifeng
    Zhang, Bin
    Shuai, Bo
    Wang, Jian
    Tang, Chaojing
    [J]. PROCEEDINGS OF 2015 IEEE INTERNATIONAL CONFERENCE ON PROGRESS IN INFORMATCS AND COMPUTING (IEEE PIC), 2015, : 93 - 97
  • [6] AFGSL: Automatic Feature Generation based on Graph Structure Learning
    Wu, Yu
    Xi, Xin
    He, Jieyue
    [J]. KNOWLEDGE-BASED SYSTEMS, 2022, 238
  • [7] LeFlow: Automatic Compilation of TensorFlow Machine Learning Applications to FPGAs
    Noronha, Daniel Holanda
    Gibson, Kahlan
    Salehpour, Bahar
    Wilton, Steven J. E.
    [J]. 2018 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT 2018), 2018, : 396 - 399
  • [8] Automatic detection of microsleep episodes with feature-based machine learning
    Skorucak, Jelena
    Hertig-Godeschalk, Anneke
    Schreier, David R.
    Malafeev, Alexander
    Mathis, Johannes
    Achermann, Peter
    [J]. SLEEP, 2020, 43 (01)
  • [9] Automatic Scene Classification Based on Gist Feature and Extreme Learning Machine
    Liang, Ying
    Wang, Lu Ping
    Zhang, Lu Ping
    [J]. FRONTIERS OF MANUFACTURING SCIENCE AND MEASURING TECHNOLOGY V, 2015, : 923 - 930
  • [10] Automatic Feature Extraction and Selection For Machine Learning Based Intrusion Detection
    Liu, Jinjie
    Chung, Sun Sunnie
    [J]. 2019 IEEE SMARTWORLD, UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTING, SCALABLE COMPUTING & COMMUNICATIONS, CLOUD & BIG DATA COMPUTING, INTERNET OF PEOPLE AND SMART CITY INNOVATION (SMARTWORLD/SCALCOM/UIC/ATC/CBDCOM/IOP/SCI 2019), 2019, : 1400 - 1405