Semidefinite embedding
Maximum Variance Unfolding (MVU), also known as Semidefinite Embedding (SDE), is an algorithm in computer science that uses semidefinite programming to perform non-linear dimensionality reduction of high-dimensional vectorial input data.[1][2][3] It is motivated by the observation that kernel Principal Component Analysis (kPCA) does not reduce the data dimensionality,[4] as it leverages the Kernel trick to non-linearly map the original data into an inner-product space.
Algorithm
MVU creates a mapping from the high dimensional input vectors to some low dimensional Euclidean vector space in the following steps:[5]
- A neighbourhood graph is created. Each input is connected with its k-nearest input vectors (according to Euclidean distance metric) and all k-nearest neighbors are connected with each other. If the data is sampled well enough, the resulting graph is a discrete approximation of the underlying manifold.
- The neighbourhood graph is "unfolded" with the help of semidefinite programming. Instead of learning the output vectors directly, the semidefinite programming aims to find an inner product matrix that maximizes the pairwise distances between any two inputs that are not connected in the neighbourhood graph while preserving the nearest neighbors distances.
- The low-dimensional embedding is finally obtained by application of multidimensional scaling on the learned inner product matrix.
The steps of applying semidefinite programming followed by a linear dimensionality reduction step to recover a low-dimensional embedding into a Euclidean space were first proposed by Linial, London, and Rabinovich.[6]
Optimization formulation
Let [math]\displaystyle{ X \,\! }[/math] be the original input and [math]\displaystyle{ Y\,\! }[/math] be the embedding. If [math]\displaystyle{ i,j\,\! }[/math] are two neighbors, then the local isometry constraint that needs to be satisfied is:[7][8][9]
- [math]\displaystyle{ |X_{i}-X_{j}|^{2}=|Y_{i}-Y_{j}|^{2}\,\! }[/math]
Let [math]\displaystyle{ G, K\,\! }[/math] be the Gram matrices of [math]\displaystyle{ X \,\! }[/math] and [math]\displaystyle{ Y \,\! }[/math] (i.e.: [math]\displaystyle{ G_{ij}=X_i \cdot X_j,K_{ij}=Y_i \cdot Y_j \,\! }[/math]). We can express the above constraint for every neighbor points [math]\displaystyle{ i,j\,\! }[/math] in term of [math]\displaystyle{ G, K\,\! }[/math]:[10][11]
- [math]\displaystyle{ G_{ii}+G_{jj}-G_{ij}-G_{ji}=K_{ii}+K_{jj}-K_{ij}-K_{ji}\,\! }[/math]
In addition, we also want to constrain the embedding [math]\displaystyle{ Y \,\! }[/math] to center at the origin:[12][13][14]
[math]\displaystyle{ 0 = |\sum_{i}Y_{i}|^2\Leftrightarrow(\sum_{i}Y_{i}) \cdot (\sum_{i}Y_{i})\Leftrightarrow\sum_{i,j}Y_{i} \cdot Y_{j}\Leftrightarrow\sum_{i,j}K_{ij} }[/math]
As described above, except the distances of neighbor points are preserved, the algorithm aims to maximize the pairwise distance of every pair of points. The objective function to be maximized is:[15][16][17]
[math]\displaystyle{ T(Y)=\dfrac{1}{2N}\sum_{i,j}|Y_{i}-Y_{j}|^{2} }[/math]
Intuitively, maximizing the function above is equivalent to pulling the points as far away from each other as possible and therefore "unfold" the manifold. The local isometry constraint [18]
Let [math]\displaystyle{ \tau = max \{\eta_{ij}|Y_{i}-Y_{j}|^2\} \,\! }[/math] where [math]\displaystyle{ \eta_{ij} := \begin{cases} 1 & \mbox{if}\ i \mbox{ is a neighbour of } j \\ 0 & \mbox{otherwise} . \end{cases} }[/math]
prevents the objective function from diverging (going to infinity).
Since the graph has N points, the distance between any two points [math]\displaystyle{ |Y_{i}-Y_{j}|^2 \leq N \tau \,\! }[/math]. We can then bound the objective function as follows:[19][20]
- [math]\displaystyle{ T(Y)=\dfrac{1}{2N}\sum_{i,j}|Y_{i}-Y_{j}|^{2} \leq \dfrac{1}{2N}\sum_{i,j}(N\tau)^2 = \dfrac{N^3\tau^2}{2} \,\! }[/math]
The objective function can be rewritten purely in the form of the Gram matrix:[21][22][23]
- [math]\displaystyle{ \begin{align} T(Y) &{}= \dfrac{1}{2N}\sum_{i,j}|Y_{i}-Y_{j}|^{2} \\ &{}= \dfrac{1}{2N}\sum_{i,j}(Y_{i}^2+Y_{j}^2-Y_{i} \cdot Y_{j} - Y_{j} \cdot Y_{i})\\ &{}= \dfrac{1}{2N}(\sum_{i,j}Y_{i}^2+\sum_{i,j}Y_{j}^2-\sum_{i,j}Y_{i} \cdot Y_{j} -\sum_{i,j}Y_{j} \cdot Y_{i})\\ &{}= \dfrac{1}{2N}(\sum_{i,j}Y_{i}^2+\sum_{i,j}Y_{j}^2-0 -0)\\ &{}= \dfrac{1}{N}(\sum_{i}Y_{i}^2)=\dfrac{1}{N}(Tr(K))\\ \end{align} \,\! }[/math]
Finally, the optimization can be formulated as:[24][25][26]
[math]\displaystyle{ \begin{align} & \text{Maximize} && Tr(\mathbf{K})\\ & \text{subject to} && \mathbf{K} \succeq 0, \sum_{ij}\mathbf{K}_{ij} = 0 \\ & \text{and} && G_{ii}+G_{jj}-G_{ij}-G_{ji}=K_{ii}+K_{jj}-K_{ij}-K_{ji}, \forall i, j \mbox{ where } \eta_{ij} = 1, \end{align} }[/math]
After the Gram matrix [math]\displaystyle{ K \,\! }[/math] is learned by semidefinite programming, the output [math]\displaystyle{ Y \,\! }[/math] can be obtained via Cholesky decomposition.
In particular, the Gram matrix can be written as [math]\displaystyle{ K_{ij}=\sum_{\alpha = 1}^{N}(\lambda_{\alpha } V_{\alpha i} V_{\alpha j}) \,\! }[/math] where [math]\displaystyle{ V_{\alpha i} \,\! }[/math] is the i-th element of eigenvector [math]\displaystyle{ V_{\alpha} \,\! }[/math] of the eigenvalue [math]\displaystyle{ \lambda_{\alpha } \,\! }[/math].[27][28]
It follows that the [math]\displaystyle{ \alpha \,\! }[/math]-th element of the output [math]\displaystyle{ Y_i \,\! }[/math] is [math]\displaystyle{ \sqrt{\lambda_{\alpha }} V_{\alpha i} \,\! }[/math].[29][30]
See also
- Locally linear embedding
- Isometry (disambiguation)
- Local Tangent Space Alignment
- Riemannian manifold
- Energy minimization
Notes
- ↑ Weinberger, Sha and Saul 2004a
- ↑ Weinberger and Saul 2004b
- ↑ Weinberger and Saul 2006
- ↑ Lawrence 2012, page 1612
- ↑ Weinberger, Sha and Saul 2004a, page 7.
- ↑ Linial, London and Rabinovich 1995
- ↑ Weinberger, Sha and Saul 2004a, page 3, equation 8
- ↑ Weinberger and Saul 2004b, page 3, equation 2
- ↑ Weinberger and Saul 2006, page 4, equation 2
- ↑ Weinberger, Sha and Saul 2004a, page 3, equation 9
- ↑ Weinberger and Saul 2004b, page 3, equation 3
- ↑ Weinberger, Sha and Saul 2004a, page 3, equation 6
- ↑ Weinberger and Saul 2004b, page 3, equation 5
- ↑ Weinberger and Saul 2006, page 5, equation 8
- ↑ Weinberger, Sha and Saul 2004a, page 4, equation 10
- ↑ Weinberger and Saul 2004b, page 4, equation 6
- ↑ Weinberger and Saul 2006, page 5, equation 4
- ↑ Weinberger and Saul 2004b, page 4, equation 7
- ↑ Weinberger and Saul 2004b, page 4, equation 8
- ↑ Weinberger and Saul 2006, page 5, equation 6
- ↑ Weinberger, Sha and Saul 2004a, page 4, equation 11
- ↑ Weinberger and Saul 2004b, page 4, equation 9
- ↑ Weinberger and Saul 2006, page 6, equations 10 to 13
- ↑ Weinberger, Sha and Saul 2004a, page 4, section 3.3
- ↑ Weinberger and Saul 2004b, page 4, equation 9
- ↑ Weinberger and Saul 2006, page 6, equations 10 to 13
- ↑ Weinberger and Saul 2004b, page 4, equation 10
- ↑ Weinberger and Saul 2006, page 7, equations 14
- ↑ Weinberger and Saul 2004b, page 4, equation 11
- ↑ Weinberger and Saul 2006, page 7, equations 15
References
- "The geometry of graphs and some of its algorithmic applications". Combinatorica 15 (2): 215–245. 1995. doi:10.1007/BF01200757. https://www.researchgate.net/publication/228057833.
- "Learning a kernel matrix for nonlinear dimensionality reduction". Proceedings of the Twenty First International Conference on Machine Learning (ICML 2004). Banff, Alberta, Canada. 4 July 2004a. https://repository.upenn.edu/cis_papers/2/.
- "Unsupervised learning of image manifolds by semidefinite programming". 2004 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. 2. 27 June 2004b. https://repository.upenn.edu/cis_papers/1/.
- "Unsupervised learning of image manifolds by semidefinite programming". International Journal of Computer Vision 70: 77–90. 1 May 2006. doi:10.1007/s11263-005-4939-z. http://bicmr.pku.edu.cn/~wenzw/bigdata/weinberger-saul-mvu-image-manifolds.pdf.
- Lawrence, Neil D (2012). "A unifying probabilistic perspective for spectral dimensionality reduction: insights and new models". Journal of Machine Learning Research 13 (May): 1612. Bibcode: 2010arXiv1010.4830L. http://www.jmlr.org/papers/v13/lawrence12a.html.
Additional material
Original source: https://en.wikipedia.org/wiki/Semidefinite embedding.
Read more |