Approximate Minimum Selection with Unreliable Comparisons

Stefano Leucci, Chih-Hung Liu

Introduction

In classical algorithmic theory, comparisons are assumed to be deterministic and error-free. However, modern computing environments—ranging from large-scale distributed systems and human-in-the-loop crowdsourcing to ultra-low-power hardware—often operate with "noisy" data. In these scenarios, a comparison between two elements $a$ and $b$ may return the incorrect result with a constant probability $p < 1/2$.

This paper, published in Algorithmica (2022), addresses the fault-tolerant approximate minimum selection problem (FT-Min(k)). The goal is to identify any one of the $k$ smallest elements from a set of $n$ elements with a target success probability of $1-q$, using the minimum number of noisy comparisons.

Problem Formulation

The FT-Min(k) problem generalizes the classic minimum selection problem. While finding the absolute minimum ($k=1$) in a noisy environment is well-understood, many practical applications only require an "approximate" minimum—for instance, selecting a high-quality product from a catalog or a representative data point from a noisy cluster.

The authors define the problem parameters as:

  • $n$: Total number of elements.
  • $k$: The rank threshold (any element in the top $k$ is acceptable).
  • $p$: The probability that a single comparison is incorrect ($p < 1/2$).
  • $q$: The maximum allowed failure probability.

Algorithmic Framework

The authors propose a multi-faceted approach to achieve optimal complexity bounds, bridging the gap between exact selection and simple random sampling.

1. The Reduction Principle

A core contribution is the reduction principle, which demonstrates that solving the general FT-Min(k) problem for any $n$ and $k$ can be simplified. The authors show that the problem can be reduced to a "core" selection task on a significantly smaller subset of size approximately $\log(1/q)$. This reduction allows the algorithm to focus its computational budget where it is most needed.

2. GeometricTest Algorithm

To optimize the expected number of comparisons, the authors introduce the GeometricTest algorithm. This iterative method selects a candidate and subjects it to a series of tests against a "noisy oracle." The number of queries to the oracle increases geometrically in each phase. This strategy ensures that clearly "bad" elements are discarded rapidly, while promising candidates receive increasingly rigorous verification to meet the $1-q$ confidence threshold.

3. Knockout Tournaments

For scenarios requiring robust performance in the worst case, the paper describes a modified knockout tournament. In this structure, the number of comparisons performed in each match scales with the tournament round. As elements advance, the confidence in their superiority grows, preventing a single erroneous comparison from prematurely eliminating a top-tier candidate.

Key Results and Optimality

The paper establishes the first asymptotically optimal bounds for the FT-Min(k) problem:

  • Expected Complexity: The proposed randomized algorithm solves FT-Min(k) using $O(\frac{n}{k} \log \frac{1}{q})$ comparisons in expectation.
  • Lower Bound: The authors provide a matching information-theoretic lower bound of $\Omega(\frac{n}{k} \log \frac{1}{q})$, proving their expected-time algorithm is optimal.
  • Worst-Case Complexity: A variant of the algorithm achieves a worst-case complexity of $O((\frac{n}{k} + \log \log \frac{1}{q}) \log \frac{1}{q})$. This bound is optimal for a wide range of $k$ values relative to $n$.

These results highlight a significant "optimality gap" between exact and approximate selection. While finding the exact minimum requires $O(n \log 1/q)$ comparisons, the approximate version is significantly more efficient, scaling inversely with $k$.

Conclusion and Future Directions

This work provides a definitive theoretical foundation for approximate selection under noise. However, several avenues for future research remain. The current model assumes independent and random errors; future work could explore persistent errors (where repeated comparisons of the same pair yield the same wrong result) or adversarial noise. Additionally, while the bounds are asymptotically optimal, the constant factors depend on the error probability $p$. Refining these constants and achieving worst-case optimality for all values of $k$ remain ongoing challenges in the field.

Summary updated

BibTeX
@article{leucci2022approximate,
  author = {Stefano Leucci and Chih-Hung Liu},
  title = {{Approximate Minimum Selection with Unreliable Comparisons}},
  journal = {Algorithmica},
  year = {2022},
  doi = {10.1007/s00453-021-00880-1},
}
Figure