paper

Approximate Selection with Unreliable Comparisons in Optimal Expected Time

arXiv:2205.01448

Abstract

Given elements, an integer and a parameter , we study to select an element with rank in 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 -th smallest element and sorting have been shown to require , and comparisons, respectively, to achieve success probability . Recently, Leucci and Liu proved that the approximate minimum selection problem () requires expected comparisons. We develop a randomized algorithm that performs expected comparisons to achieve success probability at least . We also prove that any randomized algorithm with success probability at least performs expected comparisons. Our results indicate a clear distinction between approximating the minimum and approximating the -th smallest element, which holds even for the high probability guarantee, e.g., if and , versus . Moreover, if for , the asymptotic difference is almost quadratic, i.e., versus .