Why does UMAP generally preserve global structure better than t-SNE?

Quick Overview

Asks why UMAP embeddings usually keep more of the global arrangement of the data than t-SNE embeddings. Tests understanding of the two loss functions, the effect of initialization, similarity normalization, and what cluster distances in either plot can and cannot show.

Why does UMAP generally preserve global structure better than t-SNE?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Why does UMAP generally preserve global structure better than t-SNE? ```hint Price a bad placement Take a pair of points that are far apart in the original space but end up close in the embedding. Work out how much each method's objective charges for that pair. ``` ```hint Look at the starting point Both methods are optimized with gradient steps that mostly apply local forces. Think about where each one starts, and how far those steps can move whole clusters from there. ``` ### What a Strong Answer Covers - How the t-SNE and UMAP objectives treat non-neighbors that are placed close together - The role of initialization, and what happens to the comparison when both methods start from an informative layout - How the normalization of similarities differs between the two methods - How `n_neighbors` shifts the balance between local and global structure - What inter-cluster distances and cluster sizes in either embedding can and cannot tell you ### Follow-up Questions - How would you measure how well two embeddings preserve global structure? - How does t-SNE's perplexity relate to UMAP's `n_neighbors`? - When would you use PCA instead of either method for a visualization? - What does `min_dist` control in UMAP, and does it change global structure?

Overview: Asks why UMAP embeddings usually keep more of the global arrangement of the data than t-SNE embeddings. Tests understanding of the two loss functions, the effect of initialization, similarity normalization, and what cluster distances in either plot can and cannot show.

General logo
General
Nov 24, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

Why does UMAP generally preserve global structure better than t-SNE?

What a Strong Answer Covers Guidance

  • How the t-SNE and UMAP objectives treat non-neighbors that are placed close together
  • The role of initialization, and what happens to the comparison when both methods start from an informative layout
  • How the normalization of similarities differs between the two methods
  • How n_neighbors shifts the balance between local and global structure
  • What inter-cluster distances and cluster sizes in either embedding can and cannot tell you

Follow-up Questions Guidance

  • How would you measure how well two embeddings preserve global structure?
  • How does t-SNE's perplexity relate to UMAP's n_neighbors ?
  • When would you use PCA instead of either method for a visualization?
  • What does min_dist control in UMAP, and does it change global structure?