[Paper Review] On Learning Graphs with Edge-Detecting Queries
This paper presents novel randomized algorithms for learning an unknown graph using edge-detecting queries, where each query checks if a subset of vertices contains at least one edge. It resolves two open problems: achieving $O(m\log n)$ queries even when the number of edges $m$ is unknown, and reducing rounds to $O(\log^* n)$ without increasing query complexity. The key contribution is a $O(\log^* n)$-round Las Vegas algorithm with optimal query count.
We consider the problem of learning a general graph $G=(V,E)$ using edge-detecting queries, where the number of vertices $|V|=n$ is given to the learner. The information theoretic lower bound gives $m\log n$ for the number of queries, where $m=|E|$ is the number of edges. In case the number of edges $m$ is also given to the learner, Angluin-Chen's Las Vegas algorithm \cite{AC08} runs in $4$ rounds and detects the edges in $O(m\log n)$ queries. In the other harder case where the number of edges $m$ is unknown, their algorithm runs in $5$ rounds and asks $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(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 $m$ is unknown) we give two algorithms. The first is an $O(1)$-round Las Vegas algorithm that asks $m\log n+\sqrt{m}(\log^{[k]}n)\log n$ queries for any constant $k$ where $\log^{[k]}n=\log \stackrel{k}{\cdots} \log n$. The second is an $O(\log^*n)$-round Las Vegas algorithm that asks $O(m\log n)$ queries. This solves the first open problem for any practical $n$, for example, $n<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 $m$ is known. We first show that any non-adaptive Monte Carlo algorithm (one-round) must ask at least $Ω(m^2\log n)$ queries, and any two-round Las Vegas algorithm must ask at least $m^{4/3-o(1)}\log n$ queries on average. We then give two two-round Monte Carlo algorithms, the first asks $O(m^{4/3}\log n)$ queries for any $n$ and $m$, and the second asks $O(m\log n)$ queries when $n>2^m$. Finally, we give a $3$-round Monte Carlo algorithm that asks $O(m\log n)$ queries for any $n$ and $m$.
Motivation & Objective
- To resolve the open problem of reducing query complexity to $O(m\log n)$ when the number of edges $m$ is unknown in graph learning with edge-detecting queries.
- To reduce the number of rounds in graph learning algorithms without significantly increasing the number of queries, particularly for the case when $m$ is unknown.
- To establish tight lower bounds on query complexity for non-adaptive and two-round algorithms under Monte Carlo and Las Vegas models.
- To design efficient algorithms that achieve optimal or near-optimal query complexity with minimal rounds, especially in practical settings where $n < 2^{65536}$.
Proposed method
- Proposes a $k$-round Las Vegas algorithm that uses iterative degree estimation via $\log^{[k]}n$-level logarithmic nesting to bound error in edge detection, achieving $m\log n + \sqrt{m}(\log^{[k]}n)\log n$ queries.
- Introduces a $\log^* n$-round algorithm that estimates vertex degrees with high probability using $p$-random queries and leverages concentration bounds to identify non-edges efficiently.
- Employs a $p$-random query strategy where $p$ is adaptively chosen based on estimated degrees to maximize the probability of detecting non-edges in each query.
- Uses independent set and neighborhood analysis to bound the success probability of detecting non-edges, ensuring that $O(d_u \log n)$ queries suffice per vertex $u$.
- Applies a layered query strategy where queries are generated with decreasing probability $p$ to balance coverage and detection efficiency.
- Proves that no deterministic algorithm can solve the problem in constant rounds, establishing a fundamental limitation of deterministic approaches.
Experimental results
Research questions
- RQ1Can the query complexity be reduced to $O(m\log n)$ when the number of edges $m$ is unknown, matching the information-theoretic lower bound?
- RQ2Can the number of rounds be reduced to $O(\log^* n)$ while maintaining $O(m\log n)$ query complexity in the unknown-$m$ setting?
- RQ3What are the tight lower bounds on query complexity for two-round Monte Carlo and Las Vegas algorithms when $m$ is known?
- RQ4Is there a constant-round deterministic algorithm that achieves $O(m\log n)$ queries for learning graphs with edge-detecting queries?
Key findings
- An $O(\log^* n)$-round Las Vegas algorithm achieves $O(m\log n)$ queries for learning graphs when $m$ is unknown, solving the first open problem for all practical $n < 2^{65536}$.
- A $k$-round Las Vegas algorithm achieves $m\log n + \sqrt{m}(\log^{[k]}n)\log n$ queries for any constant $k$, improving over prior $O(m\log n + \sqrt{m}\log^2 n)$ bounds.
- No deterministic algorithm can solve the problem in a constant number of rounds, establishing a fundamental limitation of deterministic approaches.
- For known $m$, any non-adaptive Monte Carlo algorithm must ask $\Omega(m^2\log n)$ queries, and any two-round Las Vegas algorithm must ask $m^{4/3-o(1)}\log n$ queries on average.
- A three-round Monte Carlo algorithm achieves $O(m\log n)$ queries for any $n$ and $m$, and a two-round Monte Carlo algorithm achieves $O(m^{4/3}\log n)$ queries for all $n$ and $m$.
- When $n > 2^m$, a two-round Monte Carlo algorithm achieves $O(m\log n)$ queries, showing that query complexity can be optimal under certain parameter regimes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.