Skip to main content
QUICK REVIEW

[Paper Review] Automatic Selection of t-SNE Perplexity

Yanshuai Cao, Luyu Wang|arXiv (Cornell University)|Aug 10, 2017
Evolutionary Algorithms and ApplicationsComputer Science1 references37 citations
TL;DR

This paper proposes an automatic method for selecting the t-SNE perplexity hyperparameter using a novel objective function: $2\text{KL}(P||Q) + \log(n)\frac{\text{Perp}}{n}$, which is validated via human expert preference elicitation. The approach eliminates manual tuning by modeling expert preferences with Gaussian processes and achieves superior performance over default settings.

ABSTRACT

t-Distributed Stochastic Neighbor Embedding (t-SNE) is one of the most widely used dimensionality reduction methods for data visualization, but it has a perplexity hyperparameter that requires manual selection. In practice, proper tuning of t-SNE perplexity requires users to understand the inner working of the method as well as to have hands-on experience. We propose a model selection objective for t-SNE perplexity that requires negligible extra computation beyond that of the t-SNE itself. We empirically validate that the perplexity settings found by our approach are consistent with preferences elicited from human experts across a number of datasets. The similarities of our approach to Bayesian information criteria (BIC) and minimum description length (MDL) are also analyzed.

Motivation & Objective

  • To eliminate manual, experience-dependent tuning of t-SNE perplexity by automating selection.
  • To develop a model selection objective that reflects expert judgment on optimal perplexity settings.
  • To validate the proposed objective using pairwise preference elicitation from human experts.
  • To demonstrate that the objective generalizes across diverse datasets including digits, coil20, and faces.

Proposed method

  • Proposes a new objective function: $S(\text{Perp}) = 2\text{KL}(P||Q) + \log(n)\frac{\text{Perp}}{n}$, derived from information-theoretic principles.
  • Uses pairwise preference elicitation from 8 human experts to collect labeled judgments on good perplexity settings.
  • Models expert uncertainty using Gaussian processes with binary ranking likelihood to infer optimal perplexity.
  • Employs KL divergence between high-dimensional and low-dimensional distributions as a core component of the objective.
  • Calibrates the objective to balance reconstruction fidelity and complexity, similar to BIC but with reversed complexity tuning.

Experimental results

Research questions

  • RQ1Can a data-driven objective function reliably select t-SNE perplexity without human intervention?
  • RQ2How well does the proposed objective align with expert-validated preferences for optimal perplexity?
  • RQ3Does the method generalize across diverse datasets with varying data structures?
  • RQ4Why does the objective $2\text{KL}(P||Q) + \log(n)\frac{\text{Perp}}{n}$ perform better than standard KL minimization?

Key findings

  • The proposed objective function $S(\text{Perp}) = 2\text{KL}(P||Q) + \log(n)\frac{\text{Perp}}{n}$ outperforms default perplexity settings in matching expert preferences.
  • Human expert preference data showed consistent patterns across datasets, validating the method's generalizability.
  • The method successfully reduced reliance on visual inspection and expert experience in perplexity selection.
  • The objective function was found to be effective in balancing model fit and complexity, resembling BIC in structure but with reversed complexity tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.