skip to main content
10.1145/2897518.2897656acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
research-article

Deterministic and probabilistic binary search in graphs

Published: 19 June 2016 Publication History

Abstract

We consider the following natural generalization of Binary Search: in a given undirected, positively weighted graph, one vertex is a target. The algorithm’s task is to identify the target by adaptively querying vertices. In response to querying a node q, the algorithm learns either that q is the target, or is given an edge out of q that lies on a shortest path from q to the target. We study this problem in a general noisy model in which each query independently receives a correct answer with probability p > 1/2 (a known constant), and an (adversarial) incorrect one with probability 1 − p.
Our main positive result is that when p = 1 (i.e., all answers are correct), log2 n queries are always sufficient. For general p, we give an (almost information-theoretically optimal) algorithm that uses, in expectation, no more than (1 − δ) logn/1 − H(p) + o(logn) + O(log2 (1/δ)) queries, and identifies the target correctly with probability at leas 1 − δ. Here, H(p) = −(p logp + (1 − p) log(1 − p)) denotes the entropy. The first bound is achieved by the algorithm that iteratively queries a 1-median of the nodes not ruled out yet; the second bound by careful repeated invocations of a multiplicative weights algorithm.
Even for p = 1, we show several hardness results for the problem of determining whether a target can be found using K queries. Our upper bound of log2 n implies a quasipolynomial-time algorithm for undirected connected graphs; we show that this is best-possible under the Strong Exponential Time Hypothesis (SETH). Furthermore, for directed graphs, or for undirected graphs with non-uniform node querying costs, the problem is PSPACE-complete. For a semi-adaptive version, in which one may query r nodes each in k rounds, we show membership in Σ2k−1 in the polynomial hierarchy, and hardness for Σ2k−5.

References

[1]
A. Abboud, A. Backurs, and V. Vassilevska Williams. Tight hardness results for LCS and other sequence similarity measures. In Proc. 56th IEEE Symp. on Foundations of Computer Science, 2015.
[2]
J. A. Aslam. Noise tolerant algorithms for learning and searching. PhD thesis, MIT, 1995.
[3]
Y. Ben-Asher and E. Farchi. The cost of searching in general trees versus complete binary trees. Technical report, 1997.
[4]
Y. Ben-Asher, E. Farchi, and I. Newman. Optimal search in trees. SIAM J. on Computing, 28(6):2090–2102, 1999.
[5]
M. Ben-Or and A. Hassidim. The bayesian learner is optimal for noisy binary search (and pretty good for quantum as well). In Proc. 49th IEEE Symp. on Foundations of Computer Science, pages 221–230, 2008.
[6]
R. S. Borgstrom and S. R. Kosaraju. Comparison-based search in the presence of errors. In Proc. 25th ACM Symp. on Theory of Computing, pages 130–136, 1993.
[7]
M. Braverman, Y. K. Ko, and O. Weinstein. Approximating the best Nash Equilibrium in n o(log n) -time breaks the Exponential Time Hypothesis. In Proc. 26th ACM-SIAM Symp. on Discrete Algorithms, pages 970–982, 2015.
[8]
K. Bringmann and M. Künnemann. Quadratic conditional lower bounds for string problems and dynamic time warping. In Proc. 56th IEEE Symp. on Foundations of Computer Science, 2015.
[9]
M. V. Burnashev and K. S. Zigangirov. An interval estimation problem for controlled observations. Problemy Peredachi Informatsii, 10:51–61, 1974.
[10]
C. Calabro, R. Impagliazzo, and R. Paturi. The complexity of satisfiability of small depth circuits. In Proc. of IWPEC 2009, volume 5917 of LNCS, pages 75–85, 2009.
[11]
R. Carmo, J. Donadelli, Y. Kohayakawa, and E. S. Laber. Searching in random partially ordered sets. Theoretical Computer Science, 321(1):41–57, 2004.
[12]
F. Cicalese, T. Jacobs, E. Laber, and M. Molinaro. On the complexity of searching in trees and partially ordered structures. Theoretical Computer Science, 412(50):6879–6896, 2011.
[13]
F. Cicalese, T. Jacobs, E. Laber, and C. Valentim. The binary identification problem for weighted trees. Theoretical Computer Science, 459:100–112, 2012.
[14]
F. Cicalese, D. Mundici, and U. Vaccaro. Least adaptive optimal search with unreliable tests. Theoretical Computer Science, 270(1–2):877–893, 2002.
[15]
D. Dereniowski. Edge ranking and searching in partial orders. Discrete Applied Mathematics, 156(13):2493–2500, 2008.
[16]
A. Dhagat, P. Gács, and P. Winkler. On playing “twenty questions” with a liar. In Proc. 3rd ACM-SIAM Symp. on Discrete Algorithms, pages 16–22, 1992.
[17]
R. H. Farrell. Asymptotic behavior of expected sample size in certain one sided tests. Annals of Mathematical Statistics, 35(1):36–72, 1964.
[18]
U. Feige, P. Raghavan, D. Peleg, and E. Upfal. Computing with noisy information. SIAM J. on Computing, 23(5):1001–1018, 1994.
[19]
W. Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American statistical association, 58(301):13–30, 1963.
[20]
M. Horstein. Sequential transmission using noiseless feedback. IEEE Trans. Inf. Theor., 9(3):136–143, 1963.
[21]
R. Impagliazzo and R. Paturi. On the complexity of k-SAT. Journal of Computer and System Sciences, 62:367–375, 2001.
[22]
A. V. Iyer, H. D. Ratliff, and G. Vijayan. Optimal node ranking of trees. Information Processing Letters, 28(5):225–229, 1988.
[23]
B. Jedynak, P. I. Frazier, and R. Sznitman. Twenty questions with noise: Bayes optimal policies for entropy loss. Journal of Applied Probability, 49(1):114–136, 2012.
[24]
C. Jordan. Sur les assemblages de lignes. Journal für die reine und angewandte Mathematik, 70:185–190, 1869.
[25]
R. M. Karp and R. Kleinberg. Noisy binary search and its applications. In Proc. 18th ACM-SIAM Symp. on Discrete Algorithms, pages 881–890, 2007.
[26]
D. J. Kleitman and J. Spencer. Families of k-independent sets. Discrete Mathematics, 6:255–262, 1973.
[27]
E. S. Laber, R. L. Milidi´ u, and A. A. Pessoa. On binary searching with non-uniform costs. In Proc. 12th ACM-SIAM Symp. on Discrete Algorithms, pages 855–864, 2001.
[28]
T. W. Lam and F. L. Yue. Edge ranking of graphs is hard. Discrete Applied Mathematics, 85(1):71–86, 1998.
[29]
T. W. Lam and F. L. Yue. Optimal edge ranking of trees in linear time. Algorithmica, 30(1):12–33, 2001.
[30]
N. Linial and M. Saks. Searching ordered structures. Journal of Algorithms, 6(1):86–103, 1985.
[31]
S. Mozes, K. Onak, and O. Weimann. Finding an optimal tree searching strategy in linear time. In Proc. 19th ACM-SIAM Symp. on Discrete Algorithms, pages 1096–1105, 2008.
[32]
M. Naghshvar, T. Javidi, and K. Chaudhuri. Bayesian active learning with non-persistent noise. IEEE Transactions on Information Theory, 61(7):4080–4098, 2015.
[33]
R. Nowak. Noisy generalized binary search. In Proc. 21st Advances in Neural Information Processing Systems, pages 1366–1374, 2009.
[34]
K. Onak and P. Parys. Generalization of binary search: Searching in trees and forest-like partial orders. In Proc. 47th IEEE Symp. on Foundations of Computer Science, pages 379–388, 2006.
[35]
C. Papadimitriou. Computational Complexity. Addison-Wesley, 1994.
[36]
A. Pedrotti. Searching with a constant rate of malicious lies. In Proceedings of the International Conference on Fun with Algorithms (FUN-98), pages 137–147, 1999.
[37]
A. Pelc. Searching with known error probability. Theoretical Computer Science, 63(2):185–202, 1989.
[38]
A. Pelc. Searching games with errors — fifty years of coping with liars. Theoretical Computer Science, 270(1–2):71–109, 2002.
[39]
A. Rényi. On a problem of information theory. MTA Mat.Kut.Int.Kozl., 6 B:505–516, 1961.
[40]
R. L. Rivest, A. R. Meyer, D. J. Kleitman, K. Winklmann, and J. Spencer. Coping with errors in binary search procedures. Journal of Computer and System Sciences, 20(3):396–404, 1980.
[41]
A. A. Schäffer. Optimal node ranking of trees in linear time. Information Processing Letters, 33(2):91–96, 1989.
[42]
S. M. Ulam. Adventures of a Mathematician. University of California Press, 1991.
[43]
R. Waeber, P. I. Frazier, and S. G. Henderson. Bisection search with noisy responses. SIAM Journal on Control and Optimization, 51(3):2261–2279, 2013.
[44]
S. Yan, K. Chaudhuri, and T. Javidi. Active learning from noisy and abstention feedback. In Allerton Conference on Communication, Control and Computing, 2015.

Cited By

View all
  • (2024)The Query Complexity of Searching Trees with Permanently Noisy AdviceACM Transactions on Algorithms10.1145/370720721:2(1-30)Online publication date: 5-Dec-2024
  • (2024)Combinatorial Generation via Permutation Languages. IV. Elimination TreesACM Transactions on Algorithms10.1145/368963321:1(1-41)Online publication date: 17-Dec-2024
  • (2023)Noisy Tree Data Structures and Quantum ApplicationsMathematics10.3390/math1122470711:22(4707)Online publication date: 20-Nov-2023
  • Show More Cited By

Index Terms

  1. Deterministic and probabilistic binary search in graphs

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    STOC '16: Proceedings of the forty-eighth annual ACM symposium on Theory of Computing
    June 2016
    1141 pages
    ISBN:9781450341325
    DOI:10.1145/2897518
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 19 June 2016

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Exponential-Time Hypothesis
    2. Noisy Binary Search
    3. PSPACE-hardness
    4. Quasipolynomial-Time Algorithms
    5. Searching in Metric Spaces

    Qualifiers

    • Research-article

    Conference

    STOC '16
    Sponsor:
    STOC '16: Symposium on Theory of Computing
    June 19 - 21, 2016
    MA, Cambridge, USA

    Acceptance Rates

    Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

    Upcoming Conference

    STOC '25
    57th Annual ACM Symposium on Theory of Computing (STOC 2025)
    June 23 - 27, 2025
    Prague , Czech Republic

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)41
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 01 Mar 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)The Query Complexity of Searching Trees with Permanently Noisy AdviceACM Transactions on Algorithms10.1145/370720721:2(1-30)Online publication date: 5-Dec-2024
    • (2024)Combinatorial Generation via Permutation Languages. IV. Elimination TreesACM Transactions on Algorithms10.1145/368963321:1(1-41)Online publication date: 17-Dec-2024
    • (2023)Noisy Tree Data Structures and Quantum ApplicationsMathematics10.3390/math1122470711:22(4707)Online publication date: 20-Nov-2023
    • (2023)Partial Order Multiway SearchACM Transactions on Database Systems10.1145/362695648:4(1-31)Online publication date: 13-Nov-2023
    • (2023)An Optimal Algorithm for Partial Order Multiway SearchACM SIGMOD Record10.1145/3604437.360445652:1(84-92)Online publication date: 8-Jun-2023
    • (2023)Technical Perspective: Optimal Algorithms for Multiway Search on Partial OrdersACM SIGMOD Record10.1145/3604437.360445552:1(83-83)Online publication date: 8-Jun-2023
    • (2023)Competitive Online Search Trees on TreesACM Transactions on Algorithms10.1145/359518019:3(1-19)Online publication date: 24-Jun-2023
    • (2023)A Unified Analysis of Dynamic Interactive Learning2023 59th Annual Allerton Conference on Communication, Control, and Computing (Allerton)10.1109/Allerton58177.2023.10313487(1-8)Online publication date: 26-Sep-2023
    • (2023)The complexity of bicriteria tree-depthTheoretical Computer Science10.1016/j.tcs.2022.12.032Online publication date: Jan-2023
    • (2023)Theoretical Analysis of Git BisectAlgorithmica10.1007/s00453-023-01194-086:5(1365-1399)Online publication date: 21-Dec-2023
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media