120

On Learning Graphs with Edge-Detecting Queries

Abstract

We consider the problem of learning a general graph G=(V,E)G=(V,E) using edge-detecting queries, where the number of vertices V=n|V|=n is given to the learner. The information theoretic lower bound gives mlognm\log n for the number of queries, where m=Em=|E| is the number of edges. In case the number of edges mm is also given to the learner, Angluin-Chen's Las Vegas algorithm \cite{AC08} runs in 44 rounds and detects the edges in O(mlogn)O(m\log n) queries. In the other harder case where the number of edges mm is unknown, their algorithm runs in 55 rounds and asks O(mlogn+mlog2n)O(m\log n+\sqrt{m}\log^2 n) queries. There have been two open problems: \emph{(i)} can the number of queries be reduced to O(mlogn)O(m\log n) in the second case, and, \emph{(ii)} can the number of rounds be reduced without substantially increasing the number of queries (in both cases). For the first open problem (when mm is unknown) we give two algorithms. The first is an O(1)O(1)-round Las Vegas algorithm that asks mlogn+m(log[k]n)lognm\log n+\sqrt{m}(\log^{[k]}n)\log n queries for any constant kk where log[k]n=logklogn\log^{[k]}n=\log \stackrel{k}{\cdots} \log n. The second is an O(logn)O(\log^*n)-round Las Vegas algorithm that asks O(mlogn)O(m\log n) queries. This solves the first open problem for any practical nn, for example, n<265536n<2^{65536}. We also show that no deterministic algorithm can solve this problem in a constant number of rounds. To solve the second problem we study the case when mm is known. We first show that any non-adaptive Monte Carlo algorithm (one-round) must ask at least Ω(m2logn)\Omega(m^2\log n) queries, and any two-round Las Vegas algorithm must ask at least m4/3o(1)lognm^{4/3-o(1)}\log n queries on average. We then give two two-round Monte Carlo algorithms, the first asks O(m4/3logn)O(m^{4/3}\log n) queries for any nn and mm, and the second asks O(mlogn)O(m\log n) queries when n>2mn>2^m. Finally, we give a 33-round Monte Carlo algorithm that asks O(mlogn)O(m\log n) queries for any nn and mm.

View on arXiv
Comments on this paper