Red-blue pebbling revisited: near optimal parallel matrix-matrix multiplication
Not on the map. Why?
Abstract (arXiv)
We propose COSMA: a parallel matrix-matrix multiplication algorithm that is near communication-optimal for all combinations of matrix dimensions, processor counts, and memory sizes. The key idea behind COSMA is to derive an optimal (up to a factor of 0.03% for 10MB of fast memory) sequential schedule and then parallelize it, preserving I/O optimality. To achieve this, we use the red-blue pebble game to precisely model MMM dependencies and derive a constructive and tight sequential and parallel I/O lower bound proofs. Compared to 2D or 3D algorithms, which fix processor decomposition upfront and then map it to the matrix dimensions, it reduces communication volume by up to √3 times. COSMA outperforms the established ScaLAPACK, CARMA, and CTF algorithms in all scenarios up to 12.8x (2.2x on average), achieving up to 88% of Piz Daint's peak performance. Our work does not require any hand tuning and is maintained as an open source implementation.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 7; 2023: 2; 2024: 2; 2025: 1; 2026: 4.
21 papers.
Sort:
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysiscited by 29
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfacescited by 11
- 2021GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set Algebracited by 10
- 2022HammingMesh: A Network Topology for Large-Scale Deep Learningcited by 8
- 2023PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Predictioncited by 4
- 2024Demystifying Higher-Order Graph Neural Networkscited by 4
- 2022Distributed-Memory Sparse Kernels for Machine Learningcited by 3
- 2021SINGA-Easy: An Easy-to-Use Framework for MultiModal Analysiscited by 0
- 2021VisualTextRank: Unsupervised Graph-based Content Extraction for Automating Ad Text to Image Searchcited by 0
- 2021Text is NOT Enough: Integrating Visual Impressions into Open-domain Dialogue Generationcited by 0
- 2022Discovering Personalized Semantics for Soft Attributes in Recommender Systems using Concept Activation Vectorscited by 0
9 more
- 2022Reinforced MOOCs Concept Recommendation in Heterogeneous Information Networkscited by 0
- 2022Explanation-Guided Fairness Testing through Genetic Algorithmcited by 0
- 2022Using Graph Neural Networks for Program Terminationcited by 0
- 2023Tribe or Not? Critical Inspection of Group Differences Using TribalGramcited by 0
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplicationcited by 0
- 2026Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simplecited by 0
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUscited by 0
- 2026Approaching I/O-optimality for Approximate Attentioncited by 0
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Accelerationcited by 0
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Acceleration25 Aug 2026
- 2026Approaching I/O-optimality for Approximate Attention22 May 2026
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUs23 Jan 2026
- 2026Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple22 Jan 2026
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplication10 Oct 2025
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfaces21 Oct 2024
- 2024Demystifying Higher-Order Graph Neural Networks18 Jun 2024
- 2023PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Prediction1 Dec 2023
- 2023Tribe or Not? Critical Inspection of Group Differences Using TribalGram16 Mar 2023
- 2022HammingMesh: A Network Topology for Large-Scale Deep Learning3 Sep 2022
- 2022Using Graph Neural Networks for Program Termination28 Jul 2022
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysis19 May 2022
9 more
- 2022Explanation-Guided Fairness Testing through Genetic Algorithm16 May 2022
- 2022Distributed-Memory Sparse Kernels for Machine Learning15 Mar 2022
- 2022Reinforced MOOCs Concept Recommendation in Heterogeneous Information Networks8 Mar 2022
- 2022Discovering Personalized Semantics for Soft Attributes in Recommender Systems using Concept Activation Vectors6 Feb 2022
- 2021Text is NOT Enough: Integrating Visual Impressions into Open-domain Dialogue Generation13 Sep 2021
- 2021VisualTextRank: Unsupervised Graph-based Content Extraction for Automating Ad Text to Image Search5 Aug 2021
- 2021SINGA-Easy: An Easy-to-Use Framework for MultiModal Analysis3 Aug 2021
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelines14 Jul 2021
- 2021GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set Algebra5 Mar 2021
- 2021Chimera: Efficiently Training Large-Scale Neural Networks with Bidirectional Pipelinescited by 68
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysiscited by 29
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfacescited by 11
- 2021GraphMineSuite: Enabling High-Performance and Programmable Graph Mining Algorithms with Set Algebracited by 10
- 2022HammingMesh: A Network Topology for Large-Scale Deep Learningcited by 8
- 2023PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Predictioncited by 4
- 2024Demystifying Higher-Order Graph Neural Networkscited by 4
- 2022Distributed-Memory Sparse Kernels for Machine Learningcited by 3
- 2021SINGA-Easy: An Easy-to-Use Framework for MultiModal Analysiscited by 0
- 2021VisualTextRank: Unsupervised Graph-based Content Extraction for Automating Ad Text to Image Searchcited by 0
- 2021Text is NOT Enough: Integrating Visual Impressions into Open-domain Dialogue Generationcited by 0
- 2022Discovering Personalized Semantics for Soft Attributes in Recommender Systems using Concept Activation Vectorscited by 0
12 most cited of 21 All 21 (JSON)
- 2026Maia 200: A Software Defined Dataflow System for Large-scale AI Acceleration25 Aug 2026
- 2026Approaching I/O-optimality for Approximate Attention22 May 2026
- 2026Communication-Avoiding Linear Algebraic Kernel K-Means on GPUs23 Jan 2026
- 2026Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple22 Jan 2026
- 2025Slicing Is All You Need: Towards A Universal One-Sided Algorithm for Distributed Matrix Multiplication10 Oct 2025
- 2024Improving Parallel Program Performance with LLM Optimizers via Agent-System Interfaces21 Oct 2024
- 2024Demystifying Higher-Order Graph Neural Networks18 Jun 2024
- 2023PipeOptim: Ensuring Effective 1F1B Schedule with Optimizer-Dependent Weight Prediction1 Dec 2023
- 2023Tribe or Not? Critical Inspection of Group Differences Using TribalGram16 Mar 2023
- 2022HammingMesh: A Network Topology for Large-Scale Deep Learning3 Sep 2022
- 2022Using Graph Neural Networks for Program Termination28 Jul 2022
- 2022Parallel and Distributed Graph Neural Networks: An In-Depth Concurrency Analysis19 May 2022
12 newest of 21 All 21 (JSON)