Skip to main navigation Skip to search Skip to main content

ExDBSCAN: Explaining DBSCAN with Counterfactual Reasoning

  • Pernille Matthews*
  • , Lena Krieger
  • , Tommaso Amico
  • , Arthur Zimek
  • , Thomas Seidl
  • , Ira Assent
  • *Corresponding author for this work
  • Aarhus University
  • Forschungszentrum Jülich
  • Munich Center for Machine Learning
  • Ludwig-Maximilian University of Munich

Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review

10 Downloads (Pure)

Abstract

Clustering is an unsupervised technique for grouping data points by similarity. While explainability methods exist for supervised machine learning, they are not directly applicable to clustering, making it challenging to understand cluster assignments. This interpretability gap is particularly evident in the popular density-based method DBSCAN, which assigns points as inliers (cluster members in dense regions) or outliers (noise points in sparse regions). DBSCAN does not provide insight into why a particular point receives its assignment or if it is robust to small changes in the data. To address the lack of explainability, we introduce ExDBSCAN, a density-aware, post-hoc explanation method. ExDBSCAN offers actionable counterfactual explanations, with theoretical guarantees for validity. It generates multiple counterfactuals using a density-connected weighted graph, adopting a physics-inspired model that repels counterfactual candidates from one another (diversity), while pulling them toward the instance to explain (proximity). Empirical evaluation on 30 tabular datasets comparing against four baselines shows that ExDBSCAN outperforms all baselines while attaining perfect validity and retrieving diverse, proximal counterfactuals.

Original languageEnglish
Title of host publicationProceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining
Number of pages12
PublisherAssociation for Computing Machinery / Special Interest Group on Programming Languages
Publication date8. Aug 2026
Pages3703-3714
ISBN (Electronic)9798400722592
DOIs
Publication statusPublished - 8. Aug 2026
Event32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026 - Jeju Island, Korea, Republic of
Duration: 9. Aug 2026 → 13. Aug 2026

Conference

Conference32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.1, KDD 2026
Country/TerritoryKorea, Republic of
CityJeju Island
Period09/08/2026 → 13/08/2026
SeriesProceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
Volume2-B
ISSN2154-817X

Keywords

  • clustering
  • counterfactuals
  • dbscan
  • explainability
  • xai

Fingerprint

Dive into the research topics of 'ExDBSCAN: Explaining DBSCAN with Counterfactual Reasoning'. Together they form a unique fingerprint.

Cite this