arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.06468cs.DScs.GT
收藏

压力下的随机二分搜索与树搜索

Randomized Binary and Tree Search under Pressure

Agustín Caracci, Christoph Dürr, José Verschae

AI总结:

该文将有限查询下的二分与树搜索建模为搜寻者—隐藏者零和博弈,构造最大化最坏发现概率的随机策略,并给出树上最佳响应与 Nash 均衡的复杂度结果。

摘要:

我们研究在线性结构和一般树上的广义二分搜索问题。在线性结构上(例如有序数组),二分搜索在最坏情况下使用 O(log n) 次查询找到目标节点,其中 n 是节点数。在预算或时间有限的情况下,我们可能只能执行少数几次查询,其次数可能是次对数级的。在这种情况下,无论目标位于何处都保证找到目标是不可能的。我们的主要结果是构造了一种随机策略,使找到目标的最小概率(在所有目标位置上取最小值)最大化。在没有关于目标位置的先验(随机)信息时,这种策略提供了一种自然的解决方案。与常规二分搜索一样,我们可以在 O(log n) 时间内找到并运行该策略(并且只使用 O(log n) 个随机比特)。我们的构造通过将该问题重新解释为一个双人(搜寻者与隐藏者)零和博弈,并利用其底层的数论结构得到。此外,我们将该设置推广,研究树上的搜索博弈。在这种情况下,一次查询返回距离目标最近的边端点。同样,当查询次数受限于给定的 k 时,我们通过根据定位隐藏者所需的查询次数定义搜寻者的收益 p,来量化一种“查询越少越好”的方法。对于相应零和博弈的线性规划表述,我们证明计算隐藏者的最佳响应(即底层对偶 LP 的分离问题)可在 O(n^2 2^{2k}) 时间内完成,其中 n 是树的大小。该结果使得只要 k=O(log n),就可以在多项式时间内计算 Nash 均衡。相比之下,计算隐藏者的最佳响应是 NP-hard 的。

英文摘要:

We study a generalized binary search problem on the line and general trees. On the line (e.g., a sorted array), binary search finds a target node in $O(\log n)$ queries in the worst case, where $n$ is the number of nodes. In situations with limited budget or time, we might only be able to perform a few queries, possibly sub-logarithmic many. In this case, it is impossible to guarantee that the target will be found regardless of its position. Our main result is the construction of a randomized strategy that maximizes the minimum (over the target position) probability of finding the target. Such a strategy provides a natural solution where there is no apriori (stochastic) information of the target's position. As with regular binary search, we can find and run the strategy in $O(\log n)$ time (and using only $O(\log n)$ random bits). Our construction is obtained by reinterpreting the problem as a two-player (\textit{seeker} and \textit{hider}) zero-sum game and exploiting an underlying number theoretical structure. Furthermore, we generalize the setting to study a search game on trees. In this case, a query returns the edge's endpoint closest to the target. Again, when the number of queries is bounded by some given $k$, we quantify a \emph{the-less-queries-the-better} approach by defining a seeker's profit $p$ depending on the number of queries needed to locate the hider. For the linear programming formulation of the corresponding zero-sum game, we show that computing the best response for the hider (i.e., the separation problem of the underlying dual LP) can be done in time $O(n^2 2^{2k})$, where $n$ is the size of the tree. This result allows to compute a Nash equilibrium in polynomial time whenever $k=O(\log n)$. In contrast, computing the best response for the hider is NP-hard.

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

↑