How smoothing the affinity matrix affects neighborhood preservation in t-SNE
Not on the map. Why?
Abstract (arXiv)
Dimensionality reduction methods are instrumental to visualize high-dimensional data, and t-SNE stands as one of the most widely used methods due to its emphasis on local neighborhood preservation. A central component of t-SNE is the affinity matrix, which expresses pairwise similarities in the form of symmetrized probabilities, over which the optimization problem of t-SNE is defined. We study how the sharpness of this probability distribution affects neighborhood preservation at different scales. We introduce a row-wise power transform controlled by a parameter gamma that can smooth or sharpen each row of the affinity matrix while preserving sparsity and rank order. We show that this transform is equivalent to rescaling the Gaussian bandwidth and thus to changing the perplexity. However, as the sharpness of the probability distribution varies per point, a fixed gamma leads to point-dependent effective perplexities, making it distinct from changing the global perplexity. Empirically, we find that sharpening improves preservation of the very nearest neighbors, while smoothing improves preservation of broader local neighborhoods, outperforming alternative affinity constructions including multiscale methods in the mid-local range.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 27 references that are in the map. First posted on arXiv 17 Aug 2026.
Builds on
9 of 27 references.
References · 9
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2020Understanding How Dimension Reduction Tools Work: An Empirical Approach to Deciphering t-SNE, UMAP, TriMAP, and PaCMAP for Data Visualizationcited by 173
- 2017Efficient Algorithms for t-distributed Stochastic Neighborhood Embeddingcited by 75
- 2019TriMap: Large-scale Dimensionality Reduction Using Tripletscited by 60
- 2019Heavy-tailed kernels reveal a finer cluster structure in t-SNE visualisationscited by 22
- 2013Barnes-Hut-SNEcited by 14
- 2025Low-dimensional embeddings of high-dimensional datacited by 8
- 2022Informative Initialization and Kernel Selection Improves t-SNE for Biological Sequencescited by 5
- 2024Pattern or Artifact? Interactively Exploring Embedding Quality with TRACEcited by 2
Built on by
Not cited yet.