Multidimensional Scaling Layout¶
Layout model — instantiates Neighborhood-Preserving Substrate Mapping
Computes a low-dimensional layout in which the distances between placed items reproduce, as closely as possible, their dissimilarities in the source — built from a distance table alone.
Given only a table of pairwise dissimilarities — how unlike each pair of source items is, by whatever measure — Multidimensional Scaling Layout finds coordinates in a low-dimensional substrate (usually a 2D plane) so that the distances between placed items match those dissimilarities as closely as possible. Its defining trait is that it is distance-driven and global: it never sees the items' raw features or any grid, only the distance table, and it optimises a single global fit — its stress — so that overall geometry, not merely each local neighbourhood, is honoured. That makes it the tool of choice when the source has no natural coordinates at all, only a notion of how far apart things are.
Example¶
A brand team runs a card-sort in which shoppers rate how similar pairs of ten soft-drink brands feel. There are no measured features — just a 10×10 table of perceived dissimilarities. MDS takes that table and lays the ten brands on a 2D perceptual map: the colas cluster, the diet variants pull to one edge, a lone energy drink sits far from everyone. No one told the algorithm about "diet" or "cola"; those directions emerge because MDS placed brands so that map-distance tracks felt-dissimilarity. The team reads the empty stretches as market gaps and the tight pairs as head-to-head rivals — an interpretation that holds only as far as the layout's stress is low.
How it works¶
- Take the dissimilarity matrix as the sole input — no features, no grid.
- Choose metric or non-metric MDS — reproduce the actual distances, or only their rank order (robust when dissimilarities are merely ordinal).
- Minimise stress — iteratively move points until the mismatch between map distances and source dissimilarities is as small as it will go.
- Read the fit — inspect the stress value and a Shepard diagram before trusting any distance on the map.[1]
It produces the correspondence rule (the positions) over a source-space model of items-as-points; it neither maintains a fixed grid topology nor learns online, and it does not itself score how well local neighbourhoods survived.
Tuning parameters¶
- Target dimensionality — 2D reads at a glance but forces more distortion; adding dimensions lowers stress at the cost of legibility.
- Metric vs. non-metric — honour distances themselves or only their ordering; ordinal survey data usually wants non-metric.
- Local vs. global weighting — weight near pairs more to protect local structure, or all pairs equally to protect large-scale geometry.
- Initialisation — random start or seeded from a related map; determines which local optimum the layout settles into.
- Stress-acceptance threshold — how low stress must fall before the map is trusted; when it refuses to drop, the data simply is not low-dimensional.
When it helps, and when it misleads¶
Its strength is that it needs only dissimilarities, so it maps things with no natural coordinates — perceptions, genetic distances, correlation structure — and its global objective keeps the big picture honest.
Its failure mode is forcing genuinely high-dimensional structure into two dimensions: stress stays high, and a high-stress map invites confident reading of distances it cannot support — false gaps, false clusters. The classic misuse is publishing the picture without the stress, so viewers over-trust positions the fit never earned (or, conversely, piling on dimensions until stress vanishes and the "map" is no longer legible). The discipline is simple and non-negotiable: report stress and inspect the Shepard diagram before interpreting a single distance.
How it implements the components¶
source_space_model— it treats the source as a configuration of points in a metric space, inferred entirely from the dissimilarity table.topographic_correspondence_rule— its output is the source→substrate placement, the rule that puts each item at the coordinates reproducing its distances.
It does not learn a fixed-grid quantisation or allocate magnification — that is Self-Organizing Map Training — and it does not measure the neighbourhood fidelity of the result (Neighborhood Trustworthiness and Continuity Metric, Topographic Error Measure).
Related¶
- Instantiates: Neighborhood-Preserving Substrate Mapping — MDS is one way to generate the map itself, from distances alone.
- Sibling mechanisms: Self-Organizing Map Training · Elastic-Net Embedding · Neighborhood Trustworthiness and Continuity Metric · Topographic Error Measure
Notes¶
Classical (metric) MDS applied to ordinary Euclidean distances recovers the same axes as PCA — the two coincide in that special case. The distinction earns its keep only when dissimilarities are non-Euclidean or ordinal (perceptual ratings, edit distances, correlation-derived gaps), which is exactly where MDS goes and PCA cannot follow.
References¶
[1] A Shepard diagram plots the map's fitted distances against the original dissimilarities; stress summarises their mismatch. Both are standard MDS diagnostics — a layout should never be interpreted without them, because a low-dimensional picture always looks plausible whether or not the fit supports it. ↩