English

Deterministic Monotone Min-Plus Product and Convolution

Data Structures and Algorithms 2026-05-11 v1

Abstract

The Monotone Min-Plus Product problem is a useful primitive that has seen many algorithmic applications over the past decade. In this problem, we are given two n×nn\times n integer matrices AA and BB, where each row of BB is a monotone non-decreasing sequence of integers from {1,,n}\{1,\dots,n\}, and the goal is to compute their Min-Plus product, defined as the n×nn\times n matrix CC with Ci,j=mink{Ai,k+Bk,j}C_{i,j} = \min_{k}\{A_{i,k} + B_{k,j}\}. The fastest known algorithm for this task [Chi, Duan, Xie, and Zhang, STOC'22] runs in n(ω+3)/2+o(1)=O(n2.686)n^{(\omega+3)/2+o(1)} = O(n^{2.686}) time, significantly improving over the brute-force cubic algorithm. However, its main disadvantage is that it requires randomization, which is then inherited by all downstream applications. Our main result is a deterministic algorithm for Monotone Min-Plus product with the same time complexity n(ω+3)/2+o(1)=O(n2.686)n^{(\omega+3)/2+o(1)} = O(n^{2.686}) as its randomized counterpart, improving upon the previous deterministic bound O(n2.875)O(n^{2.875}) [Gu, Polak, Vassilevska Williams, and Xu, ICALP'21]. Our derandomization also applies to previously studied extensions and variants (e.g., [D\"urr, IPL'23]), including rectangular matrices, bounded range [nμ][n^\mu], and column-monotone matrices. As an immediate consequence, we derandomize state-of-the-art algorithms for multiple problems, including Language Edit Distance, RNA Folding, Optimum Stack Generation, unweighted Tree Edit Distance, Batched Range Mode, and Approximate All-Pairs Shortest Paths. Our techniques also yield a deterministic algorithm for the Monotone Min-Plus Convolution problem that runs in n1.5+o(1)n^{1.5+o(1)} time, nearly matching the best known randomized time complexity O~(n1.5)\widetilde{O}(n^{1.5}) [Chi, Duan, Xie, and Zhang, STOC'22]. This algorithm can be used to derandomize state-of-the-art algorithms for Jumbled Indexing for binary strings and several variants of Knapsack.

Keywords

Cite

@article{arxiv.2605.07150,
  title  = {Deterministic Monotone Min-Plus Product and Convolution},
  author = {Ce Jin and Jaewoo Park and Barna Saha and Yinzhan Xu},
  journal= {arXiv preprint arXiv:2605.07150},
  year   = {2026}
}

Comments

To appear in ICALP 2026. Abstract shortened to meet arXiv requirements

R2 v1 2026-07-01T12:56:45.274Z