This seminal paper by Bansal, Blum, and Chawla (2004) introduces Correlation Clustering, a powerful and elegant framework for partitioning data that sidesteps one of the most annoying hurdles in machine learning: choosing the number of clusters ($k$) beforehand. By focusing on maximizing the consistency between pairwise labels and the final partition, the authors provide a robust theoretical foundation for tasks like document deduplication and entity resolution.
TL;DR
The authors define "Correlation Clustering," where data is partitioned based on pairwise "similar" (+) or "different" (-) labels without pre-specifying the number of clusters. They prove the problem is NP-hard and provide the first approximation algorithms—a constant-factor approximation for minimizing disagreements and a PTAS for maximizing agreements.
What Problem Does This Paper Address?
In traditional clustering (like $k$-means or $k$-median), the user must provide the number of clusters, $k$, as an input. However, in many real-world applications—such as clustering search results by topic or merging duplicate records in a database—the "correct" number of clusters is unknown and should emerge naturally from the data.
The authors tackle this by representing the problem as a complete graph where every edge is labeled either $+$ (should be in the same cluster) or $-$ (should be in different clusters). The goal is to find a partition that minimizes "disagreements" (a $-$ edge inside a cluster or a $+$ edge between clusters). Unlike other graph partitioning problems like Min-Cut, there is no penalty for creating many clusters or one giant cluster; the objective function itself regulates the cluster count based on the evidence provided by the edge labels.
Methods
The paper approaches the problem from two algorithmic angles:
- Minimizing Disagreements: The authors present a constant-factor approximation algorithm. The core of their approach involves identifying "clean" clusters—groups of vertices where most internal edges are $+$ and most external edges are $-$. They use a greedy-style algorithm called Algorithm Cautious to peel away these clean clusters one by one.
- Maximizing Agreements: For this objective, they provide a Polynomial Time Approximation Scheme (PTAS). This means for any error margin $\epsilon$, the algorithm can find a solution within a $(1-\epsilon)$ factor of the optimum. They achieve this by using random sampling to estimate the density of edges between potential clusters, building on techniques from graph property testing and dense graph partitioning.
Datasets
As a theoretical computer science paper, this work focuses on algorithmic proofs and complexity analysis rather than empirical benchmarking.
- No specific datasets were used for training or evaluation.
- The authors cite motivation from real-world problems at Whizbang Labs regarding document and entity clustering, but the paper remains strictly focused on the mathematical properties of the proposed algorithms.
Key Insights and Ideas
- The "Erroneous Triangle" Constraint: The fundamental "unit" of a clustering mistake is a triangle of three nodes with two $+$ edges and one $-$ edge. In any valid clustering, at least one of these edges must be violated. The authors use the number of such edge-disjoint triangles as a lower bound for the total number of mistakes.
- Duality of Objectives: While maximizing agreements and minimizing disagreements are equivalent at the point of the optimal solution, they behave very differently in terms of approximation. For example, a 2-approximation for maximizing agreements is trivial (just put everyone in one cluster or everyone in their own), but achieving a constant-factor approximation for minimizing disagreements is a significant challenge.
- Agnostic Learning Connection: The problem can be viewed as "agnostic learning" of a partition. We have a hypothesis class (all possible partitions) and noisy labels, and we want to find the hypothesis that correlates best with the labels.
Key Results
- NP-Hardness: The authors prove that finding the optimal correlation clustering is NP-hard by reducing it from the "Partition into Triangles" problem.
- Constant-Factor Approximation: They successfully demonstrate a constant-factor approximation for the minimization problem (later work mentioned in the paper's post-script improved this factor to 4).
- PTAS for Agreements: They prove that a PTAS exists for the maximization version, showing that we can get arbitrarily close to the optimal number of agreements in polynomial time (though the exponent is high).
- Robustness to Noise: The paper shows that if the edge labels are generated from a "true" clustering with random noise (error rate $\nu < 1/2$), simple greedy algorithms can recover the original clustering with high probability.
Limitations and Future Work
- Computational Complexity of the PTAS: While the PTAS is polynomial in the number of vertices $n$, the running time is exponential in $1/\epsilon$. This makes it theoretically interesting but practically slow for very high precision.
- Complete Graphs: The primary focus is on complete graphs (where every pair has a label). While they touch on extensions, real-world data is often sparse, and extending these guarantees to general graphs is a noted area for further research.
- Tightness of Bounds: The authors leave open whether the lower bound provided by "erroneous triangles" is tight, suggesting that a better understanding of this could lead to even tighter approximation factors.
Summary updated