Author:
Williams Virginia Vassilevska,Williams R. Ryan
Abstract
We say an algorithm on
n
×
n
matrices with integer entries in [−
M
,
M
] (or
n
-node graphs with edge weights from [−
M
,
M
]) is
truly subcubic
if it runs in
O
(
n
3 − δ
ċ poly(log
M
)) time for some δ > 0. We define a notion of
subcubic reducibility
and show that many important problems on graphs and matrices solvable in
O
(
n
3
) time are
equivalent
under subcubic reductions. Namely, the following weighted problems either
all
have truly subcubic algorithms, or none of them do:
•The all-pairs shortest paths problem on weighted digraphs (APSP).
•Detecting if a weighted graph has a triangle of negative total edge weight.
•Listing up to
n
2.99
negative triangles in an edge-weighted graph.
•Finding a minimum weight cycle in a graph of non-negative edge weights.
•The replacement paths problem on weighted digraphs.
•Finding the second shortest simple path between two nodes in a weighted digraph.
•Checking whether a given matrix defines a metric.
•Verifying the correctness of a matrix product over the (min, +)-semiring.
•Finding a maximum subarray in a given matrix.
Therefore, if APSP cannot be solved in
n
3−ε
time for any ε > 0, then many other problems also need essentially cubic time. In fact, we show generic equivalences between matrix products over a large class of algebraic structures used in optimization, verifying a matrix product over the same structure, and corresponding triangle detection problems over the structure. These equivalences simplify prior work on subcubic algorithms for all-pairs path problems, since it now suffices to give appropriate subcubic triangle detection algorithms.
Other consequences of our work are new combinatorial approaches to Boolean matrix multiplication over the (OR,AND)-semiring (abbreviated as BMM). We show that practical advances in triangle detection would imply practical BMM algorithms, among other results. Building on our techniques, we give two improved BMM algorithms: a derandomization of the combinatorial BMM algorithm of Bansal and Williams (FOCS’09), and an improved quantum algorithm for BMM.
Funder
CRA Computing Innovations Fellowship
AFOSR MURI
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software
Cited by
56 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Computing Minimum Weight Cycle in the CONGEST Model;Proceedings of the 43rd ACM Symposium on Principles of Distributed Computing;2024-06-17
2. New Graph Decompositions and Combinatorial Boolean Matrix Multiplication Algorithms;Proceedings of the 56th Annual ACM Symposium on Theory of Computing;2024-06-10
3. Faster Combinatorial k-Clique Algorithms;Lecture Notes in Computer Science;2024
4. Shortest distances as enumeration problem;Discrete Applied Mathematics;2024-01
5. Computing Replacement Paths in the CONGEST Model;Lecture Notes in Computer Science;2024