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

Correlation Clustering Beyond the Pivot Algorithm

Soheil Behnezhad, Moses Charikar, Vincent Cohen-Addad, Alma Ghafari, Weiyun ma

Introduction

Correlation clustering is a fundamental unsupervised learning task where the goal is to group $n$ objects based on pairwise relationships. Given a list of pairs labeled as either "similar" or "dissimilar," the objective is to create clusters that minimize "disagreements"—specifically, false positives (dissimilar items placed in the same cluster) and false negatives (similar items split across different clusters).

For years, the PIVOT algorithm (Ailon et al., 2005) has been the gold standard for this problem. Its approach is incredibly simple: pick a random object (a "pivot"), group it with all its "similar" neighbors to form a cluster, remove them, and repeat. While PIVOT is fast and easy to implement in parallel or dynamic settings (where relationships change over time), it has a hard mathematical limit: it can never guarantee an answer better than 3 times the optimal cost.

While complex algorithms using Linear Programming can achieve better approximations (down to ~1.437), they are far too slow for the massive, fast-changing graphs found in modern web applications. The challenge has been to find an algorithm as lightweight as PIVOT but with greater accuracy. This paper tackles this long-standing bottleneck, introducing MODIFIEDPIVOT, an algorithm that breaks the decade-old 3-approximation barrier while remaining efficient enough for massive, dynamic datasets.

The MODIFIEDPIVOT Algorithm

The authors propose MODIFIEDPIVOT, which builds upon the classic PIVOT logic but introduces crucial "local refinement" steps. When a pivot $v$ is chosen, the algorithm does not simply group all its neighbors blindly. Instead, it identifies two specific sets of vertices to refine the cluster:

  • Moving Dissimilar Neighbors: If a neighbor of the pivot has a neighborhood that looks very different from the pivot’s, it is likely a "mistake" by PIVOT. MODIFIEDPIVOT moves a subsample of these vertices into their own singleton clusters.
  • Moving Similar Non-Neighbors: Conversely, if a vertex is not a neighbor of the pivot but shares a very similar neighborhood, it probably belongs in the pivot's cluster. The algorithm pulls a subsample of these into the current cluster.

The key innovation here is subsampling. Moving all such vertices can actually degrade the clustering quality in certain cases. By only moving a carefully calculated fraction of these vertices, the algorithm maintains stability and improves the overall approximation. This demonstrates that global, expensive optimization is not strictly necessary to beat the 3-approximation limit; local, greedy adjustments with the right amount of randomness are sufficient. Furthermore, by looking at "second-order" information—how many neighbors two nodes share—MODIFIEDPIVOT makes more informed clustering decisions than PIVOT, which only considers direct edges.

Empirical and Theoretical Results

The authors evaluated MODIFIEDPIVOT on both real-world graphs (including 14 datasets from the University of Florida Sparse Matrix Collection) and synthetic benchmarks (Stochastic Block Models).

Theoretical Guarantees and Dynamic Efficiency

Theoretically, the authors prove that MODIFIEDPIVOT achieves a $3 - \epsilon_0$ approximation ratio, specifically demonstrating a ratio of 2.997. While the numerical improvement over 3.0 might seem small, breaking this threshold is a major theoretical milestone. Additionally, the authors show that these local moves can be tracked using advanced data structures in polylogarithmic time. This means that as the graph changes, the clustering can be updated almost instantly, resolving a 5-year-old open problem in dynamic graph algorithms and providing the first better-than-3 approximation in a fully dynamic setting.

Empirical Superiority

In practical tests on real-world data, MODIFIEDPIVOT consistently outperformed PIVOT. On average, the new algorithm made less than 77% of the mistakes that PIVOT made, representing a significant reduction in clustering errors.

Disagreements for Modified Pivot vs. Pivot

Limitations and Future Work

The primary limitation acknowledged by the authors is that the constant $\epsilon_0$ (the amount by which they beat the factor of 3) is currently quite small in the theoretical proof. However, they suggest that the "true" approximation ratio of this approach might be much lower in practice.

Future work could involve optimizing the algorithm's parameters to push the theoretical bound closer to the observed empirical results. Additionally, researchers could explore applying these "local move" techniques to other clustering objectives beyond correlation clustering, and simplifying the complex "fractional charging" proof technique used to analyze the algorithm.

Summary updated

BibTeX
@inproceedings{behnezhad2025correlation,
  author = {Soheil Behnezhad and Moses Charikar and Vincent Cohen-Addad and Alma Ghafari and Weiyun ma},
  title = {{Correlation Clustering Beyond the Pivot Algorithm}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=OzQLuoKMQZ},
}
Figure