Why are cluster sizes and inter-cluster distances often misleading in a t-SNE visualization?

Quick Overview

Asks why the size of clusters and the gaps between them in a t-SNE plot are unreliable. Tests understanding of perplexity and per-point bandwidths, the KL objective and the Student-t kernel, sensitivity to hyperparameters, and how to verify structure seen in a t-SNE map.

Why are cluster sizes and inter-cluster distances often misleading in a t-SNE visualization?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why are cluster sizes and inter-cluster distances often misleading in a t-SNE visualization? Suppose a t-SNE plot of your embeddings shows several clusters of different sizes at different distances from each other. Explain what in the algorithm produces those sizes and gaps, and what you can and cannot conclude from them. ```hint Look at the bandwidth t-SNE picks a separate Gaussian width for every point so that each one hits the target perplexity. Ask what that does to dense and sparse regions. ``` ```hint Look at the loss Check which pairs of points contribute to the KL divergence between the high- and low-dimensional similarities, and which contribute almost nothing. ``` ### What a Strong Answer Covers - How perplexity and per-point bandwidths affect apparent cluster size - Which pairs the KL objective penalizes, and how strongly it constrains the placement of distant groups - The role of the heavy-tailed kernel in the low-dimensional map - How hyperparameters and randomness change the picture - What a t-SNE plot can be trusted for, and how to check the rest ### Follow-up Questions - How does perplexity relate to the number of neighbors, and how would you pick it? - Does UMAP avoid these problems? - What settings make t-SNE keep more of the global structure? - How would you check whether a cluster you see in the plot is real?

Overview: Asks why the size of clusters and the gaps between them in a t-SNE plot are unreliable. Tests understanding of perplexity and per-point bandwidths, the KL objective and the Student-t kernel, sensitivity to hyperparameters, and how to verify structure seen in a t-SNE map.

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

Why are cluster sizes and inter-cluster distances often misleading in a t-SNE visualization? Suppose a t-SNE plot of your embeddings shows several clusters of different sizes at different distances from each other. Explain what in the algorithm produces those sizes and gaps, and what you can and cannot conclude from them.

What a Strong Answer Covers Guidance

  • How perplexity and per-point bandwidths affect apparent cluster size
  • Which pairs the KL objective penalizes, and how strongly it constrains the placement of distant groups
  • The role of the heavy-tailed kernel in the low-dimensional map
  • How hyperparameters and randomness change the picture
  • What a t-SNE plot can be trusted for, and how to check the rest

Follow-up Questions Guidance

  • How does perplexity relate to the number of neighbors, and how would you pick it?
  • Does UMAP avoid these problems?
  • What settings make t-SNE keep more of the global structure?
  • How would you check whether a cluster you see in the plot is real?