Fast Compressive Large-Scale Matrix-Matrix Multiplication Using Product Codes

被引:0
|
作者
Ocal, Orhan [1 ]
Ramchandran, Kannan [1 ]
机构
[1] Univ Calif Berkeley, Dept Elect Engn & Comp Sci, Berkeley, CA 94720 USA
关键词
D O I
10.1109/isit44484.2020.9173951
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Matrix-matrix multiplication and its derivatives are fundamental linear-algebraic primitives at the core of many modern optimization and machine learning algorithms. We design a new and novel framework for speeding up large-scale matrix-matrix multiplication when the output matrix is known to be sparse, as is true in many applications of interest. Our solution is based on a novel use of product codes which have been studied in the communications literature. In particular, when multiplying two matrices of sizes n x d and d x n where the output matrix is (exactly) K-sparse with support uniformly distributed, our algorithm requires max(O(dK),O(dn)) computations. We also extend our framework to handle the approximately-sparse setting where the output matrix has K-entries that are significantly larger than the rest. In this case, the computational complexity is max(O(dK log(2) (n)), O(dn log(2) (n))). We corroborate our findings with numerical simulations that validate our claims.
引用
收藏
页码:1426 / 1431
页数:6
相关论文
共 50 条
  • [21] A data locality methodology for matrix-matrix multiplication algorithm
    Alachiotis, Nicolaos
    Kelefouras, Vasileios I.
    Athanasiou, George S.
    Michail, Harris E.
    Kritikakou, Angeliki S.
    Goutis, Costas E.
    JOURNAL OF SUPERCOMPUTING, 2012, 59 (02): : 830 - 851
  • [22] Optimizing sparse general matrix-matrix multiplication for DCUs
    Guo, Hengliang
    Wang, Haolei
    Chen, Wanting
    Zhang, Congxiang
    Han, Yubo
    Zhu, Shengguang
    Zhang, Dujuan
    Guo, Yang
    Shang, Jiandong
    Wan, Tao
    Li, Qingyang
    Wu, Gang
    JOURNAL OF SUPERCOMPUTING, 2024, 80 (14): : 20176 - 20200
  • [23] Efficient Symmetric Band Matrix-Matrix Multiplication on GPUs
    Dufrechou, Ernesto
    Ezzatti, Pablo
    Quintana-Orti, Enrique S.
    Remon, Alfredo
    HIGH PERFORMANCE COMPUTING, CARLA 2014, 2014, 485 : 1 - 12
  • [24] A Systematic Survey of General Sparse Matrix-matrix Multiplication
    Gao, Jianhua
    Ji, Weixing
    Chang, Fangli
    Han, Shiyu
    Wei, Bingxin
    Liu, Zeming
    Wang, Yizhuo
    ACM COMPUTING SURVEYS, 2023, 55 (12)
  • [25] Automating Structured Matrix-Matrix Multiplication for Stream Processing
    Koehn, Thaddeus
    Athanas, Peter
    2016 INTERNATIONAL CONFERENCE ON RECONFIGURABLE COMPUTING AND FPGAS (RECONFIG16), 2016,
  • [26] Hierarchical matrix-matrix multiplication based on multiprocessor tasks
    Hunold, S
    Rauber, T
    Rünger, G
    COMPUTATIONAL SCIENCE - ICCS 2004, PT 2, PROCEEDINGS, 2004, 3037 : 1 - 8
  • [27] Parallel photonic acceleration processor for matrix-matrix multiplication
    Huang, Ying
    Yue, Hengsong
    Ma, Wei
    Zhang, Yiyuan
    Xiao, Yao
    Tang, Yong
    Tang, He
    Chu, Tao
    OPTICS LETTERS, 2023, 48 (12) : 3231 - 3234
  • [28] Scaling sparse matrix-matrix multiplication in the accumulo database
    Demirci, Gunduz Vehbi
    Aykanat, Cevdet
    DISTRIBUTED AND PARALLEL DATABASES, 2020, 38 (01) : 31 - 62
  • [29] Scaling sparse matrix-matrix multiplication in the accumulo database
    Gunduz Vehbi Demirci
    Cevdet Aykanat
    Distributed and Parallel Databases, 2020, 38 : 31 - 62
  • [30] Scalability analysis of matrix-matrix multiplication on heterogeneous clusters
    Kalinov, A
    ISPDC 2004: THIRD INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING/HETEROPAR '04: THIRD INTERNATIONAL WORKSHOP ON ALGORITHMS, MODELS AND TOOLS FOR PARALLEL COMPUTING ON HETEROGENEOUS NETWORKS, PROCEEDINGS, 2004, : 303 - 309