A Computational Approach to Improving Fairness in K-means Clustering

Guancheng Zhou, Haiping Xu, Hongkang Xu, Chenyu Li, Donghui Yan
5/29/2025
cs.LGcs.CYstat.ME

No confident code implementation found for this paper.

Abstract

The popular K-means clustering algorithm potentially suffers from a major weakness for further analysis or interpretation. Some cluster may have disproportionately more (or fewer) points from one of the subpopulations in terms of some sensitive variable, e.g., gender or race.

Show full abstract

Such a fairness issue may cause bias and unexpected social consequences. This work attempts to improve the fairness of K-means clustering with a two-stage optimization formulation--clustering first and then adjust cluster membership of a small subset of selected data points. Two computationally efficient algorithms are proposed in identifying those data points that are expensive for fairness, with one focusing on nearest data points outside of a cluster and the other on highly 'mixed' data points. Experiments on benchmark datasets show substantial improvement on fairness with a minimal impact to clustering quality. The proposed algorithms can be easily extended to a broad class of clustering algorithms or fairness metrics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2025computational,
  title  = {A Computational Approach to Improving Fairness in K-means Clustering},
  author = {Guancheng Zhou and Haiping Xu and Hongkang Xu and Chenyu Li and Donghui Yan},
  year   = {2025},
  eprint = {2505.22984},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.22984v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.22984.svg)](https://codeofpaper.com/paper/2505.22984)

Discussion