Variational perspective on local graph clustering

Kimon Fountoulakis, Farbod Roosta-Khorasani, Julian Shun, Xiang Cheng, Michael W. Mahoney

Abstract

Local graph clustering is essential for analyzing massive networks where global computation is infeasible. This paper establishes a formal optimization foundation for the popular Approximate Personalized PageRank (APPR) algorithm. By proving that APPR is equivalent to a coordinate descent solver for an $\ell_1$-regularized variational problem, the authors bridge graph theory and numerical optimization. This connection allows for the application of global optimization techniques like the Iterative Shrinkage-Thresholding Algorithm (ISTA) in a "localized" manner, enabling efficient discovery of high-quality clusters without full graph traversal.

Introduction

In the era of massive data, global graph clustering—analyzing an entire network to find communities—is often computationally impossible. Instead, researchers utilize local graph clustering to find well-connected clusters around specific "seed" nodes. The gold standard for this task has been the Approximate Personalized PageRank (APPR) algorithm. However, APPR was originally designed from a purely algorithmic perspective as a set of "push" rules. Lacking a formal objective function or optimality conditions, it was difficult to theoretically quantify how heuristic tweaks affected performance or to apply advanced optimization techniques. This paper addresses this gap by uncovering the variational principles underlying APPR.

Methods: A Variational Formulation

The authors derive a variational formulation for local graph clustering, proving that the steps taken by APPR are equivalent to a coordinate descent solver minimizing an $\ell_1$-regularized PageRank objective function. They define the problem as minimizing: $$\psi(\mathbf{q}) := \rho\alpha\|\mathbf{D}^{1/2}\mathbf{q}\|_1 + f(\mathbf{q})$$ where $f(\mathbf{q})$ is a quadratic function related to the PageRank linear system.

Algorithm 1: The Coordinate Solver (APPR) interpreted as an optimization routine.

By establishing this link, the authors adapt the Iterative Shrinkage-Thresholding Algorithm (ISTA)—a staple in signal processing—to solve this formulation. Crucially, they prove that if ISTA is initialized correctly, it maintains sparsity throughout its iterations. This "localization" ensures that the algorithm only needs to access nodes near the seed, making its running time independent of the total number of nodes in the graph.

Experimental Evaluation

The approach was evaluated using large-scale undirected graphs from the Stanford Network Analysis Project (SNAP), including:

  • wiki-Talk: Wikipedia communication network (~2.4M nodes).
  • soc-LJ: LiveJournal social network (~4.8M nodes).
  • cit-Patents: US patent citation network (~6M nodes).
  • com-Orkut: Online social network (~3M nodes, ~117M edges).

Key Results

  • Theoretical Equivalence: The authors formally proved that APPR's termination criteria are essentially the first-order optimality conditions of their $\ell_1$ problem.
  • Performance and Efficiency: In empirical tests, the ISTA-based solver achieved nearly identical conductance (cluster quality) and sparsity (number of non-zero nodes) as traditional APPR. On the Orkut dataset, the algorithms efficiently identified tight clusters of ~440 nodes despite the graph's 117M edges.

Discussion and Insights

This work connects two previously disjoint fields: combinatorial graph processing and continuous numerical optimization. By defining an objective function, the authors decouple the problem (finding a sparse, local cluster) from the algorithm (the specific solver). This means any convergent optimization algorithm applied to this formula will yield high-quality clusters.

The use of $\ell_1$ regularization is central to this framework; it is what enforces the "locality" of the solution, ensuring the output is a manageable cluster rather than a broad distribution across the graph. While the current model is highly effective, future work may explore accelerated methods like FISTA or automated parameter tuning for the teleportation ($\alpha$) and regularization ($\rho$) constants.

Summary updated

BibTeX
@article{fountoulakis2019variational,
  author = {Kimon Fountoulakis and Farbod Roosta-Khorasani and Julian Shun and Xiang Cheng and Michael W. Mahoney},
  title = {{Variational perspective on local graph clustering}},
  journal = {Math. Program.},
  year = {2019},
  doi = {10.1007/s10107-017-1214-8},
}
Figure