NeurIPS 2021poster52 citations

On UMAP's True Loss Function

Sebastian Damrich, Fred A Hamprecht

Abstract

UMAP has supplanted $t$-SNE as state-of-the-art for visualizing high-dimensional datasets in many disciplines, but the reason for its success is not well understood. In this work, we investigate UMAP's sampling based optimization scheme in detail. We derive UMAP's true loss function in closed form and find that it differs from the published one in a dataset size dependent way. As a consequence, we show that UMAP does not aim to reproduce its theoretically motivated high-dimensional UMAP similarities. Instead, it tries to reproduce similarities that only encode the $k$ nearest neighbor graph, thereby challenging the previous understanding of UMAP's effectiveness. Alternatively, we consider the implicit balancing of attraction and repulsion due to the negative sampling to be key to UMAP's success. We corroborate our theoretical findings on toy and single cell RNA sequencing data.

UMAPt-SNEnegative samplingscRNA-sequnsupervised learningvisualizationnon-linear dimension reductionmanifold learning
BibTeX
@inproceedings{
damrich2021on,
title={On {UMAP}'s True Loss Function},
author={Sebastian Damrich and Fred A Hamprecht},
booktitle={Advances in Neural Information Processing Systems},
editor={A. Beygelzimer and Y. Dauphin and P. Liang and J. Wortman Vaughan},
year={2021},
url={https://openreview.net/forum?id=DKRcikndMGC}
}
On UMAP's True Loss Function · NeurIPS 2021