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

Constant Approximation for Individual Preference Stable Clustering

Anders Aamand, Justin Y. Chen, Allen Liu, Sandeep Silwal, Pattara Sukprasert, Ali Vakilian, Fred Zhang

Abstract

Individual Preference (IP) stability is a clustering objective rooted in fairness and game theory, where each data point is, on average, closer to members of its own cluster than to members of any other cluster. Determining the existence of a 1-IP stable clustering is NP-hard, and previous research could only guarantee stability within a factor of $O(n)$. This paper presents the first polynomial-time algorithm that achieves an $O(1)$-approximation for IP stability in general metric spaces. This result settles a significant open question by proving that a stable clustering within a constant factor of optimality always exists and can be efficiently computed.

Introduction

In traditional machine learning, clustering algorithms typically focus on minimizing a global cost function, such as the sum of squared distances in $k$-means. However, in applications involving social or fair clustering, the focus shifts from global averages to individual satisfaction. Individual Preference (IP) stability, introduced in 2022, formalizes this by requiring that no individual data point should "prefer" to move to a different cluster.

A clustering is defined as 1-IP stable if every point's average distance to its own cluster is no greater than its average distance to any other cluster. Prior to this work, the best-known guarantee for achieving such stability was $O(n)$, a bound that scales with the size of the dataset and offers little practical utility for large-scale systems. This paper bridges the gap between theory and practice by providing a constant-factor approximation.

Methodology

The Ball-Carving Subroutine

The authors demonstrate that the standard approach of assigning points to the nearest center—common in $k$-means and $k$-center—can fail to maintain IP stability. To address this, they introduce a "ball-carving" technique. This subroutine iteratively selects centers and forms clusters based on point density within specific radii ($r, 2r, 3r$). By analyzing the "annulus" surrounding a potential cluster, the algorithm determines whether to keep a cluster small or "carve" out more points to ensure that the average distance to external clusters remains sufficiently high relative to internal distances.

The IP-Clustering Algorithm

To satisfy the requirement of exactly $k$ clusters, the main algorithm proceeds in two stages:

  1. Initialization: A greedy $k$-center algorithm is used to establish a base radius ($r_0$).
  2. Refinement: The Ball-Carving routine is applied, and the resulting clusters are merged into the $k$ centers to maintain the desired partition size.

Generalizations: Min-IP and Max-IP Stability

Beyond average-distance stability, the paper explores variations of the IP objective:

  • Min-IP Stability: Focuses on the minimum distance to other clusters. The authors show this can be solved optimally using a variation of Kruskal’s Minimum Spanning Tree (MST) algorithm.
  • Max-IP Stability: Focuses on the maximum distance to other clusters. This is shown to be 3-approximable using the classic Gonzalez $k$-center algorithm.

Experimental Evaluation

The proposed algorithm was evaluated against $k$-means++ on several real-world datasets from the UCI Machine Learning Repository, including the Adult census data, Drug consumption data, and IndianLiver records.

While $k$-means++ performed reasonably well on average real-world data, the authors developed a synthetic "hard" instance specifically designed to trigger stability violations. In these cases, $k$-means++ produced stability violations up to five times worse than the proposed algorithm. The authors' algorithm remained robust, consistently maintaining the $O(1)$ stability guarantee across all tested environments.

Key Insights and Discussion

Existence and Complexity

By providing an $O(1)$ algorithm, the authors provide a constructive proof that a constant-factor stable clustering always exists for any metric space. This resolves a major theoretical uncertainty regarding the feasibility of stable partitions.

The $k$-Center Connection

An important byproduct of the algorithm is that it provides a constant-factor approximation for the $k$-center problem. This implies that the resulting clusters are not only fair to individuals but also geographically compact, making the algorithm versatile for standard clustering tasks where fairness is a secondary constraint.

Limitations and Future Directions

While the move from $O(n)$ to $O(1)$ is a significant breakthrough, the specific constant factor in the $O(1)$ approximation has not yet been optimized. Future research may focus on developing a Polynomial Time Approximation Scheme (PTAS) to achieve $(1+\epsilon)$-IP stability. Additionally, while the algorithm approximates $k$-center well, it does not necessarily provide strong approximations for $k$-median or $k$-means objectives. Finding a unified clustering that is simultaneously IP-stable and optimal for $k$-means remains an open challenge.

Summary updated

BibTeX
@inproceedings{aamand2023constant,
  author = {Anders Aamand and Justin Y. Chen and Allen Liu and Sandeep Silwal and Pattara Sukprasert and Ali Vakilian and Fred Zhang},
  title = {{Constant Approximation for Individual Preference Stable Clustering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=8rDbUoYc0p},
}
Figure