Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

On Out-of-sample Embedding in UMAP

About

Neighbor embedding algorithms reveal correlations in high-dimensional data by constructing an equivalent graph representation in a lower-dimensional space. An increasingly popular algorithm is Uniform Manifold Learning and Projection (UMAP), which uses algebraic topology to map distances between the two spaces. While it works well on many types of data sets, UMAP has trouble adding out-of-sample points to a pre-existing mapping. In particular, UMAP often places new points on the periphery of the found clusters, rather than in their interiors with their correlated neighbors. Here, we overcome this ``repulsion effect'' by optimizing pairwise interactions within the original k-nearest-neighbor graph. Moreover, we show that parameterizing UMAP obtains better embeddings than non-parametric algorithms, particularly as the data gets more complex (e.g., medical images). We also show that the repulsion effect is naturally mitigated when a parameterized UMAP is employed to embed the data. We characterize different UMAP approaches using trustworthiness, nearest neighbor classifiers, and by analyzing attractive and repulsive forces in the embeddings.

Mohammad Tariqul Islam, Jason W. Fleischer• 2026

Related benchmarks

TaskDatasetResultRank
Dimensionality ReductionClinical dataset Shortness of Breath (train+test)
Trustworthiness (T5)0.8342
7
Embedding Quality EvaluationChest x-ray (RSNA) (train+test)
T5 Score84
7
Neighbor EmbeddingMNIST (train+test)
T5 Score0.9547
7
Patient PhenotypingClinical dataset Shortness of Breath (test)
1-NN Error Rate34.7
7
ClassificationClinical Dataset Abdominal Pain (train+test)
1-NN Error Rate39.24
5
Dimensionality ReductionClinical dataset Shortness of Breath (train)
Trustworthiness (T5)84.31
5
Dimensionality ReductionClinical Dataset Abdominal Pain (train+test)
Trustworthiness (T5)87.3
5
Embedding Quality EvaluationChest x-ray (RSNA) (train)
T5 Score0.843
5
Neighbor EmbeddingMNIST (train)
T595.55
5
Dimensionality ReductionClinical Dataset Abdominal Pain (train)
Trustworthiness (T5)87.98
4
Showing 10 of 10 rows

Other info

Follow for update