Evaluation of Sampling Methods for Scatterplots

Jun Yuan, Shouxing Xiang, Jiazhi Xia, Lingyun Yu, Shi‐Xia Liu

TL;DR

This paper presents a comprehensive user study evaluating seven common scatterplot sampling methods across four key visual factors: region density, class density, outliers, and overall shape. The findings reveal that no single sampling method excels at all tasks, offering practical guidance for researchers and practitioners to choose the most suitable strategy for their specific visualization needs.

What Problem Does This Paper Address?

As datasets grow, scatterplots can become overwhelmed by overplotting, making them difficult to interpret. Sampling is a common solution to reduce the number of points, but the "best" sampling method is unclear, especially for multi-class data. Different sampling strategies are designed to preserve various aspects of the data (e.g., density, outliers), but their effectiveness from a human perception standpoint, particularly in the context of scatterplot visualization, is not well understood. This paper aims to bridge this gap by empirically evaluating how well different sampling methods preserve key visual features that users rely on for data exploration.

Methods

The authors conducted a rigorous evaluation involving a user study with 100 participants. They first surveyed existing literature to identify seven representative sampling strategies, including random sampling, blue noise sampling, density-biased sampling, outlier-biased density-based sampling, multi-class blue noise sampling, multi-view Z-order sampling, and recursive subdivision-based sampling.

To evaluate these strategies, they designed four experiments focusing on:

  1. Relative Region Density Preservation (E1): Participants identified regions with higher data point density, irrespective of class.
  2. Relative Class Density Preservation (E2): Participants identified which class had a higher density within a specified region, using color-coded scatterplots.
  3. Outlier Maintenance (E3): Participants identified outliers within marked regions.
  4. Overall Shape Preservation (E4): A subjective experiment where participants ranked sampling results based on their similarity to the original scatterplot's overall shape.

A pre-study was conducted to determine optimal sampling ratios for different datasets and to assess the impact of color on density perception, concluding that single-color scatterplots are preferable for region density tasks.

Datasets

The study utilized eight representative datasets, chosen for their varied patterns and visual clutter. These include:

  • Swiss Roll 2D
  • Condition Based Maintenance
  • Crowdsourced Mapping
  • MNIST
  • Clothes
  • Epileptic Seizure
  • Swiss Roll 3D
  • Abalone

These datasets were transformed into 2D using t-SNE and normalized. The paper notes that these datasets were selected from previous visualization studies, ensuring relevance and comparability.

Key Insights and Ideas

  • No One-Size-Fits-All: The most striking insight is that no single sampling method is universally superior. The "best" method depends heavily on the specific visual task at hand.
  • Random Sampling's Surprising Strength: Contrary to some assumptions, random sampling performed exceptionally well in preserving region density, often outperforming more complex methods in terms of both accuracy and speed. This highlights its efficiency for basic density exploration.
  • Blue Noise's Versatility: Blue noise sampling emerged as a strong contender across multiple tasks, particularly excelling in preserving the overall shape of the scatterplot. It also showed good performance in outlier detection.
  • Specialized Strategies Shine in Their Niche: As hypothesized, outlier-biased methods showed promise in outlier detection, and multi-class strategies were competitive in class density preservation, though not always outperforming simpler methods.
  • Perception Matters: The study emphasizes the importance of user perception over purely objective metrics, demonstrating that what looks "good" to a human user can differ significantly from what objective measures might suggest.

Key Results

  • Region Density: Random sampling achieved the highest accuracy and shortest completion time, rejecting the hypothesis that other methods would universally outperform it.
  • Class Density: Blue noise sampling and multi-class strategies showed high accuracy, but random sampling was highly efficient. Multi-class strategies performed comparably to blue noise sampling and random sampling.
  • Outlier Maintenance: Recursive subdivision-based sampling, outlier-biased density-based sampling, and blue noise sampling were favored for outlier preservation. Outlier-biased density-based sampling performed significantly better than random and density-biased sampling in recall.
  • Overall Shape: Blue noise sampling was the clear winner in preserving the overall shape of the scatterplot, receiving the highest average ranking score.

Limitations and Future Work

  • Dimensionality: The current evaluation is limited to 2D scatterplots. Future work should explore sampling in high-dimensional spaces, as this is where sampling is often applied for efficiency before dimensionality reduction.
  • Interacting Factors: While the study controlled for some factors (like color), the interplay between various visual factors (e.g., density, outliers, shape, color) and their combined effect on perception is complex and warrants further investigation.
  • Task Specificity: The authors suggest that future research could explore how sampling strategies align with specific user tasks beyond the four evaluated, such as trend analysis or cluster separation.
  • New Visual Factors: Participants suggested additional visual factors to consider, such as the positional relationships between classes and preserving trends, which could inform future sampling strategy design.

Summary updated

BibTeX
@article{yuan2020evaluation,
  author = {Jun Yuan and Shouxing Xiang and Jiazhi Xia and Lingyun Yu and Shi‐Xia Liu},
  title = {{Evaluation of Sampling Methods for Scatterplots}},
  journal = {IEEE Transactions on Visualization and Computer Graphics},
  year = {2020},
  doi = {10.1109/tvcg.2020.3030432},
}
Figure