paper

Deterministic Monotone Min-Plus Product and Convolution

arXiv:2605.07150

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 integer matrices and , where each row of is a monotone non-decreasing sequence of integers from , and the goal is to compute their Min-Plus product, defined as the matrix with . The fastest known algorithm for this task [Chi, Duan, Xie, and Zhang, STOC'22] runs in 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 as its randomized counterpart, improving upon the previous deterministic bound [Gu, Polak, Vassilevska Williams, and Xu, ICALP'21]. Our derandomization also applies to previously studied extensions and variants (e.g., [Dürr, IPL'23]), including rectangular matrices, bounded range , 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 time, nearly matching the best known randomized time complexity [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.

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

Deterministic Monotone Min-Plus Product and Convolution · wovepaper