Testing Graph Clusterability: Algorithms and Lower Bounds

Ashish Chiplunkar, Michael Kapralov, Sanjeev Khanna, Aida Mousavifar, Yuval Peres

Abstract

This paper addresses the fundamental challenge of identifying community structure in large-scale networks using sublinear-time algorithms. The authors develop a novel spectral algorithm to test if a graph can be partitioned into $k$ clusters with high internal conductance, requiring only a constant gap between "good" and "bad" cluster quality. This represents a significant improvement over previous state-of-the-art methods that required a logarithmic gap. To complement this, the authors introduce the "NoisyParities" problem to establish a matching lower bound, proving that their algorithm's query complexity is essentially optimal and breaking the traditional $n^{1/2}$ barrier in graph property testing.

Introduction

Graph clustering—the process of grouping vertices such that internal connections are denser than external ones—is a cornerstone of modern network analysis. As datasets grow to massive scales, it becomes impractical to examine every edge. This necessitates the development of sublinear-time algorithms, which can determine the structural properties of a graph by sampling only a tiny fraction of its vertices and edges.

In this work, the authors focus on conductance as the primary metric for cluster quality. Conductance measures the "bottleneckedness" of a set of vertices; low conductance indicates a clear community structure, while high conductance suggests a well-expanded, highly connected set. The core problem is distinguishing between a graph that has $k$ high-quality clusters (the YES case) and one that is "far" from having such a structure (the NO case).

The Challenge of the Conductance Gap

Previous research in sublinear graph testing often relied on a "logarithmic gap." This meant algorithms could only reliably distinguish between very high-quality clusters and very poor ones, where the ratio of their conductance parameters was proportional to $\log n$. This paper tackles the more difficult regime where the gap is a constant, pushing the analysis closer to the theoretical limits of what can be detected via sampling.

Algorithmic Innovation: From Distances to Spectral Angles

Traditional sublinear testers typically sample nodes and estimate the Euclidean ($L_2$) distance between their random walk distributions. The intuition is that if two nodes reside in the same cluster, their random walk distributions should overlap significantly. However, $L_2$ distances are often too blunt to detect the subtle structural differences present when the conductance gap is small.

The Spectral Approach

Instead of simple pairwise distance checks, the authors introduce a more refined spectral approach:

  1. Seed Sampling: The algorithm samples a small set of "seed" nodes.
  2. Gram Matrix Construction: It constructs a Gram matrix based on the transition probabilities of random walks starting from these seeds. This matrix effectively captures the "angles" between distribution vectors, providing a richer geometric representation than scalar distances.
  3. Eigenvalue Analysis: By analyzing the $(k+1)$-st largest eigenvalue of this Gram matrix, the algorithm can detect if the graph is hiding more than $k$ distinct clusters. This spectral "canary in the coal mine" provides a robust signal for clusterability even in the presence of noise.

Establishing Optimality: The NoisyParities Game

To prove that their algorithm is near-optimal, the authors design a new communication game called NoisyParities. In this theoretical framework, an adversary hides a partition of a graph and provides noisy labels on the edges (indicating whether an edge crosses the partition or not).

The authors prove that any algorithm requires $n^{1/2 + \Omega(\epsilon)}$ queries to successfully identify the structure in this game. This result is significant because it breaks the $n^{1/2}$ "birthday paradox" barrier. In many graph problems, once you sample $\sqrt{n}$ nodes, you expect to see cycles; in a noise-free environment, these cycles reveal the graph's structure. However, the NoisyParities proof shows that when noise is present, a single cycle is insufficient. One needs to find many cycles to "cancel out" the noise, which exponentially increases the required query complexity.

Key Results and Applications

  • Upper Bound: The authors provide a randomized algorithm for $k$-clusterability with a query complexity of $\tilde{O}(n^{1/2 + O(\phi_{out}/\phi_{in}^2)})$. This is the first sublinear tester to operate effectively with a constant conductance gap.
  • Lower Bound: They establish a matching lower bound of $n^{1/2 + \Omega(\epsilon)}$ for the NoisyParities problem, confirming the algorithm's efficiency.
  • Max-Cut Implications: The research also yields new lower bounds for approximating the MAX-CUT value in sublinear time. It demonstrates that achieving an approximation factor better than 2 is fundamentally difficult under these sampling constraints.

Conclusion and Future Directions

This work provides a tighter characterization of the complexity of graph clustering. While the algorithm is sublinear, its complexity remains sensitive to the conductance parameters (the "exponential exponents"). Future research may focus on refining the variance bounds to see if the algorithm performs even better in practice than the current proofs suggest, or extending these spectral techniques to other definitions of community structure beyond conductance.

Summary updated

BibTeX
@inproceedings{chiplunkar2018testing,
  author = {Ashish Chiplunkar and Michael Kapralov and Sanjeev Khanna and Aida Mousavifar and Yuval Peres},
  title = {{Testing Graph Clusterability: Algorithms and Lower Bounds}},
  booktitle = {FOCS},
  year = {2018},
  doi = {10.1109/focs.2018.00054},
}
Figure