Stress majorization is an
optimization strategy used in
multidimensional scaling (MDS) where, for a set of ''
'' ''
''-dimensional data items, a configuration ''
'' of
points in ''
''-dimensional space is sought that minimizes the so-called ''stress'' function
. Usually ''
'' is
or
, i.e. the ''
'' matrix ''
'' lists points in
or
dimensional
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's Elements, Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics ther ...
so that the result may be visualised (i.e. an
MDS plot
Multidimensional scaling (MDS) is a means of visualizing the level of similarity of individual cases of a dataset. MDS is used to translate "information about the pairwise 'distances' among a set of n objects or individuals" into a configurati ...
). The function
is a cost or
loss function
In mathematical optimization and decision theory, a loss function or cost function (sometimes also called an error function) is a function that maps an event or values of one or more variables onto a real number intuitively representing some "cost ...
that measures the squared differences between ideal (
-dimensional) distances and actual distances in ''r''-dimensional space. It is defined as:
:
where
is a weight for the measurement between a pair of points
,
is the
euclidean distance
In mathematics, the Euclidean distance between two points in Euclidean space is the length of a line segment between the two points.
It can be calculated from the Cartesian coordinates of the points using the Pythagorean theorem, therefor ...
between
and
and
is the ideal distance between the points (their separation) in the
-dimensional data space. Note that
can be used to specify a degree of confidence in the similarity between points (e.g. 0 can be specified if there is no information for a particular pair).
A configuration
which minimizes
gives a plot in which points that are close together correspond to points that are also close together in the original
-dimensional data space.
There are many ways that
could be minimized. For example, Kruskal recommended an iterative
steepest descent approach. However, a significantly better (in terms of guarantees on, and rate of, convergence) method for minimizing stress was introduced by
Jan de Leeuw
Jan de Leeuw (born December 19, 1945) is a Dutch statistician and psychometrician. He is distinguished professor emeritus of statistics and founding chair of the Department of Statistics, University of California, Los Angeles. In addition, he is t ...
.
[.] De Leeuw's ''iterative majorization'' method at each step minimizes a simple convex function which both bounds
from above and touches the surface of
at a point
, called the ''supporting point''. In
convex analysis such a function is called a ''majorizing'' function. This iterative majorization process is also referred to as the SMACOF algorithm ("Scaling by MAjorizing a COmplicated Function").
The SMACOF algorithm
The stress function
can be expanded as follows:
:
Note that the first term is a constant
and the second term is quadratic in
(i.e. for the
Hessian matrix the second term is equivalent to
tr) and therefore relatively easily solved. The third term is bounded by:
:
where
has:
:
for
and
for
and
.
Proof of this inequality is by the
Cauchy-Schwarz inequality, see Borg
[.] (pp. 152–153).
Thus, we have a simple quadratic function
that majorizes stress:
:
:
The iterative minimization procedure is then:
* at the
step we set
*
* stop if
otherwise repeat.
This algorithm has been shown to decrease stress monotonically (see de Leeuw
).
Use in graph drawing
Stress majorization and algorithms similar to SMACOF also have application in the field of
graph drawing
Graph drawing is an area of mathematics and computer science combining methods from geometric graph theory and information visualization to derive two-dimensional depictions of graph (discrete mathematics), graphs arising from applications such a ...
. That is, one can find a reasonably aesthetically appealing layout for a network or graph by minimizing a stress function over the positions of the nodes in the graph. In this case, the
are usually set to the graph-theoretic distances between nodes ''
'' and ''
'' and the weights
are taken to be
. Here,
is chosen as a trade-off between preserving long- or short-range ideal distances. Good results have been shown for
.
[.]
References
{{reflist
Graph drawing
Dimension reduction
Mathematical optimization
Mathematical analysis