Approximate Selection with Unreliable Comparisons in Optimal Expected Time
Abstract
Given n elements, an integer k and a parameter , we study to select an element with rank in (k-n,k+n] 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 (n 1Q), (n \k,n-k\Q) and (n nQ) comparisons, respectively, to achieve success probability 1-Q. Recently, Leucci and Liu proved that the approximate minimum selection problem (k=0) requires expected (-1 1Q) comparisons. We develop a randomized algorithm that performs expected O(kn-2 1Q) 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 (kn-2 1Q) 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=n2 and Q=1n, (-1 n) versus (-2 n). Moreover, if =n-α for α ∈ (0,12), the asymptotic difference is almost quadratic, i.e., (nα) versus (n2α).
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.