826 research outputs found

    Deterministic and Probabilistic Binary Search in Graphs

    Full text link
    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 qq, the algorithm learns either that qq is the target, or is given an edge out of qq that lies on a shortest path from qq to the target. We study this problem in a general noisy model in which each query independently receives a correct answer with probability p>12p > \frac{1}{2} (a known constant), and an (adversarial) incorrect one with probability 1βˆ’p1-p. Our main positive result is that when p=1p = 1 (i.e., all answers are correct), log⁑2n\log_2 n queries are always sufficient. For general pp, we give an (almost information-theoretically optimal) algorithm that uses, in expectation, no more than (1βˆ’Ξ΄)log⁑2n1βˆ’H(p)+o(log⁑n)+O(log⁑2(1/Ξ΄))(1 - \delta)\frac{\log_2 n}{1 - H(p)} + o(\log n) + O(\log^2 (1/\delta)) queries, and identifies the target correctly with probability at leas 1βˆ’Ξ΄1-\delta. Here, H(p)=βˆ’(plog⁑p+(1βˆ’p)log⁑(1βˆ’p))H(p) = -(p \log p + (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=1p = 1, we show several hardness results for the problem of determining whether a target can be found using KK queries. Our upper bound of log⁑2n\log_2 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 rr nodes each in kk rounds, we show membership in Ξ£2kβˆ’1\Sigma_{2k-1} in the polynomial hierarchy, and hardness for Ξ£2kβˆ’5\Sigma_{2k-5}

    Optimal distance query reconstruction for graphs without long induced cycles

    Full text link
    Let G=(V,E)G=(V,E) be an nn-vertex connected graph of maximum degree Ξ”\Delta. Given access to VV and an oracle that given two vertices u,v∈Vu,v\in V, returns the shortest path distance between uu and vv, how many queries are needed to reconstruct EE? We give a simple deterministic algorithm to reconstruct trees using Ξ”nlog⁑Δn+(Ξ”+2)n\Delta n\log_\Delta n+(\Delta+2)n distance queries and show that even randomised algorithms need to use at least 1100Ξ”nlog⁑Δn\frac1{100} \Delta n\log_\Delta n queries in expectation. The best previous lower bound was an information-theoretic lower bound of Ξ©(nlog⁑n/log⁑log⁑n)\Omega(n\log n/\log \log n). Our lower bound also extends to related query models including distance queries for phylogenetic trees, membership queries for learning partitions and path queries in directed trees. We extend our deterministic algorithm to reconstruct graphs without induced cycles of length at least kk using OΞ”,k(nlog⁑n)O_{\Delta,k}(n\log n) queries, which includes various graph classes of interest such as chordal graphs, permutation graphs and AT-free graphs. Since the previously best known randomised algorithm for chordal graphs uses OΞ”(nlog⁑2n)O_{\Delta}(n\log^2 n) queries in expectation, we both get rid off the randomness and get the optimal dependency in nn for chordal graphs and various other graph classes. Finally, we build on an algorithm of Kannan, Mathieu, and Zhou [ICALP, 2015] to give a randomised algorithm for reconstructing graphs of treelength kk using OΞ”,k(nlog⁑2n)O_{\Delta,k}(n\log^2n) queries in expectation.Comment: 35 page

    Reconstructing Biological and Digital Phylogenetic Trees in Parallel

    Get PDF
    In this paper, we study the parallel query complexity of reconstructing biological and digital phylogenetic trees from simple queries involving their nodes. This is motivated from computational biology, data protection, and computer security settings, which can be abstracted in terms of two parties, a responder, Alice, who must correctly answer queries of a given type regarding a degree-d tree, T, and a querier, Bob, who issues batches of queries, with each query in a batch being independent of the others, so as to eventually infer the structure of T. We show that a querier can efficiently reconstruct an n-node degree-d tree, T, with a logarithmic number of rounds and quasilinear number of queries, with high probability, for various types of queries, including relative-distance queries and path queries. Our results are all asymptotically optimal and improve the asymptotic (sequential) query complexity for one of the problems we study. Moreover, through an experimental analysis using both real-world and synthetic data, we provide empirical evidence that our algorithms provide significant parallel speedups while also improving the total query complexities for the problems we study

    A Quasi-Polynomial Time Partition Oracle for Graphs with an Excluded Minor

    Full text link
    Motivated by the problem of testing planarity and related properties, we study the problem of designing efficient {\em partition oracles}. A {\em partition oracle} is a procedure that, given access to the incidence lists representation of a bounded-degree graph G=(V,E)G= (V,E) and a parameter \eps, when queried on a vertex v∈Vv\in V, returns the part (subset of vertices) which vv belongs to in a partition of all graph vertices. The partition should be such that all parts are small, each part is connected, and if the graph has certain properties, the total number of edges between parts is at most \eps |V|. In this work we give a partition oracle for graphs with excluded minors whose query complexity is quasi-polynomial in 1/\eps, thus improving on the result of Hassidim et al. ({\em Proceedings of FOCS 2009}) who gave a partition oracle with query complexity exponential in 1/\eps. This improvement implies corresponding improvements in the complexity of testing planarity and other properties that are characterized by excluded minors as well as sublinear-time approximation algorithms that work under the promise that the graph has an excluded minor.Comment: 13 pages, 1 figur
    • …
    corecore