Interactive Correlation Clustering with Existential Cluster Constraints

Rico Angell, Nicholas Monath, Nishant Yadav, Andrew McCallumICML 2022

Introduction

Clustering is a foundational unsupervised machine learning task, but it rarely achieves perfect accuracy on the first pass. To refine results, researchers often rely on "interactive clustering," where human feedback guides the algorithm. Traditionally, this feedback is provided via pairwise constraints (e.g., "must-link" or "cannot-link" specific data points).

This paper introduces existential cluster constraints ($\exists$-constraints), a novel paradigm allowing users to guide clustering by describing the features a cluster should or should not possess, rather than linking individual points. By shifting feedback to the cluster level, the authors demonstrate that ground-truth accuracy can be achieved with roughly half the effort required by traditional methods.

The Flaws of Pairwise Constraints

While standard in interactive clustering, pairwise constraints suffer from three major drawbacks:

  1. Inefficiency: Fixing a large, noisy cluster requires a massive number of point-to-point links.
  2. Cognitive Load: Humans naturally categorize by shared traits, not by exhaustive pairwise comparisons. It is far more intuitive to specify "create a cluster for AI researchers at UMass" than to manually link dozens of individual researchers.
  3. Privacy Concerns: Pairwise constraints require users to inspect raw data. In sensitive domains like healthcare, it is preferable for users to guide clustering without exposing individual records.

A Feature-Based Solution: $\exists$-Constraints

To address these issues, the authors propose a framework built on Correlation Clustering, a graph-based method that does not require a pre-specified number of clusters. Instead of point-to-point links, users provide a constraint $\xi$ specifying:

  • Positive features: Traits that must be present in the cluster (e.g., "Last Name: Smith").
  • Negative features: Traits that must not be present (e.g., "Co-author: Bob Johnson").

Because finding a clustering partition that perfectly satisfies all such constraints is NP-hard, the authors designed a three-step inference pipeline:

  1. SDP Relaxation: The problem is formulated as an Integer Linear Program and relaxed into a Semidefinite Program (SDP) to compute "soft" affinities between data points and constraints.
  2. Sparse Cluster Trellis: The SDP outputs are used to construct a Directed Acyclic Graph (DAG) called a trellis, representing a vast space of possible hierarchical and flat clusterings.
  3. Trellis Cutting: A dynamic programming algorithm "cuts" the trellis to find the specific partition that maximizes satisfied $\exists$-constraints while optimizing the original clustering objective.

Key Insights

  • The Power of Compression: A single $\exists$-constraint acts as a "compressed" version of numerous pairwise constraints. The authors theoretically prove that $\exists$-constraints can be $\Omega(k^2)$ more efficient than pairwise constraints (where $k$ is the number of clusters).
  • Joint Clustering: The algorithm clusters both the data and the constraints simultaneously, allowing the model to learn which constraints refer to the same underlying entity.
  • Privacy-Preserving Feedback: Because feedback is feature-based, users can steer the system without viewing individual, potentially sensitive data points.

Experimental Results

The method was evaluated on three Author Coreference datasets (PubMed, QIAN, SCAD-zbMATH), where the goal is to group scientific paper mentions belonging to the same author. These datasets are ideal testbeds because authors are typically disambiguated by discrete meta-features like affiliations and co-authors.

The researchers simulated a human-in-the-loop process, measuring effort in Constraint Units (CUs) (one feature in an $\exists$-constraint equals one CU). Across all datasets, the existential cluster constraints (ECC) method reached ground truth significantly faster than traditional pairwise methods (MLCL).

Comparison of ECC vs Pairwise constraints on ARI metric

As shown above, the ECC method (blue line) climbs to perfect accuracy—an Adjusted Rand Index (ARI) of 1.0—much earlier than the baseline methods. On the SCAD-zbMATH dataset, ECC required only 361 CUs to reach ground truth, compared to 716 CUs for the best pairwise method, effectively halving the required effort.

Similar efficiency gains were observed for the Feature Match Coefficient (FMC), which measures how accurately the predicted cluster features align with the true features.

Comparison of ECC vs Pairwise constraints on FMC metric

Limitations and Future Work

While promising, the current framework has a few limitations:

  • Static Data Assumption: The model assumes a fixed dataset. Real-world applications often involve streaming data, requiring the system to update clusters and constraints dynamically.
  • Perfect User Assumption: The evaluation assumes the user (or oracle) provides flawless feedback. Future research must address "noisy" or malicious feedback containing incorrect feature constraints.
  • Feature Discovery: The system currently relies on predefined discrete features. Extending the framework to handle continuous features, raw text, or images would significantly broaden its real-world applicability.

Summary updated

BibTeX
@inproceedings{angell2022interactive,
  author = {Rico Angell and Nicholas Monath and Nishant Yadav and Andrew McCallum},
  title = {{Interactive Correlation Clustering with Existential Cluster Constraints}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=gbEdi7qUQ4},
}
Figure