Abstract
Local graph clustering is a fundamental task in network analysis, aimed at identifying a community of nodes around a specific seed set. Traditionally, this task has been approached through two distinct lenses: fast but "leaky" spectral methods and robust but computationally intensive combinatorial flow methods. This paper introduces $p$-norm flow diffusion, a unified convex optimization framework that bridges these two paradigms. By adjusting a single parameter $p$, the framework allows for a continuous trade-off between computational efficiency and noise robustness. We provide a "strongly local" randomized coordinate descent algorithm that scales with the size of the target cluster rather than the entire graph, making it suitable for massive datasets.
Introduction
In the era of massive relational data, identifying local structures—such as social communities, protein families, or functional modules—is critical. The goal of local graph clustering is to find a set of nodes $C$ that is well-connected internally but sparsely connected to the rest of the graph, starting from a small set of seed nodes.
Historically, the field has been divided. Spectral methods, such as those based on PageRank or heat kernels, are numerically efficient but often suffer from "leakage," where the diffusion spreads across thin bridges into unrelated parts of the graph. Conversely, combinatorial methods based on max-flow/min-cut principles offer high robustness to noise and sharp boundaries but are mathematically complex and often lack the smooth scalability of numerical solvers. This research proposes a middle ground: a family of $p$-norm flow problems that generalizes both approaches.
The p-Norm Flow Framework
The core contribution of this work is the formulation of local clustering as a convex optimization problem. The authors define a primal-dual pair that characterizes the diffusion process:
- The Primal Problem: This involves minimizing the $p$-norm of a network flow subject to capacity constraints. It interprets diffusion as the process of routing mass from seed nodes to the rest of the graph with minimum cost.
- The Dual Problem: This assigns "heights" to nodes to maximize the separation between the seed set and the remainder of the graph, constrained by the $q$-norm of the edge lengths (where $1/p + 1/q = 1$).
The $p$-Norm Dial
The parameter $p$ acts as a dial for the algorithm's behavior. When $p=2$, the method recovers behavior similar to spectral methods, providing Cheeger-type conductance guarantees. As $p \to \infty$, the method approaches the behavior of combinatorial max-flow methods. A key insight of the paper is that intermediate values, such as $p=4$, often provide the "best of both worlds"—offering significantly better noise resistance than spectral methods while remaining computationally tractable.
Strongly Local Optimization
To make the framework practical for billion-scale graphs, the authors developed a randomized coordinate descent algorithm to solve a globally smoothed version of the dual objective. A critical property of this solver is that it is strongly local: its running time depends only on the volume of the initial mass (the seeds) and the target cluster, not the total number of nodes in the graph.
By proving that the dual variables move monotonically during the optimization process, the authors ensure that the algorithm does not "wander" into irrelevant portions of the graph. This allows the solver to identify small communities in massive networks, such as Orkut, in a matter of milliseconds.
Experimental Evaluation
The authors evaluated the $p$-norm flow diffusion framework across a variety of synthetic and real-world benchmarks:
- The Dumbbell Test: On a graph consisting of two clusters connected by a thin bridge, 2-norm diffusion (spectral) leaked across the bridge. In contrast, 4-norm and 8-norm diffusion correctly identified the cluster containing the seeds, demonstrating superior boundary detection.
- Biological Data (Sfld): In protein sequence similarity networks, $p$-norm methods (specifically $p=4$) achieved higher F1 scores and lower conductance than both $\ell_1$-regularized PageRank and nonlinear power diffusion, particularly in noisy settings.
- Social Networks (Facebook100 & Orkut): The method successfully recovered student communities based on attributes in the Facebook100 dataset. On the Orkut graph (117 million edges), the algorithm demonstrated its scalability, maintaining efficiency even when the global graph was too large for non-local methods.
Conclusion and Future Work
$p$-norm flow diffusion provides a theoretically grounded and practically flexible framework for local graph clustering. By moving from algorithm-centric definitions to objective-centric ones, the authors have decoupled the goal of clustering from the specific solver, allowing for the application of modern optimization techniques to graph problems.
While the current work focuses on simple graphs, the authors suggest that the $p$-norm framework could be extended to hypergraphs and used as a primitive for other tasks, such as semi-supervised learning or network centrality measures. Future research may also focus on automated ways to tune the $p$ parameter and the initial mass $\Delta$ to further simplify the deployment of these methods on unknown datasets.
Summary updated