- Introduced by
- Tenenbaum, J. B.; de Silva, V.; Langford, J. C.
- Year
- 2000
- Type
- Manifold learning / nonlinear dimensionality reduction
What does it do?
Isomap (Isometric Feature Mapping) is a manifold learning algorithm introduced by Tenenbaum, de Silva, and Langford in 2000 that discovers the intrinsic low-dimensional geometry of high-dimensional data by preserving geodesic — rather than straight-line Euclidean — distances between all pairs of points.
It was one of the earliest, and most influential, nonlinear dimensionality reduction methods to demonstrate that genuinely curved data manifolds could be unfolded into a faithful low-dimensional coordinate system.
The intuition behind the method
Imagine a winding road map rolled into a tube. Straight-line distances through the air (Euclidean) do not tell you how far apart two towns really are by road. Isomap first builds a network of short local roads between nearby towns, then measures 'by road' distances through that network (geodesic distances), and finally flattens the whole map into a plane in a way that keeps those road distances as faithful as possible. The result is a flat coordinate system that respects the true shape of the data surface, even when that surface is curved in a complex way.
History
Isomap was introduced by Joshua B. Tenenbaum, Vin de Silva, and John C. Langford in the 2000 Science paper 'A global geometric framework for nonlinear dimensionality reduction'. It extends classical multidimensional scaling by replacing Euclidean pairwise distances with geodesic distances estimated through a neighborhood graph, which allows it to unfold nonlinear data manifolds. The paper's demonstrations on handwriting and face images under varying viewing conditions made the approach widely known. Later variants have addressed scalability and the projection of new points. It is less often used for visualization today than t-SNE and UMAP, but it remains a reference method in manifold learning.
When to use it
Choose Isomap when high-dimensional observations are believed to lie on a single smooth, low-dimensional manifold and the aim is a global embedding that keeps that intrinsic geometry. It suits data that form one connected manifold without holes or strongly non-convex topology. The method is unsupervised and makes no parametric assumption about the data distribution. In its standard formulation, it assumes that the manifold is isometric to a convex subset of Euclidean space, so a closed surface such as a sphere or torus falls outside this setting. The neighborhood graph must remain connected, which requires enough samples. A rough rule of thumb is about 50 samples, but this is a heuristic rather than a derived threshold, so check graph connectivity on your own data. When the ambient dimension is very large, a light linear reduction such as PCA is a common preprocessing step before Isomap. Avoid Isomap when the data contain several disconnected clusters, when the manifold has holes or loops, or when the n-by-n distance matrix is too large for available memory.
Limitations and considerations
- Storing the full n-by-n geodesic distance matrix requires memory that grows quadratically with sample size, and the eigendecomposition of that matrix adds further computational cost, which is why approximate variants are often considered for large datasets.
- Sensitive to the neighborhood parameter k (or epsilon): too small yields a disconnected graph; too large short-circuits the manifold by adding spurious long edges.
- Fails on manifolds with holes, loops, or non-convex topology because shortest paths may cut across such features and then fail to approximate true geodesics.
- The embedding is not parametric: new out-of-sample points cannot be projected without rerunning the full algorithm. Approximate extensions that project new points exist, but they come at some cost in accuracy.
- Noise and outliers can create spurious edges or isolate points in the neighborhood graph; the resulting shortest paths can then distort the whole embedding.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Unlike PCA and classical MDS, which rely on straight-line distances, Isomap uses geodesic distances and can recover nonlinear degrees of freedom of a manifold, as the original paper shows for handwriting and face images under different viewing conditions.
- Built on classical MDS: once geodesic distances are computed, the remaining steps are the standard double centering and eigendecomposition, so the procedure is algebraically transparent.
- The embedding dimension d is set by inspecting the eigenvalue spectrum or a residual-variance plot; the choice is a judgement about where the curve levels off, not a fixed rule.
- It makes no parametric assumption about the data distribution; its main structural input is the neighborhood graph, built from Euclidean distances between nearby points.
- The original paper reports that the method computes a globally optimal solution and, for an important class of manifolds, converges asymptotically to the true structure. These guarantees depend on the manifold assumptions described above.
Applications
- Visualization and exploration of high-dimensional data lying on a curved manifold.
- Unsupervised feature extraction when the intrinsic dimension of the data is much smaller than the ambient dimension.
- Image data in which pose or viewing conditions vary continuously, such as handwriting or face images, the kinds of data used in the original paper.
- Exploratory analysis of scientific datasets with many correlated measurements, such as those the original paper cites as motivation: global climate patterns, stellar spectra, and gene distributions.
- A baseline manifold learning method against which newer approaches such as UMAP and t-SNE are often compared.
How it works
How it works
Each data point is linked to its k nearest neighbors, or alternatively to all points within a radius epsilon, using ordinary Euclidean distance. The graph is treated as undirected: an edge is kept if either point is among the k nearest neighbors of the other. The edge weight between two connected points is their Euclidean distance. Together these edges approximate the local geometry of the underlying manifold.
Formula
G = (V, E), \quad E = \{(i,j) : \|x_i - x_j\| \le \varepsilon \text{ or } j \in \text{kNN}(i)\}The shortest path between every pair of points through the neighborhood graph is computed, typically using Dijkstra's algorithm from each node or Floyd–Warshall for the full matrix. The rationale is that short hops between neighboring points measure local change accurately, so their summed length approximates the path along the manifold. These shortest-path lengths approximate the geodesic (along-manifold) distances on the true surface. The approximation improves as sampling becomes denser along the manifold, provided the graph contains no short-circuit edges that jump between distant parts of the surface.
Formula
d_G(i,j) = \text{shortest path in } G \text{ (Floyd–Warshall or Dijkstra)}The matrix of squared geodesic distances is converted into an inner-product matrix B through double centering, the same transformation used in classical multidimensional scaling (MDS). This turns the problem into finding a configuration of points whose pairwise inner products reproduce the geodesic geometry.
Formula
H = I - \tfrac{1}{n}\mathbf{1}\mathbf{1}^\top, \quad B = -\tfrac{1}{2} H D_G^{(2)} HThe d largest eigenvalues and corresponding eigenvectors of B are extracted. Projecting onto these eigenvectors and scaling by the square roots of the eigenvalues gives the d-dimensional embedding Y. Choosing d is a judgement informed by the eigenvalue spectrum or a residual-variance plot: one looks for the point beyond which adding dimensions no longer reduces the residual variance markedly.
Formula
B = V \Lambda V^\top, \quad Y = V_d \Lambda_d^{1/2} \in \mathbb{R}^{n \times d}Common pitfalls
- Choosing k without inspection: always visualize the neighborhood graph to confirm it is connected and that no spurious long edges have been added.
- Interpreting Isomap coordinates as if they had a fixed meaning across runs — embeddings are defined only up to rotation and reflection.
- Applying Isomap to data with multiple disconnected clusters or manifold holes without pre-processing, which produces pathological embeddings.
- Skipping a residual-variance plot and guessing the intrinsic dimensionality d arbitrarily.
- Running Isomap on very high-dimensional raw data (e.g., raw image pixels) without first considering a light linear reduction such as PCA, which can make the neighbor search expensive.
Frequently asked questions
How do I choose the neighborhood parameter k?
A common heuristic is to try several values (e.g., 5, 10, 15, 20) and select the smallest k for which the neighborhood graph remains fully connected. Plotting residual variance against k can also reveal a stable region. Values that are too small produce a disconnected graph; values too large introduce short-circuit edges that distort geodesic estimates.
How do I choose the number of output dimensions d?
For each candidate d, compute the residual variance, defined as one minus the squared correlation between the geodesic distances and the distances between the corresponding points in the d-dimensional embedding. Plotted against d, this curve typically falls and then levels off; the bend or elbow suggests the intrinsic dimensionality. For visualization, d = 2 or 3 is usually chosen regardless.
Can Isomap handle out-of-sample points?
The basic algorithm requires rerunning the full geodesic computation when new points arrive. Approximate extensions can project new points into an existing embedding without a full refit, at some cost in accuracy.
How does Isomap differ from t-SNE and UMAP?
Isomap is designed to produce a globally faithful embedding that preserves geodesic distances across the entire manifold, making it suitable for tasks where global structure matters. t-SNE and UMAP prioritize local neighborhood preservation and produce visualizations that cluster well but may distort global distances; they are generally preferred for exploratory cluster visualization. Isomap is deterministic given k and d, whereas t-SNE has a stochastic component.
Related methods
Sources
Tenenbaum, J. B., de Silva, V. & Langford, J. C. (2000). A global geometric framework for nonlinear dimensionality reduction. Science, 290(5500), 2319–2323.
Open DOI referenceHastie, T., Tibshirani, R. & Friedman, J. (2009). The Elements of Statistical Learning (2nd ed., Ch. 14). Springer.
ISBN: 978-0-387-84857-0van der Maaten, L., Postma, E. & van den Herik, J. (2009). Dimensionality reduction: A comparative review. Journal of Machine Learning Research, 10, 66–71.
Open publication reference2015_Book_DataMining, p. 71