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

Local correlation clustering

Francesco Bonchi, David García-Soriano, Konstantin KutzkovarXiv 2013

Introduction

Correlation clustering is a fundamental technique in unsupervised learning where the objective is to partition a set of objects based on pairwise similarity. Unlike traditional methods like k-means, correlation clustering does not require the number of clusters ($k$) to be specified in advance. Instead, it seeks to minimize "disagreements"—cases where similar objects are placed in different clusters or dissimilar objects are grouped together.

While conceptually elegant, correlation clustering faces a massive scalability bottleneck. Standard algorithms typically require $O(n^2)$ complexity because they must consider the similarity between every possible pair of objects. In the era of big data, where $n$ can reach millions or billions, computing and storing trillions of similarity scores is computationally prohibitive. This paper introduces the first local algorithms for correlation clustering, enabling the determination of an object's cluster membership in constant time, independent of the total dataset size.

Problem Formulation

The core challenge addressed is how to find the cluster for a single item by examining only a tiny, local fraction of the data. By shifting from global computations to a query-based local approach, the authors provide a theoretical foundation for clustering with sublinear time complexity. This is achieved by interacting with an "oracle" that can answer queries of the form: "Are objects $x$ and $y$ similar?"

Proposed Local Algorithms

The authors propose two primary algorithmic frameworks that provide different trade-offs between accuracy and computational efficiency.

1. The Pivot-Based Approach

Inspired by the QuickCluster algorithm, this method provides a $(3, \epsilon)$-approximation. The algorithm selects a small set of "pivots" from a random sample of the data. To determine the cluster for a specific vertex $v$, the algorithm simply identifies which pivot $v$ is most similar to. This effectively defines clusters "in reverse" by using a constant-sized set of global representatives to partition the space, allowing for extremely fast local lookups.

2. The Matrix Decomposition Approach

For scenarios requiring higher accuracy, the authors utilize the Frieze-Kannan Weak Regularity Lemma. This approach provides a $(1, \epsilon)$-approximation by approximating the massive adjacency matrix of the similarity graph using a "cut decomposition." This low-rank approximation can be queried locally, allowing the algorithm to find a clustering that is nearly as good as the global optimum (an additive PTAS).

Key Insights and Theoretical Contributions

Locality and Scalability

By proving that a cluster label can be computed in time independent of $n$, the authors demonstrate that clustering can be performed in parallel across distributed systems without the need for massive data shuffling. This locality is the key to handling datasets that are too large to fit into the memory of a single machine.

Additive vs. Multiplicative Error

A significant theoretical insight of this work is the trade-off between error types. The authors show that while achieving a perfect multiplicative approximation is impossible in sublinear time, an additive error (on the order of $\epsilon n^2$) is achievable. For big data applications, a tiny fraction of misplaced edges is often an acceptable trade-off for an algorithm that can actually terminate in a reasonable timeframe.

Streaming and Property Testing

Because these algorithms are local, they naturally extend to the semi-streaming model, where memory is limited to $O(n)$. Furthermore, they can be utilized in property testing to quickly estimate the "clusterability" of a graph before committing to a full computation.

Key Results

  • Constant Time per Vertex: A $(4, \epsilon)$-approximation can be found locally in $O(1/\epsilon^2)$ time. This means the time to label one vertex does not increase even as the dataset grows from a million to a billion objects.
  • Optimal Explicit Clustering: To cluster all $n$ objects, the algorithm requires $O(n/\epsilon)$ time, which is provably optimal for this class of problems.
  • Fastest PTAS: The $(1, \epsilon)$-approximation represents the fastest polynomial-time approximation scheme for correlation clustering known at the time of publication, with a running time of $n \cdot poly(1/\epsilon) + 2^{poly(1/\epsilon)}$.
  • Lower Bounds: The authors prove that any algorithm providing a constant-factor approximation must make at least $\Omega(n/\epsilon)$ queries to output a full clustering, justifying the efficiency of their proposed local approach.

Limitations and Future Directions

Despite the theoretical breakthroughs, certain limitations remain. The high-accuracy $(1, \epsilon)$ algorithm exhibits an exponential dependence on $1/\epsilon$ ($2^{poly(1/\epsilon)}$), which may become a bottleneck if extremely high precision is required. Additionally, the current work focuses primarily on binary similarity (0 or 1) and dense graphs. Extending these local techniques to weighted similarity scores and very sparse graphs remains a fertile ground for future research.

Summary updated

BibTeX
@misc{bonchi2013local,
  author = {Francesco Bonchi and David García-Soriano and Konstantin Kutzkov},
  title = {{Local correlation clustering}},
  year = {2013},
  eprint = {1312.5105},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1312.5105},
}
Figure