Supervised Visualization for Data Exploration

Jake S. Rhodes, Adele Cutler, Guy Wolf, Kevin R. MoonarXiv 2020

Abstract

Dimensionality reduction is often used as an initial step in data exploration, either as preprocessing for classification or regression or for visualization. Most dimensionality reduction techniques to date are unsupervised; they do not take class labels into account (e.g., PCA, MDS, t-SNE, Isomap). Such methods require large amounts of data and are often sensitive to noise that may obfuscate important patterns in the data. Various attempts at supervised dimensionality reduction methods that take into account auxiliary annotations (e.g., class labels) have been successfully implemented with goals of increased classification accuracy or improved data visualization. Many of these supervised techniques incorporate labels in the loss function in the form of similarity or dissimilarity matrices, thereby creating over-emphasized separation between class clusters, which does not realistically represent the local and global relationships in the data. In addition, these approaches are often sensitive to parameter tuning, which may be difficult to configure without an explicit quantitative notion of visual superiority. In this paper, we describe a novel supervised visualization technique based on random forest proximities and diffusion-based dimensionality reduction. We show, both qualitatively and quantitatively, the advantages of our approach in retaining local and global structures in data, while emphasizing important variables in the low-dimensional embedding. Importantly, our approach is robust to noise and parameter tuning, thus making it simple to use while producing reliable visualizations for data exploration.

Introduction

High-dimensional data is ubiquitous in modern research, spanning fields from genomics to finance. To interpret such data, researchers frequently employ dimensionality reduction (DR) tools like PCA, t-SNE, or UMAP. However, these traditional tools are typically unsupervised, meaning they ignore auxiliary labels—such as "cancer vs. healthy" or "high vs. low risk"—that are often central to the research question.

Rhodes et al. introduce RF-PHATE, a supervised visualization method that leverages Random Forests to guide the dimensionality reduction process. This ensures that the resulting low-dimensional embedding reflects the variables most relevant to the task at hand while preserving the underlying data geometry.

Methodology: The RF-PHATE Approach

The core innovation of RF-PHATE lies in the integration of Random Forest (RF) Proximities with PHATE (Potential of Heat-diffusion for Affinity-based Transition Embedding).

  1. Random Forest Proximities: By training a Random Forest on labeled data, the method generates a proximity matrix based on the frequency with which data points co-occur in leaf nodes. This naturally weights distances according to feature importance, effectively filtering out noise.
  2. Diffusion-Based Embedding: RF-PHATE converts the proximity matrix into a diffusion operator. It utilizes Von Neumann Entropy to automatically determine the optimal "diffusion time," denoising the data without manual parameter tuning.
  3. Visualization: The final "potential distances" are embedded into 2D or 3D space using Multi-Dimensional Scaling (MDS).

Experimental Results

The authors validated RF-PHATE across several benchmarks, including the Titanic, Optical Digits, Ames Housing, and Iris datasets.

Case Study: Titanic Dataset

RF-PHATE excels at preserving "global structure"—the meaningful transitions between groups. In the Titanic dataset, rather than forcing survivors and non-survivors into isolated clusters, the visualization reveals a gradient of risk influenced by age, sex, and class.

RF-PHATE visualization of the Titanic dataset, showing gradients across sex, class, and age.

Comparison and Noise Resilience

A significant challenge for DR tools is noise. In tests using the Iris dataset augmented with 1,000 dimensions of Gaussian noise, unsupervised methods like PCA and t-SNE failed to recover the species structure. In contrast, RF-PHATE successfully denoised the data, maintaining clear separation between species.

Comparison of RF-PHATE with other dimensionality reduction methods on the Iris dataset with added noise.

Quantitatively, RF-PHATE consistently outperformed or matched six other supervised methods (e.g., Supervised PCA, SNMF) in its ability to reconstruct important variables from the low-dimensional embedding.

Discussion and Conclusion

RF-PHATE addresses three major gaps in current DR techniques: the supervision gap, the "over-clustering" problem, and extreme noise sensitivity. By automating parameter selection through information theory, it provides a "set and forget" tool for researchers. While computational complexity for massive datasets remains a consideration, RF-PHATE offers a robust, reliable lens for exploring high-dimensional data where labels are available to guide the discovery process.

Summary updated

BibTeX
@misc{rhodes2020supervised,
  author = {Jake S. Rhodes and Adele Cutler and Guy Wolf and Kevin R. Moon},
  title = {{Supervised Visualization for Data Exploration}},
  year = {2020},
  eprint = {2006.08701},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.08701},
}
Figure