arXiv:2610.22133cs.DSOct 2026

Manuscript Offprint

arXiv:2610.22133

Asteroidal Triples and Friends in (Likely Necessary) Matrix Multiplication Time

Jakob Nogler, Agnès Totschnig, Virginia Vassilevska Williams

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In a seminal paper, Kratsch and Spinrad [SODA 2003 and SIAM Journal on Computing 2006] studied several important problems in structural graph theory that anticipated two trends in fine-grained complexity, both from the upper- and lower-bound side:

From the upper-bound side, for each of these problems the authors give an intermediate running time strictly between nωn^\omega and n3n^3, where ω<2.371177\omega < 2.371177 is the matrix multiplication exponent. When optimized, this running time can be made O~(n(3+ω)/2)\tilde{O}(n^{(3+\omega)/2}). By now, many more problems can be solved in this running time: directed unweighted or node-weighted APSP, a variety of matrix products such as max-min and dominance, RNA Folding and many more. For some of these, the community has also developed tools suggesting that this intermediate running time is necessary.

From the lower-bound side, the authors give lower bounds of nω−o(1)n^{\omega-o(1)}, conditioned on three natural hardness hypotheses on the complexity of quantified variants of triangle detection that account for different types of hardness of such problems.

Despite this, it has remained open for over 20 years which of these two pieces of evidence reflects the truth for the problems that Kratsch and Spinrad study: whether the intermediate running time is indeed necessary and stronger lower bounds hold, or whether the hardness evidence of Kratsch and Spinrad is essentially tight. In this paper, we resolve this question and show that the latter is the case: all problems admit an O~(nω)\tilde{O}(n^{\omega}) time algorithm.

As an additional contribution, we make partial algorithmic progress on further problems in structural graph theory of intermediate complexity, improving over previous work [Chiu and Lu, STACS 2022 and Information and Computation 2024][Spinrad, Discrete Applied Math 2004].

Funding Jakob Nogler: Supported by the Akamai Presidential Fellowship and by a fellowship from the Siebel Scholars Foundation; Agnès Totschnig: Supported by a MathWorks Fellowship; Virginia Vassilevska Williams: Supported by NSF Grant CCF-2330048, BSF Grant 2024233 and a Simons Investigator Award

1 Introduction

Many problems in graph and matrix algorithms have natural cubic running times in terms of nn, the number of nodes in the graph or the number of rows/columns of the matrices. For some perhaps infamous examples, such as All-Pairs Shortest Paths (APSP) in weighted graphs, this cubic running time has persisted for many decades, except for no(1)n^{o(1)} improvements, leading to conjectures that cubic time is the best possible (e.g., [Vas18, WW10, VW18]). For other problems, substantial polynomial improvements have been obtained. The prime example for this is matrix multiplication. The exponent ω\omega is defined as the smallest real value for which n×nn \times n matrices can be multiplied in O(nω+ε)O(n^{\omega+\varepsilon}) time for all ε>0\varepsilon > 0. It has been known since 1969 that ω<3\omega < 3 [Str69], and while the popular belief among computer scientists is that ω=2\omega = 2, the best known upper bound is ω<2.371177\omega < 2.371177 [DEK+^{+}26].

Via reductions to matrix multiplication, a huge variety of problems have truly subcubic 1^{1} time algorithms: many linear algebraic operations (matrix inverse, linear system solving, LUP decompositions and more), a variety of “funny” matrix products over other algebraic structures such as the max-min product of matrices [VWY09], many graph problems in unweighted graphs such as unweighted APSP [Zwi02, Sei95], structure similarity problems such as RNA-Folding [BGSV19], and many more.

O(n3−ε)O(n^{3-\varepsilon}) time for constant ε>0\varepsilon > 0.

Asteroidal Triples and Friends in (Likely Necessary) Matrix Multiplication Time

There are simple reductions from Boolean matrix multiplication to many of these problems, showing that nω−o(1)n^{\omega-o(1)} time seems necessary to solve them. This is true for instance for unweighted APSP and most “funny” matrix products. For even more problems, nω−o(1)n^{\omega-o(1)} time lower bounds can be proven under stronger but still plausible assumptions such as that detecting a triangle in an n-node graph requires nω−o(1)n^{\omega-o(1)} time. For problems with nω−o(1)n^{\omega-o(1)} time conditional lower bounds and subcubic time upper bounds using matrix multiplication, a natural question is:

Can these problems be solved in O~(nω)\tilde{O}(n^{\omega}) time or is there a higher conditional lower bound?

The term “intermediate problem” has emerged to capture problems that are in truly subcubic time but whose running times are strictly larger than nωn^\omega. Several recent works study such problems within the context of fine-grained complexity [BKPR19, LPV20, VX20a, CVX21, Fis26], providing conditional lower bounds nc−o(1)n^{c-o(1)} for c>ωc > \omega for some of these problems.

Most studied intermediate problems have running times that are O~(n2.5)\tilde{O}(n^{2.5}) if ω=2\omega = 2; a popular running time is O~(n(3+ω)/2)\tilde{O}(n^{(3+\omega)/2}). This is the best known running time for the Dominance Product [Mat91], max-min matrix product and All-Pairs Bottleneck Paths [VWY07, DP09], All-Pairs Non-Decreasing Paths [Vas10, DGZ18, DJW19], Monotone Min-Plus Product [BGSV19, VX20b, GPVX21, CDXZ22], Language Edit Distance (also known as Scored Parsing [AP72, Sah17, BGSV19]), RNA Folding [NJ80, Aku99, ZTZU11, VGF14, Sah17], Dyck Edit Distance [Sah14, BGSV19, DKS22, FGK +^{+}24], Tree Edit Distance [Mao21, Dür23, NPS +^{+}25], Node-weighted APSP [Cha10, Yus09, AFJ +^{+}25], and Min-Equality Product [VX20a].

One of the very first papers to prove nω−o(1)n^{\omega-o(1)} lower bounds under plausible conjectures for a variety of graph problems, while also providing subcubic time algorithms using matrix multiplication, is a seminal SODA 2003 paper by Kratsch and Spinrad [KS06]. Almost all of the problems studied by [KS06] were solved in O(n2.79)O(n^{2.79}) time. With a small change 2^2 the algorithms can be made to run in O~(n(3+ω)/2)\tilde{O}(n^{(3+\omega)/2}) time. This motivates the following questions.

Are these problems intermediate, or can they be solved in O~(nω)\tilde{O}(n^{\omega}) time? How do these problems fit into the recently established fine-grained hierarchy?

Even the name of Kratsch and Spinrad’s paper “Between O(mn)O(mn) and O(nα)O(n^{\alpha})” (here α=ω\alpha = \omega) suggests that the problems in the paper are intermediate. Despite much recent progress on the fine-grained complexity of intermediate problems, the problems studied in Kratsch and Spinrad’s paper have not seen improvements since the paper was written more than 20 years ago.

The main contribution of our work is to show that these problems are not intermediate. They, in fact, admit conditionally tight O~(nω)\tilde{O}(n^{\omega}) time algorithms.

References (100)

Couldn't load all references. Reload the page to try again.