UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction
Paper · 2018 · Leland McInnes, John Healy and James Melville
Summary
A collection of images, cell measurements or word vectors can be easy to store and difficult to inspect. Each observation may require hundreds or thousands of coordinates, while the questions an analyst wants to ask concern groups, transitions and relationships among observations. Uniform Manifold Approximation and Projection, or UMAP, gives each observation a position in a space with fewer coordinates. The paper presents it both as a way to make visual displays and as a preprocessing method for machine learning, where the reduced representation can have more coordinates than a picture can show.
UMAP starts from the idea that the observations sample a manifold, a space whose small regions admit relatively simple geometric descriptions. The authors look for a way of measuring distance under which the sample can be regarded as roughly uniform, even if it is unevenly spaced in the original measurements. They estimate a scale around each observation from its nearest neighbours. The resulting judgements can be asymmetric, since each endpoint has its own idea of what counts as close. Drawing on Riemannian geometry and David Spivak’s work in algebraic topology, the paper turns those judgements into graded edge memberships and joins them into a single weighted graph. A strong judgement from either endpoint can support a connection in that graph.
The reduction places the observations so that proximity in the output expresses similar edge strengths. The comparison penalises both weak output connections where the input provides strong support and strong output connections where input support is weak. UMAP uses stochastic gradient descent to adjust the coordinates in successive sampled updates. Approximate neighbour search keeps graph construction practical, and negative sampling supplies repulsive updates without visiting every possible pair. The output memberships can be evaluated without a common denominator across the whole arrangement. The same layout procedure can therefore be used for a visual display or for an embedding with a larger number of coordinates.
The paper finds visual results comparable to t-SNE and argues that UMAP retains more of the larger arrangement in some examples, including the paths traced by rotating objects. Nearest-neighbour classification on the reduced coordinates is often competitive at local scales and favours UMAP in some broader-neighbourhood comparisons. Fashion-MNIST is an exception at the smaller classifier settings tested. On flow cytometry, separate UMAP layouts from subsamples agree closely with the full-data arrangement after alignment. The timing studies generally favour UMAP, especially as the intended output dimension increases. Its full GoogleNews run covered 3 million word vectors in around 200 minutes. The paper also reports early applications in bioinformatics, materials science and machine learning. Its experimental case is strongest for recovering useful neighbourhood organisation at scale. The coordinates have no direct feature interpretation, and the authors caution that a convincing pattern can emerge from sampling noise.
Deep dive: UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction
UMAP uses locally scaled neighbour graphs to reduce data dimensions, with experiments comparing its visual quality, stability and speed to t-SNE. · about 79 minutes to read
The problem and its context
Deciding what to preserve
Reducing dimension requires a choice about which information should survive the move to fewer coordinates. In a collection of photographs of rotating objects, for example, an analyst might want successive views of the same object to stay connected through the rotation. In a collection of handwritten digits, the interest might lie in whether similar examples occupy nearby positions and whether several visually related categories occupy the same part of the display. Both questions concern relative position, but they give weight to different relationships. A method needs some way to specify which departures from the source geometry matter.
The paper organises earlier methods by the scale of relationships they favour. It associates principal component analysis, multidimensional scaling and Sammon mapping with efforts to preserve pairwise distance structure across a dataset. It places t-SNE, LargeVis and Laplacian eigenmaps in a family that gives nearby relationships greater weight. Isomap and diffusion maps also belong to the latter family in the authors’ account. This division concerns the information each approach starts from or gives priority to. Laplacian eigenmaps, for instance, use neighbourhood relationships while their spectral coordinates can still express organisation across a graph.
UMAP belongs to the neighbourhood-based family. Its source representation gives direct weight to relationships estimated locally, and large arrangements emerge from piecing those relationships together. Suppose that a series of observations follows a gradual progression, with each sample close to the samples at adjoining stages. A graph can record those adjoining relationships without needing a reliable direct estimate of the distance between the progression’s far ends. A reduced layout may reveal the progression because many neighbouring links support it. How far apart its ends appear will depend on the shape the layout can give the whole graph.
Visualisation was an important motivation because t-SNE set a high standard for displaying distinctions among nearby observations. An equally important concern was the range of datasets the software could handle. Both the number of observations and the cost of comparing them can become large. The paper also distinguishes the number of input measurements from the number of coordinates wanted at the end. An analyst making a picture has a reason to keep the output very small. A subsequent procedure for clustering or detecting anomalies can make use of more coordinates, provided that the reduction is still practical at that dimension.
Together these demands determine the design problem. The representation has to describe local relationships in a way that can be assembled across observations. The layout needs an objective that reflects those relationships, and an implementation needs to make progress on that objective without paying the full cost of comparing every pair at every update. For the authors, a satisfying solution also explains how these decisions follow from assumptions about the data. An unsupervised method can look successful under an evaluation chosen for a particular application, while a different application can call for an completely different test.
The geometry seen from a sample
The manifold assumption gives the authors a starting point for deciding what locality means. A manifold is a space that can be described around each point using local coordinates. In the setting motivating the paper, an observation lives in a surrounding coordinate space, sometimes called the ambient space, and its variation is assumed to be organised along an underlying manifold. Nearby observations can then provide clues to the geometry of the part of that manifold they occupy. The challenge is that the coordinates and distances an analyst starts with may describe the surrounding space more readily than the space being sampled.
Rotating-object images make the distinction tangible. Each input coordinate can describe a pixel intensity, while a gradual change in orientation can alter many pixels. Nearby views of an object can form a succession through the space of pixel vectors. A local comparison can identify plausible adjoining views, and many adjoining comparisons can outline a path. An ambient difference between two images is a comparison of their measurements. The length of a route through the underlying progression is a different quantity. UMAP takes the possibility of such a distinction seriously when deciding how to combine neighbourhoods.
A further problem is that evenly sized regions of the ambient space can contain quite different numbers of observations. Under a single radius, a sample in a crowded region may have many neighbours while a sample in an open region has few. Under a fixed neighbour count, the region around each sample can instead have a different radius. The latter construction gives the authors a clue about local scale. They consider a geometry under which comparable numbers of observations would occupy regions of roughly comparable volume.
A Riemannian metric gives a rule for measuring lengths and angles locally. It can vary with position. Accordingly, a particular ambient separation can count for a different amount in different parts of a manifold. This is the conceptual basis for using the sample itself to estimate a distance scale. Around a point whose neighbours are spread out, the estimated scale can be larger. Around a point with many close neighbours, the comparison can operate over a smaller scale. In both cases, the graph will be built from how the distances look within that point’s surroundings.
Belkin and Niyogi’s Laplacian eigenmaps are a central precedent in the paper’s explanation. Their work gives the authors a reason to connect a graph made from observations to an operator on the underlying manifold. It also motivates attention to uniform sampling. The UMAP paper notes that real datasets are finite and seldom have the desired uniformity under their original geometry. The proposal is to approximate an alternative metric locally and to work with the resulting collection of neighbourhood descriptions.
That choice creates a new problem. Each estimate is most informative about distances from the point at its centre, and every point has a different centre. The list of nearest neighbours at one point can omit a point whose own list includes it. Even when the pair appears in both lists, the estimates can assign different strengths to it. The authors need a representation where such partial and potentially disagreeing accounts can be assembled. They turn to fuzzy simplicial sets, in which simple pieces of a space have membership strengths. At the level used by the implementation, these pieces include edges, and an operation for merging memberships yields one graph.
What t-SNE and LargeVis already offered
The paper’s comparison with t-SNE starts from a shared insight about local scale. t-SNE measures similarities from a point with a Gaussian decay, so the similarity drops as squared separation increases. The width of that decay is adjusted separately for each point. After normalisation, the resulting similarities are a distribution over its neighbours. The width is chosen to match a specified perplexity, which expresses how spread out the distribution is. Both t-SNE and UMAP therefore use nearby observations to decide how fast similarity should fall, though the quantities they calibrate and the way they combine them are different.
In t-SNE, symmetrisation produces an input distribution over pairs. Output similarities also have to be normalised over pairs before they can be compared with the input distribution. Since the output coordinates are changing throughout the run, the output normalisation creates a recurring computational burden. The paper describes Barnes–Hut t-SNE as using sparse approximations for input relationships and grouped contributions for output interactions. A group of faraway output points can contribute through an approximation based on its collective position. The efficiency of such grouping depends in part on the dimension of the layout.
LargeVis provides a mathematical and computational precedent for treating the output more directly as a graph layout. It makes use of approximate neighbours, and the pairwise strengths in its output enter its objective without a normalisation across the whole layout. The objective rewards supported connections and gives a separate weight to repulsion. This form lends itself to stochastic optimisation, in which individual updates use a limited selection of the relationships. The UMAP authors adopt related sampling strategies while giving their pairwise terms a different interpretation through fuzzy memberships.
The appendix also asks how much the usual descriptions of an algorithm explain its effective behaviour. Early exaggeration in t-SNE multiplies the input pair probabilities by a constant for an opening phase of the optimisation. The paper gives 12.0 as a usual multiplier. These enlarged values cease to form a probability distribution, but the computation with exaggeration is useful and features in theoretical analyses the authors cite. The authors take this as evidence that describing t-SNE solely as a comparison of probability distributions leaves part of its success unexplained. They want UMAP’s construction and the practical form of its objective to have a direct connection through the meaning assigned to the edges.
The method, step by step
From observations to positions
UMAP first builds an input graph. Each observation contributes a short list of candidate connections and assigns them strengths using distances measured around that observation. The strengths are then combined across endpoints. At this point the algorithm has an undirected graph and can begin work in the output space. It assigns a starting position to every observation and repeatedly adjusts the positions in response to the input connections and to sampled pairs chosen for repulsion.
Several quantities that might all be called distances occupy distinct places in this process. The supplied input distance determines which observations are candidates for a neighbour list. A locally adjusted distance determines the strength of a candidate connection from the viewpoint of its source. The output distance describes the positions at the current stage of optimisation. A curve converts that last distance into a membership so it can be compared with the source graph. The procedure links the quantities through these transformations, and each has its own units and purpose.
How UMAP constructs and lays out its graph
The steps in order.
Consider a pair near the edge of a crowded group. From the crowded endpoint there may be many other candidates at a similar distance, so the second endpoint might receive a weak association or miss the list. From the more isolated endpoint, the first could be among its closest observations. The graph can use that second judgement to establish the edge. Then, as positions are refined, the edge participates in a compromise with the other relationships of its endpoints. The lay of the graph and the amount of room in the target space help decide how that compromise looks.
Estimating the scale around an observation
The input consists of observations and a dissimilarity measure they can be compared under. This may be Euclidean distance, as for most of the paper’s datasets, or another suitable measure. The algorithms for searching over observations and laying them out use different distance rules. In particular, the usual output geometry is Euclidean even when the supplied input dissimilarity is something else.
d: X × X → ℝ≥0
Here X is the collection of observations, and X × X is the collection of ordered pairs drawn from it. The function d maps each pair to a non-negative real number, represented by ℝ≥0. The algorithm searches for small values of d when building a point’s neighbour list.
The paper begins its geometric motivation with a local result about a ball around a point. The symbol g denotes the Riemannian metric on the manifold 𝓜. At a point p, the metric supplies an inner product on the tangent space, which describes lengths and directions for infinitesimal motion there. The authors consider the case in which the metric is constant over the patch and use a ball of specified volume to relate geodesic and ambient distances. A geodesic distance measures length along the manifold. An ambient distance is measured in the space containing it.
Vₙ = π^(n/2) / Γ(n/2 + 1)
Vₙ is the reference volume used to choose the ball in the lemma. The symbol n is the ambient dimension in this calculation, π is the usual circle constant, and Γ is the gamma function. The reference is the volume given by the Euclidean formula for a ball of unit radius.
Vol_g(B) = √det(g) · π^(n/2) rⁿ / Γ(n/2 + 1)
Vol_g(B) is the Riemannian volume of the ball B in the constant-metric calculation. The determinant det(g) is taken from the matrix representing the metric, and its square root is the constant factor applied to coordinate volume. The quantity r is the ball’s ambient radius. The remaining symbols have the meanings in the reference volume formula. Equating the volumes fixes the determinant. The appendix then uses a common diagonal factor to obtain a scalar rescaling of length.
d𝓜(p, q) = dℝⁿ(p, q) / r
The distance d𝓜(p, q) is the geodesic distance in the local calculation. The notation dℝⁿ(p, q) denotes the ambient distance, p is the centre, and q is another point in the ball of ambient radius r. The scalar form corresponds to measuring every direction with the same local factor. In reading the argument, it matters that a fixed determinant on its own would determine volume scaling and still allow different scalings along different directions. The implemented construction takes the scalar local approximation as its guide.
Uniform sampling with respect to the sought geometry makes the local ball argument relevant to observations. If equal volumes contain comparable numbers of samples, selecting a region by neighbour count approximately selects its volume. The ambient radius of that region then indicates the amount by which ambient distances have to be rescaled at its centre. Finite samples make this a coarse estimate. The authors expect it to be useful for sufficiently small neighbourhoods, including those near boundaries, where the argument from a full ball is less direct.
In code, each observation needs a neighbour list to make this estimate. The computational section calls the list size k, while the algorithm discussion uses n for that setting. The notation k below keeps the neighbourhood size distinct from the ambient dimension in the geometric argument.
𝒩ᵢ = {xᵢ₁, …, xᵢₖ}
The set 𝒩ᵢ contains the selected neighbours of observation xᵢ. The subscript i identifies the centre, and the second position in xᵢⱼ identifies entry j of its neighbour list. The count of entries is k. These subscripts refer to observations and list positions.
The implementation uses Nearest-Neighbor-Descent to obtain approximate lists. The graph-building procedure can equally be described in terms of lists from an exact search. An approximate search is valuable because the reduction itself will already compromise some relationships to obtain fewer coordinates. Search accuracy can still affect the answer. If a point is omitted from the candidate list, the corresponding local view cannot give that pair positive weight. The reverse local view may supply an edge, depending on what its own search returns.
The neighbourhood count sets the scale of the geometric inference. Within each list the procedure treats the local geometry as simple enough to describe with a common scale. A small list focuses on relationships among very close observations and can leave separated pieces of the graph. A larger list allows more connections across local groups and averages over more of each group’s internal variation. This is an input choice about the kind of organisation the graph can express.
Giving local proximity a numerical meaning
The paper introduces two fitted quantities for each centre. The first, ρᵢ, is an offset based on the closest positive distance among the listed neighbours. The use of a positive distance excludes zero values from the minimum. Subtracting the offset gives the nearest positive neighbour a zero adjusted gap, and the membership formula then gives that connection full strength.
ρᵢ = min {d(xᵢ, xᵢⱼ) | 1 ≤ j ≤ k and d(xᵢ, xᵢⱼ) > 0}
ρᵢ is the offset at centre xᵢ. The minimum is taken over distances d(xᵢ, xᵢⱼ) whose neighbour index j is between 1 and k and whose value exceeds 0. The vertical bar introduces the conditions on which distances enter the set.
This shift gives operational meaning to the assumption of local connectedness. Each point with an eligible neighbour belongs to an edge at the strongest membership level. The effect concerns the immediate surroundings of a point. Several regions can each satisfy the rule while remaining separate connected components in the graph. The practical motivation is especially clear when ambient distances near a point are all substantial in absolute terms. The nearest positive distance still defines a fully supported local connection.
The second quantity, σᵢ, controls the rate of decay beyond that offset. The geometric argument suggests normalising by an outer neighbour radius. The implementation instead searches for a scale that gives the outgoing weights a chosen total. The paper describes this as fixing the cardinality of the local fuzzy edge set, with cardinality here measured by the sum of memberships.
Σⱼ₌₁ᵏ exp(−max(0, d(xᵢ, xᵢⱼ) − ρᵢ) / σᵢ) = log₂(k)
The symbol Σ denotes the sum over each neighbour index j from 1 to k. The expression max(0, d(xᵢ, xᵢⱼ) − ρᵢ) clips the shifted distance at zero. The scale σᵢ divides the resulting gap, and exp applies the exponential function to its negative. The target log₂(k) is the base-two logarithm of the neighbour count.
For a positive gap, a larger σᵢ gives more weight to that neighbour. When the gap is zero, the strength remains at its full value regardless of the scale. The fit can therefore adjust the contribution of the neighbours beyond the offset, while retaining the strongest local connections. Two centres can have the same target total and distribute it differently across their lists, depending on the relative spacings of their neighbours.
The authors selected the logarithmic target empirically. The theoretical argument motivates point-specific distance normalisation, while this particular target specifies how the implementation smooths it. The result resembles perplexity calibration in t-SNE in the limited sense that both set the scope of a local comparison by adapting its decay. UMAP uses a sum of graded edge memberships for that calibration. The values continue into its graph with the meanings assigned by that construction.
Aᵢⱼ = exp(−max(0, d(xᵢ, xⱼ) − ρᵢ) / σᵢ)
Aᵢⱼ is the directed membership from xᵢ to xⱼ when xⱼ is on the selected list for xᵢ. The distance d(xᵢ, xⱼ) is adjusted by the source offset ρᵢ and divided by the source scale σᵢ. The functions max and exp perform the same clipping and exponential conversion as in the scale fit. For an unselected destination the corresponding matrix entry is zero.
Both local parameters carry the source index. Consequently, the recorded strength from xᵢ to xⱼ can differ from the strength in the reverse direction even when the input measure is symmetric. The graph-construction section gives the clipped formula above. Its appendix uses a different written sign in a compact similarity expression. The explicit construction from the main section is the one that makes the nearest positive distance yield full membership as described in the paper.
Why a distance becomes a fuzzy membership
The mathematical argument explains why the graph’s numbers can be seen as graded pieces of a space. In a simplicial description, a vertex represents a point, an edge joins vertices, and higher simplices provide pieces with more vertices. A simplicial set specifies collections of such pieces along with maps that relate them. Maps that select faces describe how a piece contains smaller pieces, and maps allowing repeated vertices describe degeneracies. The paper builds on a classical relationship between simplicial sets and topological spaces before giving the corresponding construction for finite distance spaces.
At the abstract level, the authors use a category Δ of finite ordered sets and maps preserving their order. A category specifies objects, the permitted maps between objects and the composition of those maps. A functor is a consistent assignment of objects and maps to another category. The simplicial set is contravariant on Δ. The map of ordered sets goes in one direction, while the induced operation on the corresponding collections of simplices goes in the other direction. Thus a map selecting positions from a larger ordered set can act by taking a smaller face of a simplex.
S: Δᵒᵖ → Sets
S denotes a simplicial set in the classical description. The symbol Δᵒᵖ denotes the category of ordered sets from the paper with the directions of its maps reversed. Sets is the category of sets and functions. The functor S assigns a set of abstract simplices to each ordered simplex type.
A standard geometric simplex can be given by non-negative coordinates that sum to one. Classical realisation glues such standard pieces according to the maps in a simplicial set. The classical singular construction works in the reverse direction by considering maps from the geometric pieces into a space. The paper uses these operations to motivate two corresponding constructions for fuzzy pieces, where membership controls the distance scale of a standard piece.
To introduce fuzziness, the authors draw on Michael Barr’s categorical treatment of fuzzy sets. One way of specifying such a set is to give the elements and their membership values in the unit interval. Another is to give the ordinary set of elements present at each threshold. As the threshold falls, the set can grow. The maps between these threshold sets retain the identity of elements as they become available at weaker levels. The threshold description is convenient because operations on these sets can be formulated as maps and carried through the simplicial construction.
μ(u) = sup {a ∈ (0, 1] | u ∈ 𝒫([0, a))}
μ(u) is the membership of element u, and 𝒫([0, a)) is the section of the fuzzy set at threshold a. The notation ∈ means that an element belongs to a set. The supremum sup gives the greatest membership level approached by thresholds at which u occurs. The interval (0, 1] specifies the positive thresholds, and [0, a) is the interval label for the section in the paper’s construction.
Replacing ordinary sets with fuzzy sets in the simplicial construction attaches threshold information to each type of piece. One can ask which edges are supported at a stringent threshold and which additional edges appear under a weaker one. Face relationships are still part of the general construction. The implementation, which uses the vertices and edges, can store the resulting information about edges as a weighted graph.
The metric spaces used in the theoretical translation are allowed to have infinite separations and zero distances between distinct points. The first provision suits a local view that estimates distances from its own centre and has little to say about pairs of other observations. The second makes it possible to give a nearest neighbour zero adjusted distance while retaining it as a distinct point. The paper uses non-expansive maps in this setting. These maps may shrink distances and must keep the separation of mapped points within the allowance given by the source space.
A finite construction links the two descriptions
Spivak’s metric realisation associates a distance space with a standard fuzzy simplex. The continuous construction has a simplex whose coordinate sum is the negative logarithm of the membership level. The authors adapt the idea to finite observations. Their finite realisation of a standard piece uses a finite set, with the same prescribed separation between any two distinct vertices of that piece.
dₐ(uᵢ, uⱼ) = { −log(a) if i ≠ j, 0 if i = j }
dₐ is the distance in the standard finite piece with membership parameter a. The vertices are uᵢ and uⱼ, identified by i and j. The function log is the natural logarithm. Distinct vertices are separated by −log(a), and the separation from a vertex to itself is 0.
As a increases toward full membership, the separation the standard piece allows becomes smaller. The reverse construction, called FinSing in the paper, tests which standard pieces can be mapped into a finite distance space at each membership level. For an edge, specifying the map amounts to specifying its endpoints. Such a map is non-expansive when the endpoints in the observation space are at most as far apart as the standard edge allows. A pair at a small distance can pass the test at a high threshold. An infinite distance prevents the pair from passing at a positive threshold.
FinSing(Y)([n], [0, a)) = HomFinEPMet(FinReal(Δⁿ_<ₐ), Y)
Y is the finite extended pseudo-metric space being described here. The notation [n] specifies the ordered simplex type, and [0, a) names its threshold section. The symbol Δⁿ_<ₐ denotes the corresponding standard fuzzy simplex. FinReal gives its finite distance-space realisation. HomFinEPMet denotes the set of non-expansive maps in the category of finite extended pseudo-metric spaces, with that realisation as source and Y as target.
An edge at adjusted distance s can accordingly have membership up to exp(−s). Here s stands for the distance it has to accommodate in the non-expansion test. This relationship explains why the weights in the graph use an exponential of negative distance. It also connects the connectivity shift to the graph directly. A zero adjusted distance uses the full allowance of a standard edge at maximum membership.
The paper proves that the two finite constructions form an adjunction. In this case the term means that maps out of a finite realisation into a distance space correspond systematically to maps into the fuzzy singular description of that space. The proof first identifies the correspondence on individual standard pieces. Maps from a standard piece into a simplicial set pick out simplices of that type, the fact formalised by the Yoneda lemma. The finite realisation of a general fuzzy simplicial set is then built by combining the realisations of its standard pieces and respecting the maps between them. A colimit is the formal operation that performs that assembly. The map correspondence for pieces consequently extends to the combined construction.
This bridge matters to the algorithm because the local estimators have a common output format even when their distance scales disagree. At a centre, the finite distance-space description keeps the information about its links to neighbours and gives pairs outside its knowledge infinite distance. In the fuzzy description, that absence of a usable distance becomes absence of positive membership. Another centre offering a useful distance can then contribute its own graded piece. The result of combining the local fuzzy descriptions is a representation of the dataset as a whole, even though each metric estimate was made from a single vantage point.
Assembling the undirected input graph
The implementation expresses the fuzzy union as an operation on the directed adjacency matrix. An adjacency matrix records the weights from each vertex to each possible destination. A transpose exchanges source and destination, so the two local views of a pair appear in the same position when using the matrix and its transpose.
B = A + Aᵀ − A ∘ Aᵀ
A is the directed adjacency matrix whose entries are the local memberships. Its transpose Aᵀ reverses the directions. The symbol ∘ is entrywise multiplication, so each product uses the forward and reverse entries for one pair. The resulting B is the symmetric adjacency matrix for the input graph.
vᵢⱼ = vⱼ∣ᵢ + vᵢ∣ⱼ − vⱼ∣ᵢ vᵢ∣ⱼ
vⱼ∣ᵢ is the local strength assigned to destination j from centre i, and vᵢ∣ⱼ is the reverse strength. The quantity vᵢⱼ is the combined strength for the pair. The product being subtracted adjusts for the support already represented by both directions.
The paper calls this rule the probabilistic t-conorm. Its arithmetic is the familiar sum of support from either direction with the overlap subtracted in the form of a product. If one directed membership is zero, the other is carried over. If one has full membership, the undirected pair also has full membership. Intermediate positive values in both directions can reinforce the connection. These properties convey why the rule is a union of local views. A pair needs only one supporting view to become an edge.
The resulting graph may give an observation neighbours that were absent from its directed list. Their searches found a connection in the reverse direction. The graph is therefore a representation of combined local evidence, with edge weights shaped by the separate scales and by the union. Its weights have no dataset-wide mass to divide among edges. This lets later stages keep the weight of a particular source pair fixed while carrying out updates involving many other pairs.
Defining proximity in the output
Once the graph is set, each observation needs an output position. The target space is typically Euclidean, with a dimension chosen as an input parameter. The geometric framework also allows the authors to contemplate other spaces, such as a sphere or torus. The algorithm and comparisons centre on a known output geometry, so the metric there can be used directly to calculate the separation of any current pair of positions.
Y = {y₁, …, yₙ} ⊂ ℝᵈ
Y is the set of output positions, with yᵢ corresponding to input observation xᵢ. In this formula the final subscript n denotes the number of positions. The symbol ⊂ indicates that they lie in ℝᵈ, the Euclidean coordinate space of target dimension d. Here d is a coordinate count, distinct from the input distance function written with the same letter earlier.
The input procedure shifts distances using the nearest neighbour of each centre. In the output, the authors provide a parameter called min-dist to play a related role. It governs the separation at which they want close pairs to begin losing membership. The desired curve gives full membership at sufficiently small separations and lets it decay beyond the specified distance.
Ψ(u, v) = { 1 if ‖u − v‖₂ ≤ min-dist, exp(−(‖u − v‖₂ − min-dist)) otherwise }
Ψ denotes the desired membership curve for positions u and v. The notation ‖u − v‖₂ gives their Euclidean separation. min-dist is the threshold for the flat part of the curve. The value 1 is full membership, and the exponential function supplies the decline once separation exceeds the threshold.
The transition in this curve presents a difficulty for derivative-based optimisation. UMAP instead fits a family of smooth membership curves to the desired profile by nonlinear least squares. The fit chooses the two shape parameters by making the proposed curve close to the target. Consequently, min-dist affects the packing of nearby points through the fitted curve. The optimiser is free to place points at the separations that offer the best compromise for the graph.
wᵢⱼ = 1 / (1 + a(‖yᵢ − yⱼ‖₂²)ᵇ)
wᵢⱼ is the output membership of the pair whose positions are yᵢ and yⱼ. The expression ‖yᵢ − yⱼ‖₂² gives the squared Euclidean distance. The positive values a and b are the fitted curve parameters, controlling how the denominator grows with separation.
The appendix reports a ≈ 1.929 and b ≈ 0.7915 for the default settings. Setting both parameters to 1 gives the shape of the unnormalised Student t kernel used by t-SNE in its output space. Even in that case, the use made of the numbers differs. UMAP can compute the membership from the two positions involved. t-SNE makes its output probabilities with a denominator aggregating the similarities across pairs.
The source graph and this curve jointly specify what it means for a proposed arrangement to be good. The graph says how strongly an edge belongs to the input representation. The curve says how much an edge would belong to the output representation given the current positions. Throughout the optimisation, an edge can change its output membership many times while keeping the same input strength. This is possible because the input relationships have already been assembled and the layout stage moves only their coordinate representatives.
The losses for attraction and repulsion
The authors compare the graphs by taking the cross-entropy of the two fuzzy edge sets. The same possible pairs appear in the reference set for both graphs. An absent edge in the sparse input can be treated as an edge with zero membership for the comparison. That permits the objective to consider absent and weak edges alongside the explicitly supported ones.
C = Σₑ∈E [μ(e) log(μ(e)/ν(e)) + (1 − μ(e)) log((1 − μ(e))/(1 − ν(e)))]
C is the fuzzy set cross-entropy as defined by the authors. The set E contains the possible edges, and e denotes an edge summed over that set. Its input membership is μ(e), and its output membership is ν(e), calculated by the fitted curve at the current positions. The logarithm is denoted by log. The complements 1 − μ(e) and 1 − ν(e) describe the respective strengths of absence for that edge.
The formula accounts for two different ways to lose information. Moving a strongly linked pair far apart reduces its output membership, which incurs a cost in the first term. Bringing a weakly linked pair very close reduces its output complement, which incurs a cost in the second. An edge with intermediate input strength contributes to both terms. The paper’s name for the objective refers to the complete expression, which contains input-only terms as well as terms that depend on the layout.
L = −Σₑ∈E [μ(e) log ν(e) + (1 − μ(e)) log(1 − ν(e))]
L is the part of the cross-entropy relevant to moving the positions. The possible edges E, the edge e, the fixed membership μ(e) and the changing membership ν(e) have the same meanings as in C. The terms removed from C contain only the fixed input strengths and their complements. Their values remain constant through the layout calculation.
The form of L also clarifies the relation to LargeVis. Both procedures have an attraction term that favours giving supported pairs a high output strength and a repulsive term based on the complement of output strength. LargeVis maximises a likelihood with a separate coefficient γ governing the weight of the repulsive contribution. UMAP’s written objective minimises a loss whose repulsion is weighted by the complement of each pair’s input membership. The amount of repulsive work performed in the implementation also depends on the negative samples drawn.
The cost is non-convex in the output coordinates. Moving an endpoint to satisfy a connection can change its membership with every other nearby output point. A series of improving updates can settle into different configurations from different starting positions. UMAP’s graph and cost define the preferred relationships, and the initialisation and schedule help determine which feasible compromise the computation reaches.
The higher-order construction suggests a possible alternative to comparing only edges. The authors show how distinct simplex levels could each contribute a term. A comparison of triples, for instance, would add information from the fuzzy relationships at that level alongside the pairwise comparison.
Cℓ(X, Y) = Σᵢ₌₁^ℓ λᵢ C(Xᵢ, Yᵢ)
Cℓ is the proposed combined objective, where ℓ is the highest simplex level used in the sum. X and Y denote the source and output fuzzy structures in this formula. Their fuzzy sets of simplices at level i are Xᵢ and Yᵢ. Each λᵢ is a real weight for that level, and C is the fuzzy set comparison applied to its two corresponding sets. The bounds of the sum include the edge level at 1.
The reported implementation uses the graph, called the one-skeleton of the simplicial set. Higher-order collections grow in size and add work in both representation and comparison. In the implemented objective, every influence of a larger configuration comes through the memberships of pairs and through the way a common arrangement of positions satisfies them.
Starting from the graph and refining by sampling
The default approach in the paper starts the layout with spectral coordinates. Such coordinates use eigenvectors of a matrix derived from the graph, here the symmetric normalised graph Laplacian. The graph Laplacian represents how values on vertices vary across their weighted connections. Its continuous counterpart in the authors’ argument is the Laplace–Beltrami operator, a differential operator on the manifold. Eigenvectors of the graph matrix provide coordinate directions shaped by the graph’s connections, so they furnish a starting arrangement with some large-scale organisation already present.
Random coordinates are also possible. The authors prefer the spectral arrangement for convergence speed and stability. When short neighbour lists split the graph into many components, its spectral treatment requires care. There is information about the arrangement within each piece, while the connections the spectral procedure ordinarily uses to relate pieces may be absent. This sensitivity follows from the graph supplied to the initialisation.
Each refinement stage uses some of the input edges for attractive updates. Their memberships determine how often they are selected. The coordinates of a selected pair determine its current output membership and the direction in which an update should change it. The sampling makes heavily supported edges influential without requiring the whole set of attractions to be evaluated together.
Repulsive updates follow a different sampling rule because the potential pairs with weak or zero membership are far more numerous. For a selected positive edge, the procedure draws other vertices for comparison with one endpoint. It treats these sampled potential connections as negative examples and applies repulsion using the output complements. The authors argue that a uniform draw over vertices can approximate the required distribution in a sufficiently large dataset. This part of the implementation follows LargeVis and work on negative sampling for learning word representations. Distributed Representations of Words and Phrases and their Compositionality
The layout section gives force formulas for both kinds of movement. Let r denote the Euclidean distance between the current positions and let sᵢⱼ stand for the corresponding input edge weight in the force formulas. This relabels the input weight because the appendix reserves a similar symbol for the output membership.
Fattr = [−2ab r^(2(b − 1)) / (1 + r²)] sᵢⱼ (yᵢ − yⱼ)
Fattr is the attraction vector in the graph-layout section’s displayed expression. The chosen positions are yᵢ and yⱼ, r is their separation, and sᵢⱼ is the source strength. The parameters a and b come from the fitted curve. The negative coefficient on the displacement yᵢ − yⱼ directs the movement of the first point toward the second. The printed attraction denominator differs from the one obtained by differentiating the fitted kernel in the loss. The kernel and cross-entropy in the implementation account specify the intended optimisation.
Frep = [2b / ((ε + r²)(1 + a r^(2b)))] (1 − sᵢⱼ)(yᵢ − yⱼ)
Frep denotes the repulsive vector in the paper’s layout description. Here ε is the small stabilising constant added to the squared separation r². The paper reports 0.001 for that constant in the implementation. The parameters a and b, the fixed source strength sᵢⱼ, and the positions yᵢ and yⱼ are as above. A positive coefficient on their displacement moves the first point away from the second, and the input complement governs the weight in the full force expression.
The method interleaves updates and reduces their size as optimisation advances. The epoch setting determines how much work is allocated to this refinement. It can affect how far the coordinates have settled, while the neighbour count has already determined the graph being laid out. The target dimension controls the space available to express that graph. The packing parameter determines the curve by which small output separations are interpreted. Together these settings govern distinct stages of the computation.
Under a fixed negative-sampling rate, the authors describe the layout work in terms of the number of retained edges.
Layout work = O(kN)
N is the observation count and k is the neighbourhood count. The notation O(kN) describes how the work scales with those counts in the authors’ account of optimisation, with the update budget understood under the stated sampling conditions. Each point contributes a limited number of directed relationships, and symmetrisation draws its possible edges from those relationships.
Reported neighbour-search scaling ≈ O(N^1.14)
N again counts observations. The exponent 1.14 is the empirical scaling cited for Nearest-Neighbor-Descent, and O expresses the order of growth used to describe it. The authors use that empirical estimate to characterise the overall procedure, whose graph search can dominate the layout. They report no theoretical complexity bound for the approximate neighbour search.
The paper names the Python reference implementation, umap, and the R implementation, uwot. The evaluated Python code uses Numba to accelerate computation. The main experiments use a single-core version of UMAP, and the authors note that parallel implementations of neighbour search and optimisation were available by publication. These engineering choices are part of the conditions under which the reported timings were obtained.
Experiments and results
What each comparison measures
The experiments examine appearance, label prediction, stability and computing time. The visual comparisons ask whether a reduction displays relationships that can be recognised using knowledge of the source collection. The label experiment asks whether nearby reduced observations help predict a class. The stability analysis compares independently computed embeddings that have observations in common. Timing studies then vary the amount of work involved, including how many observations go in, how long their representations are and how many coordinates come out.
These are different uses of an embedding even when the same dataset appears in several tests. The rotating-object images can show whether a continuum of views remains connected, and their labels can also support a classification test. A classifier can give a good result if images of the same object fall into the same area even when the order of their views has changed. Conversely, retaining a similar arrangement across subsamples matters to someone who wants to compare independent visualisations. The Procrustes analysis measures that property without using the class-based criterion.
Collections used to put the method under different demands
The PenDigits collection used in the paper consists of 1797 examples. Each appears as an 8x8 grayscale image of a digit entered on a tablet, represented for computation by 64 coordinates. PenDigits serves in the smaller-sample classifier experiment and in the timing comparison where the dimension of the output is varied.
COIL 20 contains 1440 grayscale images. There are 20 objects, each observed at 72 rotations spanning 360 degrees. The 128x128 image for a particular view becomes a vector of length 16,384. The collection has a useful structure beyond the identity of the objects. Views can follow each other round a full turn, giving the authors a reason to look for cycles in the reduced coordinates.
COIL 100 also uses 72 rotations spanning 360 degrees, but depicts 100 objects and contains 7200 colour images. Its image representation has 3 intensity matrices of size 128x128. The resulting vectors have 49,152 coordinates. The difference between COIL 20 and COIL 100 is therefore a change both in the range of objects sampled and in the cost of a direct comparison of image vectors.
The Mouse scRNA-seq collection records gene expression in 20,921 cells from an adult mouse. Each cell contributes 26,774 measurements. The expression data allow the authors to test ambient-dimensional scaling while using the same observations across runs. They can reduce the coordinate count with PCA by varying how many components are kept, then compare these runs with one on the unreduced collection.
Statlog Shuttle has 58,000 observations described by 9 features. The measurements concern radiators in the space shuttle and include a timestamp. It provides a relatively large labelled collection whose observation vectors are short. That combination is helpful for comparison with the image and cell collections, where the input coordinate count itself can represent considerable work.
MNIST contributes 70,000 grayscale digit images of size 28x28. The input vector for each image has 784 coordinates, and the labels cover 10 digit classes. Fashion-MNIST has 70,000 images with the same image size and vector length, organised into 10 classes of items such as clothing, footwear and bags. Their matching dimensions and observation counts put similar demands on parts of the computation. The structure relevant to classification can still differ appreciably, as the accuracy comparisons illustrate.
The flow-cytometry dataset supplies 17 measurements per observation and contains 1,000,000 samples. It is used for the stability study. The comparatively short measurement vectors help keep the t-SNE comparison feasible when running both full and sub-sampled versions. The size of the collection also gives the authors room to see what happens as the percentage of samples retained changes.
The GoogleNews collection contains 3 million word and phrase vectors, each with 300 coordinates. The paper attributes these word embeddings to word2vec applied to Google News documents. It uses cosine distance for UMAP on this collection and describes an angular distance for the t-SNE comparison. Euclidean distance is used for the other datasets. GoogleNews appears in the visual comparisons and in the scaling experiment that varies the number of observations, and its full embedding is reported separately from the ordinary runtime benchmark.
What survives in the visual displays
The visual study compares UMAP with t-SNE and LargeVis and includes PCA and Laplacian eigenmaps as additional references. The authors use MulticoreTSNE for t-SNE and the reference implementation of LargeVis. Their PCA and Laplacian eigenmaps runs use scikit-learn. They say they adjusted parameters where possible to obtain good embeddings. Isomap was attempted as well, with COIL 20 the largest collection it could handle in a reasonable time for this comparison.
The authors judge the neighbourhood detail shown by UMAP to be comparable to what t-SNE and LargeVis produce. They also see UMAP retaining some of the broader organisation visible in PCA or Laplacian eigenmaps. These findings concern the relationships one can recognise in the layouts. The positions, shapes of groups and gaps can change across algorithms while still expressing some of the same local organisation.
COIL 20 offers the clearest example grounded in how the data were acquired. Over successive views, an object can trace a curve through the representation, returning to the original viewing angle when the turn is complete. The authors report seeing more such loops survive in UMAP, including intertwined loops. The result gives them a reason to describe the layout in terms of the connections it preserves across a progression, in addition to whether each object forms a recognisable group.
In MNIST the interpretation shifts to relationships among kinds of images. The digit groups for 1 and 0 occupy distant parts of the UMAP display described in the paper. The authors identify the groups for 4, 7 and 9 as forming one broader collection, with 3, 5 and 8 forming another. They take these placements as evidence that the display retains relationships among visibly similar digits as well as providing separation within the overall collection of classes. The particular corner or orientation of any group carries little weight in this reading. What matters is the relative arrangement.
On Fashion-MNIST, the broad distinction between clothing and footwear stands out more clearly to the authors in the UMAP embedding. A plot can show that distinction while allowing some confusion between individual categories. It is therefore possible for the presentation of broad groups and the prediction of local labels to favour different layouts. GoogleNews provides a comparison with no image classes guiding the interpretation. Both methods show groups of related vectors, and the authors regard the layout among those groups as clearer in UMAP. Their claims about these plots are visual judgements, with different kinds of source information supporting the interpretations on different collections.
Classification on the embedding
The quantitative comparison uses a nearest-neighbour classifier on the reduced coordinates. The classifier considers the labels of nearby examples when assigning a category to a held-out example. Accuracy measures how often the predicted category agrees with its recorded label. The labels specify a practical test of the embedded neighbourhoods. In the paper’s ordinary procedure the embeddings are formed from the observations’ distances, and the labels are used to assess the resulting coordinate spaces.
The test varies k, the number of neighbours consulted by the classifier. This use of the symbol refers to a setting of the classifier, distinct from the neighbour count used to build a UMAP graph. For a small classifier neighbourhood, accuracy depends primarily on the labels of points immediately surrounding a test point. Larger settings make the prediction depend on a wider region. This extends the empirical comparison to behaviour beyond the immediate vicinity, while evaluation still depends on the distinctions represented by the labels.
For the smaller datasets, PenDigits and COIL 20, the paper uses stratified 10-fold cross-validation. Stratification preserves class representation across the divisions as far as possible. It yields 10 accuracy scores for each embedding at a given classifier setting, and the paper reports average scores and shows their variation across folds. Shuttle is evaluated with 10-fold cross-validation because the class sizes constrain the stratified division. MNIST and Fashion-MNIST each use 20-fold cross-validation, yielding 20 scores per setting and embedding.
The baselines are PCA, Laplacian eigenmaps, LargeVis and t-SNE. On PenDigits and COIL 20, the authors describe UMAP as at least competitive with t-SNE and LargeVis for classifier settings in the range 10 to 40 once uncertainty in the accuracy estimates is considered. At the broader settings of 80 and 160 neighbours, the paper reports a significant accuracy advantage on COIL 20. The findings on PenDigits point in the same direction with less certainty. The numbers here specify how many neighbours the classifier consults, while the paper expresses the comparisons of accuracy in terms of the reported direction and strength of evidence.
On Shuttle and MNIST, the authors likewise report UMAP matching or exceeding t-SNE and LargeVis within the confidence bounds when the classifier uses settings from 100 to 400 neighbours. At broader settings including 800 and 3200, Shuttle shows a significant advantage, and MNIST gives evidence of better performance. These results are consistent with the authors’ interpretation that useful relations can survive beyond very small neighbourhoods. The criterion still measures agreement with known class labels. A layout that reveals a broad relationship between categories earns credit here to the extent that the relationship helps the classifier assign its labels.
Fashion-MNIST shows a different pattern. For the smaller settings in the large-dataset comparison, UMAP is weaker than t-SNE and LargeVis. Its performance becomes comparable at classifier settings of 1600 and 3200 neighbours. On this collection, the visual account of clearer clothing and footwear regions can coexist with a deficit in class prediction from close neighbours. The combined evidence places the claim of competitive local quality at the level of a recurring result across datasets, with the scale and kind of evaluation affecting the ranking.
Stability under changes to the sample
UMAP uses randomness in both neighbour search and the update sequence for the layout. To measure how much a layout can change when the available observations change, the paper uses flow cytometry. The authors embed a subsample independently. They also embed the full dataset and take the positions for the same observations from that run. A comparison of these two sets of positions then measures whether their relative arrangement can be reconstructed from fewer observations.
The coordinates have an arbitrary position, orientation and overall scale, so the authors use Procrustes alignment to compare shapes. The method translates, uniformly scales and rotates one arrangement to minimise the discrepancy with the other. It can use the known correspondence between points because both arrangements contain the same sub-sampled observations. Before computing the distance, the authors divide the positions by the average norm of their embedded dataset to account for differences in extent.
dₚ(X, Y) = √(Σᵢ₌₁ᴺ ‖xᵢ − y′ᵢ‖²)
dₚ is the Procrustes distance between the corresponding arrangements X and Y. The symbol xᵢ is the reference position of observation i, and y′ᵢ is its matched position after aligning Y. The squared norm ‖xᵢ − y′ᵢ‖² is the residual squared separation, and N counts the matched observations. The square root turns the sum of squared residuals into the distance. The comparisons in the figure describe the average discrepancy per point.
One alignment illustration places an independently embedded 10% subsample against the full flow-cytometry layout for each of UMAP and t-SNE. The broader comparison uses several subsample sizes and includes LargeVis. In this experiment, the authors found that t-SNE needed more optimisation iterations to converge adequately. Increasing its allocation from the default improved the Procrustes results and increased runtime. The chart records the budget change behind the stability comparison.
t-SNE iteration budgets for the flow-cytometry stability experiment
The authors used the larger iteration budget to obtain better convergence before comparing subsample stability.
The numbers
| System or setting | optimisation iterations |
|---|---|
| Default t-SNE budget | 1000 |
| Adjusted t-SNE budget (this paper) | 1500 |
UMAP’s average discrepancy per point was already below every value reported for t-SNE when UMAP used a 5% subsample of the full flow-cytometry collection. The paper’s figure account also places this UMAP result ahead of LargeVis even with the full dataset available to the latter. The percentage identifies the input size for the separate UMAP run. Agreement is assessed after orientation, translation and uniform scale have been aligned, so the result concerns the arrangement left after those freedoms have been taken into account.
Ordinary runtimes and what was timed
The ordinary runtime comparison was run on a MacBook Pro with a 3. An Intel Core i7 running at 1 GHz is paired with 8 GB of RAM. The larger scaling studies ran on a server equipped with 512 GB of RAM and Intel Xeon E5-2697v4 processors. The paper compares implementations with different execution characteristics. MulticoreTSNE is an optimised C++ implementation of Barnes–Hut t-SNE. FIt-SNE, another optimised C++ implementation, uses multiple cores. The standard LargeVis timing configuration uses 8 threads on the 4-core laptop, with its sampling parameter altered for small datasets according to the implementation’s guidance.
Some ordinary timing inputs were made smaller to let a broader set of methods take part. The flow-cytometry input was a 10% subsample. The GoogleNews benchmark used 200,000 vectors. The mouse expression input was represented by 1,000 PCA coordinates. This last workload begins with a much shorter vector than the original measurement record for each cell. The dedicated scaling study on the expression data extends the comparison to the unreduced vectors.
The paper reports UMAP as the fastest method in the ordinary comparisons with the exception of PenDigits, on which Isomap and Laplacian eigenmaps have a small timing advantage. Some workloads yielded no completion for particular implementations. Isomap failed on Shuttle, MNIST, Fashion-MNIST and GoogleNews in the runtime tests. The Laplacian-eigenmaps implementation also failed on GoogleNews. The authors flag the possibility that the available implementation of Laplacian eigenmaps is inefficient at larger sizes, which confines that observation to the tested software.
Increasing the target dimension
The output scaling experiment uses PenDigits. The input is kept fixed while each method produces coordinate spaces with different dimensions. For MulticoreTSNE, the cost rises sharply with the size of that output space. The authors report a substantial difference in computational performance even at output dimensions of 6 or 8. The available FIt-SNE implementation is absent from this comparison beyond an output dimension of 2, since it lacks support for larger output dimensions.
The paper relates the Barnes–Hut result to the increasing cost of organising output interactions with spatial trees as dimension rises. UMAP’s output memberships are independent pair calculations, and sampled updates avoid the corresponding tree-based approximation. LargeVis also avoids normalising its output memberships across all pairs. In the PenDigits study, the runtime curves for UMAP and LargeVis have little visible rise over the range shown. The authors describe their behaviour as roughly linear with a very small slope on that scale. This is the relevant advantage for using the output in subsequent computation, where the number of coordinates may exceed what can be presented as a picture.
Increasing the dimension of the source measurements
The ambient scaling experiment puts FIt-SNE, MulticoreTSNE and LargeVis alongside UMAP on Mouse scRNA-seq. The authors run each on PCA reductions that retain different numbers of coordinates and on the original source data. This keeps the samples fixed and varies how many coordinates describe each sample. All the tested implementations require more time as dimension rises. In the paper’s account, the costs of the comparison methods climb markedly as the inputs reach beyond a few thousand dimensions, while UMAP remains practical on the original expression measurements.
The authors connect the result to approximate neighbour search and to giving each point an edge of full local membership. Nearest-Neighbor-Descent makes the search practical in high dimension, and the connectivity shift lets a graph constructed from a relatively small neighbour list retain each point’s strongest local relations. The study times the complete procedures, so the account of these two contributions explains the architecture behind the observed curve without assigning each one a measured share of the runtime result.
The authors chose the mouse data in part because reducing their dimension with PCA retains much of the structure they want to examine. They contrast this with COIL 100, where they report that PCA damages much of the manifold structure. The ability to process the full coordinate set therefore has value beyond the amount of time measured. It can make a direct nonlinear reduction available when preliminary compression would affect the very relations the analyst wants to investigate.
Increasing the number of observations
For sample-count scaling, the authors embed subsets of GoogleNews of varying sizes using UMAP, LargeVis, MulticoreTSNE and FIt-SNE. The principal comparisons use a single thread for UMAP, MulticoreTSNE and LargeVis. The figure also includes a wall-clock curve for MulticoreTSNE using 8 cores. UMAP scales more favourably than the Barnes–Hut implementation in the study, including the comparison with additional cores. The authors describe its asymptotic scaling as comparable to FIt-SNE and LargeVis, with somewhat faster absolute times than FIt-SNE and much faster times than LargeVis on this dataset.
The full GoogleNews layout covers 3 million vectors in around 200 minutes using UMAP. The paper describes the corresponding MulticoreTSNE work as taking several days even with multiple cores. This result illustrates how the timing differences become consequential at the scale of a complete corpus. The ordinary benchmark on 200,000 vectors addresses a different workload, selected to let a broader range of methods run.
The largest demonstration changes the representation as well as the sample count. The authors embed integers expressed as sparse binary indicators of divisibility by primes. A vector records which of the represented primes divide its integer. The representation can have a very large number of possible coordinates while each observation occupies a sparse part of that space. The Python implementation’s support for sparse matrices makes it possible to apply UMAP directly to such inputs.
The demonstration comprises 30,000,000 samples in roughly 1.8 million ambient dimensions. It took roughly 2 weeks on a large-memory shared-memory system. The paper shows the overall layout coloured by point density and by the values of the integers, then shows close views of some regions. The visible organisation extends from broad shapes to detail within individual regions. This is a feasibility result for a deliberately structured sparse workload. The computation’s duration and hardware conditions are part of the finding, alongside the sample count and the size of its representation.
What the ablations show
The paper leaves a systematic ablation of UMAP’s components for future work and examines neighbourhood and packing settings, classifier scale, and changes in the available observations.
Which patterns depend on the neighbourhood scale?
The colour cube gives the parameter study a useful reference point. The authors draw uniform random samples from a 3-dimensional cube and colour the observations using their original RGB coordinates. A point’s colour carries information about its original location even after its coordinates have changed. The cube has a continuous distribution throughout its volume. Although a finite draw may leave patches that look unusually crowded or empty, the sampling process gives the authors a reason to expect such patches without positing a collection of separate groups.
In this example, a short neighbour list makes the embedding sensitive to small irregularities in the draw. A few observations may be close to one another and have a relatively open space around them. Those points can support one another’s edges while receiving little support from the rest of the sample. The resulting region can look like a distinct feature of the cube after layout. What appears visually is a genuine pattern in the realised neighbour graph, even though generating the sample involved no matching partition of the underlying volume. The relevant distinction is between the geometry of a finite draw and the geometry of the distribution that produced it.
Longer lists make each local estimate depend on observations over a wider area. This reduces the influence of the accidents visible in especially small regions of the cube. The reason comes from the construction: extending a list changes both the available edges and the distances used to fit its scale. A region that gained much of its support from nearby points in a chance concentration can then also have connections to its surroundings. The experiment gives a practical illustration of how a setting intended to control resolution can change the apparent existence of structure.
A small list is valuable when the relationships of interest really do occur on a smaller scale. The PenDigits illustrations help establish that part of the argument. Unlike the cube, the digit observations have a reason to form groups. The authors expect small to medium neighbourhoods to work well there. A local description can record connections among similar examples before comparisons with more distant digits have much influence on the estimate. The local setting has different consequences on the digit data and on the cube because the evidence found at that scale has a different origin.
For MNIST the authors expect intermediate neighbourhood sizes to be effective. The class organisation provides something for local connections to retain, while linking across larger portions of the data remains relevant to the overall display. The illustrations explain why the same neighbourhood setting can have several effects. It can decide whether a real local distinction has enough edges to survive, whether a chance group becomes visually prominent, and whether parts of the graph are able to influence one another through connections. Changing the setting changes the input to both spectral initialisation and the subsequent refinement, so the figure compares whole layouts derived from different graphs.
The cube and the digit collections together establish the existence of a tradeoff without establishing how to locate its best point on an unfamiliar dataset. The cube has a known sampling design, which allows the authors to identify a source for small irregularities. With unfamiliar observations, the analyst may lack that knowledge. A feature that disappears when the neighbourhood grows could have been due to a chance concentration. It could also be a genuine distinction that the broader comparison has averaged away. The figure demonstrates sensitivity to scale. Establishing the origin of a feature requires information about the observations or the process that generated them.
How the packing curve changes an existing graph’s appearance
The packing setting has a useful difference in timing. It is applied after the source relationships have been assembled. Changing min-dist alters the curve used to interpret separations in the output. The same source connections can therefore yield visibly different point arrangements. This is a reasonably direct way of studying the effect of how a graph is expressed in coordinates, even though the final result also reflects the interaction of all the forces involved in its layout.
On PenDigits, the paper shows that increasing the setting can open up tightly packed groups. Points that were visually difficult to distinguish can occupy a wider region, revealing detail inside the group. This matters in a display because a mark can cover its neighbours. The earlier layout can have distinct coordinates that look like one spot at the scale of the figure. Giving the group more visual room makes that variation easier to see. The experiment therefore concerns both the geometry of the output and what a reader can resolve when looking at it.
In MNIST, making groups occupy more space also has a cost. At large min-dist settings the authors observe that distinct groups press together in the overall display, and their boundaries become less apparent. The expansion of each group can reduce the open space visible between groups. A single setting affects both readings of the same picture. It can improve the view inside a group while making the division between groups harder to see. The intended use of the display helps determine which effect matters.
This also clarifies how to interpret a change in the appearance of a cluster. If the source data, distance and neighbour graph are held fixed, a group’s expansion after changing min-dist is attributable to the layout conditions. The experiment does not independently establish that the source group has the same internal density as either display. It shows that the expression of within-group variation depends substantially on the chosen output curve. The authors call the setting primarily aesthetic because it governs packing and overplotting. Since the curve enters the objective, the changes occur in the coordinates themselves.
The two settings can interact in the figures. A group first needs support in the input graph for the layout to have a reason to draw it together. How tight the group appears then depends on the output curve and on competition for room with other groups. A change in the displayed size of a group does not by itself identify which of these effects is responsible. The parameter illustrations become easier to read when the source of each change is known: varying the neighbour count alters the structure offered to the layout, and varying the packing parameter alters the distances at which the layout can express that structure.
How much the classifier results explain
The accuracy study changes the population consulted by the classifier. At each setting the same kind of assessment is applied to each embedding, which gives a direct comparison of how far useful class information extends from an embedded point. One can imagine a point surrounded immediately by members of its class, with several unrelated groups just beyond that immediate vicinity. The small classifier setting can give the right answer. A wider consultation makes the classes in those surrounding groups matter as well. The change in accuracy as the neighbourhood expands thus adds information beyond an accuracy score from a single setting.
The COIL 20 and Shuttle results provide the clearest examples of a relative advantage at broader classifier scales. The MNIST and PenDigits results give more qualified evidence in the same direction. What those comparisons establish is that the coordinates put useful labelled observations within reach of the wider decisions used in the study. The class labels help specify precisely which kinds of mistakes matter to that assessment. In COIL 20, a view from the same object contributes the same class evidence regardless of where the image sits along the rotation. The success of an object classifier and the preservation of a sequence of viewpoints can therefore be evaluated separately, even though both may benefit from connected views of an object.
Fashion-MNIST is particularly revealing because the visual and numerical observations concern different features of the same representation. The broad clothing and footwear distinction can be legible in the display while nearby points are relatively unhelpful for deciding some of the individual classes. A tradeoff between the two kinds of evidence is entirely compatible with the paper’s account of locality. Its objective gives priority to fuzzy memberships in an unlabelled graph. The classifier subsequently asks whether those memberships and their expression in the layout have arranged the recorded labels in a convenient way.
Changing the classifier setting leaves open how any advantage arose. Edges introduced during graph assembly may help establish useful links. The initial spectral arrangement may already put related groups in the same vicinity. Repulsive updates can also change which groups compete for nearby space. The comparison with complete alternative pipelines changes these mechanisms together. The accuracy study gives evidence about the behaviour of the resulting coordinates across several scales, while the assignment of credit to individual stages remains a separate empirical question.
What remains stable when observations are removed
The sub-sampling analysis makes an intervention at the start of the procedure. A retained observation is surrounded by a different available population, so the neighbour search can produce a different list and the list can produce a different estimate of the local scale. Edges in the assembled graph may change for reasons extending beyond the immediate deletion of the omitted vertices. The starting coordinates and all subsequent sampled updates can then differ. As a consequence, agreement after alignment shows that the arrangement can be re-created from altered relational evidence. It is a stronger test than extracting a subset of already fixed coordinates and reporting the resulting picture.
On flow cytometry, UMAP shows a high degree of such agreement in the comparison. The study is useful because it tries to separate meaningful distortion from arbitrary changes in how a layout is positioned. Bringing corresponding observations into alignment gives the authors a common frame in which to measure residual differences. A display can end up facing another direction yet attain a small residual. Substantial rearrangement within the display will still affect the score. The numerical result accordingly applies to that definition of agreement.
The authors also found that allocating t-SNE more updates materially affected its stability on this workload. That finding puts the optimiser’s stopping point into the comparison. When the optimisation remains poorly settled, a sub-sampling score can reflect outstanding layout work in addition to sensitivity to the sample. Improving the convergence of the comparison method reduced one source of variation before the authors drew their conclusion. The intervention concerns the reported t-SNE setup. It leaves open whether other settings governing search, initialisation or layout would alter the ordering.
For UMAP, the study measures the combined effect of thinning the observations and running a stochastic procedure again. It gives no separate estimate for perturbations of neighbour search, starting coordinates or negative samples. The favourable alignment could reflect robustness at several stages. It could also reflect a particular structure in the flow-cytometry collection that survives even when many of its observations are omitted. The experiment gives that collection an important role in demonstrating the possibility of agreement under substantial changes in available evidence. The separate contributions of the dataset and the procedure are still open.
Why the starting arrangement matters to the global comparison
A starting arrangement can determine which large moves the optimiser has to make. Suppose connected regions begin near one another in a layout. Attractive updates can refine their proximity while the regions adjust locally. From a very different start, obtaining a similar arrangement may involve moving groups around other groups. Since the paper’s cost is non-convex, those two optimisation problems can end at different configurations even when the edge memberships and objective are held fixed. It follows that a comparison of final arrangements can be sensitive to information present before the first sampled refinement.
Here the paper can point to a more targeted comparison from Kobak and Linderman. The study, as discussed by the UMAP authors, gives t-SNE similar initialisation and finds comparable performance on a particular measure of global structure. The intervention addresses a specific explanation for UMAP’s reported advantage: its Laplacian eigenmaps initialisation already reflects organisation in the graph. The finding is relevant to the metric used in that study. The word “global” can also refer to other properties, including the preservation of longer distances or the arrangement of groups that have little direct contact, and the paper treats measurement of those properties as an open problem.
The UMAP authors also argue that the objectives matter. In the fuzzy cross-entropy, an output connection unsupported by the source graph creates a cost through the edge complement. The contribution of that term depends on the pair’s own membership and the current separation. In t-SNE, output similarities share a normalisation over pairs, so the cost relationships are organised differently. An initialisation achieving equivalent scores on one measure can coexist with genuine differences in how the subsequent optimisation treats the graph. The paper provides reasons to consider both factors and gives no numerical decomposition of their contributions.
This is a case where the mathematical and experimental accounts answer closely related questions. The derivation identifies how a graph can supply a starting configuration and how an objective can refine it. The initialisation comparison asks whether one observed performance advantage persists when an important difference in those starting configurations is reduced. A complete explanation of UMAP’s global behaviour would need to account for the initial placement, the layout dynamics, and the definition of structure under test. The paper’s broader comparisons supply evidence of the outcome, while the result it cites puts a narrower causal claim under pressure.
What the scaling comparisons can attribute
Changing the target dimension leaves the input collection and its measurement dimension intact. This makes the PenDigits scaling study particularly informative about the part of the pipeline that deals with output coordinates. The computational explanation predicts a growing burden for an approach that uses space trees for interactions as the layout dimension rises. The relative behaviour of the tested implementations follows this expectation. The favourable curves for UMAP and LargeVis also show that a sampled layout can avoid much of that burden on this workload.
Changing the number of input coordinates puts pressure on a different part of the computation. Pairwise comparisons inside the neighbour search now operate on longer vectors, and the use of PCA to vary their length can also change which neighbours are found. The expression dataset was chosen to make a comparison across such reductions informative. The experiment nonetheless varies the representation as well as its cost. A runtime curve for that study gives the observed cost of the whole computation over those representations. It does not measure the isolated effect of the connectivity offset or establish an implementation-independent price per input coordinate.
For the sample-count comparison, varying the size of subsets from the same word-vector collection provides continuity in the kind of input and its dissimilarity measure. The study shows how the complete implementations respond to growing demand. Search, sampling, representation and implementation efficiency all contribute to the times. This makes the result directly relevant to the paper’s practical claim that large embeddings are feasible. It remains possible for two implementations with similar growth over the tested sample sizes to differ substantially in absolute runtime, as the paper’s account of LargeVis illustrates. The scaling studies support mechanisms proposed by the authors and leave the finer attribution of work to individual stages unmeasured.
Limitations
Limits stated by the authors
The first concerns what the coordinates can explain. A component in principal component analysis has a relation to the directions of variation in the original measurements, and the feature loadings can support an account of what goes into it. UMAP has no corresponding feature loadings. It constructs positions from dissimilarities among observations, with a coordinate assigned through the compromise required by many connections. The authors identify this as a cost in interpretability.
A cell-expression display illustrates the distinction. A reader can ask which points lie near a cell and use that region to select other cells for closer examination. Identifying the measured expressions responsible for their proximity calls for looking at the input comparisons and the measurements themselves. The horizontal coordinate does not provide a gene contribution, and a rotation of the whole arrangement can move variation from one displayed direction to another while leaving every Euclidean separation unchanged. This makes the positions suitable for describing the arrangement under the fitted geometry. An axis remains a poor basis for an explanation in terms of particular source features.
The authors name PCA, non-negative matrix factorisation and probabilistic latent semantic analysis as alternatives when a directly interpretable decomposition is important. The choice depends on what would make a result intelligible. Knowing which examples are related can be sufficient for browsing a collection. A question about the measured variables responsible for a particular feature of a reduction calls for a different kind of evidence. The paper sees this limitation as shared by several nonlinear approaches, including t-SNE and Isomap.
The second limitation comes from the expectation of manifold structure. Even when observations were drawn from a simple distribution, the finite sample has irregular gaps and concentrations. The algorithm has enough flexibility to organise these irregularities into apparent features. The authors refer to a constellation effect. In the cube illustration, the origin of some apparent fine structure is known from the sampling design. A similarly compelling pattern in an unfamiliar dataset carries no readily available guarantee of having the same or a different origin.
The authors expect additional observations to help suppress structure that is present only because of sampling fluctuations. This is an expectation about the availability of evidence in a larger sample. It does not supply a detection rule for an existing layout. They call attention especially to small noisy datasets and to data with genuine organisation only at a broad scale. In the latter case a broad pattern and spurious small groups may appear together. The appropriate interpretation differs for the two kinds of feature even when both are visible in the same coordinates.
A further explicit limitation concerns densities and distances. The procedure implicitly searches for geometry under which the sample appears more uniform. If an open region and a crowded region are both represented faithfully in the original metric, the adjustment can still bring their local connections onto similar scales. The two regions may then have similar visual packing, in spite of having distinct source densities. When absolute separation or sampling concentration is part of the phenomenon the analyst wants to measure, this equalising tendency can remove information of direct interest.
This is particularly consequential for a display that is viewed without the input distances. Groups occupying similar areas can differ considerably in the distances among their source observations. Conversely, the number of points visible in a patch of the layout can change with the packing parameter. The same empirical sample supplies both the evidence for the local scales and the positions being displayed. As a result, UMAP’s visual concentration has passed through transformations that make it a different quantity from the concentration measured under the original metric.
The authors also limit their claim about broad relationships. Neighbourhood-based construction gives short-range relationships direct influence. An overall arrangement may emerge when chains of supported edges connect different regions. Some long distances have little direct representation in the graph, though the objective still penalises unsupported closeness. The authors judge that UMAP often keeps more useful global organisation than t-SNE or LargeVis in their examples. They also identify multidimensional scaling as an option for a task that cares about the full matrix of source distances and discuss PHATE as a method that uses information about local structure along with multidimensional scaling to address more distant relationships. Those approaches carry higher computational demands and use landmarking for large workloads in the account given by the paper.
Another explicit qualification follows from symmetrisation. An edge supported in the reverse direction becomes available to both points in the undirected graph. An observation can acquire more graph neighbours than it contributed from its own list, and the new neighbour can become influential in positioning it. This is consistent with using a collection of overlapping local views. The change matters if fidelity is defined by retaining each point’s outgoing rankings under the original distance. The symmetrised graph and the embedding optimise a different property from that literal retrieval criterion.
The difference becomes clearer for a point on the edge of a crowded group. The point can supply a strong link to a member of the group because it lacks equally close alternatives. The member has numerous other nearby candidates, so it may supply no such link in return. The union attaches the two through the first view. A test checking only how well the group member’s original neighbour list survives could record that added relationship as an error. The graph treats it as evidence from somewhere else in the sample. The result follows from the union rule even if both neighbour lists were obtained exactly.
The approximation strategy brings a separate caution. The authors single out datasets with less than 500 samples as a case in which approximate neighbour search and negative sampling may yield poorer embeddings. Each candidate relation can be more consequential in a small collection, and the large population assumed in the motivation for uniform negative sampling is limited. The authors propose a slower exact version for such settings as future work. The warning concerns the method presented in the paper and the compromises it chose to make a larger workload feasible.
Finally, the authors state that several properties of interest have no agreed comprehensive test. They identify global structure in particular as a subject in need of clearer definitions and a more systematic set of metrics. They also call for a practical study of individual algorithmic choices. The experimental comparison provides multiple views of performance, but none captures every intended use. A choice can be motivated by the paper’s assumptions, produce a practical pipeline, and still have an uncertain contribution on a particular benchmark. The authors leave that contribution open to further study.
Limits visible in the mathematical construction
The local argument begins with an assumption about the metric on a manifold and gives a way to use a finite sample as a source of scale estimates. Obtaining a stable scale from the neighbour count depends on there being meaningful local geometry within the selected region. The inference from point count to volume is clearest in a well-sampled interior patch under the assumed metric. Close to a boundary, a region with a given radius may contain fewer observations because part of the region that would contribute volume in an interior patch is missing. Gathering the same number of neighbours can then require a larger radius for reasons that have little to do with a change of the underlying metric.
The implementation can make the same kind of local estimate at both locations. Under the construction, the scale based on the larger distance can reinforce some connections near the boundary. The authors see the finite approximation as workable for small enough regions, including near boundaries. The experiment section gives no quantitative bound on the distortion at such sites. Any interpretation of a particular boundary feature depends on how much of the chosen local neighbourhood is actually represented by the observations.
The scalar form of the approximation has a related limit. A general Riemannian metric describes lengths for different directions at a point. A local volume tells us about the combined effect of those directional factors. The same volume change is compatible with different allocations of stretching and compression among directions. The graph construction applies a common local scale to distances from the centre. That can be an effective approximation while leaving directional properties of the hypothetical manifold unidentified. As a result, a successful layout is evidence about the usefulness of the graph and its geometry for a task. It does not make the complete intrinsic metric identifiable from the local volume argument.
The nearest-neighbour shift also turns a geometric assumption into a particular graph condition. The implementation aims to provide every point with an edge of full membership. In a finite graph this guarantees a kind of immediate local attachment wherever the offset is defined as intended. Graph regions can meet the condition internally while lacking edges to other regions. At a different extreme, an isolated observation can have one strongly weighted edge because the condition gives its own closest eligible neighbour full strength. Such an edge may span a considerable ambient separation. Its strength expresses the local rule, which qualifies its use as evidence of absolute closeness.
Some extreme neighbourhoods require conventions beyond the displayed definitions. The minimum defining the offset needs a positive distance in the list. If a list contains only observations at zero input distance, that set of candidates is empty. Ties can also leave many distances at the offset, and their memberships then stay fixed at full strength as the scale changes. The scale equation can only fit the target within the range obtainable from the weights that actually respond to it. The equations expose these conditions clearly enough to see why degeneracies pose a question for an implementation. The reported comparisons give no independent account of how such cases affect the resulting layouts.
The mathematical object and the quantity compared by the implementation differ in scope. The finite fuzzy simplicial description has places for higher-dimensional pieces. The implemented loss compares the graph of vertices and edges. A triangle visible in that graph gives evidence that its pairwise connections have support. The computed comparison has no additional term establishing a supported piece across the entire triangle. In particular, its edges may reflect estimates from different neighbourhoods. A related ambiguity can arise around a loop: the edges say which pairwise links are supported, while the graph alone gives a limited basis for assessing higher-order relations across its interior.
The authors give a weighted extension over simplex levels. Its value in a different procedure would depend on the availability, weights and computational cost of those additional memberships. The reported embeddings do not evaluate that extension. Claims of topology preservation should consequently be interpreted at the level at which UMAP was tested. The rotational curves in COIL 20 are evidence of visible organisation consistent with the design of the dataset. Extending that evidence to recovery of a full topological description would require an explicit comparison to the higher-order structure of interest.
The relationship between the full objective and its sampled implementation also defines the scope of the theoretical interpretation. The written loss weights each pair’s repulsive term by its input complement. To obtain an efficient procedure, the implementation draws candidate negative vertices and uses them as examples with absent edges. A sampled pair can in fact have positive input membership. It can receive attraction at other times through its membership, while the sampled negative update uses the simplified assumption. This is deliberate and helps make the computation practical. The paper’s rationale for uniform sampling appeals to large populations, and the experiments do not quantify how the approximation changes the effective balance of forces in particular parts of a graph.
The normalisation-free form makes individual calculations easy to separate, but it does not make their cumulative effects uniform across the sample. Sources that are visited often because of their memberships can take part in more updates. The spatial crowding of the result is then determined by the set and schedule of updates along with the choice of kernel. The objective describes the intended comparison of fuzzy structures, while the practical performance belongs to the procedure used to approximate it. The paper does not establish an error bound relating every finite run of sampled optimisation to the optimum of the full loss.
Even the optimum would be limited by what the chosen target space can express. Many pair strengths may each imply a desired separation. Those separations have to be realised jointly using the same set of positions, which constrains the distances that can coexist. A small embedding space can force a compromise between supported edges and weak ones. If two graph regions have very little connection, keeping them apart can satisfy many weak relationships while leaving substantial freedom about their precise relative placement. A particular arrangement in a finished display is one way of meeting the combined pressures. The paper does not establish that the distances or directions among weakly related groups are uniquely determined by the source geometry.
Limits of the comparisons a reader can infer
The classification task establishes usefulness for predicting labels from the tested coordinate spaces. The split described in the paper assesses the classifier on those spaces. The study does not establish performance for embedding new observations when every stage of the reduction has been fitted only on the training data. That distinction matters because a withheld label and a withheld observation play different roles. A point can influence an unsupervised graph through its distances even when its class is unavailable. Assessing prediction after adding genuinely unseen observations would also require a procedure for placing them, which the authors discuss among future directions.
The fold scores assess how the classifier’s performance varies with the divisions of the labelled observations. Variability of that kind can coexist with another source of uncertainty, namely the changes in layout that would come from rerunning the stochastic reduction. The cross-validation description does not give a separate estimate of those contributions. When the authors report an accuracy advantage, the evidence concerns the tested embeddings and classifier procedure. A claim about the spread of expected accuracy over fresh approximate graphs and independently optimised coordinates would call for a corresponding set of repeat runs.
Classification also expresses only the distinctions supplied by the labels. Consider images yielding a well-ordered progression within each object class. Changing the order of those images could leave nearly all their nearest labelled neighbours in the same class. The accuracy measure would give little reason to prefer the ordered progression. Likewise a reduction could change an interclass relationship in a way that preserves pure local classification. A wider classifier neighbourhood lets more surrounding structure affect the answer, but it still treats the class decision as the standard. The precision of the metric about labels comes with less information about properties outside that labelled task.
The visual comparisons supply information the classifier does not use, but their evidence has its own boundaries. Knowledge of how the objects were rotated provides a concrete expectation for the image data. The authors can inspect continuity and recognise loops. Class names help explain why particular collections of images in MNIST or Fashion-MNIST might plausibly be near each other. The assessment of broad organisation among word vectors is more interpretive. The paper offers observations about the displays and does not give a numerical reference for the correct arrangement of the word groups. The confidence one can attach to a feature depends in part on what independent structure is known about that dataset.
Similarly, the Procrustes measure intentionally gives no weight to translation, rotation or uniform rescaling after alignment. That is appropriate when studying shape, because arbitrary plot position or extent need not represent a structural change. It limits what can be inferred about numerical distances from the agreement. A comparable arrangement can still have a different overall scale before alignment. Furthermore a single aggregate score can obscure variation among different regions. If most matched points align closely and a small region changes, the aggregate alone does not identify where that happened or why. The paper’s flow-cytometry comparison demonstrates strong overall agreement on that dataset. It leaves local reproducibility in other settings open.
The runtime comparisons hinge on identifiable software and hardware conditions. A neighbour search may be practical for one dissimilarity and expensive for another. Sparsity changes how much work it takes to store and compare observations with many possible coordinates. PCA preprocessing changes the input both computationally and geometrically. Different threading arrangements affect elapsed time. Each reported comparison should travel with these conditions when applied to a new workload. In particular, the very high-dimensional integer demonstration and the ordinary timings on dense measurements concern quite different input representations.
The empirical scaling estimate cited for neighbour search summarises observations from the work introducing that algorithm. It gives the paper a basis for describing the expected cost in its implementation. It supplies no worst-case guarantee. The output-dimension result has an analogous boundary. UMAP avoids the specific dependence on output-space trees in the Barnes–Hut implementation, but storing and updating positions still takes work as their length increases. The observed advantage makes wider embeddings feasible in the comparison. It leaves a practical limit set by the input, output size, available resources and implementation.
The large integer example demonstrates feasibility under conditions that include sparse measurements, a large-memory machine and substantial runtime. Its plots show that recognisable geometric organisation can emerge on that scale. The colours supply indications about integer values or the density of positions in the display, depending on the view. These are means of exploring the result. The experiment gives no exhaustive check that a nearby pair shares a specified arithmetic relationship, or that separated regions correspond to distinct properties under a chosen external test. Its scale is a computational achievement, while its structural findings remain illustrative.
Finally, flexibility in the input dissimilarity puts some responsibility for the interpretation upstream of UMAP. The software can use a domain-specific rule to choose neighbours. That rule determines what evidence reaches the local estimator at all. A graph can faithfully organise relationships defined by a dissimilarity that is poorly suited to the scientific question. The paper demonstrates the use of more than one kind of distance and bases its theoretical development on specific geometric assumptions. It gives no general method for settling whether a particular supplied comparison is the right one for an application.
What came after
Scientific uses and a test of the global claim
The paper itself records adoption from preliminary releases. The fields it names include bioinformatics, materials science and machine learning. It points to work on visualising single-cell measurements and to studies concerned with the relationship between cells across larger collections. It also cites a materials-science application to scanning transmission electron microscopy. These uses put UMAP’s observation-based geometry into settings where points can have many measured coordinates and where proximity can give an investigator a way to navigate the observations. The features being measured and the meaning of a group depend on the setting.
A particularly direct continuation is the single-cell visualisation study by Becht and colleagues. The use identified by the paper is reducing the dimensions of single-cell data for display. This fits the motivation for the original gene-expression examples: an analyst can examine the disposition of cells together after comparisons involving many measurements. The contribution described here is the application of a reduction to explore those observations. A displayed separation can inform the choice of cells to compare, with an explanation of the separation depending on the domain measurements and the comparisons used to form the embedding.
The materials work cited by the authors takes the manifold-learning question into scanning transmission electron microscopy. This is a change in what the observations and their distances represent. The original formulation made that transfer possible by letting applications specify distances and build connections through them. A useful arrangement in such a setting would express relations among measurements of material structure. The UMAP paper reports the field’s adoption and identifies the application. It does not provide a separate materials benchmark from which to judge the effect of the reduction on particular scientific results.
Kobak and Linderman took up a different part of the original contribution by testing the interpretation of global structure. Their comparison gave t-SNE a similar initialisation and found equivalence on a particular measure, as described by the UMAP authors. The result identifies a condition under which an apparent difference between algorithms can be reduced by changing what they know at the start. The question it raises for later comparisons is concrete. If the starting positions already organise the broad components, the final metric may primarily register how much of that arrangement survives. A comparison with different starting positions can therefore ask a different question from a comparison with similar ones.
The citation record extends across several problems involving representations of text. The titles identify the research settings and the relationship of citation. They give no configuration or evaluation of a particular UMAP step for these works. The connections below follow the questions each paper takes up and the properties of the original method that bear on them.
From distributed representations to topics
Top2Vec (2020) addresses topics through distributed representations. That framing joins two descriptions at different scales. A representation gives locations and relationships among individual items, while a topic describes something shared across a collection of items. The UMAP paper shows how a geometry defined by those individual relationships can be made easier to explore. A close group in the resulting layout can bring examples together for inspection. A topic is a further interpretation of what they share.
This distinction becomes important when membership in a geometric neighbourhood and thematic association have different shapes. Text about a topic can use different words in different contexts. The representation may place parts of that subject in different regions. A single region can also contain material brought close by similarities only loosely related to the desired topic. The description of Top2Vec establishes its interest in distributed representations of topics. For that setting, the original paper provides a reason to treat the geometry and the interpretation of groups as linked questions with their own evidence.
BERTopic (2022) brings together neural topic modeling and a class-based TF-IDF procedure. The latter part of the description points to term weighting at the level of classes. This supplies a useful connection to UMAP’s limit on direct interpretation. Geometric positions can express that items are close under a representation, while weighting terms can give a reader words with which to characterise a class. The two operations address different kinds of information about the same kind of material.
The relationship between such information becomes especially important when a topic has internal variation. A layout may reveal a broad group with distinguishable regions inside it. Term evidence can then bear on what those regions express and whether their difference is thematic. Conversely, a set of terms can identify a plausible theme even when the geometry gives several groups connected by different paths. These are implications of pairing the kinds of questions suggested by BERTopic’s subject and UMAP’s construction. The citation does not specify how the topic procedure chooses its neighbourhoods or how much any reduction contributes to its results.
Topic Modeling: Contextual Token Embeddings Are All You Need (2024) takes up topic discovery with a focus on representations of tokens in context. This shifts attention to the unit that provides the geometric observations. A token has a context within the text, so the representation being compared concerns occurrences. Questions about the range of uses of a word can consequently become questions about the arrangement of observations at that level. The earlier GoogleNews experiment, while also concerned with text, gives UMAP word and phrase vectors. The titles and source description distinguish the input to these questions.
Together these lines of topic research show why it matters to specify what a neighbourhood contains. If it contains occurrences, its coherence concerns the represented uses of those occurrences. If it contains items represented at another level, coherence concerns those units instead. UMAP can use the chosen observations as vertices and organise relationships derived from their distances. An account of topics still requires evidence connecting groups of those particular units to themes. The original method’s neutrality about the observations makes it portable across such questions and leaves the thematic interpretation to the application.
Visual evidence about representation geometry
Visualizing and Measuring the Geometry of BERT (2019) puts visualisation and measurement in the title of the same investigation. In the UMAP paper these activities address complementary questions. A visualisation can expose connected regions, outlying areas or a possible relationship among groups. A measurement can then define exactly which of those relationships are being compared and which departures matter. The citation connects UMAP to that geometric investigation of BERT without detailing which inferences rely on a reduction.
The parallel with the original word-vector experiment is useful within those bounds. The authors inspect groups of vectors and discuss the arrangement among those groups. Their conclusion about the broad display is qualitative. A geometric investigation can make a more specific claim by defining a quantity on the original representations, on the reduced ones, or on their relation. For instance, a test about whether observations retain nearby relationships would ask for evidence tied to identified observations. A test about the comparative placement of whole groups needs a criterion for group relations. The geometric focus of the later work makes these distinctions relevant even though its experimental details are outside the paper’s account.
Steering into New Embedding Spaces (2025) studies cross-lingual alignment in connection with interventions in multilingual systems. This is a setting in which an observed change in geometry may be the phenomenon under study. The UMAP paper’s stability and initialisation discussions explain why the coordinate comparison warrants care when the starting representations differ. Even embeddings with matched observations can occupy different orientations or scales. When their graphs also differ, the layouts can express both the changed observations and the effects of the procedure’s own construction choices.
The original Procrustes experiment gives one way to articulate a limited comparison in that setting. A task can ask how arrangements differ after removing translation, rotation and uniform scale, provided that comparable points can be identified. Alignment in that sense describes the geometry of the particular representations examined. A claim about whether semantic relationships have changed across languages calls for evidence on the relationships that matter to that application. The citation identifies cross-lingual geometry as a later research context. It does not establish that the later work uses the original paper’s stability protocol.
These examples also illustrate what the hyper-parameter figures contribute to representation analysis. A layout can become more or less segregated because of the scale used to form its graph or because of how close points are encouraged to sit. If the scientific subject is a difference between two representation spaces, a display sensitive to those choices may bring candidate differences to light. The test of a candidate then has to specify how much of the difference is present upstream of the layout. This interpretation follows from the original paper’s account of why the same observations can yield different visual structures, and why recognisable pictures alone give limited answers about geometry.
Reduced coordinates inside a retrieval procedure
RAPTOR (2024) concerns information retrieval organised by a tree built through recursive abstraction. This setting brings out the distinction in the UMAP paper between an embedding as an end product and coordinates used by a further procedure. A depiction of relationships needs a dimension a reader can view. An internal representation can use more coordinates when that makes its relational structure useful for later stages. The original paper supplied experimental evidence that its computation can produce such outputs at dimensions beyond the usual visual setting.
A tree and a neighbourhood graph express different forms of organisation. A neighbourhood graph makes pairwise supported connections available. A tree arranges material in nested branches. If a group is close in a reduced space, that geometry gives a possible basis for gathering items. It does not by itself say at which level of a tree they belong, what abstraction represents them, or what information should be retrieved from the resulting hierarchy. The retrieval problem thus gives another example of how a downstream operation determines which properties of reduced coordinates would be valuable.
The RAPTOR citation connects the original paper to this research direction. Its title gives no basis for attributing a particular reduction setting, placement in the procedure or retrieval gain to UMAP. A justified connection is the broader role of representation in organising access to material. In the UMAP experiments, a classifier gives one concrete demonstration that a subsequent computation can make use of reduced neighbourhoods. Retrieval introduces a different success criterion: reaching relevant material. The class-based result illustrates a possible role for the coordinates while leaving the retrieval criterion to be measured within the retrieval system itself.
Beyond the original batch embedding
The authors point to a set of developments made possible by the intermediate graph representation. One involves combining several views of the same observations. Each view could give rise to a fuzzy simplicial set using a distance appropriate to its data type. A set of measurements, for instance, could offer an ordinal view, while a separate part of the record could offer categorical information. The paper mentions Manhattan distance for ordinal data and Jaccard or Dice distance for categorical data. Each view can then contribute memberships in a common form even when their distances had different meanings at the start.
The operation the authors propose for combining views is intersection. This differs in purpose from taking the union over local descriptions of a single view. In the original procedure, the local descriptions supply separate opportunities to support a connection. Across views, intersection can express a preference for relationships shared by the different accounts of the observations. Where descriptions disagree, the choice of combination changes which features survive into the layout. The proposal opens a question about what kind of agreement is desirable for a heterogeneous dataset and how strong evidence in one view should influence the representation when other views give weak support.
Supervised and semisupervised reduction fit the same proposal by treating prediction variables as another view. The resulting graph could use label relationships in addition to distances among observations. The authors mention prospects for semisupervised clustering and interactive labelling tools. The idea has a different evidential meaning from the classification comparison, in which labels assess the coordinates. When labels contribute to the geometry, the visual appearance of class separation can reflect those supplied labels. An evaluation suited to that procedure would need to specify which supervision was available and which observations or relationships still serve as independent evidence.
Another proposed extension concerns adding observations to an existing embedding. In the studied batch procedure, changing the observations can change many neighbourhoods, and the layout is recomputed. Placing a new point in a fixed coordinate space would instead require translating its input relationships into a position in an already established arrangement. For a downstream classifier or clustering procedure, that would allow new inputs to use the same coordinates as previous ones. The stability experiment gives evidence about independently rebuilt arrangements. The extension raises the different problem of fitting new observations into coordinates held in place.
The reverse direction would seek a high-dimensional representative for a position in the embedded space. The authors mention this as opening a generative use analogous to some uses of autoencoders. A reduced position may correspond to a range of possibilities in the original measurements, since the reduction intentionally keeps selected relations. Pulling a point back to the source space would involve deciding which original-space representative is appropriate among those possibilities. The paper outlines the direction and notes that experimental versions of some extensions were available. It gives no general reconstruction test for arbitrary embedded positions.
Metric learning joins these proposals through a further question: how should the distance itself change when the analyst has a prediction task or related observations? The original method assumes a supplied input dissimilarity and adapts scales locally. Supervision could provide evidence about which relationships ought to enter the graph, and adding new observations would give a way to use the learned geometry on subsequent inputs. The authors present this as a research direction. The basic experiments establish performance for constructing and laying out a graph from defined comparisons, rather than results for learning those comparisons in supervised use.
The question of spurious structure also remains central as these applications broaden. A geometric display can help a researcher decide what to examine, a topic procedure can ask what connected items share, and a retrieval system can try to route a query through organised material. Each relies on a different consequence of the relationships represented in the coordinates. UMAP’s paper establishes how those coordinates are constructed and offers evidence about visual fidelity, stability and cost under its study conditions. The subsequent questions concern when those particular relationships are the ones the application needs and what independent evidence can establish that they survived the reduction.
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksComputer Vision and Pattern Recognition · 3,621 worksComputational Theory and Mathematics · 496 works
Concepts 1Key ideas and methods explained on our concept pages.Machine learning · 51 works
Cite
Cite as Leland McInnes, John Healy and James Melville. 2018. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. arXiv:1802.03426.
@misc{mcinnes2018umap,
title = {{UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction}},
author = {Leland McInnes, John Healy and James Melville},
year = {2018},
doi = {10.48550/arxiv.1802.03426},
eprint = {1802.03426},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1802.03426}
}References
- E Alpaydin and Fevzi Alimoglu. Pen-based recognition of handwritten digits data set. university of california, irvine. Machine Learning Repository. Irvine: University of California, 4(2), 1998. OpenAlex ↗ · Scholar ↗
- Frederik Otzen Bagger, Savvas Kinalis, and Nicolas Rapin. Bloodspot: a database of healthy and malignant haematopoiesis updated with purified and single cell mrna sequencing profiles. Nucleic Acids Research, 2018. OpenAlex ↗ · Scholar ↗
- Michael Barr. Fuzzy set theory and topos theory. Canad. Math. Bull, 29(4):501–508, 1986. OpenAlex ↗ · Scholar ↗
- Etienne Becht, Charles-Antoine Dutertre, Immanuel W.H. Kwok, Lai Guan Ng, Florent Ginhoux, and Evan W Newell. Evaluation of umap as an alternative to t-sne for single-cell data. bioRxiv, 2018. OpenAlex ↗ · Scholar ↗
- Etienne Becht, Leland McInnes, John Healy, Charles-Antoine Dutertre, Immanuel WH Kwok, Lai Guan Ng, Florent Ginhoux, and Evan W Newell. Dimensionality reduction for visualizing single-cell data using umap. Nature biotechnology, 37(1):38, 2019. OpenAlex ↗ · Scholar ↗
- Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps and spectral techniques for embedding and clustering. In Advances in neural information processing systems, pages 585–591, 2002. OpenAlex ↗ · Scholar ↗
- Mikhail Belkin and Partha Niyogi. Laplacian eigenmaps for dimensionality reduction and data representation. Neural computation, 15(6):1373–1396, 2003. OpenAlex ↗ · Scholar ↗
- Aurélien Bellet, Amaury Habrard, and Marc Sebban. A survey on metric learning for feature vectors and structured data. arXiv preprint arXiv:1306.6709, 2013. OpenAlex ↗ · Scholar ↗
- Tess Brodie, Elena Brenna, and Federica Sallusto. Omip-018: Chemokine receptor expression on human t helper cells. Cytometry Part A, 83(6):530–532, 2013. OpenAlex ↗ · Scholar ↗
- Lars Buitinck, Gilles Louppe, Mathieu Blondel, Fabian Pedregosa, Andreas Mueller, Olivier Grisel, Vlad Niculae, Peter Prettenhofer, Alexandre Gramfort, Jaques Grobler, Robert Layton, Jake VanderPlas, Arnaud Joly, Brian Holt, and Gaël Varoquaux. API design for machine learning software: experiences from the scikit-learn project. In ECML PKDD Workshop: Languages for Data Mining and Machine Learning, pages 108–122, 2013. OpenAlex ↗ · Scholar ↗
- John N Campbell, Evan Z Macosko, Henning Fenselau, Tune H Pers, Anna Lyubetskaya, Danielle Tenen, Melissa Goldman, Anne MJ Verstegen, Jon M Resch, Steven A McCarroll, et al. A molecular census of arcuate hypothalamus and median eminence cell types. Nature neuroscience, 20(3):484, 2017. OpenAlex ↗ · Scholar ↗
- Junyue Cao, Malte Spielmann, Xiaojie Qiu, Xingfan Huang, Daniel M Ibrahim, Andrew J Hill, Fan Zhang, Stefan Mundlos, Lena Christiansen, Frank J Steemers, et al. The single-cell transcriptional landscape of mammalian organogenesis. Nature, page 1, 2019. OpenAlex ↗ · Scholar ↗
- Gunnar Carlsson and Facundo Mémoli. Classifying clustering schemes. Foundations of Computational Mathematics, 13(2):221–252, 2013. OpenAlex ↗ · Scholar ↗
- Shan Carter, Zan Armstrong, Ludwig Schubert, Ian Johnson, and Chris Olah. Activation atlas. Distill, 2019. https://distill.pub/2019/activation-atlas. OpenAlex ↗ · Scholar ↗
- Brian Clark, Genevieve Stein-O'Brien, Fion Shiau, Gabrielle Cannon, Emily Davis, Thomas Sherman, Fatemeh Rajaii, Rebecca James-Esposito, Richard Gronostajski, Elana Fertig, et al. Comprehensive analysis of retinal development at single cell resolution identifies nfi factors as essential for mitotic exit and specification of late-born cells. bioRxiv, page 378950, 2018. OpenAlex ↗ · Scholar ↗
- Ronald R Coifman and Stéphane Lafon. Diffusion maps. Applied and computational harmonic analysis, 21(1):5–30, 2006. OpenAlex ↗ · Scholar ↗
- Alex Diaz-Papkovich, Luke Anderson-Trocme, and Simon Gravel. Revealing multi-scale population structure in large cohorts. bioRxiv, page 423632, 2018. OpenAlex ↗ · Scholar ↗
- Wei Dong, Charikar Moses, and Kai Li. Efficient k-nearest neighbor graph construction for generic similarity measures. In Proceedings of the 20th International Conference on World Wide Web, WWW '11, pages 577–586, New York, NY, USA, 2011. ACM. OpenAlex ↗ · Scholar ↗
- Carlos Escolano, Marta R Costa-jussà, and José AR Fonollosa. (self-attentive) autoencoder-based universal language representation for machine translation. arXiv preprint arXiv:1810.06351, 2018. OpenAlex ↗ · Scholar ↗
- Mateus Espadoto, Nina ST Hirata, and Alexandru C Telea. Deep learning multidimensional projections. arXiv preprint arXiv:1902.07958, 2019. OpenAlex ↗ · Scholar ↗
- Mateus Espadoto, Francisco Caio M Rodrigues, and Alexandru C Telea. Visual analytics of multidimensional projections for constructing classifier decision boundary maps. OpenAlex ↗ · Scholar ↗
- Greg Friedman et al. Survey article: an elementary illustrated introduction to simplicial sets. Rocky Mountain Journal of Mathematics, 42(2):353–423, 2012. OpenAlex ↗ · Scholar ↗
- Lukas Fuhrimann, Vahid Moosavi, Patrick Ole Ohlbrock, and Pierluigi Dacunto. Data-driven design: Exploring new structural forms using machine learning and graphic statics. arXiv preprint arXiv:1809.08660, 2018. OpenAlex ↗ · Scholar ↗
- Benoit Gaujac, Ilya Feige, and David Barber. Gaussian mixture models with wasserstein distance. arXiv preprint arXiv:1806.04465, 2018. OpenAlex ↗ · Scholar ↗
- Paul G Goerss and John F Jardine. Simplicial homotopy theory. Springer Science & Business Media, 2009. OpenAlex ↗ · Scholar ↗
- Matthias Hein, Jean-Yves Audibert, and Ulrike von Luxburg. Graph laplacians and their convergence on random neighborhood graphs. Journal of Machine Learning Research, 8(Jun):1325–1368, 2007. OpenAlex ↗ · Scholar ↗
- Harold Hotelling. Analysis of a complex of statistical variables into principal components. Journal of educational psychology, 24(6):417, 1933. OpenAlex ↗ · Scholar ↗
- Dmitry Kobak and Philipp Berens. The art of using t-sne for single-cell transcriptomics. Nature communications, 10(1):1–14, 2019. OpenAlex ↗ · Scholar ↗
- Dmitry Kobak and George C Linderman. Umap does not preserve global structure any better than t-sne when using the same initialization. bioRxiv, 2019. OpenAlex ↗ · Scholar ↗
- J. B. Kruskal. Multidimensional scaling by optimizing goodness of fit to a nonmetric hypothesis. Psychometrika, 29(1):1–27, Mar 1964. OpenAlex ↗ · Scholar ↗
- Siu Kwan Lam, Antoine Pitrou, and Stanley Seibert. Numba: A llvm-based python jit compiler. In Proceedings of the Second Workshop on the LLVM Compiler Infrastructure in HPC, LLVM '15, pages 7:1–7:6, New York, NY, USA, 2015. ACM. OpenAlex ↗ · Scholar ↗
- Yann Lecun and Corinna Cortes. The MNIST database of handwritten digits. OpenAlex ↗ · Scholar ↗
- John A Lee and Michel Verleysen. Shift-invariant similarities circumvent distance concentration in stochastic neighbor embedding and variants. Procedia Computer Science, 4:538–547, 2011. OpenAlex ↗ · Scholar ↗
- Xin Li, Ondrej E Dyck, Mark P Oxley, Andrew R Lupini, Leland McInnes, John Healy, Stephen Jesse, and Sergei V Kalinin. Manifold learning of four-dimensional scanning transmission electron microscopy. npj Computational Materials, 5(1):5, 2019. OpenAlex ↗ · Scholar ↗
- M. Lichman. UCI machine learning repository, 2013. OpenAlex ↗ · Scholar ↗
- George Linderman. Fit-sne. https://github.com/KlugerLab/FIt-SNE, 2018. OpenAlex ↗ · Scholar ↗
- George C Linderman, Manas Rachh, Jeremy G Hoskins, Stefan Steinerberger, and Yuval Kluger. Efficient algorithms for t-distributed stochastic neighborhood embedding. arXiv preprint arXiv:1712.09005, 2017. OpenAlex ↗ · Scholar ↗
- George C Linderman and Stefan Steinerberger. Clustering with t-sne, provably. SIAM Journal on Mathematics of Data Science, 1(2):313–332, 2019. OpenAlex ↗ · Scholar ↗
- Saunders Mac Lane. Categories for the working mathematician, volume 5. Springer Science & Business Media, 2013. OpenAlex ↗ · Scholar ↗
- J Peter May. Simplicial objects in algebraic topology, volume 11. University of Chicago Press, 1992. OpenAlex ↗ · Scholar ↗
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. Distributed representations of words and phrases and their compositionality. In Advances in neural information processing systems, pages 3111–3119, 2013. our card
- Kevin R Moon, David van Dijk, Zheng Wang, Scott Gigante, Daniel B Burkhardt, William S Chen, Kristina Yim, Antonia van den Elzen, Matthew J Hirn, Ronald R Coifman, et al. Visualizing structure and transitions in high-dimensional biological data. Nature biotechnology, 37(12):1482–1492, 2019. OpenAlex ↗ · Scholar ↗
- Sameer A. Nene, Shree K. Nayar, and Hiroshi Murase. Columbia object image library (coil-20. Technical report, 1996. OpenAlex ↗ · Scholar ↗
- Sameer A. Nene, Shree K. Nayar, and Hiroshi Murase. object image library (coil-100. Technical report, 1996. OpenAlex ↗ · Scholar ↗
- Karolyn A Oetjen, Katherine E Lindblad, Meghali Goswami, Gege Gui, Pradeep K Dagur, Catherine Lai, Laura W Dillon, J Philip McCoy, and Christopher S Hourigan. Human bone marrow assessment by single cell rna sequencing, mass cytometry and flow cytometry. bioRxiv, 2018. OpenAlex ↗ · Scholar ↗
- Jong-Eun Park, Krzysztof Polanski, Kerstin Meyer, and Sarah A Teichmann. Fast batch alignment of single cell transcriptomes unifies multiple mouse cell atlases into an integrated landscape. bioRxiv, page 397042, 2018. OpenAlex ↗ · Scholar ↗
- Jose Daniel Gallego Posada. Simplicial autoencoders. 2018. OpenAlex ↗ · Scholar ↗
- Emily Riehl. A leisurely introduction to simplicial sets. Unpublished expository article available online at http://www. math. harvard. edu/ eriehl, 2011. OpenAlex ↗ · Scholar ↗
- Emily Riehl. Category theory in context. Courier Dover Publications, 2017. OpenAlex ↗ · Scholar ↗
- John W Sammon. A nonlinear mapping for data structure analysis. IEEE Transactions on computers, 100(5):401–409, 1969. OpenAlex ↗ · Scholar ↗
- Josef Spidlen, Karin Breuer, Chad Rosenberg, Nikesh Kotecha, and Ryan R Brinkman. Flowrepository: A resource of annotated flow cytometry datasets associated with peer-reviewed publications. Cytometry Part A, 81(9):727–731, 2012. OpenAlex ↗ · Scholar ↗
- David I Spivak. Metric realization of fuzzy simplicial sets. Self published notes, 2012. OpenAlex ↗ · Scholar ↗
- Jian Tang. Largevis. https://github.com/lferry007/LargeVis, 2016. OpenAlex ↗ · Scholar ↗
- Jian Tang, Jingzhou Liu, Ming Zhang, and Qiaozhu Mei. Visualizing large-scale and high-dimensional data. In Proceedings of the 25th International Conference on World Wide Web, pages 287–297. International World Wide Web Conferences Steering Committee, 2016. OpenAlex ↗ · Scholar ↗
- Joshua B. Tenenbaum. Mapping a manifold of perceptual observations. In M. I. Jordan, M. J. Kearns, and S. A. Solla, editors, Advances in Neural Information Processing Systems 10, pages 682–688. MIT Press, 1998. OpenAlex ↗ · Scholar ↗
- Joshua B Tenenbaum, Vin De Silva, and John C Langford. A global geometric framework for nonlinear dimensionality reduction. science, 290(5500):2319–2323, 2000. OpenAlex ↗ · Scholar ↗
- Dmitry Ulyanov. Multicore-tsne. https://github.com/DmitryUlyanov/Multicore-TSNE, 2016. OpenAlex ↗ · Scholar ↗
- Laurens van der Maaten. Accelerating t-sne using tree-based algorithms. Journal of machine learning research, 15(1):3221–3245, 2014. OpenAlex ↗ · Scholar ↗
- Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008. OpenAlex ↗ · Scholar ↗
- Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-SNE. Journal of Machine Learning Research, 9:2579–2605, 2008. OpenAlex ↗ · Scholar ↗
- John Williamson. What do numbers look like? https://johnhw.github.io/umap_primes/index.md.html, 2018. OpenAlex ↗ · Scholar ↗
- Duoduo Wu, Joe Yeong, Grace Tan, Marion Chevrier, Josh Loh, Tony Lim, and Jinmiao Chen. Comparison between umap and t-sne for multiplex-immunofluorescence derived single-cell data from tissue sections. bioRxiv, page 549659, 2019. OpenAlex ↗ · Scholar ↗
- Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. CoRR, abs/1708.07747, 2017. OpenAlex ↗ · Scholar ↗
- Liu Yang and Rong Jin. Distance metric learning: A comprehensive survey. Michigan State Universiy, 2(2):4, 2006. OpenAlex ↗ · Scholar ↗
- Lofti A Zadeh. Information and control. Fuzzy sets, 8(3):338–353, 1965. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/mcinnes-2018-umap-uniform-manifold-approximation-projection/