Non-Adaptive Edge Counting and Sampling via Bipartite Independent Set Queries

preprint2022arXivOpen access

Abstract

We study the problem of estimating the number of edges in an nn-vertex graph, accessed via the Bipartite Independent Set query model introduced by Beame et al. (ITCS '18). In this model, each query returns a Boolean, indicating the existence of at least one edge between two specified sets of nodes. We present a non-adaptive algorithm that returns a (1±ε)(1\pm ε) relative error approximation to the number of edges, with query complexity O~(ε−5log⁡5n)\tilde O(ε^{-5}\log^{5} n ), where O~(⋅)\tilde O(\cdot) hides poly(log⁡log⁡n)\textrm{poly}(\log \log n) dependencies. This is the first non-adaptive algorithm in this setting achieving poly(1/ε,log⁡n)\textrm{poly}(1/ε,\log n) query complexity. Prior work requires Ω(log⁡2n)Ω(\log^2 n) rounds of adaptivity. We avoid this by taking a fundamentally different approach, inspired by work on single-pass streaming algorithms. Moreover, for constant εε, our query complexity significantly improves on the best known adaptive algorithm due to Bhattacharya et al. (STACS '22), which requires O(ε−2log⁡11n)O(ε^{-2} \log^{11} n) queries. Building on our edge estimation result, we give the first non-adaptive algorithm for outputting a nearly uniformly sampled edge with query complexity O~(ε−6log⁡6n)\tilde O(ε^{-6} \log^{6} n), improving on the works of Dell et al. (SODA '20) and Bhattacharya et al. (STACS '22), which require Ω(log⁡3n)Ω(\log^3 n) rounds of adaptivity. Finally, as a consequence of our edge sampling algorithm, we obtain a O~(nlog⁡8n)\tilde O(n\log^ 8 n) query algorithm for connectivity, using two rounds of adaptivity. This improves on a three-round algorithm of Assadi et al. (ESA '21) and is tight; there is no non-adaptive algorithm for connectivity making o(n2)o(n^2) queries.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.