Lune

SIGMOD2022Top-tier venue

Redundancy Elimination in Distributed Matrix Computation

Zihao Chen, Baokun Han, Chen Xu, Weining Qian, Aoying Zhou

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LIMA: Fine-grained Lineage Tracing and Reuse in Machine Learning Systems cites SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear Algebra
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Cerebro: A Data System for Optimized Deep Learning Model SelectionSupun Nakandala, Yuhao Zhang, Arun KumarVLDB 2020 · 61 citations
  2. LIMA: Fine-grained Lineage Tracing and Reuse in Machine Learning SystemsArnab Phani, Benjamin Rath, Matthias BoehmSIGMOD 2021 · 30 citations
  3. Efficient Control Flow in Dataflow Systems: When Ease-of-Use Meets High PerformanceGábor E. Gévay, Tilmann Rabl, Sebastian Breß, Lorand Madai-Tahy et al.ICDE 2021 · 10 citations
  4. SPORES: Sum-Product Optimization via Relational Equality Saturation for Large Scale Linear AlgebraYisu Remy Wang, Shana Hutchison, Dan Suciu, Bill Howe et al.VLDB 2020

Related papers

  1. Hybrid Evaluation for Distributed Iterative Matrix ComputationZihao Chen, Chen Xu, Juan Soto, Volker Markl et al.SIGMOD 2021 · 2 citations
  2. Redundant Array Computation EliminationZixuan Wang, Liang Yuan, Xianmeng Jiang, Kun Li et al.PLDI 2026
  3. Generalized Sub-Query Fusion for Eliminating Redundant I/O from Big-Data QueriesPartho Sarthi, Kaushik Rajan, Akash Lal, Abhishek Modi et al.OSDI 2020 · 5 citations
  4. PreVision: An Out-of-Core Matrix Computation System with Optimal Buffer ReplacementKyoseung Koo, Sohyun Kim, Wonhyeon Kim, Yoojin Choi et al.SIGMOD 2024 · 3 citations
  5. SPALM: A Sparsity-Pattern-Adaptive Library for MatricesJunyoung Kim, Kenneth A. RossSIGMOD 2026
Dusk over the sea between two cliffs drawn in fine vertical lines