Individual Preference Stability for Clustering

Saba Ahmadi, Pranjal Awasthi, Samir Khuller, Matthäus Kleindessner, Jamie Morgenstern, Pattara Sukprasert, Ali Vakilian

Introduction

Traditional clustering algorithms, such as $k$-means, typically optimize a global objective like minimizing the sum of squared distances to centroids. While effective for finding global patterns, these methods do not guarantee that individual data points are "satisfied" with their assignments. A point might be assigned to a cluster where it is, on average, very dissimilar to its peers, even if a better-fitting cluster exists elsewhere.

To bridge this gap, researchers have proposed Individual Preference (IP) stability, a novel clustering criterion inspired by game theory (Nash equilibria) and individual fairness. In an IP-stable clustering, every data point is, on average, closer to its own cluster members than to those of any other cluster. This ensures no single point has an incentive to "switch" groups, a property particularly relevant in applications like personalized marketing or educational grouping where individual fit is paramount.

Theoretical Foundations and Methods

Finding IP-stable clusterings presents significant theoretical challenges. The authors prove, via a reduction from a variant of 3-SAT, that deciding whether an IP-stable clustering exists is NP-hard for general metric spaces, even for just two clusters ($k=2$).

Despite this hardness, the paper identifies efficient algorithms for special cases and robust approximation techniques:

  • The Real Line: An IP-stable clustering always exists on a 1D line. The authors provide an $O(kn)$ dynamic programming algorithm to find one efficiently while allowing for secondary objectives, like matching target cluster sizes.
  • Tree Metrics: A "rotation-based" algorithm is developed to efficiently find stable 2-clusterings on trees.
  • Approximations: For general metrics where exact stability is hard to find, the authors use Hierarchically Well-Separated Trees (HSTs) to find clusterings where a $(1-\epsilon)$ fraction of points are stable within a logarithmic factor. They also propose a modified single-linkage approach for well-separated datasets.

Key Insights

  • Stability is Elusive: Unlike standard objectives, an IP-stable clustering is not guaranteed to exist. A simple 4-point Euclidean example in $\mathbb{R}^2$ is enough to demonstrate a scenario where no stable 2-clustering can be formed.
  • Clusters Need Not Be Contiguous: Surprisingly, IP-stability does not require clusters to be spatially separated blocks. A stable 1D clustering can actually be interleaved.
A 1D dataset demonstrating that a stable clustering can be non-contiguous.
  • A Natural Form of Fairness: IP-stability acts as a natural form of individual fairness, ensuring every participant is best represented by their assigned group.

Empirical Results

The authors evaluated standard clustering algorithms against their new stability metrics using real-world datasets from the UCI repository (Adult, Drug Consumption, and Indian Liver Patient).

A standout empirical finding is the surprising robustness of $k$-means++. While theoretically prone to high instability in the worst case, $k$-means++ performs remarkably well in practice, often producing near-stable results on real data.

Performance of standard algorithms on the Adult dataset. k-means++ (blue stars) consistently shows the lowest number of unstable points and maximum violation.

As shown in the evaluation on the Adult dataset, $k$-means++ significantly outperforms $k$-center and various linkage methods. While $k$-center can produce "Maximum Violations" (MaxVi) exceeding 2.0 (meaning a point is twice as far from its own cluster as another), $k$-means++ consistently keeps this value near 1.0–1.4.

Limitations and Future Work

  • Scaling on Trees: The current efficient algorithm for tree metrics only handles $k=2$; extending this to arbitrary $k$ remains an open conjecture.
  • Approximation Bounds: While upper bounds for approximation are provided, the lower bounds (how hard it is to get close to stable) are not yet fully understood.
  • Theory vs. Practice: There is a significant gap between the theoretical worst-case instability of $k$-means++ and its strong empirical performance. Providing a theoretical explanation for this "average-case" success is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{ahmadi2022individual,
  author = {Saba Ahmadi and Pranjal Awasthi and Samir Khuller and Matthäus Kleindessner and Jamie Morgenstern and Pattara Sukprasert and Ali Vakilian},
  title = {{Individual Preference Stability for Clustering}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=jhqeK2WvQBL},
}
Figure