arrow
返回

Dense or Sparse : Elastic SPMM Implementation for Optimal Big-Data Processing

delete2023-04-01
delete3
PRE
AI
U
Unho Choi
K
Kyungyong Lee *
DOI:10.1109/TBDATA.2022.3199197delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Many real-world graph datasets can be represented using a sparse matrix format, and they are widely used for various big-data applications. The multiplication of two sparse matrices (SPMM) is a major kernel for various machine learning algorithms when using a sparsely expressed dataset. Apache Spark, a general-purpose big-data processing engine, includes the SPMM operation in its linear algebra package. The default Spark SPMM implementation, however, always converts a right sparse matrix to a dense format before performing multiplication, which can result in significant performance overhead for diverse SPMM scenarios. To address a limitation of the current Spark implementation, we describe an SPMM implementation that keeps the right matrix in a Compressed Sparse Column (CSC) format and propose an SPMM task latency prediction model based on a Deep Neural Network (DNN) architecture. Using the SPMM latency prediction model, we implement an elastic SPMM implementation recommendation service, which we name DoS (Dense or Sparse). The proposed DoS recommends an optimal SPMM implementation method of either transforming a right matrix to a dense format or keeping it as a sparse format during the multiplication. Through evaluation of the proposed system using a real-world graph reveals that the proposed service can improve the SPMM latency of default Spark implementation by 2.2 times while shortening the overall execution time.
Keyword:
Sparse matrices
Indexes
Sparks
Predictive models
Machine learning algorithms
Task analysis
Cluster computing
Sparse matrix multiplication
spark optimization
optimal SPMM recommendation
Optimizing sparse-dense matrix-matrix multiplication for DCUs优化稀疏-密集矩阵乘法用于DCUs
err2025-11-01
err0
PREAI
errGuo, Hengliang; Han, Yubo; Wang, Haolei; Zhu, Shengguang; Wu, Gang; Guo, Yang; Liu, Xiangdong; Li, Chuanqiang
err分享
err收藏
err分享
err收藏

期刊

I
IEEE Transactions on Big Data
IF:
5.7
论文数:
924
被引数:
4.0K

机构

K
kookmin university
学者数:
345
论文数: 163
被引数: 1.8K
引用论文

引用论文

Stark: Fast and Scalable Strassen's Matrix Multiplication Using Apache Spark
err2022-06-01
err7
errOAAI
errMisra, Chandan; Bhattacharya, Sourangshu; Ghosh, Soumya K.
err分享
err收藏
Nickel complexes of 1,2,4-triazole derived amido-functionalized N-heterocyclic carbene ligands: Synthesis, theoretical studies and catalytic application
err2015-06-01
err0
errOAAI
errAnuj Kumar; Linus Paulin Bheeter; Manoj Kumar Gangwar; Jean-Baptiste Sortais; Christophe Darcel; Prasenjit Ghosh
err分享
err收藏
A comparative analysis of gradient boosting algorithms梯度提升算法的比较分析
err2020-08-24
err863
errOAAI
errBentejac, Candice; Csorgo, Anna; Martinez-Munoz, Gonzalo
err分享
err收藏
学者 查看更多内容