Optimizing Sparse Linear Algebra Through Automatic Format Selection and Machine Learning

被引:0
作者
Stylianou, Christodoulos [1 ]
Weiland, Michele [1 ]
机构
[1] Univ Edinburgh, EPCC, Edinburgh, Midlothian, Scotland
来源
2023 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW | 2023年
基金
英国工程与自然科学研究理事会;
关键词
sparse matrix storage formats; machine learning; automatic format selection;
D O I
10.1109/IPDPSW59300.2023.00125
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Sparse matrices are an integral part of scientific simulations. As hardware evolves new sparse matrix storage formats are proposed aiming to exploit optimizations specific to the new hardware. In the era of heterogeneous computing, users often are required to use multiple formats for their applications to remain optimal across the different available hardware, resulting in larger development times and maintenance overhead. A potential solution to this problem is the use of a lightweight auto-tuner driven by Machine Learning (ML) that would select for the user an optimal format from a pool of available formats that will match the characteristics of the sparsity pattern, target hardware and operation to execute. In this paper, we introduce Morpheus-Oracle, a library that provides a lightweight ML auto-tuner capable of accurately predicting the optimal format across multiple backends, targeting the major HPC architectures aiming to eliminate any format selection input by the end-user. From more than 2000 reallife matrices, we achieve an average classification accuracy and balanced accuracy of 92.63% and 80.22% respectively across the available systems. The adoption of the auto-tuner results in average speedup of 1.1x on CPUs and 1.5x to 8x on NVIDIA and AMD GPUs, with maximum speedups reaching up to 7x and 1000x respectively.
引用
收藏
页码:734 / 743
页数:10
相关论文
共 50 条
[31]   Optimizing Testing Efforts Based on Change Proneness Through Machine Learning Techniques [J].
Tripathi, Ashish Kumar ;
Sharma, Kapil .
2014 6th IEEE Power India International Conference (PIICON), 2014,
[32]   Optimizing Electric Vehicle Charging Considering Driver Satisfaction Through Machine Learning [J].
Sabzi, Shahab ;
Vajta, Laszlo .
IEEE ACCESS, 2024, 12 :102167-102177
[33]   Crop Intelligence: Optimizing Agriculture through Machine Learning-guided Recommendations [J].
Ankitha, K. ;
Patil, Shruti .
2024 FOURTH INTERNATIONAL CONFERENCE ON MULTIMEDIA PROCESSING, COMMUNICATION & INFORMATION TECHNOLOGY, MPCIT, 2024, :230-235
[34]   Improved Sparse Mean Reverting Portfolio Selection Using Simulated Annealing and Extreme Learning Machine [J].
Racz, Attila ;
Fogarasi, Norbert .
CONTEMPORARY ECONOMICS, 2024, 18 (03) :336-351
[35]   Network Intrusion Detection Through Machine Learning With Efficient Feature Selection [J].
Desai, Rohan ;
Gopalakrishnan, Venkatesh Tiruchirai .
2023 15TH INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS & NETWORKS, COMSNETS, 2023,
[36]   Improving measurement and prediction in personnel selection through the application of machine learning [J].
Koenig, Nick ;
Tonidandel, Scott ;
Thompson, Isaac ;
Albritton, Betsy ;
Koohifar, Farshad ;
Yankov, Georgi ;
Speer, Andrew ;
Hardy, Jay H. ;
Gibson, Carter ;
Frost, Chris ;
Liu, Mengqiao ;
McNeney, Denver ;
Capman, John ;
Lowery, Shane ;
Kitching, Matthew ;
Nimbkar, Anjali ;
Boyce, Anthony ;
Sun, Tianjun ;
Guo, Feng ;
Min, Hanyi ;
Zhang, Bo ;
Lebanoff, Logan ;
Phillips, Henry ;
Newton, Charles .
PERSONNEL PSYCHOLOGY, 2023, 76 (04) :1061-1123
[37]   A review of automatic selection methods for machine learning algorithms and hyper-parameter values [J].
Luo, Gang .
NETWORK MODELING AND ANALYSIS IN HEALTH INFORMATICS AND BIOINFORMATICS, 2016, 5 (01)
[38]   Machine learning with automatic feature selection for multi-class protein fold classification [J].
Huang, CD ;
Liang, SF ;
Lin, CT ;
Wu, RC .
JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2005, 21 (04) :711-720
[39]   Automatic Semantic Analysis of Software Requirements Through Machine Learning and Ontology Approach [J].
王英林 .
Journal of Shanghai Jiaotong University(Science), 2016, 21 (06) :692-701
[40]   Optimizing Short Term Load Forecast: A study on Machine Learning Model Accuracy and Predictor Selection [J].
Popovski, Pande ;
Veljanovski, Goran ;
Kostov, Mitko ;
Atanasovski, Metodija .
2022 57TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATION, COMMUNICATION AND ENERGY SYSTEMS AND TECHNOLOGIES (ICEST), 2022, :245-248