Introduction
Visual clustering—the process of identifying groups of points in a scatterplot—is a cornerstone of exploratory data analysis. Despite its ubiquity, the task is inherently subjective. Because cluster boundaries are often ill-defined, different analysts may perceive different structures within the same visualization. This "perceptual variability" poses a significant challenge: if a visualization is highly ambiguous, any insights derived from it are potentially unreliable.
While the visualization community has developed various Visual Quality Measures (VQMs) to evaluate scatterplots, these metrics typically focus on the "average" human perception. They fail to quantify the degree of disagreement between viewers. Traditionally, measuring this ambiguity required expensive and time-consuming user studies. To address this, we introduce CLAMS (Cluster Ambiguity Measure), a data-driven metric designed to automatically quantify cluster ambiguity by mimicking human perceptual variability.
The CLAMS Methodology
The CLAMS framework utilizes a multi-step pipeline to serve as a computational proxy for human judgment. The process is structured as follows:
- Decomposition: The system employs a Gaussian Mixture Model (GMM) to decompose a monochrome scatterplot into simpler Gaussian components, abstracting raw data points into statistical summaries.
- Feature Engineering: Drawing from qualitative user studies, the authors identified six primary factors influencing human perception of cluster separation: Proximity, Clarity of Gap, Density Difference, Size Difference, Ellipticity Difference, and Direction.
- Pairwise Prediction: Using AutoML, a regression model was trained on these features to predict the "separability score" between any two Gaussian components.
- Entropy-based Ambiguity: The core innovation of CLAMS lies in its use of Shannon entropy. Rather than a binary classification of "separated" or "not," the model calculates ambiguity based on the probability of disagreement. For instance, if the model predicts a 50/50 split in human perception (half seeing one cluster, half seeing two), ambiguity is maximized. If consensus is predicted (100% agreement), ambiguity is zero.
- Aggregation: These pairwise entropy scores are averaged to produce a global CLAMS score ranging from 0 (clear) to 1 (highly ambiguous).
Experimental Design and Validation
To train and validate the metric, the researchers utilized a robust combination of existing and original datasets:
- ClustMe Dataset: 1,000 scatterplots with separability judgments from 34 participants were used to train the regression module.
- Evaluation Set: The authors generated 11,712 new scatterplots by applying eight dimensionality reduction (DR) techniques (including t-SNE and UMAP) to 96 high-dimensional datasets.
- Human Ground Truth: A validation study was conducted with 18 data analysts who manually annotated clusters in 60 diverse plots to establish a definitive ground truth for ambiguity.
Key Results and Insights
CLAMS demonstrated high fidelity to human perception, achieving an $R^2$ score of 0.91 in predicting separability judgments. Furthermore, the metric showed a strong correlation ($\rho > 0.6$) with ground truth ambiguity across various validation metrics, significantly outperforming standard clustering algorithms like HDBSCAN or K-Means when used as proxies for human vision.
Several critical insights emerged from the study:
- Feature Interplay: Individual factors like distance are insufficient to explain ambiguity. The interaction between factors—such as how density differences affect the perception of a physical gap—is the primary driver of human disagreement.
- Consistency: Interestingly, CLAMS's automated scores correlated more strongly with the collective ground truth than the judgments of the average individual human annotator, suggesting the model is more consistent than human subjects.
- Benchmarking Stability: The research proved that datasets with low CLAMS scores (low ambiguity) provide more stable and reliable rankings when evaluating new clustering algorithms, making CLAMS a valuable tool for dataset selection.
Applications and Future Work
The authors demonstrated the practical utility of the metric through AmbReducer, an application that uses CLAMS to automatically tune dimensionality reduction hyperparameters. AmbReducer successfully reduced cluster ambiguity in visualizations ($p < .05$) without compromising data accuracy.
While CLAMS represents a significant step forward, limitations remain. The current model exhibits a slight bias toward perceiving plots with more clusters as "clearer" and relies on a simple average for global aggregation. Additionally, the current iteration is limited to monochrome scatterplots. Future research will focus on incorporating visual encodings such as color, point size, and shape, as well as exploring more sophisticated topological analyses to understand hierarchical cluster relationships.
Summary updated