ActUp: Analyzing and Consolidating tSNE and UMAP

Andrew Draganov, Jakob Rødsgaard Jørgensen, Katrine Scheel Nellemann, Davide Mottin, Ira Assent +2 more
5/12/2023
cs.LG

Official code: Andrew-Draganov/GiDR-DUN (14 stars, MIT, last commit 2024-12-10).

Abstract

tSNE and UMAP are popular dimensionality reduction algorithms due to their speed and interpretable low-dimensional embeddings. Despite their popularity, however, little work has been done to study their full span of differences. We theoretically and experimentally evaluate the space of parameters in both tSNE and UMAP and observe that a single one -- the normalization -- is responsible for switching between them. This, in turn, implies that a majority of the algorithmic differences can be toggled without affecting the embeddings. We discuss the implications this has on several theoretic claims behind UMAP, as well as how to reconcile them with existing tSNE interpretations. Based on our analysis, we provide a method (\ourmethod) that combines previously incompatible techniques from tSNE and UMAP and can replicate the results of either algorithm. This allows our method to incorporate further improvements, such as an acceleration that obtains either method's outputs faster than UMAP. We release improved versions of tSNE, UMAP, and \ourmethod that are fully plug-and-play with the traditional libraries at https://github.com/Andrew-Draganov/GiDR-DUN

View on arXivView PDF

Code Implementations(1)

MIT

A simple implementation of UMAP, TSNE and GDR across frameworks and libraries

140C, C++Sep 13, 20201 years agoMIT
cudacythondimensionality-reductionnumbatsne+1 more

Cite this paper

@article{draganov2023actup,
  title  = {ActUp: Analyzing and Consolidating tSNE and UMAP},
  author = {Andrew Draganov and Jakob Rødsgaard Jørgensen and Katrine Scheel Nellemann and Davide Mottin and Ira Assent and Tyrus Berry and Cigdem Aslay},
  year   = {2023},
  eprint = {2305.07320},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.07320v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.07320.svg)](https://codeofpaper.com/paper/2305.07320)

Discussion