TL;DR
Standard noisy binary search algorithms often suffer from enormous constant factors and multiplicative failure-probability overheads, making theoretical improvements worse than naive repetition in practice. This paper introduces BayesianScreeningSearch, an algorithm for noisy binary search with monotonically increasing error probabilities that achieves the information-theoretically optimal leading constant $\frac{1}{C_{\tau, \varepsilon}}\log_2 n$ alongside an additive (rather than multiplicative) dependence on $\log(1/\delta)$. As a result, it bridges the theory-practice gap, outperforming naive repetition for realistic problem sizes ($n > 10^3$).
What Problem Does This Paper Address?
In classic binary search, each query tells you unambiguously whether your target $i^*$ is to the left or right. In many real-world settings, queries are stochastic: flipping coin $i$ yields heads with unknown probability $p_i$, where probabilities are monotonic ($p_1 \le p_2 \le \dots \le p_n$). The goal is to find an index where $p_i$ crosses a threshold $\tau \pm \varepsilon$. This model—Monotonic Noisy Binary Search (MonotonicNBS)—captures settings like determining lethal drug doses ($\text{LD}_{50}$), identifying empirical sample complexities of algorithms, or running git-bisect under flaky tests.
Earlier fixed-noise models assumed $p_i \in \{\frac{1}{2} - \varepsilon, \frac{1}{2} + \varepsilon\}$, but MonotonicNBS allows coins near the boundary to have intermediate biases, making them nearly indistinguishable from the target. Karp and Kleinberg (2007) proved an asymptotic query complexity of $O(\frac{1}{\varepsilon^2} \log n \log \frac{1}{\delta})$. However, their algorithms incurred massive constants (ranging from $\approx 31$ to over $2000$), meaning naive binary search with repetition was actually faster for any practical $n$ ($n \le 10^{10^{11}}$). Furthermore, their failure penalty $\log(1/\delta)$ was multiplicative rather than additive.
Methods
The authors introduce BayesianScreeningSearch, combining information-theoretic Bayesian updating with frequentist screening:
- Optimal Bayesian Updates (
BayesLearn): Instead of using conservative heuristic step sizes, the algorithm treats noisy binary search as transmission over a binary asymmetric channel (BAC). It computes the capacity-achieving quantile $q$ of the current posterior and updates weights using exact likelihood ratios ($1 \pm 2\varepsilon$). - Submartingale Potential Analysis: When multiple coins have intermediate biases, Bayesian posteriors can wander without concentrating on any single coin. The authors construct a potential function combining posterior weight and a tally of visited valid intervals. Using Freedman's inequality, they prove that running
BayesLearnfor $(1 + O(\gamma))\frac{1}{C_{\tau,\varepsilon}}\log_2 n$ steps guarantees that at least a $\gamma$-fraction of the queried intervals are $(\tau, \varepsilon)$-good. - Quantile Screening and Recursion: By subsampling $\gamma$-quantiles from the queried history, the algorithm shrinks the candidate pool to size $O(1/\gamma) = O(\log n)$. It then runs a lightweight recursive search and estimates coin biases directly with error $\pm \frac{\varepsilon - \varepsilon'}{2}$, where $\varepsilon' = (1 - o(1))\varepsilon$.
- Shannon's Strong Converse: Using information theory, they establish lower bounds matching the leading constant for both worst-case and expected query complexity.
[ 1 ... n ] (Full search space)
│
▼ BayesLearn for (1 + O(γ)) / C_{τ,ε} * log₂ n steps
[ History L ] (γ-fraction guaranteed (τ,ε)-good)
│
▼ Extract γ-quantiles
[ Candidates R ] (Size reduced to O(log n))
│
▼ Recursive search + Coin bias verification
[ Correct Interval ] (Success w.p. 1 - δ)
Datasets
The authors evaluate their approach on four simulated benchmark distributions:
- Standard: $p_i \in \{\tau - \varepsilon, \tau + \varepsilon\}$ with $\tau = 0.5, \varepsilon = 0.1$, and a uniformly random threshold.
- Biased: $p_i \in \{\tau - \varepsilon, \tau + \varepsilon\}$ with an asymmetric target $\tau = 0.75, \varepsilon = 0.1$.
- Lopsided: $p_i \in \{\tau - 0.6\varepsilon, \tau + \varepsilon\}$ with $\tau = 0.5, \varepsilon = 0.1$.
- Wide: A "fuzzy" boundary of size $10 \log n$ linearly interpolating between $\tau - \varepsilon$ and $\tau + \varepsilon$.
Key Insights and Ideas
- Capacity as the Fundamental Limit: The query complexity is governed by the asymmetric binary channel capacity $C_{\tau, \varepsilon} \approx \frac{\varepsilon^2}{2\tau(1-\tau)\ln 2}$. The optimal query point is not always the median ($q = 1/2$), but a skewed quantile $q \approx \frac{1}{2} \pm O(\frac{\varepsilon}{\tau(1-\tau)})$.
- Frequentist Guarantees from Bayesian History: Even when the Bayesian posterior fails to isolate the exact answer due to flat, ambiguous regions, it inevitably spends a constant fraction of its time querying valid intervals.
- Additive Failure Probability: By decoupling the bulk search (which costs $\approx \frac{1}{C_{\tau,\varepsilon}}\log_2 n$) from the verification phase, $\log(1/\delta)$ becomes an additive lower-order term rather than a multiplicative penalty.
Key Results
- Tight Upper Bound: For any constant target $\tau \in (0, 1)$, the algorithm succeeds with probability $1 - \delta$ using at most: $$\frac{1}{C_{\tau,\varepsilon}} \left(\log_2 n + O\left(\log^{2/3} n \log^{1/3} \frac{1}{\delta} + \log \frac{1}{\delta}\right)\right) \text{ queries.}$$
- Matching Lower Bound: Shannon's Strong Converse shows that any algorithm requires at least $(1 - \gamma)\frac{1}{C_{\tau,\varepsilon}}\log_2 n$ queries with probability $1 - \delta - o(1)$.
- Empirical Superiority:
- For $n \ge 10^3$ and $\varepsilon = 0.1$,
BayesianScreeningSearchuses fewer queries than naive repetition (e.g., $2.3\times$ fewer samples at $n = 10^9$). - Prior algorithms from Karp & Kleinberg performed dramatically worse: at $n = 1000$, their backtracking variant required $> 2.9 \times 10^6$ samples, whereas
BayesianScreeningSearchused $< 6000$.
Limitations and Future Work
- Lack of Instance Adaptivity: If an instance is substantially easier (e.g., all coins have bias $|p_i - \tau| \ge \alpha \gg \varepsilon$), the algorithm still queries based on $\varepsilon$ rather than achieving the faster $O(\frac{\log n}{\alpha^2})$ rate.
- Impact of Lower-Order Terms: Although asymptotically negligible, lower-order terms (such as recursive verification steps) accounted for roughly 28% of the sample budget in experiments.
- Conjectured Simpler Selector: The authors conjecture that taking the median of the last $\gamma \cdot \text{OPT}$ queried intervals directly from
BayesLearncould completely remove the need for recursive subroutines.
Summary updated