mlsanityData to 7 Oct 2026

Space Filling Curves is All You Need: Communication-Avoiding Matrix Multiplication Made Simple

arXiv 2601.16294 ↗First posted 22 Jan 2026cs.DC cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

General Matrix Multiplication (GEMM) is the cornerstone of HPC workloads and Deep Learning. State-of-the-art (SOTA) vendor libraries tune tensor layouts, parallelization schemes and cache blocking to minimize data movement across the memory hierarchy and maximize throughput. However, optimal settings for these parameters depend on the target platform and matrix shapes, making exhaustive tuning infeasible. In this work, we address this cumbersome scheduling search and tuning using space-filling curves (SFC). We partition the matrix multiplication using advancements in SFC, and obtain platform-oblivious and shape-oblivious matrix multiplication schemes with a high degree of data locality. We extend the SFC-based work partitioning to implement Communication-Avoiding (CA) algorithms with replication techniques in a seamless fashion. The resulting SFC-CA GEMM achieves provable asymptotic communication optimality for both square and rectangular matrix regimes. Across four x86 and Arm platforms, SFC-CA GEMM outperforms vendor libraries by up to 5.5× per shape and 1.8× in weighted harmonic mean (WHM) throughput. Last, we show the impact of our work on two real-world applications by leveraging our SFC-CA GEMM as a compute backend: i) prefill of LLM inference with speedups up to 1.85× over SOTA inference runtimes, and ii) distributed-memory matrix multiplication with speedups up to 2.3× over the SOTA distributed-memory GEMM framework with vendor-optimized compute backend.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 55 references that are in the map. First posted on arXiv 22 Jan 2026.

Builds on

18 of 55 references.

References · 18

  1. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  2. 2014Going Deeper with Convolutionscited by 4,231
  3. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  4. 2016Wide & Deep Learning for Recommender Systemscited by 745
  5. 2020Ansor: Generating High-Performance Tensor Programs for Deep Learningcited by 199
  6. 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
  7. 2018Tensor Comprehensions: Framework-Agnostic High-Performance Machine Learning Abstractionscited by 84
  8. 2017Deep Learning for Computational Chemistrycited by 38
  9. 2020A Survey of Deep Learning for Scientific Discoverycited by 36
  10. 2019Red-blue pebbling revisited: near optimal parallel matrix-matrix multiplicationcited by 21
  11. 2013Feature Learning in Deep Neural Networks - Studies on Speech Recognition Taskscited by 14
  12. 2016Mathematical Foundations of the GraphBLAScited by 12
6 more
  1. 2021Tensor Processing Primitives: A Programming Abstraction for Efficiency and Portability in Deep Learning & HPC Workloadscited by 8
  2. 2023oneDNN Graph Compiler: A Hybrid Approach for High-Performance Deep Learning Compilationcited by 7
  3. 2023Harnessing Deep Learning and HPC Kernels via High-Level Loop and Tensor Abstractions on CPU Architecturescited by 4
  4. 2024Towards a high-performance AI compiler with upstream MLIRcited by 3
  5. 2025Library Liberation: Competitive Performance Matmul Through Compiler-composed Nanokernelscited by 2
  6. 2016A Study of Energy and Locality Effects using Space-filling Curvescited by 1

Built on by

Not cited yet.