Five points lie on a unit half-circle at angles . Isomap uses a neighbourhood graph in which two points are joined if they are less than apart. (a) What is the graph (geodesic) distance between the first and last points, and how does it compare with the straight-line distance and the true arc length? (b) What goes wrong if the radius is too large, for example ?
Unsupervised learning, Isomap and LLE
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand that Isomap replaces Euclidean distance by shortest-path distance through a neighbourhood graph, and how the neighbourhood size affects it.
Key idea
Isomap approximates geodesic distance on the manifold by shortest paths over a neighbourhood graph (joining the nearest points, or all points within a radius), then applies classical MDS to those distances.
Steps
- Adjacent points on the unit circle at angle gap are apart. The next-nearest points are apart, which is more than , so every point connects only to the points next to it and the graph is the chain .
- The shortest path from point 1 to point 5 passes through all four edges: .
- The straight-line (Euclidean) distance is the diameter , which cuts across the empty middle. The true arc length is . The graph distance is close to the arc (within ), and much better than .
- For the points at and the Euclidean distance is , the graph distance is , and the arc is .
- After computing all pairwise graph distances, Isomap squares them, applies double centring and takes the top eigenvectors, exactly as in classical MDS. Here the half-circle would be unrolled into a line of length about .
- If the radius is too big (or too large), the graph includes edges that connect points far apart along the manifold but close in space (shortcuts). Here a radius of adds the chords of length , so the path has length , which underestimates the arc ; a radius of or more gives the straight chord and destroys the unrolling. If the radius (or ) is too small, the graph can become disconnected.
Common mistakes
- Using Euclidean distance after building the graph. The distances used must be the shortest-path sums.
- Assuming Isomap handles any manifold. It needs a convex, isometric-to-a-flat-region manifold and sufficiently dense samples.
- Forgetting that disconnected neighbourhood graphs give infinite distances.
How long your answer should be
Half a page; 5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Unsupervised learning: In independent component analysis (ICA) we observe with independent sources . (a) Why must at most one source be Gaussian? (b) Why is whitening the first step? (c) A source with unit variance is uniform on . Its excess kurtosis is . What is it, and what is the kurtosis of for two independent such sources?
Next in Unsupervised learning: An isolation forest uses sub-samples of size and scores a point with , where . (a) Compute . (b) Find for average path lengths , and and say what each means. (c) Why is in the formula?