Abstract
We study an online version of the noisy binary search problem where feedback is generated by a non-stochastic adversary rather than perturbed by random noise. We reframe this as maintaining an accurate estimate of sample statistics like the median, mean, and cumulative distribution function (CDF) under adversarial conditions. We demonstrate that while randomness in queries is essential to counter an adaptive adversary, near-optimal estimation is achievable for complex statistics.
Introduction
Consider a scenario where you need to estimate sensitive statistics, such as income distribution, through a survey. Respondents may be reluctant to provide exact figures but are often willing to answer binary comparison questions, such as "Is your income greater than $50,000?" This type of interaction is known as comparison feedback.
In theoretical computer science, this is traditionally modeled as "noisy binary search." However, standard models typically assume that noise or data follows a predictable, independent and identically distributed (i.i.d.) pattern. This paper investigates a more challenging setting: adversarial sequences. If an adversary chooses a sequence $x_1, x_2, \dots, x_t$ to intentionally mislead an algorithm, can we still accurately estimate the median, mean, or the entire Cumulative Distribution Function (CDF) using only single threshold queries $1(x_t \leq q_t)$?
Methodology
The research moves beyond traditional binary search techniques, which are vulnerable to adversarial manipulation, and proposes algorithms centered on randomized thresholding.
- CDFEST Algorithm: To estimate the CDF, the algorithm avoids deterministic search patterns. Instead, it selects a query $q_t$ uniformly at random from the range $[n]$ at each step. This approach generates an unbiased estimate of the indicator function for every possible value in the domain.
- MEANEST Algorithm: For mean estimation, the algorithm similarly employs uniform random querying and averages the resulting feedback.
- Adversarial Analysis: The authors utilize martingale theory and Bernstein-type inequalities to prove that these randomized strategies converge to true values, even against adaptive adversaries who choose $x_t$ based on previous queries.
- Lower Bound Proofs: By constructing "two-phase" adversaries, the authors demonstrate that any deterministic algorithm will suffer a constant error, establishing randomness as a fundamental requirement for robustness.
Key Insights and Ideas
The core of the adversarial challenge lies in the predictability of the learner. If an algorithm is deterministic, an adversary can consistently place values just outside the threshold, preventing convergence.
- The Median is Hard: In stochastic settings, finding the median is often simpler than learning the full distribution. However, against an adversary, finding the median is as difficult as learning the entire CDF. An adversary can hide the "mass" of the distribution anywhere, necessitating $\Omega(n)$ queries to identify an $\epsilon$-good median (a value whose CDF is within $1/2 \pm \epsilon$).
- The Mean is Efficient: Surprisingly, estimating the mean is significantly more efficient than the median. The query complexity for the mean is independent of the range $n$, whereas median estimation depends linearly on $n$.
- Uniformity as Robustness: While uniform sampling may appear simplistic, it serves as the most effective defense against adversaries attempting to exploit specific search heuristics.
Key Results
The paper establishes several performance bounds for estimation under adversarial conditions:
- CDF and Median Estimation: The
CDFESTalgorithm achieves an error of $\epsilon$ with $O(n \log n / \epsilon^2)$ queries. The authors provide a matching lower bound, confirming this as the optimal rate. - Mean Estimation: The
MEANESTalgorithm achieves an error of $\epsilon$ with $O(1/\epsilon^2)$ queries, representing a major efficiency gain over median estimation. - The Stochastic-Adversarial Gap: In a purely stochastic setting, the CDF can be estimated in $O(\log n)$ queries. The jump to $O(n)$ in the adversarial setting quantifies the "price of robustness."
Conclusion and Future Directions
While the linear dependence on $n$ for median estimation is a theoretical necessity against a worst-case adversary, it presents practical challenges for large data ranges. Future research may explore "intermediate" adversaries, such as drifting distributions that are neither perfectly static nor fully adversarial. Additionally, extending these concepts to high-dimensional spaces and geometric medians remains an open challenge. The connection between this feedback model and online convex programming suggests a promising path toward general online optimization tools that rely solely on comparison data.
Summary updated