arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.01448cs.DS
收藏

最优期望时间下不可靠比较的近似选择

Approximate Selection with Unreliable Comparisons in Optimal Expected Time

Shengyu Huang, Chih-Hung Liu, Daniel Rutschman

摘要:

给定$n$元素,一个整数$k$和一个参数$\varepsilon$,我们研究了如何使用不可靠的比较来选择$(k-n\varepsilon,k+n\varepsilon]$中具有秩的元素,其中每次比较的结果都是不正确的,并且具有恒定的错误概率,并且同一对元素之间的多次比较是独立的。在这个故障模型中,找到最小值,选择$k$ -th最小的元素和排序的基本问题已被证明需要$Θ\big(n \log \frac{1}{Q}\big)$,$Θ\big(n\log \frac{\min\{k,n-k\}}{Q}\big)$和$Θ\big(n\log \frac{n}{Q}\big)$比较,分别实现成功概率$1-Q$。最近,Leucci和Liu证明了近似最小值选择问题($k=0$)需要期望的$Θ(\varepsilon^{-1}\log \frac{1}{Q})$比较。我们开发了一种随机算法,执行预期的$O(\frac{k}{n}\varepsilon^{-2} \log \frac{1}{Q})$比较,以实现至少$1-Q$的成功概率。我们还证明,任何随机算法的成功概率至少$1-Q$进行预期的$Ω(\frac{k}{n}\varepsilon^{-2}\log \frac{1}{Q})$比较。我们的研究结果表明,近似最小值和近似PDMATHAMN最小元素之间存在明显的区别,即使对于高概率保证,例如,如果是$k=\frac{n}{2}$和$Q=\frac{1}{n}$,则为$Θ(\varepsilon^{-1}\log n)$与$Θ(\varepsilon^{-2}\log n)$。此外,如果$\varepsilon=n^{-α}$对于$α\in (0,\frac{1}{2})$,则渐近差几乎是二次的,即,$\tildeΘ(n^α)$与$\tildeΘ(n^{2α})$。

英文摘要:

Given $n$ elements, an integer $k$ and a parameter $\varepsilon$, we study to select an element with rank in $(k-n\varepsilon,k+n\varepsilon]$ using unreliable comparisons where the outcome of each comparison is incorrect independently with a constant error probability, and multiple comparisons between the same pair of elements are independent. In this fault model, the fundamental problems of finding the minimum, selecting the $k$-th smallest element and sorting have been shown to require $Θ\big(n \log \frac{1}{Q}\big)$, $Θ\big(n\log \frac{\min\{k,n-k\}}{Q}\big)$ and $Θ\big(n\log \frac{n}{Q}\big)$ comparisons, respectively, to achieve success probability $1-Q$. Recently, Leucci and Liu proved that the approximate minimum selection problem ($k=0$) requires expected $Θ(\varepsilon^{-1}\log \frac{1}{Q})$ comparisons. We develop a randomized algorithm that performs expected $O(\frac{k}{n}\varepsilon^{-2} \log \frac{1}{Q})$ comparisons to achieve success probability at least $1-Q$. We also prove that any randomized algorithm with success probability at least $1-Q$ performs expected $Ω(\frac{k}{n}\varepsilon^{-2}\log \frac{1}{Q})$ comparisons. Our results indicate a clear distinction between approximating the minimum and approximating the $k$-th smallest element, which holds even for the high probability guarantee, e.g., if $k=\frac{n}{2}$ and $Q=\frac{1}{n}$, $Θ(\varepsilon^{-1}\log n)$ versus $Θ(\varepsilon^{-2}\log n)$. Moreover, if $\varepsilon=n^{-α}$ for $α\in (0,\frac{1}{2})$, the asymptotic difference is almost quadratic, i.e., $\tildeΘ(n^α)$ versus $\tildeΘ(n^{2α})$.

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

↑