ExClus: Explainable Clustering on Low-dimensional Data Representations

Xander Vankwikelberge, Bo Kang, Edith Heiter, Jefrey LijffijtarXiv 2021

TL;DR

ExClus is an interactive tool and optimization framework that automatically explains clusters visible in low-dimensional scatter plots (like those from t-SNE or UMAP). By leveraging information theory, it identifies spatially coherent clusters on the plot and pairs them with a minimal, highly informative subset of features from the original high-dimensional space.

What Problem Does This Paper Address?

Data scientists frequently use non-linear dimensionality reduction (DR) techniques like t-SNE and UMAP to project high-dimensional datasets into 2D scatter plots. While these plots are excellent for spotting visual clusters, the axes themselves lose all physical meaning. As a result, users are left asking a frustrating question: “I see a cluster of points here, but what actually makes them different from the rest of the data?”

Existing methods either look at points individually (which doesn't scale) or force users to manually inspect feature distributions across the entire dataset. The authors introduce ExClus to bridge this gap, automatically generating human-readable explanations for visual clusters using the original features.

Methods

ExClus formalizes the task as an explainable clustering problem using the framework of subjective interestingness. The method relies on three core components:

  1. Bicluster Patterns & Information Content (IC): A cluster is defined not just by its points, but by its statistics (mean and variance) across a subset of original attributes. The informativeness of a cluster is calculated using the Kullback-Leibler (KL) divergence between the cluster's feature distribution and a global prior distribution (the baseline data distribution assuming feature independence).
  2. Description Complexity (C): To prevent the algorithm from dumping dozens of features on the user, the authors introduce a superlinear penalty for complexity: $$C = \alpha + (\text{total number of statistics})^\beta$$ Here, $\alpha$ acts as a startup cost for adding clusters, and $\beta$ penalizes long, complicated explanations, matching human cognitive limitations. The objective is to maximize Subjective Interestingness ($S = IC / C$).

  3. Search Algorithm: Finding the globally optimal partitioning is computationally intractable. ExClus solves this by first building a Hierarchical Agglomerative Clustering (HAC) dendrogram directly on the 2D projection space. This guarantees that any chosen cluster is visually coherent (points are close together on the plot). It then greedily splits the tree one cluster at a time, optimizing the feature selection at each step.

The authors implemented this algorithm into a browser-based interactive dashboard using Python and Dash.

The ExClus user application interface showing the UCI Adult dataset.

Datasets

The authors evaluated ExClus on three distinct datasets:

  • UCI Adult Dataset: A subset of 2,500 records from the 1994 USA census containing both continuous and boolean attributes (age, gender, education, hours worked, income).
  • German Socio-Economic Data: 412 German districts described by over 30 attributes, including 2009 voting percentages, age distributions, and employment sectors.
  • Cytometry Data: Single-cell mouse data consisting of 9 high-dimensional protein markers, previously analyzed using manual gating and t-SNE color maps.

Key Insights and Ideas

  • Cognitive Load is Superlinear: Traditional pattern mining often uses linear cost functions for explanations. ExClus explicitly models human fatigue by using a superlinear exponent ($\beta$), forcing the algorithm to find a tight, highly impactful cutoff for feature explanations.
  • The 2D Embedding as a Constraint, Not a Source of Truth: Instead of clustering in the high-dimensional space and projecting down, ExClus uses the 2D embedding strictly to constrain the search space via a dendrogram. This ensures that whatever explanation is found corresponds exactly to a visually distinct group on the user's screen.
  • Linkage Criteria Matter: The choice of how the hierarchical tree is built significantly impacts the explanation quality. For example, single linkage failed on complex data structures, whereas complete or average linkage yielded much cleaner, more stable clusters.

Key Results

  • Drastic Reduction in Cognitive Load: On the Cytometry dataset, the original study required researchers to cross-examine 9 separate color-mapped scatter plots to understand cell types. ExClus automatically isolated the same biological clusters using an explanation containing just two key attributes.
ExClus clustering output on the Cytometry dataset compared to the original paper's manual labels.
  • Validation against Domain Discoveries: When applied to the German socio-economic dataset, the clusters automatically found by ExClus aligned almost perfectly with highly specialized, subjectively interesting subgroups discovered in prior literature (such as identifying urban areas characterized by high population density and high alignment with the Green party).

Limitations and Future Work

  • Scalability Bottlenecks: Because the algorithm relies on t-SNE and Hierarchical Agglomerative Clustering to seed its search space, it suffers from exponential slowdowns if the dataset exceeds 100,000 data points or 500 features.
  • Hyperparameter Sensitivity: The parameters $\alpha$ and $\beta$ heavily dictate the number of clusters and the length of explanations. Currently, finding the right balance remains an exercise in interactive trial-and-error for the user. The authors suggest that future work should focus on automated assistant methods to guide users toward optimal hyperparameter choices.

Summary updated

BibTeX
@misc{vankwikelberge2021exclus,
  author = {Xander Vankwikelberge and Bo Kang and Edith Heiter and Jefrey Lijffijt},
  title = {{ExClus: Explainable Clustering on Low-dimensional Data Representations}},
  year = {2021},
  eprint = {2111.03168},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.03168},
}
Figure