arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16801cs.DSmath.CO
收藏

比排序更快地寻找鞍点

Finding the saddlepoint faster than sorting

Justin Dallant, Frederik Haagensen, Riko Jacob, László Kozma, Sebastian Wild

AI总结:

本文提出一种基于递归、可行性测试与松弛鞍点概念的算法,将 $n \times n$ 矩阵严格鞍点的查找时间从 $O(n \log n)$ 降至 $O(n \log^* n)$,逼近 $Ω(n)$ 下界,且能在同等时间内计算非严格鞍点。

摘要:

$n \times n$ 矩阵 $A$ 的鞍点是指 $A$ 中在其所在行中为最大值且在其所在列中为最小值的元素。Knuth (1968) 给出了几种寻找鞍点的不同算法。这些算法的最坏情况运行时间为 $Θ(n^2)$,而 Llewellyn, Tovey, and Trick (1988) 证明了这一点无法改进,因为在最坏情况下可能需要查询 $A$ 的所有元素。\n$A$ 的严格鞍点是指在其所在行中为严格最大值且在其所在列中为严格最小值的元素。严格鞍点(如果存在)是唯一的,Bienstock, Chung, Fredman, Schäffer, Shor, and Suri (1991) 证明了可以在 $O(n \log{n})$ 时间内找到它,其中主要的运行时间开销来自于对矩阵对角线进行排序。自 1991 年以来,该上界一直未被改进。在本文中,我们证明了严格鞍点可以在 $O(n \log^{*}{n})$ 时间内找到,其中 $\log^{*}$ 表示增长极其缓慢的迭代对数函数,这已接近 $Ω(n)$ 的下界。事实上,如果存在非严格鞍点,我们也能在相同的运行时间内计算出非严格鞍点的值。我们的算法基于简单的递归方法、受在已排序矩阵中搜索启发的可行性测试,以及一种松弛的鞍点概念。

英文摘要:

A saddlepoint of an $n \times n$ matrix $A$ is an entry of $A$ that is a maximum in its row and a minimum in its column. Knuth (1968) gave several different algorithms for finding a saddlepoint. The worst-case running time of these algorithms is $Θ(n^2)$, and Llewellyn, Tovey, and Trick (1988) showed that this cannot be improved, as in the worst case all entries of A may need to be queried. A strict saddlepoint of $A$ is an entry that is the strict maximum in its row and the strict minimum in its column. The strict saddlepoint (if it exists) is unique, and Bienstock, Chung, Fredman, Schäffer, Shor, and Suri (1991) showed that it can be found in time $O(n \log{n})$, where a dominant runtime contribution is sorting the diagonal of the matrix. This upper bound has not been improved since 1991. In this paper we show that the strict saddlepoint can be found in $O(n \log^{*}{n})$ time, where $\log^{*}$ denotes the very slowly growing iterated logarithm function, coming close to the lower bound of $Ω(n)$. In fact, we can also compute, within the same runtime, the value of a non-strict saddlepoint, assuming one exists. Our algorithm is based on a simple recursive approach, a feasibility test inspired by searching in sorted matrices, and a relaxed notion of saddlepoint.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑