ExKMC: Expanding Explainable k-Means Clustering

Nave Frost, Michal Moshkovitz, Cyrus Rashtchian
6/3/2020
69 citations
cs.LGcs.CGcs.DS

Official code: navefr/ExKMC (100 stars, Jupyter Notebook, MIT, last commit 2023-01-18).

Abstract

Despite the popularity of explainable AI, there is limited work on effective methods for unsupervised learning. We study algorithms for $k$-means clustering, focusing on a trade-off between explainability and accuracy.

Show full abstract

Following prior work, we use a small decision tree to partition a dataset into $k$ clusters. This enables us to explain each cluster assignment by a short sequence of single-feature thresholds. While larger trees produce more accurate clusterings, they also require more complex explanations. To allow flexibility, we develop a new explainable $k$-means clustering algorithm, ExKMC, that takes an additional parameter $k' \geq k$ and outputs a decision tree with $k'$ leaves. We use a new surrogate cost to efficiently expand the tree and to label the leaves with one of $k$ clusters. We prove that as $k'$ increases, the surrogate cost is non-increasing, and hence, we trade explainability for accuracy. Empirically, we validate that ExKMC produces a low cost clustering, outperforming both standard decision tree methods and other algorithms for explainable clustering. Implementation of ExKMC available at https://github.com/navefr/ExKMC.

View on arXivView PDF

Code Implementations(1)

navefr/ExKMCOfficial100%
MIT

Expanding Explainable K-Means Clustering

10019Jupyter Notebook, PythonMay 11, 20203 years agoMIT

Similar Papers

Cite this paper

@article{frost2020exkmc,
  title  = {ExKMC: Expanding Explainable k-Means Clustering},
  author = {Nave Frost and Michal Moshkovitz and Cyrus Rashtchian},
  year   = {2020},
  eprint = {2006.02399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.02399}
}

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

Discussion