Random Subgraph Detection Using Queries

Wasim Huleihel, Arya Mazumdar, Soumyabrata Pal

TL;DR

This paper tackles the problem of finding a "hidden" dense subgraph within a larger random graph, but with a twist: we can only probe a limited number of edges. The authors establish tight theoretical bounds on how many edge queries are needed for detection, both statistically and computationally, and propose efficient algorithms that achieve these bounds. This work is significant because it bridges a gap between theoretical possibility and practical computability in graph analysis under resource constraints.

What Problem Does This Paper Address?

Imagine a social network where most people are loosely connected, but there's a small, tightly-knit community hidden within. The "planted densest subgraph" (PDS) problem is about detecting such a community. The challenge is that in real-world scenarios, we often can't see the entire network graph. Instead, we might only be able to query specific connections (edges) between individuals. This paper addresses the question of how many such edge queries are necessary and sufficient to reliably detect this hidden dense subgraph, especially when we can only make queries before seeing the results (non-adaptive queries). This is crucial for applications where data access is limited or expensive, like analyzing large-scale networks with privacy concerns.

Methods

The paper introduces a model where a "planted" dense subgraph (with edge probability $p$) is hidden within a larger random graph (with edge probability $q$). The key innovation is the use of non-adaptive edge queries. This means the algorithm decides which edges to query upfront, without seeing the results of previous queries.

The authors develop two main types of algorithms:

  • Scan Test: This algorithm subsamples a portion of the graph and then queries all edges within that subsample. It then looks for the densest subgraph of a specific size within this observed portion.
  • Degree Test: This algorithm focuses on identifying vertices with unusually high degrees (many connections) within a randomly selected subgraph.

The theoretical analysis involves:

  • Statistical Lower Bounds: Determining the absolute minimum number of queries required for any algorithm to distinguish between the null hypothesis (no planted subgraph) and the alternative (planted subgraph), ignoring computational cost. This is achieved by analyzing the statistical distinguishability of the two scenarios.
  • Computational Upper Bounds: Proving that their proposed algorithms can indeed detect the subgraph within a certain number of queries and in polynomial time.
  • Information-Theoretic Tools: Utilizing concepts like chi-square distance ($ \chi^2 $) and Kullback-Leibler (KL) divergence to quantify the difference between the distributions under the null and alternative hypotheses.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and algorithmic design for synthetic graph models.

Key Insights and Ideas

  • Query Complexity is Key: The number of edge queries is the primary resource constraint, and the paper precisely characterizes its impact on detectability.
  • Non-Adaptive Queries are Powerful: Surprisingly, for this problem, non-adaptive queries (where all queries are decided upfront) are nearly as powerful as adaptive ones for statistical detection, up to a constant factor.
  • Bridging Statistical and Computational Gaps: The paper establishes tight bounds that connect the theoretical limits of detection with the practical limits of polynomial-time algorithms, resolving long-standing questions.
  • The Role of Edge Densities: The required number of queries depends critically on the difference between the edge probabilities ($p$ and $q$), quantified by measures like $ \chi^2 $ distance.
  • Phase Diagram for Detectability: The authors provide a visual "phase diagram" showing when the problem is statistically impossible, computationally hard, or computationally easy, based on subgraph size and query budget.

Key Results

The paper provides tight characterizations of the query complexity for detecting a planted dense subgraph:

  • Statistical Lower Bound: For non-adaptive queries, the number of queries $Q$ must be at least $ \Omega\left(\frac{n^2}{k^2 \chi^2(p||q)} \log^2 n\right) $ to have a chance of detection.
  • Statistical Sufficiency: If $k \ge \Omega\left(\frac{n^2}{d_{KL}(p||q)} \log^2 n\right) $, detection is possible with $O\left(\frac{n^2}{k^2 d_{KL}(p||q)} \log^2 n\right) $ queries.
  • Computational Sufficiency: A polynomial-time algorithm exists that can detect the subgraph using $O\left(\frac{n^3}{k^3 \chi^2(p||q)} \log^3 n\right) $ queries.
  • Tightness for Planted Cliques: For the special case of planted cliques (where $p=1, q=1/2$), the bounds are shown to be completely tight, meaning they match up to constant factors.

Limitations and Future Work

  • Conjectural Gap: The paper conjectures a statistical-computational gap for certain regimes and suggests exploring average-case reductions from hard problems (like planted clique) or analyzing the limitations of existing algorithms (e.g., sum-of-squares) to provide evidence.
  • Constant Factor Gap: While bounds are tight, there's a multiplicative constant gap between the lower and upper bounds, which the authors believe stems from the lower bound's reliance on $ \chi^2 $ distance instead of KL divergence. They suggest a truncation procedure for the likelihood analysis as a potential path to close this.
  • Dependence on $n$ for $p, q$: The current analysis assumes $p$ and $q$ are fixed. Future work could explore regimes where $p$ and $q$ depend on $n$, which would make $ \chi^2(p||q) $ also dependent on $n$ and introduce new challenges.
  • Recovery Variants: The paper focuses on detection. Extending the analysis to subgraph recovery (finding the exact vertices of the planted subgraph) and partial recovery is suggested as an interesting future direction.

Summary updated

BibTeX
@article{huleihel2024random,
  author = {Wasim Huleihel and Arya Mazumdar and Soumyabrata Pal},
  title = {{Random Subgraph Detection Using Queries}},
  journal = {J. Mach. Learn. Res.},
  year = {2024},
}
Figure