GiDR-DUN; Gradient Dimensionality Reduction -- Differences and Unification

Andrew Draganov, Tyrus Berry, Jakob Rødsgaard Jørgensen, Katrine Scheel Nellemann, Ira Assent +1 more
6/20/2022
cs.LG

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

Abstract

TSNE and UMAP are two of the most popular dimensionality reduction algorithms due to their speed and interpretable low-dimensional embeddings. However, while attempts have been made to improve on TSNE's computational complexity, no existing method can obtain TSNE embeddings at the speed of UMAP.

Show full abstract

In this work, we show that this is indeed possible by combining the two approaches into a single method. We theoretically and experimentally evaluate the full space of parameters in the TSNE and UMAP algorithms and observe that a single parameter, 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 underpinning the UMAP framework, as well as how to reconcile them with existing TSNE interpretations. Based on our analysis, we propose a new dimensionality reduction algorithm, GDR, that combines previously incompatible techniques from TSNE and UMAP and can replicate the results of either algorithm by changing the normalization. As a further advantage, GDR performs the optimization faster than available UMAP methods and thus an order of magnitude faster than available TSNE methods. Our implementation is plug-and-play with the traditional UMAP and TSNE libraries and can be found at 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

140Python, CudaSep 13, 20201 years agoMIT
cudacythondimensionality-reductionnumbatsne+1 more

Similar Papers

Cite this paper

@article{draganov2022gidrdun,
  title  = {GiDR-DUN; Gradient Dimensionality Reduction -- Differences and Unification},
  author = {Andrew Draganov and Tyrus Berry and Jakob Rødsgaard Jørgensen and Katrine Scheel Nellemann and Ira Assent and Davide Mottin},
  year   = {2022},
  eprint = {2206.09689},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09689}
}

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/2206.09689.svg)](https://codeofpaper.com/paper/2206.09689)

Discussion