Redundancy Elimination in Distributed Matrix Computation

被引:2
|
作者
Chen, Zihao [1 ]
Han, Baokun [1 ]
Xu, Chen [1 ]
Qian, Weining [1 ]
Zhou, Aoying [1 ]
机构
[1] East China Normal Univ, Shanghai Engn Res Ctr Big Data Management, Shanghai 200062, Peoples R China
基金
中国国家自然科学基金;
关键词
distributed system; matrix computation; redundancy elimination; OPTIMIZATION;
D O I
10.1145/3514221.3517877
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As matrix computation becomes increasingly prevalent in large-scale data analysis, distributed matrix computation solutions have emerged. These solutions support query interfaces of linear algebra expressions, which often contain redundant subexpressions, i.e., common and loop-constant subexpressions. Hence, existing compilers rewrite queries to eliminate such redundancy. However, due to the large search space, they fail to find all redundant subexpressions, especially for matrix multiplication chains. Furthermore, redundancy elimination may change the original execution order of operators, and have negative impacts. To reduce the large search space and avoid the negative impacts, we propose automatic elimination and adaptive elimination, respectively. In particular, automatic elimination adopts a block-wise search that exploits the properties of matrix computation for speed-up. Adaptive elimination employs a cost model and a dynamic programming-based method to generate efficient plans for redundancy elimination. Finally, we implement ReMac atop SystemDS, eliminating redundancy in distributed matrix computation. In our experiments, ReMac is able to generate efficient execution plans at affordable overhead costs, and outperforms state-of-the-art solutions by an order of magnitude.
引用
收藏
页码:573 / 586
页数:14
相关论文
共 50 条
  • [1] ReMac: A Matrix Computation System with Redundancy Elimination
    Chen, Zihao
    Xu, Zhizhen
    Han, Baokun
    Xu, Chen
    Qian, Weining
    Zhou, Aoying
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (12): : 3674 - 3677
  • [2] Smart Redundancy for Distributed Computation
    Brun, Yuriy
    Edwards, George
    Bang, Jae Young
    Medvidovic, Nenad
    [J]. 31ST INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2011), 2011, : 665 - 676
  • [3] Interprocedural partial redundancy elimination with application to distributed memory compilation
    Agrawal, G
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1998, 9 (07) : 609 - 625
  • [4] Exploiting Matrix Dependency for Efficient Distributed Matrix Computation
    Yu, Lele
    Shao, Yingxia
    Cui, Bin
    [J]. SIGMOD'15: PROCEEDINGS OF THE 2015 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2015, : 93 - 105
  • [5] ELIMINATION OF REDUNDANCY
    MAITREE, K
    [J]. PROCEEDINGS OF THE IEEE, 1979, 67 (08) : 1166 - 1167
  • [6] Hybrid Evaluation for Distributed Iterative Matrix Computation
    Chen, Zihao
    Xu, Chen
    Soto, Juan
    Markl, Volker
    Qian, Weining
    Zhou, Aoying
    [J]. SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2021, : 300 - 312
  • [7] INTERPROCEDURAL PARTIAL REDUNDANCY ELIMINATION AND ITS APPLICATION TO DISTRIBUTED-MEMORY COMPILATION
    AGRAWAL, G
    SALTZ, J
    DAS, R
    [J]. SIGPLAN NOTICES, 1995, 30 (06): : 258 - 269
  • [8] Redundancy Elimination for LF
    Reed, Jason
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 199 : 89 - 106
  • [9] Elimination of Redundancy in Ontologies
    Grimm, Stephan
    Wissmann, Jens
    [J]. SEMANTIC WEB: RESEARCH AND APPLICATIONS, PT I, 2011, 6643 : 260 - 274
  • [10] Dictionary redundancy elimination
    Rebollo-Neira, L
    [J]. IEE PROCEEDINGS-VISION IMAGE AND SIGNAL PROCESSING, 2004, 151 (01): : 31 - 34