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 条
[21]   Optimizing Wireless Networks Performance Through Adaptive Machine Learning Strategies [J].
Singh, Shashank ;
Yadav, Santosh Kumar ;
Gangwar, Sanjeev .
JOURNAL OF ELECTRICAL SYSTEMS, 2024, 20 (06) :2996-3004
[22]   Automatic particle selection from electron micrographs using machine learning techniques [J].
Sorzano, C. O. S. ;
Recarte, E. ;
Alcorlo, M. ;
Bilbao-Castro, J. R. ;
San-Martin, C. ;
Marabini, R. ;
Carazo, J. M. .
JOURNAL OF STRUCTURAL BIOLOGY, 2009, 167 (03) :252-260
[23]   Bystander Detection: Automatic Labeling Techniques using Feature Selection and Machine Learning [J].
Gupta, Anamika ;
Thakkar, Khushboo ;
Bhasin, Veenu ;
Tiwari, Aman ;
Mathur, Vibhor .
INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (01) :1135-1143
[24]   Robust prediction of complex spatiotemporal states through machine learning with sparse sensing [J].
Barmparis, G. D. ;
Neofotistos, G. ;
Mattheakis, M. ;
Hizanidis, J. ;
Tsironis, G. P. ;
Kaxiras, E. .
PHYSICS LETTERS A, 2020, 384 (15)
[25]   Revisiting linear machine learning through the perspective of inverse problems [J].
Liu, Shuang ;
Kabanikhin, Sergey ;
Strijhak, Sergei ;
Wang, Ying-Ao ;
Zhang, Ye .
JOURNAL OF INVERSE AND ILL-POSED PROBLEMS, 2025, :281-303
[26]   Opprentice: Towards Practical and Automatic Anomaly Detection Through Machine Learning [J].
Liu, Dapeng ;
Zhao, Youjian ;
Xu, Haowen ;
Sun, Yongqian ;
Pei, Dan ;
Luo, Jiao ;
Jing, Xiaowei ;
Feng, Mei .
IMC'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON INTERNET MEASUREMENT CONFERENCE, 2015, :211-224
[27]   Automatic Scaffolding Workface Assessment for Activity Analysis through Machine Learning [J].
Ying, Wenzheng ;
Shou, Wenchi ;
Wang, Jun ;
Shi, Weixiang ;
Sun, Yanhui ;
Ji, Dazhi ;
Gai, Haoxuan ;
Wang, Xiangyu ;
Chen, Mengcheng .
APPLIED SCIENCES-BASEL, 2021, 11 (09)
[28]   Optimizing Endotracheal Suctioning Classification: Leveraging Prompt Engineering in Machine Learning for Feature Selection [J].
Islam, Mahera Roksana ;
Ferdous, Anik Mahmud ;
Hossain, Shahera ;
Ahad, Md Atiqur Rahman ;
Alnajjar, Fady .
2024 INTERNATIONAL CONFERENCE ON ACTIVITY AND BEHAVIOR COMPUTING, ABC 2024, 2024,
[29]   Optimizing portfolio selection through stock ranking and matching: A reinforcement learning approach [J].
Alzaman, Chaher .
EXPERT SYSTEMS WITH APPLICATIONS, 2025, 269
[30]   LINEAR VERSUS NON-LINEAR MACHINE LEARNING FEATURE SELECTION FOR EROSION RATE PREDICTION [J].
Li, Yijie ;
Zhang, Jun ;
McKinney, Brett ;
Karimi, Soroor ;
Shirazi, Siamack A. .
PROCEEDINGS OF ASME 2024 FLUIDS ENGINEERING DIVISION SUMMER MEETING, VOL 2, FEDSM 2024, 2024,