Wasserstein K-means for clustering probability distributions

Yubo Zhuang, Xiaohui Chen, Yun Yang
9/14/2022
stat.MLcs.LG

Official code: Yubo02/Wasserstein-K-means-for-clustering-probability-distributions (20 stars, Python, last commit 2022-10-20).

Abstract

Clustering is an important exploratory data analysis technique to group objects based on their similarity. The widely used $K$-means clustering method relies on some notion of distance to partition data into a fewer number of groups.

Show full abstract

In the Euclidean space, centroid-based and distance-based formulations of the $K$-means are equivalent. In modern machine learning applications, data often arise as probability distributions and a natural generalization to handle measure-valued data is to use the optimal transport metric. Due to non-negative Alexandrov curvature of the Wasserstein space, barycenters suffer from regularity and non-robustness issues. The peculiar behaviors of Wasserstein barycenters may make the centroid-based formulation fail to represent the within-cluster data points, while the more direct distance-based $K$-means approach and its semidefinite program (SDP) relaxation are capable of recovering the true cluster labels. In the special case of clustering Gaussian distributions, we show that the SDP relaxed Wasserstein $K$-means can achieve exact recovery given the clusters are well-separated under the $2$-Wasserstein metric. Our simulation and real data examples also demonstrate that distance-based $K$-means can achieve better classification performance over the standard centroid-based $K$-means for clustering probability distributions and images.

View on arXivView PDF

Code Implementations(1)

There are the codes needed for the paper: Wasserstein K-means for clustering probability distributions

205Python, MATLABOct 2, 20224 years ago

Similar Papers

Cite this paper

@article{zhuang2022wasserstein,
  title  = {Wasserstein K-means for clustering probability distributions},
  author = {Yubo Zhuang and Xiaohui Chen and Yun Yang},
  year   = {2022},
  eprint = {2209.06975},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.06975}
}

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/2209.06975.svg)](https://codeofpaper.com/paper/2209.06975)

Discussion