Approximate Minimum Selection with Unreliable Comparisons.
Stefano LeucciChih-Hung LiuPublished in: Algorithmica (2021)
We consider the approximate minimum selection problem in presence of independent random comparison faults . This problem asks to select one of the smallest k elements in a linearly-ordered collection of n elements by only performing unreliable pairwise comparisons: whenever two elements are compared, there is a small probability that the wrong comparison outcome is observed. We design a randomized algorithm that solves this problem with a success probability of at least 1 - q for q ∈ ( 0 , n - k n ) and any k ∈ [ 1 , n - 1 ] using O ( n k ⌈ log 1 q ⌉ ) comparisons in expectation (if k ≥ n or q ≥ n - k n the problem becomes trivial). Then, we prove that the expected number of comparisons needed by any algorithm that succeeds with probability at least 1 - q must be Ω ( n k log 1 q ) whenever q is bounded away from n - k n , thus implying that the expected number of comparisons performed by our algorithm is asymptotically optimal in this range. Moreover, we show that the approximate minimum selection problem can be solved using O ( ( n k + log log 1 q ) log 1 q ) comparisons in the worst case , which is optimal when q is bounded away from n - k n and k = O ( n log log 1 q ) .