# Stat946s13

### From Wiki Course Notes

## Contents |

## Set A

Date | Speaker | Title | Link | Summary |

July 11 (Presentation 1) | Fan Li | Positive Semidefinite Metric Learning Using Boosting-like Algorithms | [1] | Summary |

July 11 (Presentation 2) | Han Sheng Sun | Inductive Kernel Low-rank Decomposition with Priors: A Generalized Nystrom Method | [2] | Summary |

July 16 (Presentation 1) | Ahmed Elgohary | Kernelized Locality-Sensitive Hashing. | [3] | Summary |

July 16 (Presentation 2) | Sepehr Eghbali | Hamming Distance Metric Learning | [4] | Summary |

July 18 (Presentation 1) | Lei Wang | Kernel Dimension Reduction in Regression. | [5] | Summary |

July 18 (Presentation 2) | Zikun Xu | Dimensionality Reduction by Learning an Invariant Mapping | [6] | summary |

July 23 (Presentation 1) | Jiaxi Liang | Maximum likelihood estimation of intrinsic dimension | [7] | Summary |

July 23 (Presentation 2) | Lu Xin | Kernel Spectral Clustering for Community Detection in Complex Networks | [8] | Summary |

July 25 (Presentation 2) | M.Hassan Z. Ashtiani | Parametric Local Metric Learning for Nearest Neighbor Classiﬁcation | [9] | Summary |

July 30 (Presentation 1) | Wu Lin | Hierarchical Dirichlet Processes | [10] | Summary |

July 30 (Presentation 2) | Huan Cheng | Adaptive dimension reduction for clustering high dimensional data | [11] | Summary |

## Set B

Name | Second paper (The paper that you are going to write a critic on it. This is different from the paper that you have chosen for presentation.) | Link | Summary |

Fan Li | Metric and Kernel Learning Using a Linear Transformation | [12] | Summary |

Han Sheng Sun | Residual Component Analysis: Generalizing PCA for more flexible inference in linear-Gaussian models | [13] | Summary |

Jiaxi Liang | ROBPCA: A New Approach to Robust Principal Component Analysis | [14] | Summary |

Lu Xin | Nonparametric Latent Feature Models for Link Prediction | [15] | Summary |

M.Hassan Z.Ashtiani | Cardinality Restricted Boltzmann Machines | [16] | Summary |

Wu Lin | The Indian Buffet Process: An Introduction and Review | [17] | Summary |

Zikun Xu | Large-Scale Supervised Sparse Principal Component Analysis | [18] | Summary |

Lei Wang | Measuring statistical dependence with Hilbert-Schmidt norms | [19] | Summary |

Lei Wang | Measuring and testing dependence by correlation of distances | [20] | Summary |

## paper summaries

## Proposal for Final Project

# Background

## Introduction

Manifold learning is a significant problem across a wide variety of information processing fields including pattern recognition, data compression, machine learning, and database navigation. In many problems, the measured data vectors are high-dimensional but we may have reason to believe that the data lie near a lower-dimensional manifold. In other words, we may believe that high-dimensional data are multiple, indirect measurements of an underlying source, which typically cannot be directly measured. Learning a suitable low-dimensional manifold from high-dimensional data is essentially the same as learning this underlying source.

Dimensionality reduction ^{[1]} can also be seen as the process of deriving a set of degrees of freedom which can be used to reproduce most of the variability of a data set. Consider a set of images produced by the rotation of a face through different angles. Clearly only one degree of freedom is being altered, and thus the images lie along a continuous curve through image space.

Manifold learning techniques can be used in different ways including:

- : Produces a compact low-dimensional encoding of a given high-dimensional data set.
- : Provides an interpretation of a given data set, usually as a by-product of data dimensionality reduction.
- : Unsupervised methods for data dimensionality reduction are used as a preprocessing step in order to simplify subsequent training of a supervised method such as classification.

Many algorithms for dimensionality reduction have been developed to accomplish these tasks. However, since the need for such analysis is raised in many areas of study, contributions to the field have come from many disciplines. While all of these methods have a similar goal, approaches to the problem are different.

Principal components analysis (PCA) is a classical method which provides a sequence of best linear approximations to a given high-dimensional observation. It is one of the most popular techniques for dimensionality reduction. However, its effectiveness is limited by its global linearity. Multidimensional scaling (MDS) , which is closely related to PCA, suffers from the same drawback. Factor analysis and independent component analysis (ICA) also assume that the underling manifold is a linear subspace. However, they differ from PCA in the way they model the subspace.

The subspace modeled by PCA captures the maximum variability in the data, and can be viewed as modeling the covariance structure of the data, whereas factor analysis models the correlation structure. ICA starts from a factor analysis solution and searches for rotations that lead to independent

components . In order to resolve the problem of dimensionality reduction in nonlinear cases, many techniques including kernel PCA , locally linear embedding (LLE) , Laplacian Eigenmaps Method (LEM) , Isomap , and Semidefinite Embedding (SDE) have been proposed.

This chapter provides a brief overview of these different approaches and shows their close connection. Section 2 of this chapter explains Principal components analysis which is the core of many other techniques. In Section 3, kernel PCA, a recent extension to PCA, is discussed. Locally linear embedding, a new and very popular algorithm, is reviewed in Section 4. Section 5 explains Laplacian Eigenmaps. Multidimensional scaling and its recent extension, Isomap, are discussed in Sections 6 and 7 respectively. The last section discusses Semidefinite Embedding, a new approach to dimensionality reduction based on Semidefinite programming.

## Principal components analysis

Principal components analysis (PCA) is a very popular technique for dimensionality reduction. Given a set of data on *n* dimensions, PCA aims to find a linear subspace of dimension lower than *n* such that the data points lie mainly on this linear subspace. Such a reduced subspace attempts to maintain most of the variability of the data.

The linear subspace can be specified by *d* orthogonal vectors which form a new coordinate system and are called the ‘principal components’. The principal components are orthogonal, linear transformations of the original data points, so there can be no more than *n* of them. However, the hope is that only *d* < *n* principal components are needed to approximate the space spanned by the *n* original axes.

The most common definition of PCA, due to Hotelling , is that, for a given set of data vectors *x*_{i}, , the *d* principal axes are those orthonormal axes onto which the variance retained under projection is maximal.

In order to capture as much of the variability as possible, let’s choose the first principal component, denoted by *U*_{1}, to have maximum variance. Suppose that all centered observations are stacked into the columns of an matrix *X*, where each column corresponds to an *n* dimensional observation and there are *t* observations. Let principal component be a linear combination of *X* defined by coefficients (or weights) *W* = [*w*_{1}...*w*_{t}]. In matrix form:

*U*_{1} = *W*^{T}*X* *v**a**r*(*U*_{1}) = *v**a**r*(*W*^{T}*X*) = *W*^{T}*S**W*

where *S* is the sample covariance matrix of *X*.

Clearly *v**a**r*(*U*_{1}) can be made arbitrarily large by increasing the magnitude of *W*. Therefore, we choose *W* to maximize *W*^{T}*S**W* while constraining *W* to have unit length.

To solve this optimization problem a Lagrange multiplier α_{1} is introduced:

Differentiating with respect to *W* gives *t* equations,

*S**W* = α_{1}*W*

Premultiplying both sides by *W*^{T} we have:

*W*^{T}*S**W* = α_{1}*W*^{T}*W* = α_{1}

*v**a**r*(*U*_{1}) is maximized if α_{1} is the largest eigenvalue of *S*.

Clearly α_{1} and *W* are an eigenvalue and an eigenvector of *S*. Differentiating ([1]) with respect to the Lagrange multiplier α_{1} gives us back the constraint:

*W*^{T}*W* = 1

This shows that the first principal component is given by the normalized eigenvector with the largest associated eigenvalue of the sample covariance matrix *S*. A similar argument can show that the *d* dominant eigenvectors of covariance matrix *S* determine the first *d* principal components.

Another nice property of PCA, closely related to the original discussion by Pearson , is that the projection onto the principal subspace minimizes the squared reconstruction error, . In other words, the principal components of a set of data in provide a sequence of best linear approximations to that data, for all ranks

Consider the rank-*d* linear approximation model as :

This is the parametric representation of a hyperplane of rank *d*.

For convenience, suppose (otherwise the observations can be simply replaced by their centered versions ). Under this assumption the rank *d* linear model would be *f*(*y*) = *U*_{d}*y*, where *U*_{d} is a matrix with *d* orthogonal unit vectors as columns and *y* is a vector of parameters. Fitting this model to the data by least squares leaves us to minimize the reconstruction error:

By partial optimization for *y*_{i} we obtain:

Now we need to find the orthogonal matrix *U*_{d}:

Define . *H*_{d} is a matrix which acts as a projection matrix and projects each data point *x*_{i} onto its rank *d* reconstruction.

In other words, *H*_{d}*x*_{i} is the orthogonal projection of *x*_{i} onto the subspace spanned by the columns of *U*_{d}. A unique *H*^{ + } solution can be obtained by finding the pseudo inverse of *X*, denoted as *X*^{ + }.

*H*^{ + } = *X*^{ + }*X* *X* = *U*Σ*V*^{T} *X*^{ + } = *V*Σ^{ + }*U*^{T} *H*^{ + } = *U*Σ*V*^{T}*V*Σ^{ + }*U*^{T} = *U**U*^{T} For each rank *d*, *U*_{d} consists of the first *d* columns of *U*.

[h] [alg 1]

Clearly the solution for *U* can be expressed as singular value decomposition (SVD) of *X*. *X* = *U*Σ*V*^{T} since the columns of *U* in the SVD contain the eigenvectors of *X**X*^{T}. The PCA procedure is summarized in Algorithm 1.

## Kernel PCA

Through the use of kernels, principle components can be computed efficiently in high-dimensional feature spaces that are related to the input space by some nonlinear mapping. PCA is an orthogonal transformation of the coordinate system in which we describe our data.

Kernel PCA finds principal components which are nonlinearly related to the input space. PCA can be formulated entirely in terms of dot products between data points. In kernel PCA, this dot product is replaced by the inner product of a Hilbert space. This is equivalent to performing PCA in the space produced by the nonlinear mapping, where the low-dimensional latent structure is, hopefully, easier to discover.

Consider a feature space such that:

Suppose (we will return to this point and show how this condition can be satisfied in Hilbert space).

This allows us to formulate the kernel PCA objective as follows:

By the same argument used for PCA, the solution can be found by SVD: Φ(*X*) = *U*Σ*V*^{T}

where *U* contains the eigenvectors of Φ(*X*)Φ(*X*)^{T}

However, the singular value decomposition allows us to do much more than simply rederive the principle components algorithm. In fact, given the matrices Σ and *V*, one can derive a *dual* form of principle components analysis which allows us to limit the direct dependence on the original dimensionality *n*, via the kernel trick.

Assume that the dimensionality *n* of the matrix of data *X* is large (i.e. *n* > > *t*). In this case, Algorithm 1 is impractical. We would prefer a run time that depends only on the number of training examples *t*, or that at least has a reduced dependence on *n*.

To reduce the dependence on *n*, first assume that we have a kernel that allows us to compute . Given such a function, we can then compute the matrix , such that *k*_{ij} = *k*(*x*_{i},*x*_{j}). Let denote the fact that we could compute the matrix efficiently using the kernel trick.

The eigenvectors in *U* corresponding to nonzero singular values in Σ (square roots of eigenvalues) are in a one-to-one correspondence with the eigenvectors in *V*.

Now assume that we perform dimensionality reduction on *U* and keep only the first *d* eigenvectors, corresponding to the top *d* nonzero singular values in Σ. These eigenvectors will still be in a one-to-one correspondence with the first *d* eigenvectors in *V*: where the dimensions of these matrices are: Crucially, Σ is now square and invertible, because its diagonal has nonzero entries. Thus, the following conversion between the top *d* eigenvectors can be derived:

Replacing all uses of *U* in Algorithm 1 with *X**V*Σ^{ − 1} gives us the dual form of PCA, Algorithm 2 (see Figure [alg 2]).

[h] [alg 2]

In the derivation of the kernel PCA we assumed that Φ(*x*) has zero mean. The following normalization of the kernel satisfies this condition.

In order to prove that, define:

Finally, the corresponding kernel is:

This expands as follows:

= *k*(*x*,*y*) − *E*_{x}[*k*(*x*,*y*)] − *E*_{y}[*k*(*x*,*y*)] + *E*_{x}[*E*_{y}[*k*(*x*,*y*)]]

## Locally Linear Embedding

[LLE] Locally linear embedding (LLE), computes low-dimensional, neighborhood preserving embedding of high-dimensional data. A data set of dimensionality *n*, which is assumed to lie on or near a smooth nonlinear manifold of dimensionality *d* < *n*, is mapped into a single global coordinate system of lower dimensionality, *d*. The global nonlinear structure is recovered by locally linear fits.

Consider *t* *n*-dimensional real-valued vectors *x*_{i} sampled from some underlying manifold. We can assume each data point and its neighbors lie on, or are close to, a locally linear patch of the manifold. By a linear mapping, consisting of a translation, rotation, and rescaling, the high-dimensional coordinates of each neighborhood can be mapped to global internal coordinates on the manifold. Thus, the nonlinear structure of the data can be identified through two linear steps: first, compute the locally linear patches, and second, compute the linear mapping to the coordinate system on the manifold.

The main goal here is to map the high-dimensional data points to the single global coordinate system of the manifold such that the relationships between neighboring points are preserved. This proceeds in three steps:

- Identify the neighbors of each data point
*x*_{i}. This can be done by finding the*k*nearest neighbors, or by choosing all points within some fixed radius, ε. - Compute the weights that best linearly reconstruct
*x*_{i}from its neighbors. - Find the low-dimensional embedding vector
*y*_{i}which is best reconstructed by the weights determined in the previous step.

After finding the nearest neighbors in the first step, the second step must compute a local geometry for each locally linear patch. This geometry is characterized by linear coefficients that reconstruct each data point from its neighbors.

where *N*_{i}(*j*) is the index of the *j*th neighbor of the *i*th point. It then selects code vectors so as to preserve the reconstruction weights by solving

This objective can be reformulated as

where *L* = (*I* − *W*)^{T}(*I* − *W*).

The solution for *Y* can have an arbitrary origin and orientation. In order to make the problem well-posed,these two degrees of freedom must be removed. Requiring the coordinates to be centered on the origin (

∑ | y_{i} = 0 |

i |

), and constraining the embedding vectors to have unit covariance (*Y*^{T}*Y* = *I*), removes the first and second degrees of freedom respectively.

The cost function can be optimized initially by the second of these two constraints. Under this constraint, the cost is minimized when the columns of *Y*^{T} (rows of *Y*) are the eigenvectors associated with the lowest eigenvalues of *L*.

Discarding the eigenvector associated with eigenvalue 0 satisfies the first constraint.

## Laplacian Eigenmaps

[LEM] Given *t* points in *n*-dimensional space, Laplacian Eigenmaps Method (LEM) starts by constructing a weighted graph with *t* nodes and a set of edges connecting neighboring points. Similar to LLE, the neighborhood graph can be constructed by finding the *k* nearest neighbors, or by choosing all points within some fixed radius ε. For weighting the edges, there are two variations: either each edge is weighted by , where *s* is a free parameter which should be chosen a priori, or simply all *W*_{ij} is set to 1 if vertices *i* and *j* are connected. The embedding map is then provided by the following objective

subject to appropriate constraints. This objective can be reformulated as

min_{Y}Tr(*Y**L**Y*^{T}) where *L* = *R* − *W*, *R* is diagonal, and . This *L* is called the *Laplacian function*. Similar to [LLECOST], after adding orthogonality and centering constraint, a solution to this problem can be found by making *Y* to be the eigenvectors of *L*(non-normalized solution). As an alternative, [LLECOST] can be constrained to *Y*^{T}*L**Y* = *I*. In this case , the solution is provided by the eigenvectors of the generalized eigenvalue problem *M**y* = λ*D**y* (normalized solution). Note that the final objectives for both LEM and LLE have the same form and differ only in how the matrix *L* is constructed. Therefore, same closed form solution (taking *Y* to be the eigenvectors of *L*) works.

## Multidimensional scaling (MDS)

[MDS] Multidimensional scaling (MDS) is another classical approach that maps the original high dimensional space to a lower dimensional space that preserves pairwise distances. MDS addresses the problem of constructing a configuration of *t* points in Euclidean space by using information about the distances between the *t* patterns.

A matrix *D* is called a distance or affinity matrix if it is symmetric, , and .

Given a distance matrix *D*, MDS attempts to find *t* data points *y*_{1},...,*y*_{t} in *d* dimensions, such that if denotes the Euclidean distance between *y*_{i} and *y*_{j}, then is similar to *D*. In particular, we consider metric MDS , which minimizes

where and . The distance matrix *D*^{(X)} can be converted to inner products *X*^{T}*X*. where and *e* is a column vector of all 1. Now the equation can be reduced to

It can be shown that the solution is *Y* = Λ^{1 / 2}*V*^{T} where *V* is the eigenvectors of *X*^{T}*X* corresponding to the top *d* eigenvalues, and Λ is the top *d* eigenvalues of *X*^{T}*X*. Clearly the solution for MDS is identical to dual PCA (see Figure [alg 2]), and as far as Euclidean distance is concerned, MDS and PCA produce the same results. However, the distances need not be based on Euclidean distances and can represent many types of dissimilarities between objects.

## Isomap

Another recent approach to nonlinear dimensionality reduction is the Isomap algorithm. Isomap is a nonlinear generalization of classical MDS. The main contribution is to compute the MDS, not in the input space, but in the geodesic space of the manifold. The geodesic distances represent the shortest paths along the curved surface of the manifold measured as if the surface were flat. This can be approximated by a sequence of short steps between neighboring sample points. Isomap then applies MDS to the geodesic distances to find a low-dimensional mapping with similar pairwise distances.

Like LLE, the Isomap algorithm proceeds through three steps:

- Find the neighbors of each data point in high-dimensional data space.
- Compute the geodesic pairwise distances between all points.
- Embed the data via MDS so as to preserve these distances.

Again like LLE, the first step can be performed by identifying the *k* nearest neighbors, or by choosing all points within some fixed radius, ε. These neighborhood relations are represented by a graph *G* in which each data point is connected to its nearest neighbors, with edges of weight *d*_{X}(*i*,*j*) between neighbors.

The geodesic distances *d*_{M}(*i*,*j*) between all pairs of points on the manifold *M* are then estimated in the second step. Isomap approximates *d*_{M}(*i*,*j*) as the shortest path distance *d*_{G}(*i*,*j*) in the graph *G*. This can be done in different ways including Dijkstra’s algorithm and Floyd’s algorithm .

These algorithms finds matrix of graph distances contains the shortest path distance between all pairs of points in *G*.

In its final step, Isomap applies classical MDS to to generate an embedding of the data in a *d*-dimensional Euclidean space *Y*.

The global minimum of the cost function is obtained by setting the coordinates of *y*_{i} to the top *d* eigenvectors of the inner-product matrix *B* obtained from

## Semidefinite Embedding (SDE)

[SDE]

In 2004 Weinberger and Saul introduced Semidefinite Embedding (SDE) , a.k.a. Maximum Variance Unfolding(MVU), which learns a kernel matrix instead of choosing a kernel function a priori. They formulated the problem of learning the kernel matrix as an instance of semidefinite programming. Since the kernel matrix *K* represents inner products of vectors in a Hilbert space it must be positive semidefinite. Also the kernel should be centered,

∑ | K_{ij} = 0 |

ij |

. Lastly, SDE imposes constraints on the kernel matrix to ensure that the distances and angles between points and their neighbors are preserved under the neighborhood graph η. That is, if both *x*_{i} and *x*_{j} are neighbors (η_{ij} = 1) or are common neighbors of another input ([η^{T}η]_{ij} > 0), then: | | Φ(*x*_{i}) − Φ(*x*_{j}) | | ^{2} = | | *x*_{i} − *x*_{j} | | ^{2}. In terms of the kernel matrix, this can be written as: *K*_{ij} − 2*K*_{ij} + *K*_{jj} = | | *x*_{i} − *x*_{j} | | ^{2}. By adding an objective function to maximize Tr(*K*) which represents the variance of the data points in the learned feature space, SDE constructs a semidefinite program for learning the kernel matrix *K*. The last detail of SDE is the construction of the neighborhood graph η_{ij}. This graph is constructed by connecting the *k* nearest neighbors using a similarity function over the data, | | *x*_{i} − *x*_{j} | | . The algorithm is summarized in Table [tab:sde].

[h] [tab:sde]

- ↑ In this thesis ‘manifold learning’ and ‘dimensionality reduction’ are used interchangeably.