Skip to main content
QUICK REVIEW

[Paper Review] ExKMC: Expanding Explainable $k$-Means Clustering

Nave Frost, Michal Moshkovitz|arXiv (Cornell University)|Jun 3, 2020
Explainable Artificial Intelligence (XAI)Computer Science57 references14 citations
TL;DR

ExKMC is a novel algorithm that extends explainable $k$-means clustering by allowing a flexible trade-off between explainability and accuracy through a decision tree with $k'$ leaves, where $k' \geq k$. It uses a surrogate cost to efficiently expand the tree and assign clusters, achieving lower clustering costs than prior methods while maintaining interpretable, feature-based explanations.

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. 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.

Motivation & Objective

  • Address the lack of effective explainable unsupervised learning methods, particularly for clustering.
  • Overcome the limitation of prior explainable $k$-means algorithms that restrict the decision tree to exactly $k$ leaves.
  • Enable a tunable trade-off between clustering accuracy and explanation complexity by allowing $k' \geq k$ leaves.
  • Develop an efficient, scalable algorithm that maintains low clustering cost while producing human-interpretable cluster assignments.
  • Demonstrate empirically that increasing tree size beyond $k$ leaves leads to monotonic cost reduction and near-optimal clustering.

Proposed method

  • Start with the Iterative Mistake Minimization (IMM) algorithm to generate an initial $k$-leaf decision tree with $k$ cluster assignments.
  • Introduce a surrogate cost function based on fixed $k$ reference centers from standard $k$-means, enabling efficient tree expansion.
  • Greedily expand the tree by adding new feature-threshold splits at each step to minimize the surrogate cost.
  • Assign each leaf to one of the $k$ clusters based on the closest reference center, allowing multiple leaves to map to the same cluster.
  • Ensure the surrogate cost is non-increasing as $k'$ increases, guaranteeing monotonic improvement in clustering quality.
  • Use feature-wise parallelization to optimize performance, especially on high-dimensional and sparse datasets.

Experimental results

Research questions

  • RQ1Can we achieve lower $k$-means clustering cost than existing explainable clustering methods by expanding the decision tree beyond $k$ leaves?
  • RQ2Does increasing the number of leaves in the threshold tree lead to a monotonic decrease in clustering cost while preserving explainability?
  • RQ3How effective is the surrogate cost in approximating the true $k$-means cost during tree expansion?
  • RQ4To what extent can tree-based clustering match the cost of standard $k$-means on real-world, high-dimensional datasets?
  • RQ5What is the practical trade-off between explanation complexity (number of leaves) and clustering accuracy in real-world applications?

Key findings

  • ExKMC consistently achieves lower $k$-means clustering cost than both standard $k$-means and prior explainable clustering methods, including IMM.
  • With $k' = 4k$ leaves, ExKMC matches the cost of the reference $k$-means clustering on most real datasets, demonstrating near-optimal performance.
  • The surrogate cost closely tracks the actual $k$-means cost, differing by at most 5–10% across datasets, with convergence on three datasets as $k'$ increases.
  • ExKMC runs in under 15 minutes on all tested datasets, with only 0.25× to 1.5× overhead compared to standard $k$-means, even on high-dimensional data like 20newsgroups.
  • The algorithm achieves a monotonic decrease in cost as $k'$ increases, proving the theoretical property that the surrogate cost is non-increasing.
  • On CIFAR-10, no method converges when using raw pixel features, but ExKMC still achieves strong performance with $4k$ leaves, indicating robustness on complex data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.