Clusterplot: High-dimensional Cluster Visualization

Or Malkai, Min Lu, Daniel Cohen-OrarXiv 2021

Introduction

Visualizing high-dimensional data, such as deep learning embeddings, typically relies on dimensionality reduction (DR) techniques like t-SNE or UMAP. However, as datasets grow in complexity, these methods often produce "visual clutter"—dense scatterplots where it is difficult to discern whether class overlaps are genuine high-dimensional features or artifacts of the 2D projection. Clusterplot addresses this by moving away from point-based plotting toward an abstract, cluster-level "map" of the data.

Comparison of Clusterplot with traditional dimensionality reduction techniques: (a) PCA, (b) t-SNE, (c) Supervised UMAP, and (d) Clusterplot.

Methodology

The Clusterplot pipeline transforms high-dimensional clusters into intuitive 2D "blobs" through a four-step process:

  1. Anchor Generation: Using the BIRCH algorithm, the system identifies representative "anchors" for each class, ensuring that cluster representation is density-agnostic.
  2. High-Dimensional Measurement: Ground truth proximity and overlap matrices are calculated in the original space using K-Nearest Neighbor (KNN) graphs.
  3. Optimization: Anchors are projected into 2D (initially via UMAP) and then iteratively adjusted using a greedy optimization algorithm to ensure the 2D spatial relationships match the high-dimensional measurements.
  4. Blob Rendering: Smooth alpha shapes with thick outlines are drawn around the optimized anchors to clearly visualize overlaps.

Key Insights and Results

Clusterplot prioritizes "honesty" in representation. Unlike supervised UMAP, which may artificially separate clusters to emphasize distinctness, Clusterplot preserves overlaps if they exist in the high-dimensional space. This makes it a powerful tool for diagnosing model confusion; for instance, if two animal breeds overlap in the plot, it explains why a classifier might struggle to distinguish them.

Clusterplot applied to dog breed embeddings (a), showing the visual representation alongside the underlying high-dimensional overlap (b) and proximity (c) matrices.

In user studies, Clusterplot significantly outperformed matrix-based visualizations. Participants were faster (7.63s vs. 10.51s) and more accurate when identifying cluster overlaps. Furthermore, the tool serves as a diagnostic for training: as a model converges, the blobs can be seen drifting apart, providing a qualitative view of the learning process.

Limitations and Future Work

While effective for simplifying complex data, Clusterplot loses local detail, such as individual outliers or sub-cluster structures. Future iterations may incorporate internal cluster information through stippling or transparency and use varying border thicknesses to indicate projection uncertainty.

Summary updated

BibTeX
@misc{malkai2021clusterplot,
  author = {Or Malkai and Min Lu and Daniel Cohen-Or},
  title = {{Clusterplot: High-dimensional Cluster Visualization}},
  year = {2021},
  eprint = {2103.02992},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.02992},
}
Figure