Abstract
This paper establishes the first tight characterization of the query complexity for computing the OR and MAX functions in the presence of noise. By leveraging information-theoretic lower bounds and a two-stage algorithmic framework, the authors prove that the expected number of queries scales as $(1 \pm o(1)) \frac{n \log(1/\delta)}{D_{KL}(p || 1-p)}$. This result closes a gap in the literature that has persisted since the early 1990s, providing the precise constant and functional form of the dependence on noise probability $p$ and error tolerance $\delta$.
Introduction
In large-scale computing systems, hardware errors and stochastic fluctuations are inevitable. Whether dealing with bit flips in memory or noisy comparisons in a ranking algorithm, it is critical to determine the minimum number of observations required to compute a result with high confidence. This paper addresses two fundamental primitives in this domain:
- The OR Function: Given $n$ bits, determine if at least one bit is '1'. Each query to a bit returns the incorrect value with probability $p$.
- The MAX Function: Given $n$ real numbers, identify the index of the maximum value. Each pairwise comparison returns the wrong result with probability $p$.
While foundational work by Feige et al. (1994) established that the number of queries scales linearly with $n$, the exact relationship with the noise level $p$ remained imprecise. This research aims to pin down the exact information-theoretic limits of these operations.
Methodology
The authors employ a dual approach, combining information-theoretic lower bounds with constructive algorithmic upper bounds to achieve a matching result.
Lower Bounds: Le Cam’s Two-Point Method
To establish the minimum necessary queries, the authors utilize Le Cam’s two-point method. This involves constructing two input scenarios that are statistically "close" in terms of their probability distributions but yield different functional outputs (e.g., an all-zero bit string versus a string containing a single '1'). By calculating the samples required to distinguish these distributions, the authors derive a fundamental limit on query complexity.
Upper Bounds: A Two-Stage Algorithmic Framework
The proposed algorithm achieves the lower bound through a two-step process:
- Filtering: A sublinear number of queries is used to identify a small "candidate set" of variables likely to contain the '1' (for OR) or the maximum value (for MAX).
- Refinement: The algorithm then applies a robust "Tournament" method to this reduced set. Because the candidate set is small (e.g., $\log n$), the algorithm can afford a higher query density on these elements to ensure high confidence without exceeding the total query budget.
The Role of KL Divergence
A central insight of the paper is that the Kullback-Leibler (KL) divergence, $D_{KL}(p || 1-p)$, is the natural language for expressing noise sensitivity. Unlike previous proxies such as $(1-2p)^2$, the KL divergence precisely measures the information gain provided by each noisy query.
Key Results
The authors prove that for both OR and MAX, the expected number of queries $M$ required to achieve an error probability $\delta$ is:
$$E[M] \approx \frac{n \log(1/\delta)}{D_{KL}(p || 1-p)}$$
Significance of the Bound
- Tightness: The upper and lower bounds match up to a factor of $(1 \pm o(1))$, providing an exact characterization rather than just an order-of-magnitude estimate.
- Improved Precision: Compared to the 1994 Feige et al. results, this work provides a much tighter dependence on $p$, particularly in high-noise ($p \to 1/2$) and low-noise ($p \to 0$) regimes.
- Unification: The paper demonstrates that despite different query models (bit-reading vs. pairwise comparison), OR and MAX share the same fundamental complexity bottleneck: the identification of a single "special" element among $n$ candidates.
Discussion and Future Work
While the paper provides a definitive answer for most regimes, it identifies a "critical" regime where $p \to 0$ and $\frac{\log(1/\delta)}{\log(1/p)}$ is a constant. In this specific case, the bounds are tight only up to a constant factor, leaving the exact constant as an open problem.
Furthermore, the current model assumes "Binary Symmetric" noise, where the probability of error is uniform. Future research could explore asymmetric noise models or cases where noise is dependent on the values being compared, which would further extend the practical utility of these theoretical foundations in real-world noisy computing environments.
Summary updated