Lune

SODA2024Top-tier venue

The Time Complexity of Fully Sparse Matrix Multiplication

Amir Abboud, Karl Bringmann, Nick Fischer, Marvin Künnemann

Abstract

What is the time complexity of matrix multiplication of sparse integer matrices with m in nonzeros in the input and m out nonzeros in the output? This paper provides improved upper bounds for this question for almost any choice of m in vs. m out , and provides evidence that these new bounds might be optimal up to further progress on fast matrix multiplication.

Our main contribution is a new algorithm that reduces sparse matrix multiplication to dense (but smaller) rectangular matrix multiplication. Our running time thus depends on the optimal exponent ω(a, b, c) of multiplying dense n a × n b by n b × n c matrices. We discover that when m out = Θ(m r in ) the time complexity of sparse matrix multiplication is O(m σ+ϵ in ), for all ϵ > 0, where σ is the solution to the equation ω

turns out to be, and for all r ∈ (0, 2), the new bound beats the state of the art, and we provide evidence that it is optimal based on the complexity of the all-edge triangle problem.

In particular, in terms of the input plus output size m = m in +m out our algorithm runs in time O(m 1.3459 ). Even for Boolean matrices, this improves over the previous m 2ω ω+1 +ϵ = O(m 1.4071 ) bound [Amossen, Pagh; 2009], which was a natural barrier since it coincides with the longstanding bound of all-edge triangle in sparse graphs [Alon, Yuster, Zwick; 1994]. We find it interesting that matrix multiplication can be solved faster than triangle detection in this natural setting. In fact, we establish an equivalence to a special case of the all-edge triangle problem.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Faster Matrix Multiplication via Asymmetric Hashing cites A Refined Laser Method and Faster Matrix Multiplication
  • A Refined Laser Method and Faster Matrix Multiplication cites Faster Matrix Multiplication via Asymmetric Hashing
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Faster Matrix Multiplication via Asymmetric Hashing
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Monochromatic Triangles, Triangle Listing and APSP
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites A Refined Laser Method and Faster Matrix Multiplication
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites Monochromatic Triangles, Triangle Listing and APSP
  • Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyond cites A Refined Laser Method and Faster Matrix Multiplication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Generalizing Linear Autoencoder Recommenders with Decoupled Expected Quadratic LossRuixin Guo, Xinyu Li, Hao Zhou, Yang Zhou et al.ICLR 2026

Builds on7

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 citations
  3. Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 citations
  4. Hardness of approximation in p via short cycle removal: cycle detection, distance oracles, and beyondAmir Abboud, Karl Bringmann, Seri Khoury, Or ZamirSTOC 2022 · 11 citations
  5. Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 citations

Related papers

  1. Faster Algorithms for Bounded-Difference Min-Plus ProductShucheng Chi, Ran Duan, Tianle XieSODA 2022 · 5 citations
  2. Improving the Leading Constant of Matrix MultiplicationJosh Alman, Hantao YuSODA 2025 · 2 citations
  3. New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
  4. Faster min-plus product for monotone instancesShucheng Chi, Ran Duan, Tianle Xie, Tianyi ZhangSTOC 2022 · 12 citations
  5. More Asymmetry Yields Faster Matrix MultiplicationJosh Alman, Ran Duan, Virginia Vassilevska Williams, Yinzhan Xu et al.SODA 2025 · 35 citations
Dusk over the sea between two cliffs drawn in fine vertical lines