User:Perimosocordiae/Manifold alignment

Manifold alignment is a class of machine learning algorithms that produce projections between sets of data, given that the original data sets lie on a common manifold. The concept was first introduced as such by Ham, Lee, and Saul in 2003, adding a manifold constraint to the general problem of correlating sets of high-dimensional vectors.

Overview
Manifold alignment takes advantage of the assumption that disparate data sets produced by similar generating processes will share a similar underlying manifold representation. By learning projections from each original space to the shared manifold, correspondences are recovered and knowledge from one domain can be transferred to another. Most manifold alignment techniques consider only two data sets, but the concept extends to arbitrarily many initial data sets.

Consider the case of aligning two data sets, $$X$$ and $$Y$$, with $$X_i \in \mathbb{R}^m$$ and $$Y_i \in \mathbb{R}^n$$.

Manifold alignment algorithms attempt to project both $$X$$ and $$Y$$ into a new d-dimensional space such that the projections both minimize distance between corresponding points and preserve the local manifold structure of the original data. The projection functions are denoted:

$$\phi_{X}:\,\mathbb{R}^{m}\rightarrow\mathbb{R}^{d}$$

$$\phi_{Y}:\,\mathbb{R}^{n}\rightarrow\mathbb{R}^{d}$$

Let $$W$$ represent the binary correspondence matrix between points in $$X$$ and $$Y$$:

$$W_{i,j}=\begin{cases} 1 & if\, X_{i}\leftrightarrow Y_{j}\\ 0 & otherwise \end{cases}$$

Let $$S_X$$ and $$S_Y$$ represent pointwise similarities within data sets. This is usually encoded as the heat kernel of the adjacency matrix of a k-nearest neighbor graph.

Finally, introduce a coefficient $$0 \le \mu \le 1$$, which can be tuned to adjust the weight of the 'preserve manifold structure' goal, versus the 'minimize corresponding point distances' goal.

With these definitions in place, the loss function for manifold alignment can be written:

$$\arg\min_{\phi_{X},\phi_{Y}}\mu\sum_{i,j}\left\Vert \phi_{X}\left(X_{i}\right)-\phi_{X}\left(X_{j}\right)\right\Vert ^{2}S_{X,i,j}+\mu\sum_{i,j}\left\Vert \phi_{Y}\left(Y_{i}\right)-\phi_{Y}\left(Y_{j}\right)\right\Vert ^{2}S_{Y,i,j}+\left(1-\mu\right)\sum_{i,j}\Vert\phi_{X}\left(X_{i}\right)-\phi_{Y}\left(Y_{j}\right)\Vert^{2}W_{i,j} $$

Solving this optimization problem is equivalent to solving a generalized eigenvalue problem using the graph laplacian of the joint matrix, G:

$$G=\left[\begin{array}{ccc} \mu S_{X}\\ & \mu S_{Y}\\ & & \left(1-\mu\right)W \end{array}\right]$$

Inter-data correspondences
The algorithm described above requires full pairwise correspondence information between input data sets; a supervised learning paradigm. However, this information is usually difficult or impossible to obtain in real world applications. Recent work has extended the core manifold alignment algorithm to semi-supervised , unsupervised , and multiple-instance settings.

One-step vs Two-step alignment
The algorithm described above performs a "one-step" alignment, finding embeddings for both data sets at the same time. A similar effect can also be achieved with "two-step" alignments , following a slightly modified procedure: This approach has the benefit of decomposing the required computation, which allows for parallel implementations and/or lower memory overhead.
 * 1) Project each input data set to a lower-dimensional space independently, using any of a variety of dimension reduction algorithms.
 * 2) Perform linear manifold alignment on the embedded data, holding the first data set fixed, mapping each additional data set onto the first's manifold.

Instance-level vs Feature-level projections
Manifold alignment can be used to find linear (feature-level) projections, or nonlinear (instance-level) embeddings. While the instance-level version generally produces more accurate alignments, it sacrifices a great degree of flexibility as the learned embedding is often difficult to parameterize. Feature-level projections allow any new instances to be easily embedded in the manifold space, and projections may be combined to form direct mappings between the original data representations. These properties are especially important for knowledge-transfer applications.

Applications
Manifold alignment is suited to problems with several corpora that lie on a shared manifold, even when each corpus is of a different dimensionality. Many real-world problems fit this description, but traditional techniques are not able to take advantage of all corpora at the same time. Manifold alignment also facilitates transfer learning, in which knowledge of one domain is used to jump-start learning in correlated domains.

Applications of manifold alignment include:
 * Cross-language information retrieval / automatic translation
 * By representing documents as vector of word counts, manifold alignment can recover the mapping between documents of different languages.
 * Cross-language document correspondence is relatively easy to obtain, especially from multi-lingual organizations like the European Union.
 * Transfer learning of policy and state representations for reinforcement learning
 * Alignment of protein NMR structures