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 Θ(n2α).
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 40th International Symposium on Theoretical Aspects of Computer Science : STACS 2023 |
| Number of pages | 23 |
| Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
| Publication date | 2023 |
| Article number | 37 |
| ISBN (Electronic) | 9783959772662 |
| DOIs | |
| Publication status | Published - 2023 |
| Event | 40th International Symposium on Theoretical Aspects of Computer Science - Hamburg, Germany Duration: 7 Mar 2023 → 9 Mar 2023 Conference number: 40 |
Conference
| Conference | 40th International Symposium on Theoretical Aspects of Computer Science |
|---|---|
| Number | 40 |
| Country/Territory | Germany |
| City | Hamburg |
| Period | 07/03/2023 → 09/03/2023 |
| Series | Leibniz International Proceedings in Informatics, LIPIcs |
|---|---|
| Volume | 254 |
| ISSN | 1868-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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver