NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Pruned Pivot: Correlation Clustering Algorithm for Dynamic, Parallel, and Local Computation Models

Mina Dalirrooyfard, Konstantin Makarychev, Slobodan Mitrović

Introduction

Correlation clustering is a fundamental unsupervised learning task used to group objects based on pairwise similarity. Given a set of objects and labels indicating whether pairs are "similar" (+1) or "dissimilar" (-1), the objective is to minimize the number of disagreements—specifically, positive edges between different clusters and negative edges within the same cluster.

While the classic Pivot algorithm is widely considered the gold standard for this NP-hard problem due to its elegant 3-approximation and linear runtime, it faces significant scalability challenges. In modern contexts involving massive data, graphs are often dynamic (constantly changing), distributed across multiple machines (Parallel/MPC), or too large to be stored in memory (Local/LCA). In these scenarios, the standard Pivot approach is hindered by its requirement for global knowledge. This paper introduces Pruned Pivot, a localized variant that enables near-optimal clustering using only a tiny, local neighborhood of any given node.

The Pruned Pivot Algorithm

The core innovation of this work is the transformation of the global Pivot process into a localized query. To understand Pruned Pivot, one must first consider the standard Pivot algorithm: it selects a random node as a "pivot," clusters it with all its currently unclustered neighbors, and repeats the process. This creates a recursive dependency where a node's cluster assignment depends on the pivots selected before it.

Pruned Pivot modifies this recursion by imposing a strict "budget" on the search:

  1. The Query Tree: For any specific node $u$, the algorithm explores a query tree of potential pivots that could influence $u$'s assignment.
  2. Pruning Mechanism: If the number of recursive calls (the size of the query tree) exceeds a predefined constant $k$, the algorithm halts the search.
  3. Handling Unlucky Nodes: If a node’s cluster cannot be determined within the budget $k$, it is designated as "unlucky" and placed into its own singleton cluster.

By limiting the search to a constant size $k$, the algorithm becomes inherently local. The authors utilize sophisticated probabilistic analysis, specifically involving supermartingales, to prove that even with this aggressive pruning, the approximation ratio only degrades slightly from 3 to $(3 + \epsilon)$, where $\epsilon$ is a function of $1/k$.

Theoretical and Computational Contributions

The Pruned Pivot algorithm provides significant theoretical breakthroughs across several computational models:

  • Dynamic Graphs: It provides the first fully dynamic algorithm for correlation clustering that runs in expected amortized constant time. Crucially, the update time is $O(1/\epsilon)$, meaning the time required to update the clustering after an edge modification is entirely independent of the total number of nodes ($n$) in the graph.
  • Massively Parallel Computation (MPC): The algorithm achieves a $(3 + \epsilon)$-approximation in $O(\log 1/\epsilon)$ rounds. This represents an exponential speedup over previous parallel algorithms that required $O(1/\epsilon)$ rounds, even when operating with sublinear memory per machine.
  • Local Computation Algorithms (LCA): The algorithm resolves a previously open research question by achieving a $(3 + \epsilon)$-approximation with $O(\Delta/\epsilon)$ probes, where $\Delta$ is the maximum degree of the graph.

Empirical Validation

The researchers evaluated Pruned Pivot using synthetic graphs generated via the Stochastic Block Model (SBM). These graphs consisted of 600 nodes divided into three partitions, with high internal edge probability (0.9) and low external edge probability (0.1).

The simulations demonstrated that the theoretical "unlucky node" trade-off is highly efficient in practice. Exploring as few as 4 nodes ($k=4$) was sufficient for Pruned Pivot to remain within 1% of the cost of the full, non-pruned Pivot algorithm. This confirms that most query paths in correlation clustering are naturally short, and locality is sufficient for high-quality clustering.

Conclusion and Future Work

Pruned Pivot demonstrates that global oversight is not a prerequisite for effective correlation clustering. By sacrificing a negligible fraction of nodes to singleton clusters, the algorithm gains massive efficiency in parallel and dynamic environments.

While the current work focuses primarily on unweighted graphs, the authors suggest that these local pruning techniques could be extended to weighted scenarios or alternative clustering objectives, such as maximum agreement. Currently, while more complex Linear Programming (LP) solvers can achieve a 1.437-approximation, Pruned Pivot remains the most viable solution for the massive, high-velocity datasets where LP approaches are computationally prohibitive.

Summary updated

BibTeX
@inproceedings{dalirrooyfard2024pruned,
  author = {Mina Dalirrooyfard and Konstantin Makarychev and Slobodan Mitrović},
  title = {{Pruned Pivot: Correlation Clustering Algorithm for Dynamic, Parallel, and Local Computation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=saP7s0ZgYE},
}
Figure