Why can running t-SNE with different random seeds yield very different layouts?

Quick Overview

Asks why t-SNE run with different random seeds can produce very different two-dimensional layouts of the same data. Tests understanding of the t-SNE objective, which structure in the map is meaningful, and how to get stable, reproducible embeddings.

Why can running t-SNE with different random seeds yield very different layouts?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why can running t-SNE with different random seeds yield very different layouts? ```hint Look at the objective What does t-SNE minimize, and is that objective convex in the embedding coordinates? Think about which pairs of points dominate it. ``` ```hint Equivalent maps Which transformations of a 2D map leave every pairwise distance unchanged? ``` ### What a Strong Answer Covers - The non-convex objective and the role of the random starting coordinates - Why the objective constrains local neighborhoods strongly and global placement only weakly - The symmetries that make orientation and absolute position meaningless - Practical ways to get reproducible layouts and to judge which structure is real ### Follow-up Questions - Can you read distances between clusters, or cluster sizes, off a t-SNE plot? Why or why not? - How does perplexity change the layout, and how would you choose it? - Why does PCA initialization give more stable and more globally faithful layouts than random initialization? - How does UMAP compare with t-SNE on run-to-run stability and global structure?

Overview: Asks why t-SNE run with different random seeds can produce very different two-dimensional layouts of the same data. Tests understanding of the t-SNE objective, which structure in the map is meaningful, and how to get stable, reproducible embeddings.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Why can running t-SNE with different random seeds yield very different layouts?

What a Strong Answer Covers Guidance

  • The non-convex objective and the role of the random starting coordinates
  • Why the objective constrains local neighborhoods strongly and global placement only weakly
  • The symmetries that make orientation and absolute position meaningless
  • Practical ways to get reproducible layouts and to judge which structure is real

Follow-up Questions Guidance

  • Can you read distances between clusters, or cluster sizes, off a t-SNE plot? Why or why not?
  • How does perplexity change the layout, and how would you choose it?
  • Why does PCA initialization give more stable and more globally faithful layouts than random initialization?
  • How does UMAP compare with t-SNE on run-to-run stability and global structure?