Graph Clustering in All Parameter Regimes

Junhao Gan, David F. Gleich, Nate Veldt, Anthony Wirth, Xin Zhang

Abstract

Graph clustering typically involves a resolution parameter $\lambda$ that determines the density and size of the resulting clusters. Selecting the "correct" $\lambda$ is a persistent challenge. This work proves that for a wide class of objectives, specifically the LambdaPrime variant of Correlation Clustering, the entire spectrum of optimal solutions can be captured by a surprisingly small set of clusterings. We prove that the number of exact solution transitions is at most linear in the number of edges, and a $(1+\epsilon)$-approximation can be achieved with only $O(\log n)$ clusterings.

Introduction

Graph clustering aims to identify groups of nodes with dense internal connections. However, the definition of a "good" cluster is often scale-dependent. Researchers use a resolution parameter $\lambda$ to navigate this trade-off: lower values favor large, coarse communities, while higher values yield smaller, tighter cliques. Traditionally, exploring this parameter space required solving the clustering problem repeatedly for various $\lambda$ values. This paper addresses the fundamental question: how many distinct clusterings are necessary to cover the entire resolution spectrum?

The LambdaPrime Framework

The authors focus on LambdaPrime, a parametric objective function related to Correlation Clustering. A key discovery is that the optimal clustering score, when plotted against $\lambda$, forms a concave, piecewise-linear curve.

Figure 4: (a) A small graph, (b) its LambdaPrime solution curve showing discrete breakpoints, and (c) the approximation of the curve using linear pieces.

The "breakpoints" on this curve represent values of $\lambda$ where the optimal clustering configuration changes. While one might expect an exponential number of such transitions, the authors prove that for LambdaPrime, there are at most $|E|$ breakpoints, where $|E|$ is the number of edges in the graph.

Algorithmic Approach

Since exact graph clustering is NP-hard, the research utilizes Linear Programming (LP) relaxations. The problem is treated as a parametric linear program. To efficiently explore the parameter space, the authors developed the Frontier Extension (FE) algorithm. FE solves the LP at a specific $\lambda$, determines the interval where that solution remains a $(1+\epsilon)$-approximation, and then iteratively moves to the next unsolved segment. This is followed by Backward Elimination (FEBE) to prune redundant solutions, ensuring a near-minimal set of clusterings.

Theoretical Results

The paper provides several rigorous bounds based on specific graph architectures like star and ring graphs:

  • Exact Bound: A family of at most $|E|$ clusterings contains the exact optimal solution for every $\lambda \in (0, 1)$.
  • Logarithmic Approximation: For any $\epsilon > 0$, a set of $O(\log n)$ clusterings provides a $(1+\epsilon)$-approximation to the LP relaxation across the entire range of $\lambda$.
  • Tightness: Using ring graphs, the authors demonstrate that the $\Omega(\log n)$ requirement is strictly necessary, making their upper bound asymptotically optimal.

Conclusion and Future Work

This work significantly reduces the complexity of multi-resolution graph clustering. By showing that a logarithmic number of solutions suffices for a high-quality approximation, it provides a theoretical foundation for identifying "stable" clusters—those that persist across wide ranges of $\lambda$. Future research will focus on reducing the computational overhead of solving multiple LPs and extending these bounds to other popular objectives like Modularity or Normalized Cut.

Summary updated

BibTeX
@inproceedings{gan2020graph,
  author = {Junhao Gan and David F. Gleich and Nate Veldt and Anthony Wirth and Xin Zhang},
  title = {{Graph Clustering in All Parameter Regimes}},
  booktitle = {MFCS},
  year = {2020},
  doi = {10.4230/lipics.mfcs.2020.39},
}
Figure