Uniform Manifold Approximation and Projection
Understand topology, manifolds, and fuzzy simplicial complexes
Master graph construction and layout optimization phases
Learn to control local/global balance and embedding quality
Apply UMAP effectively for visualization and analysis
Goal: Reduce high-dimensional data to 2-3 dimensions while preserving meaningful structure. But what structure should we preserve?
The Manifold Hypothesis: High-dimensional data often lies on or near a lower-dimensional manifold embedded in the high-dimensional space.
UMAP is built on rigorous mathematical foundations from topology and differential geometry, not just heuristics.
Find a low-dimensional representation that best approximates the topological structure of the high-dimensional data manifold.
Graph Construction
Build fuzzy simplicial complex
Layout Optimization
Find optimal low-D embedding
$$w_{ij} = \exp\left(-\max(0, d_{ij} - \rho_i) / \sigma_i\right)$$
The fuzzy simplicial complex captures both local neighborhoods and global connectivity through mathematically principled weighting.
Each point has a locally defined distance metric based on its nearest neighbor distance ($\rho_i$) and scaling factor ($\sigma_i$).
$$\rho_i = d(x_i, \text{1st neighbor})$$
$$\sigma_i \text{ chosen so that } \sum_{j} w_{ij} = \log_2(k)$$
Find a low-dimensional layout that best preserves the high-dimensional fuzzy simplicial complex structure.
$$CE = \sum_{ij} w_{ij}^{(high)} \log\left(\frac{w_{ij}^{(high)}}{w_{ij}^{(low)}}\right)$$
Minimize difference between high-D and low-D graphs
Linear
Fast, interpretable
Global structure only
Non-linear
Great local structure
Slow, loses global
Non-linear
Local + global
Fast, scalable