Edge Estimation with Independent Set Oracles

Paul Beame, Sariel Har-Peled, Sivaramakrishnan Natarajan Ramamoorthy, Cyrus Rashtchian, Makrand Sinha

TL;DR

This paper introduces highly efficient algorithms for estimating the number of edges in a graph using "independent set" oracles. The authors demonstrate that while a bipartite independent set oracle allows for an estimate with just polylogarithmic queries, the standard independent set oracle is significantly more restricted, requiring a sub-polynomial but much larger number of queries.

What Problem Does This Paper Address?

Estimating the number of edges ($m$) in a large graph is a fundamental task in network analysis. Traditionally, algorithms rely on "local" queries: asking for the degree of a vertex, checking if a specific pair of vertices has an edge, or requesting the $i$-th neighbor of a vertex. However, these local methods often require a large number of queries—typically proportional to $\sqrt{n}$ or more—to get an accurate estimate.

The authors explore a different approach using "non-local" queries, motivated by fields like group testing and computational geometry. They consider two types of oracles:

  1. BIS (Bipartite Independent Set): Given two disjoint sets of vertices $U$ and $V$, is there any edge between them?
  2. IS (Independent Set): Given a set of vertices $U$, are there any edges with both endpoints in $U$?

The core challenge is to determine how many of these "emptiness" queries are needed to produce a $(1 \pm \epsilon)$-approximation of the total edge count.

Methods

The paper's primary contribution is a recursive "Sparsify and Reduce" framework for the BIS oracle.

  • Sparsification via Coloring: The algorithm randomly colors vertices and focuses only on edges between specific color pairs. This reduces the total edge count in subproblems while maintaining a statistically sound estimate of the original total.
  • Coarse Estimation: Before diving deep, a fast subroutine provides a rough estimate (within a factor of $O(\log^2 n)$) to guide the process.
  • Importance Sampling: To keep the number of subproblems manageable, the algorithm uses importance sampling to select a representative subset of subgraphs for further recursion, effectively reducing variance.
  • Exact Counting (The Quadtree approach): When a subproblem is small enough, the algorithm uses a deterministic divide-and-conquer method—analogous to building a quadtree over the adjacency matrix—to count edges exactly.
A depiction of one level of the BIS algorithm, showing coloring, sparsification, and importance sampling steps.

For the IS oracle, the task is harder because an IS query cannot easily distinguish between edges within a group and edges between groups. The authors develop a different strategy involving a "Growing Search" to find the right scale and a "Shrinking Search" based on edge sampling.

Datasets

Not discussed in the paper. This is a theoretical work focused on algorithmic complexity and mathematical proofs rather than empirical testing on specific datasets.

Key Insights and Ideas

  • The Power of Non-Locality: Non-local queries like BIS are exponentially more powerful than local queries for edge estimation. Moving from local to BIS queries shifts the complexity from polynomial ($\sqrt{n}$) to polylogarithmic ($\log^c n$).
  • The BIS vs. IS Dichotomy: There is a surprising gap between the two oracles. While BIS allows for polylogarithmic query complexity, IS queries are fundamentally more limited. The authors show that estimating a single vertex's degree with IS queries can require $\Omega(n/\text{deg}(v))$ queries in the worst case.
  • Bridging Decision and Counting: The work provides a robust way to turn "decision" oracles (is it empty?) into "counting" tools (how many are there?) in a graph context, a theme often seen in computational geometry but less explored in sub-linear graph algorithms.

Key Results

The authors provide two main algorithmic bounds, significantly improving upon prior work:

  • BIS Oracle: They achieve a $(1 \pm \epsilon)$-approximation using only $\text{polylog}(n)$ queries (specifically $O(\epsilon^{-4} \log^{14} n)$). This is a massive improvement over the previous best of $n \cdot \text{polylog}(n)$.
  • IS Oracle: They achieve the same approximation using $n^{2/3} \cdot \text{polylog}(n)$ queries.

The table below compares these new results with existing local and non-local query methods.

Comparison of the best known algorithms for edge estimation across different query types.

Limitations and Future Work

  • High Polylog Exponents: While "polylogarithmic" is theoretically efficient, the actual exponent in the BIS algorithm ($\log^{14} n$) is quite high. Reducing this exponent is a clear path for future optimization.
  • Other Graph Parameters: A natural next step is investigating whether BIS or IS queries can efficiently estimate more complex structures, such as the number of triangles or $k$-cliques, with similar sub-polynomial query complexity.
  • Closing the IS Gap: The IS algorithm's complexity is still relatively high. While the authors provide some lower bounds, determining the absolute optimal query complexity for IS oracles remains an open area of interest.

Summary updated

BibTeX
@inproceedings{beame2018edge,
  author = {Paul Beame and Sariel Har-Peled and Sivaramakrishnan Natarajan Ramamoorthy and Cyrus Rashtchian and Makrand Sinha},
  title = {{Edge Estimation with Independent Set Oracles}},
  booktitle = {ITCS},
  year = {2018},
  doi = {10.4230/lipics.itcs.2018.38},
}
Figure