English

Socially Fair k-Means Clustering

Machine Learning 2020-10-30 v2 Artificial Intelligence Computational Geometry Machine Learning

Abstract

We show that the popular k-means clustering algorithm (Lloyd's heuristic), used for a variety of scientific data, can result in outcomes that are unfavorable to subgroups of data (e.g., demographic groups). Such biased clusterings can have deleterious implications for human-centric applications such as resource allocation. We present a fair k-means objective and algorithm to choose cluster centers that provide equitable costs for different groups. The algorithm, Fair-Lloyd, is a modification of Lloyd's heuristic for k-means, inheriting its simplicity, efficiency, and stability. In comparison with standard Lloyd's, we find that on benchmark datasets, Fair-Lloyd exhibits unbiased performance by ensuring that all groups have equal costs in the output k-clustering, while incurring a negligible increase in running time, thus making it a viable fair option wherever k-means is currently used.

Keywords

Cite

@article{arxiv.2006.10085,
  title  = {Socially Fair k-Means Clustering},
  author = {Mehrdad Ghadiri and Samira Samadi and Santosh Vempala},
  journal= {arXiv preprint arXiv:2006.10085},
  year   = {2020}
}

Comments

12 pages, 11 figures

R2 v1 2026-06-23T16:24:48.898Z