Machine learning meets visualization - Experiences and lessons learned

Quynh Quang Ngo, Frederik L. Dennig, Daniel A. Keim, Michael SedlmairIt Inf. Technol 2022 · DOI

Abstract

This paper explores the symbiotic relationship between Machine Learning (ML) and Visualization (VIS), moving beyond the traditional view of them as separate tools. The authors demonstrate how visualization can "open the black box" of ML through visual parameter analysis, while ML can automate the tedious parts of visualization design by learning to mimic human perception. By reflecting on a decade of research, the authors highlight how these fields can cooperate to solve complex data analysis challenges.

Introduction: The Two-Body Problem

Data analysis currently faces a "two-body problem." ML models are powerful but often opaque, making it difficult for practitioners to tune hyperparameters or trust results. Conversely, creating effective visualizations is a manual, expert-driven process where a "wrong" choice in projection or plot type can lead to misleading insights. The authors argue for a cooperative approach: VIS4ML (using visualization to understand and improve ML) and ML4VIS (using ML to automate and optimize visualization design).

Methodology and Systems

The authors highlight several novel systems and frameworks developed to bridge these disciplines:

Visual Parameter Space Analysis (VPSA)

Instead of trial-and-error tuning, VPSA samples a wide range of hyperparameters and visualizes the "meta-space" of the resulting models. A key tool, VisCoDeR, creates a "map of maps," allowing users to see how sensitive algorithms like t-SNE are to specific settings.

The "map of maps" interface for visual parameter space analysis, showing how different projections cluster based on hyperparameter sensitivity.

Interactive Active Learning

The FDive system, designed for connectomics (mapping brain synapses), employs a human-in-the-loop approach. Users label a small set of images, and the system iteratively learns which feature descriptors—such as texture or shape—best match the user's intent.

The FDive system workflow: (1) user relevance feedback, (2) similarity measure selection via the Similarity Advisor, and (3) model steering to reflect user intent.

Perceptual Modeling

To automate VIS design, the authors propose training ML models on human "ground truth." By analyzing thousands of scatterplots judged by humans for "class separability" or "cluster counts," they create models that rank visualizations based on actual human perception rather than rigid heuristics. This research utilized datasets including 1,000 synthetic scatterplots and 816 real-world scatterplots to evaluate how well ML models mimic human intuition.

Key Insights and Results

A central concept is the "Map of Maps": treating the output of an ML model as a data point. By projecting 1,000 different t-SNE results into a single 2D view, researchers discovered that t-SNE is highly sensitive to "perplexity" but surprisingly robust to "epsilon."

The authors treat scatterplots as the "fruit flies" of visualization research—simple enough for controlled experiments yet complex enough to reveal deep insights into human perception. Their results show that ML models trained on human judgments significantly outperform classical formulas. For instance, in judging class separability, the authors' ML-based measures achieved 92.7% accuracy, compared to 82.5% for traditional state-of-the-art measures. Furthermore, the ClustMe model proved more consistent with human rankings of cluster patterns than traditional "Scagnostics" (scatterplot diagnostics).

Limitations and Future Directions

Despite these successes, several challenges remain:

  • Data Acquisition: Training "ML4VIS" models requires massive amounts of labeled human data, which is expensive and time-consuming to collect via platforms like Amazon Mechanical Turk.
  • Interaction Gap: Current systems rely heavily on "linking and brushing." Future work should move toward "semantic interaction," where the system understands the underlying intent of user actions.
  • Individual Differences: Perceptual models often target the "average" human, but domain experts may perceive the same data patterns differently based on their specific knowledge.

Summary updated

BibTeX
@article{ngo2022machine,
  author = {Quynh Quang Ngo and Frederik L. Dennig and Daniel A. Keim and Michael Sedlmair},
  title = {{Machine learning meets visualization - Experiences and lessons learned}},
  journal = {it Inf. Technol.},
  year = {2022},
  doi = {10.1515/itit-2022-0034},
}
Figure