Computation of Matrix Chain Products on Parallel Machines

被引:3
|
作者
Schwartz, Oded [1 ]
Weiss, Elad [1 ]
机构
[1] Hebrew Univ Jerusalem, Jerusalem, Israel
基金
以色列科学基金会;
关键词
Algorithms; I/O Complexity; Fast Matrix Multiplication; Parallel Computation; Matrix Chain Products; PRACTICAL ALGORITHMS; MULTIPLICATION;
D O I
10.1109/IPDPS.2019.00059
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Matrix Chain Ordering Problem is a well studied optimization problem, aiming at finding optimal parentheses assignment for minimizing the number of arithmetic operations required when computing a chain of matrix multiplications. Existing algorithms include the O(N-3) dynamic programming of Godbole (1973) and the faster O(N log N) algorithm of Hu and Shing (1982). We show that both may result in suboptimal parentheses assignment on modern machines as they do not take into account inter-processor communication costs that often dominate the running time. Further, the optimal solution may change when using fast matrix multiplication algorithms. We show that the O(N-3) dynamic-programing algorithm easily adapts to provide optimal solutions for modern matrix multiplication algorithms, and obtain an adaption of the O(N log N) algorithm that guarantees a constant approximation.
引用
收藏
页码:491 / 500
页数:10
相关论文
共 50 条
  • [1] REVISITING "COMPUTATION OF MATRIX CHAIN PRODUCTS"
    Schwartz, Oded
    Weiss, Elad
    [J]. SIAM JOURNAL ON COMPUTING, 2019, 48 (05) : 1481 - 1486
  • [2] EFFICIENT COMPUTATION OF MATRIX CHAIN PRODUCTS
    GODBOLE, SS
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1973, C 22 (09) : 864 - 866
  • [3] COMPUTATION OF MATRIX CHAIN PRODUCTS .2.
    HU, TC
    SHING, MT
    [J]. SIAM JOURNAL ON COMPUTING, 1984, 13 (02) : 228 - 251
  • [4] COMPUTATION OF MATRIX CHAIN PRODUCTS .1.
    HU, TC
    SHING, MT
    [J]. SIAM JOURNAL ON COMPUTING, 1982, 11 (02) : 362 - 373
  • [5] Computation of Boolean Matrix Chain Products in 3D ReRAM
    Velasquez, Alvaro
    Jha, Sumit Kumar
    [J]. 2017 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2017, : 2643 - 2646
  • [6] Processor allocation and task scheduling of matrix chain products on parallel system
    Lee, H
    Kim, J
    Hong, SJ
    Lee, S
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2003, 14 (04) : 394 - 407
  • [7] PARALLEL COMPUTATION - PRACTICAL IMPLEMENTATION OF ALGORITHMS AND MACHINES
    ZALEWSKI, J
    [J]. COMPUTER, 1994, 27 (07) : 119 - 119
  • [8] Efficient Computation of Matrix Chain
    Wang, Xiaodong
    Zhu, Daxin
    Tian, Jun
    [J]. PROCEEDINGS OF THE 2013 8TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION (ICCSE 2013), 2013, : 703 - 707
  • [9] Memory-Efficient Parallel Computation of Tensor and Matrix Products for Big Tensor Decomposition
    Ravindran, Niranjay
    Sidiropoulos, Nicholas D.
    Smith, Shaden
    Karypis, George
    [J]. CONFERENCE RECORD OF THE 2014 FORTY-EIGHTH ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS & COMPUTERS, 2014, : 581 - 585
  • [10] PARALLEL EXPERIENCE ON THE INVERSE MATRIX COMPUTATION
    FRANCOMANO, E
    PECORELLA, A
    MACALUSO, AT
    [J]. PARALLEL COMPUTING, 1991, 17 (08) : 907 - 912