Counterfactual Explanations for Clustering Models

Aurora Spagnol, Kacper Sokol, Pietro Barbiero, Marc Langheinrich, Martin Gjoreski
9/19/2024
cs.LGcs.AIcs.NE

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Clustering algorithms rely on complex optimisation processes that may be difficult to comprehend, especially for individuals who lack technical expertise. While many explainable artificial intelligence techniques exist for supervised machine learning, unsupervised learning -- and clustering in particular -- has been largely neglected. To complicate matters further, the notion of a ``true'' cluster is inherently challenging to define. These facets of unsupervised learning and its explainability make it difficult to foster trust in such methods and curtail their adoption. To address these challenges, we propose a new, model-agnostic technique for explaining clustering algorithms with counterfactual statements. Our approach relies on a novel soft-scoring method that captures the spatial information utilised by clustering models. It builds upon a state-of-the-art Bayesian counterfactual generator for supervised learning to deliver high-quality explanations. We evaluate its performance on five datasets and two clustering algorithms, and demonstrate that introducing soft scores to guide counterfactual search significantly improves the results.

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. 1 weaker match is hidden by default — 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{spagnol2024counterfactual,
  title  = {Counterfactual Explanations for Clustering Models},
  author = {Aurora Spagnol and Kacper Sokol and Pietro Barbiero and Marc Langheinrich and Martin Gjoreski},
  year   = {2024},
  eprint = {2409.12632},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.12632v1}
}

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

Discussion