When Local and Non-Local Meet: Quadratic Improvement for Edge Estimation with Independent Set Queries
Tomer Adar, Yahel Hotam, Amit Levi
TL;DR
This work analyzes edge estimation on unknown graphs under a hybrid query model that fuses independent-set queries with local degree and neighbor queries. The authors introduce an advice-based, two-sequence guessing algorithm that partitions edges by vertex degree and estimates each part with IS-assisted sampling, achieving a tight $(1\pm\varepsilon)$-approximation of the edge count $m$ with query complexity $O\left(\min\left(\sqrt{m}, \sqrt{\frac{n}{\sqrt{m}}}\right)\cdot \frac{\log n}{\varepsilon^{5/2}}\right)$. They also prove a nearly matching lower bound via a string-distinction reduction and a canonical graph construction, showing a quadratic improvement in the hybrid model relative to each individual model. The results demonstrate the complementary strengths of IS and local queries and establish near-optimal trade-offs for edge counting in sublinear time, with significant implications for sublinear graph analysis where multiple query primitives are available.
Abstract
We study the problem of estimating the number of edges in an unknown graph. We consider a hybrid model in which an algorithm may issue independent set, degree, and neighbor queries. We show that this model admits strictly more efficient edge estimation than either access type alone. Specifically, we give a randomized algorithm that outputs a $(1\pm\varepsilon)$-approximation of the number of edges using $O\left(\min\left(\sqrt{m}, \sqrt{\frac{n}{\sqrt{m}}}\right)\cdot\frac{\log n}{\varepsilon^{5/2}}\right)$ queries, and prove a nearly matching lower bound. In contrast, prior work shows that in the local query model (Goldreich and Ron, \textit{Random Structures \& Algorithms} 2008) and in the independent set query model (Beame \emph{et al.} ITCS 2018, Chen \emph{et al.} SODA 2020), edge estimation requires $\widetildeΘ(n/\sqrt{m})$ queries in the same parameter regimes. Our results therefore yield a quadratic improvement in the hybrid model, and no asymptotically better improvement is possible.
