Skip to main navigation Skip to search Skip to main content

Approximate Selection with Unreliable Comparisons in Optimal Expected Time

  • Shengyu Huang*
  • , Chih Hung Liu*
  • , Daniel Rutschmann*
  • *Corresponding author for this work
  • Swiss Federal Institute of Technology Lausanne
  • National Taiwan University

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

144 Downloads (Orbit)

Abstract

Given n elements, an integer k ≤ n/2 and a parameter ε ≥ 1/n , we study the problem of selecting 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 log 1/Q), Θ(n log k/Q) and Θ(n log n/Q) comparisons, respectively, to achieve success probability 1 − Q [9]. Considering the increasing complexity of modern computing, it is of great interest to develop approximation algorithms that enable a trade-off between the solution quality and the number of comparisons. In particular, approximation algorithms would even be able to attain a sublinear number of comparisons. Very recently, Leucci and Liu [23] proved that the approximate minimum selection problem, which covers the case that k ≤ nε, requires expected Θ(ε1 log 1/Q) comparisons, but the general case, i.e., for nε < k ≤ 2/n , is still open. We develop a randomized algorithm that performs expected O(k/n ε2 log 1/Q) comparisons to achieve success probability at least 1 − Q. For k = nε, the number of comparisons is O(ε1 log 1/Q), matching Leucci and Liu’s result [23], whereas for k = n/2 (i.e., approximating the median), the number of comparisons is O(ε2 log 1/Q). We also prove that even in the absence of comparison faults, any randomized algorithm with success probability at least 1 − Q performs expected Ω(min{n, k/n ε2 log 1/Q }) comparisons. As long as n is large enough, i.e., when n = Ω(k/n ε2 log 1/Q), our lower bound demonstrates the optimality of our algorithm, which covers the possible range of attaining a sublinear number of comparisons. Surprisingly, for constant Q, our algorithm performs expected O(k/n ε2) comparisons, matching the best possible approximation algorithm in the absence of computation faults. In contrast, for the exact selection problem, the expected number of comparisons is Θ(n log k) with faults versus Θ(n) without faults. Our results also 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 = n/2 , Q = 1/n and ε = n−α for α ∈ (0, 1/2), the asymptotic difference is almost quadratic, i.e., Θ(nα) versus Θ(n).

Original languageEnglish
Title of host publicationProceedings of the 40th International Symposium on Theoretical Aspects of Computer Science : STACS 2023
Number of pages23
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Publication date2023
Article number37
ISBN (Electronic)9783959772662
DOIs
Publication statusPublished - 2023
Event40th International Symposium on Theoretical Aspects of Computer Science - Hamburg, Germany
Duration: 7 Mar 20239 Mar 2023
Conference number: 40

Conference

Conference40th International Symposium on Theoretical Aspects of Computer Science
Number40
Country/TerritoryGermany
CityHamburg
Period07/03/202309/03/2023
SeriesLeibniz International Proceedings in Informatics, LIPIcs
Volume254
ISSN1868-8969

Keywords

  • Approximate Selection
  • Independent Faults
  • Unreliable Comparisons

Fingerprint

Dive into the research topics of 'Approximate Selection with Unreliable Comparisons in Optimal Expected Time'. Together they form a unique fingerprint.

Cite this