[Paper Review] Uniform Manifold Approximation and Projection (UMAP) and its Variants: Tutorial and Survey
A comprehensive tutorial and survey of UMAP and its variants, detailing algorithmic foundations, theoretical justifications, comparisons with t-SNE/LargeVis, and extensions like DensMAP, Parametric UMAP, and Progressive UMAP.
Uniform Manifold Approximation and Projection (UMAP) is one of the state-of-the-art methods for dimensionality reduction and data visualization. This is a tutorial and survey paper on UMAP and its variants. We start with UMAP algorithm where we explain probabilities of neighborhood in the input and embedding spaces, optimization of cost function, training algorithm, derivation of gradients, and supervised and semi-supervised embedding by UMAP. Then, we introduce the theory behind UMAP by algebraic topology and category theory. Then, we introduce UMAP as a neighbor embedding method and compare it with t-SNE and LargeVis algorithms. We discuss negative sampling and repulsive forces in UMAP's cost function. DensMAP is then explained for density-preserving embedding. We then introduce parametric UMAP for embedding by deep learning and progressive UMAP for streaming and out-of-sample data embedding.
Motivation & Objective
- Explain the UMAP algorithm including neighborhood probabilities, embedding optimization, training procedure, and gradient derivations.
- Present the algebraic-topology and category-theory foundations that justify UMAP's cost function.
- Compare UMAP with t-SNE and LargeVis from the perspective of neighbor embedding and optimization.
- Discuss negative sampling and repulsive forces in UMAP's cost function and their implications.
- Introduce and explain variants such as DensMAP, Parametric UMAP, and Progressive UMAP.
Proposed method
- Define input-space neighborhood probabilities p_{ij} using k-NN graphs and rho_i and sigma_i (Eq. 3-5).
- Define embedding-space similarities q_{ij} with parameters a and b (Eq. 7).
- Formulate the optimization objective c2 as a fuzzy cross-entropy (Eq. 9-13).
- Describe the SGD training loop, initialization via Laplacian eigenmap, and negative sampling for repulsive forces (Algorithm 1).
- Provide closed-form gradients for attractive and repulsive terms (Eqs. 14-15) and discuss stability epsilon.
- Explain supervised/semi-supervised variants by augmenting the cost with classification terms.
Experimental results
Research questions
- RQ1How does UMAP construct and align fuzzy topological representations between high- and low-dimensional data?
- RQ2How do the probabilistic definitions p_{ij} and q_{ij} influence embedding optimization and neighbor preservation?
- RQ3How do UMAP, t-SNE, and LargeVis differ in probabilities, cost functions, and computational efficiency?
- RQ4What is the role of repulsive forces and negative sampling in shaping the embedding, and how does this relate to the effective cost function?
- RQ5What extensions beyond unsupervised UMAP are proposed, such as DensMAP, Parametric UMAP, and Progressive UMAP, and how are they formulated?
Key findings
- UMAP's embedding is guided by matching fuzzy topological representations between input and embedding spaces using a cross-entropy objective.
- The embedding-space probabilities use a Cauchy-like form with parameters a and b, enabling faster optimization and compatibility with mini-batch updates.
- UMAP leverages negative sampling to approximate repulsive forces, enabling scalable training on large datasets.
- Comparisons show UMAP, t-SNE, and LargeVis share a neighbor-embedding philosophy with attractive and repulsive components, but differ in normalization and efficiency characteristics.
- Theoretical justification connects UMAP's cost to fuzzy topology and adjunctions between categories, grounding the method in algebraic topology and category theory.
- Variants like DensMAP, Parametric UMAP, and Progressive UMAP extend UMAP to density preservation, deep learning-based embedding, and streaming/out-of-sample data handling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.