NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Classes are not Clusters: Improving Label-based Evaluation of Dimensionality Reduction

Hyeon Jeon, Yun-Hsin Kuo, Michaël Aupetit, Kwan-Liu Ma, Jinwook SeoarXiv 2023

TL;DR

Dimensionality reduction (DR) evaluation often relies on the flawed assumption that class labels naturally form tight clusters in high-dimensional space. This paper introduces Label-Trustworthiness and Label-Continuity (Label-T&C), two novel metrics that quantify DR quality by measuring how cluster-label matching changes between the original and embedded spaces, effectively identifying structural distortions that traditional metrics miss.

What Problem Does This Paper Address?

When we use techniques like t-SNE or UMAP to visualize high-dimensional data, we often color the points by their class labels (e.g., "cat," "dog," "car"). We generally assume that if these colors form neat, separated clusters in our 2D plot, the dimensionality reduction was successful.

However, the authors point out a critical "pitfall": Classes are not necessarily clusters. In the original high-dimensional space, a single class might be fragmented into several distinct groups, or two different classes might overlap significantly. If a DR technique "cleans up" the data by forcing a fragmented class into a single tight cluster, it has actually introduced a distortion (a "False Group"). Conversely, if it separates two classes that truly overlap, it has created a "Missing Group" distortion.

Standard evaluation metrics like the Silhouette Coefficient or Distance Consistency only look at the final embedding. They reward "clean" clusters even if those clusters are lies. This paper aims to fix that by comparing the cluster structure of labels in both the high-dimensional (HD) and low-dimensional (LD) spaces.

Methods

The authors propose two new measures, Label-Trustworthiness (Label-T) and Label-Continuity (Label-C). Their approach follows a three-step process:

  1. Measure Cluster-Label Matching (CLM): They apply a Clustering Validation Measure (CVM)—such as Distance Consistency (DSC)—to every pair of classes in both the HD and LD spaces. This creates two matrices representing how well-separated every class pair is in each space.
  2. Compute Distortion: They calculate the difference between these two matrices.
  3. If a pair is better clustered in LD than HD, it indicates a False Group distortion (compression).
  4. If a pair is better clustered in HD than LD, it indicates a Missing Group distortion (stretching).
  5. Aggregate Scores: These differences are averaged into the final Label-T (penalizing False Groups) and Label-C (penalizing Missing Groups) scores.

Crucially, the authors define specific requirements for the underlying CVMs (like scale and shift invariance) to ensure the comparison between HD and LD spaces is fair.

Datasets

The researchers validated their metrics using a mix of synthetic and real-world data:

  • Synthetic: "100D Hyperballs" (six well-separated hyperballs) and variants with controlled overlaps to test sensitivity to specific distortions.
  • Real-world: Coil-20 (images of objects) and Fashion-MNIST (images of clothing).
  • Scalability Benchmark: A collection of 96 labeled datasets varying in dimensionality, point count, and class count to test computational efficiency.

Key Insights and Ideas

  • The Interpretation Guideline: The authors provide a handy framework for interpreting these scores. For example, high Label-T but low Label-C suggests the embedding is "stretching" the data, making classes look more fragmented than they really are.
Fig. 1. Guidelines to infer the CLM of the high-dimensional data based on the CLM of the embedded data (left column) and the scores given by Label-T (L-T) and Label-C (L-C) (first row) (see Sect. 4.3 for details).
  • t-SNE Perplexity Quantified: The paper provides quantitative evidence for how the "perplexity" hyperparameter in t-SNE affects cluster reliability. Low perplexity tends to fragment clusters (creating False Groups), while high perplexity can merge them or exaggerate separation.
  • PCA's Global Superiority: In their analysis of different DR techniques, PCA often scored highest on global cluster preservation, confirming that while nonlinear methods like UMAP are great for local structure, they can be less trustworthy for representing broad, coarse-grained cluster relationships.

Key Results

  • Sensitivity: In controlled experiments, Label-T&C accurately detected distortions as they were introduced. Traditional metrics like Silhouette failed to distinguish between a "true" cluster and a "distorted" one.
  • Scalability: Label-T&C (using the DSC measure) proved to be highly efficient, performing on par with simple CVMs and significantly faster than existing cluster-level distortion measures like Steadiness & Cohesiveness (S&C).
  • Technique Characterization: The authors used Label-T&C to reveal the intrinsic "personalities" of DR methods. For instance, they showed that LLE (Locally Linear Embedding) is excellent at avoiding "Missing Groups" but prone to "False Groups" as granularity increases.
Sensitivity analysis results across different experiments

Limitations and Future Work

The primary limitation is that Label-T&C's effectiveness is tied to the choice of the underlying CVM. The authors noted that while Distance Consistency (DSC) is fast, it is mostly sensitive to class overlaps. They suggest that developing a new CVM that is equally sensitive to both overlap and general cluster density—while remaining invariant to HD/LD differences—is a key area for future research.

Additionally, the authors propose that Label-T&C could eventually be used as a loss function to train "distortion-aware" supervised dimensionality reduction models.

Summary updated

BibTeX
@misc{jeon2023classes,
  author = {Hyeon Jeon and Yun-Hsin Kuo and Michaël Aupetit and Kwan-Liu Ma and Jinwook Seo},
  title = {{Classes are not Clusters: Improving Label-based Evaluation of Dimensionality Reduction}},
  year = {2023},
  eprint = {2308.00278},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.00278},
}
Figure