CLAMS: A Cluster Ambiguity Measure for Estimating Perceptual Variability in Visual Clustering

Hyeon Jeon, Ghulam Jilani Quadri, Hyunwook Lee, Paul Rosen, Danielle Albers Szafir, Jinwook Seo

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:

  1. 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.
  2. 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.
  3. Pairwise Prediction: Using AutoML, a regression model was trained on these features to predict the "separability score" between any two Gaussian components.
  4. 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.
  5. 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

Abstract

Visual clustering is a common perceptual task in scatterplots that supports diverse analytics tasks (e.g., cluster identification). However, even with the same scatterplot, the ways of perceiving clusters (i.e., conducting visual clustering) can differ due to the differences among individuals and ambiguous cluster boundaries. Although such perceptual variability casts doubt on the reliability of data analysis based on visual clustering, we lack a systematic way to efficiently assess this variability. In this research, we study perceptual variability in conducting visual clustering, which we call Cluster Ambiguity. To this end, we introduce CLAMS, a data-driven visual quality measure for automatically predicting cluster ambiguity in monochrome scatterplots. We first conduct a qualitative study to identify key factors that affect the visual separation of clusters (e.g., proximity or size difference between clusters). Based on study findings, we deploy a regression module that estimates the human-judged separability of two clusters. Then, CLAMS predicts cluster ambiguity by analyzing the aggregated results of all pairwise separability between clusters that are generated by the module. CLAMS outperforms widely-used clustering techniques in predicting ground truth cluster ambiguity. Meanwhile, CLAMS exhibits performance on par with human annotators. We conclude our work by presenting two applications for optimizing and benchmarking data mining techniques using CLAMS. The interactive demo of CLAMS is available at clusterambiguity.dev.
BibTeX
@article{jeon2024clams,
  author = {Hyeon Jeon and Ghulam Jilani Quadri and Hyunwook Lee and Paul Rosen and Danielle Albers Szafir and Jinwook Seo},
  title = {{CLAMS: A Cluster Ambiguity Measure for Estimating Perceptual Variability in Visual Clustering}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2024},
  url = {https://openreview.net/forum?id=95M5Vk5VzE},
}
Figure