Faster Min-Plus Product for Monotone Instances

04/09/2022
by   Shucheng Chi, et al.
0

In this paper, we show that the time complexity of monotone min-plus product of two n× n matrices is Õ(n^(3+ω)/2)=Õ(n^2.687), where ω < 2.373 is the fast matrix multiplication exponent [Alman and Vassilevska Williams 2021]. That is, when A is an arbitrary integer matrix and B is either row-monotone or column-monotone with integer elements bounded by O(n), computing the min-plus product C where C_i,j=min_k{A_i,k+B_k,j} takes Õ(n^(3+ω)/2) time, which greatly improves the previous time bound of Õ(n^(12+ω)/5)=Õ(n^2.875) [Gu, Polak, Vassilevska Williams and Xu 2021]. Then by simple reductions, this means the following problems also have Õ(n^(3+ω)/2) time algorithms: (1) A and B are both bounded-difference, that is, the difference between any two adjacent entries is a constant. The previous results give time complexities of Õ(n^2.824) [Bringmann, Grandoni, Saha and Vassilevska Williams 2016] and Õ(n^2.779) [Chi, Duan and Xie 2022]. (2) A is arbitrary and the columns or rows of B are bounded-difference. Previous result gives time complexity of Õ(n^2.922) [Bringmann, Grandoni, Saha and Vassilevska Williams 2016]. (3) The problems reducible to these problems, such as language edit distance, RNA-folding, scored parsing problem on BD grammars. [Bringmann, Grandoni, Saha and Vassilevska Williams 2016]. Finally, we also consider the problem of min-plus convolution between two integral sequences which are monotone and bounded by O(n), and achieve a running time upper bound of Õ(n^1.5). Previously, this task requires running time Õ(n^(9+√(177))/12) = O(n^1.859) [Chan and Lewenstein 2015].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/17/2021

Faster Algorithms for Bounded-Difference Min-Plus Product

Min-plus product of two n× n matrices is a fundamental problem in algori...
research
09/03/2023

(min,+) Matrix and Vector Products for Inputs Decomposable into Few Monotone Subsequences

We study the time complexity of computing the (min,+) matrix product o...
research
08/04/2022

Improved Bounds for Rectangular Monotone Min-Plus Product

In a recent breakthrough paper, Chi et al. (STOC'22) introduce an Õ(n^3 ...
research
01/19/2007

Algorithmic Complexity Bounds on Future Prediction Errors

We bound the future loss when predicting any (computably) stochastic seq...
research
05/06/2021

Faster Monotone Min-Plus Product, Range Mode, and Single Source Replacement Paths

One of the most basic graph problems, All-Pairs Shortest Paths (APSP) is...
research
04/24/2019

Faster Algorithms for All Pairs Non-decreasing Paths Problem

In this paper, we present an improved algorithm for the All Pairs Non-de...
research
12/21/2020

Efficient sequential and parallel algorithms for multistage stochastic integer programming using proximity

We consider the problem of solving integer programs of the form min{ c^⊺...

Please sign up or login with your details

Forgot password? Click here to reset