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 条
[41]   Automatic semantic analysis of software requirements through machine learning and ontology approach [J].
Wang Y. .
Journal of Shanghai Jiaotong University (Science), 2016, 21 (06) :692-701
[42]   Optimizing IoT intrusion detection system: feature selection versus feature extraction in machine learning [J].
Li, Jing ;
Othman, Mohd Shahizan ;
Chen, Hewan ;
Yusuf, Lizawati Mi .
JOURNAL OF BIG DATA, 2024, 11 (01)
[43]   Optimizing IoT intrusion detection system: feature selection versus feature extraction in machine learning [J].
Jing Li ;
Mohd Shahizan Othman ;
Hewan Chen ;
Lizawati Mi Yusuf .
Journal of Big Data, 11
[44]   Optimizing Quality Tolerance Limits Monitoring in Clinical Trials Through Machine Learning Methods [J].
Yan, Lei ;
Yu, Ziji ;
Wu, Liwen ;
Liu, Rachael ;
Lin, Jianchang .
THERAPEUTIC INNOVATION & REGULATORY SCIENCE, 2025, 59 (03) :566-578
[45]   Optimizing Smart Manufacturing Processes and Human Resource Management through Machine Learning Algorithms [J].
Priatna, D. K. ;
Roswinna, W. ;
Limakrisna, N. ;
Khalikov, A. ;
Abdullaev, D. ;
Hussein, L. .
INTERNATIONAL JOURNAL OF INDUSTRIAL ENGINEERING AND MANAGEMENT, 2025, 16 (02) :176-188
[46]   Machine learning-driven development of a stratified CES-D screening system: optimizing depression assessment through adaptive item selection [J].
Xu, Ruo-Fei ;
Liu, Zhen-Jing ;
Ouyang, Shunan ;
Dong, Qin ;
Yan, Wen-Jing ;
Xu, Dong-Wu .
BMC PSYCHIATRY, 2025, 25 (01)
[47]   Automatic colorectal cancer detection using machine learning and deep learning based on feature selection in histopathological images [J].
Junaid, Hawkar Haji Said ;
Daneshfar, Fatemeh ;
Mohammad, Mahmud Abdulla .
BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2025, 107
[48]   Dynamic Linear Solver Selection for Transient Simulations Using Machine Learning on Distributed Systems [J].
Eller, Paul R. ;
Cheng, Jing-Ru C. ;
Maier, Robert S. .
2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, :1915-1924
[49]   Sharing Bioinformatic Data for Machine Learning: Maximizing Interoperability through License Selection [J].
Bernier, Alexander ;
Thorogood, Adrian .
PROCEEDINGS OF THE 13TH INTERNATIONAL JOINT CONFERENCE ON BIOMEDICAL ENGINEERING SYSTEMS AND TECHNOLOGIES, VOL 3: BIOINFORMATICS, 2020, :226-232
[50]   Feature Selection and Machine Learning Approaches for Detecting Sarcopenia Through Predictive Modeling [J].
Tukhtaev, Akhrorbek ;
Turimov, Dilmurod ;
Kim, Jiyoun ;
Kim, Wooseong .
MATHEMATICS, 2025, 13 (01)