Papers
Topics
Authors
Recent
Search
2000 character limit reached

Clustering Guided METric (CMET)

Updated 6 July 2026
  • The paper presents CMET, an embedding-quality metric that evaluates how well a transformed representation preserves the original data structure using two scores: CMET_L for local and CMET_G for global fidelity.
  • It computes the local score by comparing normalized distances of points from their cluster medians between the original and embedded spaces, ensuring robust local geometry assessment.
  • The global score is determined by measuring the discrepancy in normalized pairwise distances among cluster medians, offering an efficient alternative to full pairwise comparisons.

Searching arXiv for the CMET paper and closely related clustering-guided metric work. Clustering Guided METric (CMET) is an embedding-quality metric proposed for quantifying how faithfully a transformed representation preserves the structure of the original data. It is introduced as a pair of scores, CMETLCMET_L and CMETGCMET_G, measuring local and global shape preservation capability, respectively, and is motivated by the practical difficulty of determining whether an embedding retains local and global structure without incurring the high time and space complexity of all-pairs distance- or co-ranking-based measures (Ghosh et al., 7 Jul 2025). CMET is “clustering guided” because both scores are computed after partitioning the dataset into clusters, using those clusters as a compact structural surrogate for the original geometry rather than relying on full pairwise comparisons (Ghosh et al., 7 Jul 2025).

1. Definition and scope

CMET is defined for an original dataset Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n and a transformed embedding Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n. The method allows either class labels or cluster labels y\mathbf{y} to guide the computation: in a supervised setting, true labels may be used directly if they correspond to separable classes; in an unsupervised setting, the paper uses Agglomerative clustering to generate the partition (Ghosh et al., 7 Jul 2025). After clustering, the same cluster assignments are imposed on the embedding, so CMET evaluates whether the geometric relations induced by the original-space grouping are preserved after transformation rather than reclustering independently in the embedded space (Ghosh et al., 7 Jul 2025).

The method distinguishes two structural regimes. Local structure preservation concerns whether points remain similarly positioned relative to the center of the cluster they belong to. Global structure preservation concerns whether the relative arrangement of clusters or regions is retained after transformation (Ghosh et al., 7 Jul 2025). The paper does not define a single merged scalar score; instead it recommends interpreting the pair (CMETL,CMETG)(CMET_L, CMET_G) jointly (Ghosh et al., 7 Jul 2025).

This makes CMET an embedding-evaluation metric rather than a clustering algorithm or a metric-learning procedure in the conventional Mahalanobis or deep embedding sense. A plausible implication is that CMET is best understood as an intrinsic structural comparator between an original representation and a transformed one, with clustering used as a compression device for structural information.

2. Mathematical formulation

For notational convenience, samples are re-indexed by cluster as {zj(k)}\{\mathbf{z}_{j(k)}\} in the original space and {zj(k)}\{\mathbf{z}'_{j(k)}\} in the transformed space, where k=1,,ck = 1,\dots,c indexes clusters and j(k)=1,,m(k)j(k)=1,\dots,m(k) indexes points within cluster CMETGCMET_G0, with CMETGCMET_G1 (Ghosh et al., 7 Jul 2025). For each cluster CMETGCMET_G2, the method defines CMETGCMET_G3 and CMETGCMET_G4 as the medians of the cluster in the original and transformed spaces, respectively (Ghosh et al., 7 Jul 2025).

The cluster extents are

CMETGCMET_G5

and

CMETGCMET_G6

These define normalized within-cluster distances

CMETGCMET_G7

The local score is then

CMETGCMET_G8

The paper proves CMETGCMET_G9 as Corollary 1 by observing that each Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n0, hence Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n1 (Ghosh et al., 7 Jul 2025).

For the global score, the paper augments the set of cluster medians with the median of the full dataset, setting Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n2 and Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n3 (Ghosh et al., 7 Jul 2025). It then forms normalized pairwise distance matrices among these Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n4 representatives: Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n5 and

Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n6

where each matrix is normalized by its maximum entry, or set to the zero matrix if all representative distances vanish (Ghosh et al., 7 Jul 2025). The global score is

Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n7

The paper proves Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n8 as Corollary 2 using the fact that the non-diagonal normalized entries lie in Xn×p={xi}i=1n\mathbf{X}_{n \times p} = \{\mathbf{x}_i\}_{i=1}^n9, so the Frobenius norm difference is bounded by Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n0 (Ghosh et al., 7 Jul 2025).

3. Clustering-guided computation

In unsupervised CMET, the first step is to partition the original dataset into Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n1 clusters using Agglomerative clustering (Ghosh et al., 7 Jul 2025). Those original-space labels are then transferred to the embedding, and all subsequent computations are performed relative to the resulting cluster medians and cluster extents (Ghosh et al., 7 Jul 2025). The use of medians rather than means is part of the method’s formal definition (Ghosh et al., 7 Jul 2025).

The local score evaluates whether each sample preserves its normalized distance from its own cluster median. This is not a Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n2-nearest-neighbor overlap criterion. Instead, it encodes local geometry as cluster-internal radial organization (Ghosh et al., 7 Jul 2025). The global score evaluates whether the coarse arrangement of cluster representatives, plus the whole-dataset median, is preserved after transformation (Ghosh et al., 7 Jul 2025). This yields a compact summary of large-scale geometry whose size depends on the number of clusters Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n3, not the number of points Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n4 (Ghosh et al., 7 Jul 2025).

A practical consequence of this design is that CMET separates local and global structural fidelity explicitly. High Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n5 with low Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n6 indicates that clusters retain internal organization but their large-scale arrangement changes. High Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n7 with low Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n8 indicates that coarse cluster placement is preserved while within-cluster organization is distorted. High values of both indicate strong preservation of both local and global structure (Ghosh et al., 7 Jul 2025).

4. Computational profile and scalability

CMET is motivated in part by the high computational and memory cost of existing metrics based on Xn×q={xi}i=1n\mathbf{X}'_{n \times q} = \{\mathbf{x}'_i\}_{i=1}^n9 distance matrices or co-ranking matrices (Ghosh et al., 7 Jul 2025). The paper states that Agglomerative clustering has complexity

y\mathbf{y}0

and, once clustering is fixed, the remaining computations reduce to cluster medians, cluster radii, normalized point-to-median distances, and pairwise distances among y\mathbf{y}1 representatives (Ghosh et al., 7 Jul 2025).

The central computational claim is therefore not that clustering disappears, but that the metric itself avoids full all-pairs comparisons in its definition. Local structure is compressed into one scalar per point, and global structure into a y\mathbf{y}2 matrix (Ghosh et al., 7 Jul 2025). In supervised mode, clustering can be skipped entirely by using class labels directly, reducing cost further (Ghosh et al., 7 Jul 2025).

This design is presented as a practical advantage over Trustworthiness, Continuity, and LCMC. On MNIST and Fashion-MNIST, the authors report that they could not compute several baseline metrics with their available computational resources, whereas CMET remained computable in significantly less time (Ghosh et al., 7 Jul 2025). The paper treats this as one of its strongest practical results.

5. Empirical evaluation

The empirical study covers eight datasets: four synthetic datasets (Olympics, WorldMap, Shape, Swiss Roll), two biological datasets (Jurkat, Zeisel), and two image datasets (MNIST, FMNIST) (Ghosh et al., 7 Jul 2025). It also studies transformed synthetic datasets obtained by the map

y\mathbf{y}3

creating “2-9-2” settings in which two-dimensional synthetic data are lifted to nine dimensions and reduced back to two (Ghosh et al., 7 Jul 2025).

The dimensionality-reduction methods evaluated are PCA, SVD, ICA, ISOMAP, FA, NMF, LLE, LDA, TSNE, FITSNE, KPCA, UMAP, PHATE, and IVIS (Ghosh et al., 7 Jul 2025). CMET is compared directly with Trustworthiness, Continuity, and LCMC (Ghosh et al., 7 Jul 2025).

On synthetic datasets, the paper argues that CMET aligns well with visual assessment while also distinguishing local and global preservation separately. For example, on Olympics, WorldMap, and Shape, methods such as NMF, PCA, SVD, ICA, and KPCA receive high scores when they visually preserve the original patterns, while other methods that deform or invert structure receive lower scores (Ghosh et al., 7 Jul 2025). On Swiss Roll, PCA, ICA, and FA are described as strong in global recovery, whereas SVD and NMF preserve local band structure; CMET is reported to reflect these differences through separate y\mathbf{y}4 and y\mathbf{y}5 scores (Ghosh et al., 7 Jul 2025).

On biological datasets, the paper reports that nonlinear methods such as UMAP, FITSNE, IVIS, and TSNE often perform better in global shape preservation, while several linear methods remain competitive for local structure on specific datasets (Ghosh et al., 7 Jul 2025). On image datasets, especially MNIST and FMNIST, CMET is emphasized primarily as a feasible large-scale metric where alternative methods became computationally impractical (Ghosh et al., 7 Jul 2025).

6. Relation to prior work and interpretation

CMET is positioned against several families of embedding-quality measures: distance-matrix correlation, ranking and co-ranking methods, Trustworthiness and Continuity, LCMC, MEQA, and NIEQA (Ghosh et al., 7 Jul 2025). Its novelty lies in replacing all-pairs structural comparison with a cluster-guided summary based on sample-to-cluster-median normalized distances for local structure and cluster-median-to-cluster-median normalized distances for global structure (Ghosh et al., 7 Jul 2025).

Within the broader literature, “Learning to Link” formulates supervised clustering-aware metric selection over convex combinations of base distances and linkage rules, optimizing empirical clustering loss relative to ground-truth partitions rather than proxy pairwise objectives (Balcan et al., 2019). That work is a conceptual precursor in the sense that the metric is chosen because it improves clustering outcomes (Balcan et al., 2019). By contrast, CMET does not learn a metric used for clustering; it evaluates how well an embedding preserves structure once a clustering scaffold has been fixed (Ghosh et al., 7 Jul 2025).

A different strand is represented by “Deep Metric Learning via Facility Location,” which inserts a clustering-quality notion into a structured deep metric learning objective through facility location and an NMI-based margin (Song et al., 2016). CMET is substantially narrower in scope: it is not an end-to-end training loss and does not optimize representation parameters (Ghosh et al., 7 Jul 2025). Likewise, the 2018 paper on a “cluster score” based on feature-by-cluster contingency tables proposes a method-agnostic clustering evaluation metric, but it does not introduce the acronym CMET and is concerned with cluster health, model selection, and noisy-variable diagnosis rather than embedding preservation (Pathak et al., 2018).

These comparisons suggest that CMET belongs to the family of clustering-guided evaluation methods rather than clustering-guided metric-learning methods. Its distinctive contribution is to use clustering as a structural surrogate for comparing original and transformed spaces.

7. Limitations and use conditions

CMET inherits dependence on the clustering step. In unsupervised mode, the metric depends on the partition produced by Agglomerative clustering; if that clustering does not reflect meaningful structure, the resulting scores may be less informative (Ghosh et al., 7 Jul 2025). The number of clusters is the principal hyper-parameter, and the paper notes that it plays a critical role because clustering determines the structural scaffold used by both y\mathbf{y}6 and y\mathbf{y}7 (Ghosh et al., 7 Jul 2025).

The sensitivity analysis examines five equidistant cluster counts around the number of labels and reports that CMET is generally not highly sensitive across most datasets, though image datasets are identified as exceptions (Ghosh et al., 7 Jul 2025). The relative ranking of dimensionality-reduction methods often remains stable even when the cluster number changes, although some monotonic trends are observed in y\mathbf{y}8 or y\mathbf{y}9 depending on the dataset (Ghosh et al., 7 Jul 2025). The paper also notes that very small cluster counts weaken the interpretability of the global score: if the dataset has exactly one cluster, (CMETL,CMETG)(CMET_L, CMET_G)0 by definition, and with two clusters the global score tends to be high and less informative (Ghosh et al., 7 Jul 2025).

Another limitation is definitional rather than computational. “Local” in CMET means preservation of cluster-relative normalized radial positions, not nearest-neighbor exactness. Consequently, CMET can disagree with neighborhood-overlap measures such as Trustworthiness because it formalizes a different notion of local structure (Ghosh et al., 7 Jul 2025). This is a feature of the method rather than a contradiction, but it constrains interpretation.

Overall, CMET is best characterized as a low-cost, cluster-summary metric for embedding evaluation, with (CMETL,CMETG)(CMET_L, CMET_G)1 targeting within-cluster local preservation and (CMETL,CMETG)(CMET_L, CMET_G)2 targeting between-cluster global preservation (Ghosh et al., 7 Jul 2025). Its strongest claims are empirical and computational: bounded scores in (CMETL,CMETG)(CMET_L, CMET_G)3, applicability in both supervised and unsupervised settings, favorable behavior across synthetic, biological, and image data, and practical feasibility on large datasets where several baseline metrics became difficult to compute (Ghosh et al., 7 Jul 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Clustering Guided METric (CMET).