TY - GEN
T1 - Improving the Accuracy in SpMV Implementation Selection with Machine Learning
AU - Furuhata, Reo
AU - Zhao, Minglu
AU - Agung, Mulya
AU - Egawa, Ryusuke
AU - Takizawa, Hiroyuki
N1 - Funding Information:
This work was supported by partially supported by MEXT Next Generation High-Performance Computing Infrastructures and Applications R&D Program “R&D of A Quantum-Annealing-Assisted Next Generation HPC Infrastructure and its Applications”, Grant-in-Aid for Scientific Research(A) #20H00593.
Publisher Copyright:
© 2020 IEEE.
PY - 2020/11
Y1 - 2020/11
N2 - Although there are various ways of implementing sparse matrix vector multiplication (SpMV), there is no established way of predicting the best implementation for individual sparse matrices, and thus an SpMV implementation has empirically been selected for each matrix. Cui et al. have proposed a machine learning approach to the prediction. However, their approach focuses only on predicting the best implementation for each matrix, and does not consider the performance differences among candidate implementations. If the performance difference between the best and non-best implementations for a matrix is large, the performance loss by the misprediction is also large. Thus, a machine learning model needs to be trained to preferentially avoid misprediction of such a matrix to achieve a higher expected performance. Therefore, this paper presents a machine learning approach that considers the performance differences at the best SpMV implementation selection problem and quantitatively discusses the performance improvement by the approach. The evaluation results clearly demonstrate that the proposed approach can prevent a machine learning model from selecting significantly low-performance implementations, and thereby improve the expected performance in comparison with the previous approach.
AB - Although there are various ways of implementing sparse matrix vector multiplication (SpMV), there is no established way of predicting the best implementation for individual sparse matrices, and thus an SpMV implementation has empirically been selected for each matrix. Cui et al. have proposed a machine learning approach to the prediction. However, their approach focuses only on predicting the best implementation for each matrix, and does not consider the performance differences among candidate implementations. If the performance difference between the best and non-best implementations for a matrix is large, the performance loss by the misprediction is also large. Thus, a machine learning model needs to be trained to preferentially avoid misprediction of such a matrix to achieve a higher expected performance. Therefore, this paper presents a machine learning approach that considers the performance differences at the best SpMV implementation selection problem and quantitatively discusses the performance improvement by the approach. The evaluation results clearly demonstrate that the proposed approach can prevent a machine learning model from selecting significantly low-performance implementations, and thereby improve the expected performance in comparison with the previous approach.
KW - machine learning
KW - sparse matrices
KW - system implementation
UR - http://www.scopus.com/inward/record.url?scp=85102175737&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85102175737&partnerID=8YFLogxK
U2 - 10.1109/CANDARW51189.2020.00043
DO - 10.1109/CANDARW51189.2020.00043
M3 - Conference contribution
AN - SCOPUS:85102175737
T3 - Proceedings - 2020 8th International Symposium on Computing and Networking Workshops, CANDARW 2020
SP - 172
EP - 177
BT - Proceedings - 2020 8th International Symposium on Computing and Networking Workshops, CANDARW 2020
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 8th International Symposium on Computing and Networking Workshops, CANDARW 2020
Y2 - 24 November 2020 through 27 November 2020
ER -