Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2014 Oct 9.
Published in final edited form as: JMLR Workshop Conf Proc. 2012;2012:37–46.

Factorized Diffusion Map Approximation

Saeed Amizadeh 1, Hamed Valizadegan 2, Milos Hauskrecht 3
PMCID: PMC4190137  NIHMSID: NIHMS408745  PMID: 25309676

Abstract

Diffusion maps are among the most powerful Machine Learning tools to analyze and work with complex high-dimensional datasets. Unfortunately, the estimation of these maps from a finite sample is known to suffer from the curse of dimensionality. Motivated by other machine learning models for which the existence of structure in the underlying distribution of data can reduce the complexity of estimation, we study and show how the factorization of the underlying distribution into independent subspaces can help us to estimate diffusion maps more accurately. Building upon this result, we propose and develop an algorithm that can automatically factorize a high dimensional data space in order to minimize the error of estimation of its diffusion map, even in the case when the underlying distribution is not decomposable. Experiments on both the synthetic and real-world datasets demonstrate improved estimation performance of our method over the standard diffusion-map framework.

1 Introduction

The emergence of complex high-dimensional datasets in recent years has spurred the interest of the machine learning community in manifold analysis and spectral algorithms. Laplacian-based methods, especially diffusion maps, are amongst the most popular approaches to analyze such data. A diffusion map defines a lower dimensional embedding of the data that preserves the cluster structure of the data at different resolutions. This methodology has been successfully applied to a variety of clustering and semi-supervised learning tasks [1,17,18,23–27].

Recent theoretical studies have shown that under some reasonable regulatory conditions, the data-based diffusion (Laplacian) matrix asymptotically converge to certain operators defined based on the true distribution of data [10,13,19,24]. In fact, the eigenfunctions of these asymptotic operators encode the cluster structure of the underlying density of data. An important question is how well we can estimate these eigenfunctions from a finite sample. Unfortunately it has turned out that the rate of convergence of the finite-sample approximations to true eigenfunctions is exponential in the dimension of the data, hence the problem suffers from the curse of dimensionality [13].

One possible way to alleviate the curse of dimensionality problem is based on the factorization of the input space into independent subspaces. Nadler et al. [15] showed that when the underlying distribution is decomposable, it leads to the decomposition of the diffusion eigenfunctions. This idea was later used by Fergus et al. [8] to implement scalable semi-supervised learning in large-scale image datasets. However, the scope of that work is somewhat limited. First, it assumes fully decomposable distributions. Second, it does not provide any insight on the quality of eigenfunctions built using the decomposition.

The objective of this paper is to study how the factorization of the underlying distribution into independent subspaces can help us to approximate the true eigenfunctions from a finite sample more accurately. We show that if the underlying distribution is factorizable, we can get significant reductions in the error bound for estimating the major eigenfunctions. In fact, this is analogous to machine learning criteria and models that rely on the underlying distribution structure to compensate for the insufficient sample size.

To clarify this idea, consider the synthetic 3D dataset shown in Figure 1 with four clusters. The first row in the figure shows the four major diffusion eigenfunctions of a sample with 1000 points where the color code shows the sign of the eigenfunctions. Each eigenfunction effectively separates the clusters from a different angle so that as a whole these eigenfunctions discovers the overall cluster structure in the data. Now, if we decrease the sample size to a half, the eigenfunctions and therefore the clustering result will be perturbed (as shown in the second row). However, this specific dataset is generated in a way that the Z coordinate is independent of X and Y. If we incorporate this information using the framework proposed in this paper, we get the same result as the first row but now only with 500 points (as shown in the third row).

Figure 1.

Figure 1

The synthetic 3D dataset with coordinate Z independent of X and Y

As the above example shows, having a factorizable underlying distribution can speed up the convergence of the empirical eigenvectors to true eigenfunctions. However, the distributions of real-world data may not factorize into independent subspaces. In this case, the key question is how much error on diffusion eigenfunctions is introduced if we impose such independence assumptions upon non-decomposable distributions. This idea is similar to imposing structural assumptions for model selection in order to decrease the parameter learning complexity. In this paper, we study the trade-off between the estimation error of diffusion eigenfunctions and the approximation error introduced by imposing the independence assumptions on the underlying distribution. We propose and develop a greedy algorithm which considers different independence assumptions on the distribution in order to find a factorizable approximation that minimizes the error in estimates of diffusion eigenfunctions. To show the merits of our framework, we test it on clustering tasks using both synthetic and real-world datasets.

2 Related Work

Our work is related to a large body of existing work that utilize the Laplacian-based spectral analysis [5] of the similarity matrix of the data to find a low dimensional embedding of data. Such methods cover a wide range of learning tasks such as dimensionality reduction [2, 12], data clustering [1, 11, 17, 18, 24, 25], and semi-supervised learning [23, 26, 27]. While the focus of early works was more on developing new algorithms based on the spectral analysis of similarity metric [1,11,17,18,23–27], more recent works study the theoretical aspects of such analysis [3,10,13,15,19,20], leading to the development of the new algorithms [4,8].

Laplacian-based methods can be categorized into two major groups: locality-preserving methods [2] and diffusion maps [15], both of them are based on a similarity graph of data. These two groups differ in how they use the similarity metric. Locality-preserving methods aim at finding a mapping of data points to real values by minimizing the local variations of the mapping around the points. These methods can be considered as special cases of kernel PCA [13]. Diffusion maps are based on the random walk on the similarity graph of data and can be considered as non-linear version of Multidimensional Scaling (MDS) [7] technique. Many of these methods are built upon a similarity graph on the datapoints in the input space which has to be constructed based on the distance metric in the input space. One popular method to build the similarity graph is to transform the Euclidean distances into the similarity weights using the Gaussian similarity kernel with some bandwidth ε.

Several authors study the convergence rate of the laplacian-based methods, either by assuming that data lie exactly on a lower dimensional Riemannian manifold in the original space [3, 10, 19], or considering a general underlying distribution that generates data [8,13,24]. Our framework is built upon the result of the later group. For a fixed kernel bandwidth ε, von Luxburg et. al. [24] showed that the normalized Laplacian operator converges with rate O(1∕n). Lee and Wasserman [13] study the rate of convergence for ε → 0 and large sample size n and showed that the optimal rate is dependent on d, the dimension of data. This result, i.e. the dependency of the convergence rate to d, is the main inspiration for our work.

3 Diffusion Framework

In this section, we overview the basic concepts of the diffusion map and its estimation complexity; interested readers may refer to [12, 13, 15] for further details.

Let the dataset D={x(1),…,x(n)} be the instances of the random variables V = {X1,…,Xd} sampled iid from the distribution P with compact support X⊂Rd with a bounded, non-zero density p. Define the similarity kernel kε(x,y)=exp(−‖x−y‖22∕4ε) on X. The discrete-time diffusion operator Ap,ε:L2(X)↦L2(X) (where L2(X) is the class of functions f defined X s.t. ∫ f2(x)dP (x) < ∞ is defined as :

Ap,ε[f(x)]=∫Xaε(x,y)f(y)p(y)dy, (1)

with asymmetric kernel aε(x, y) = kε(x, y)/ ∫ kε(x, z)p(z)dz. Ap,ε is a compact, positive operator with the largest eigenvalue λε,1 = 1 corresponding to the constant eigenfunction ψε,1 = 1. Alternatively, Ap,ε can be represented using its eigen decomposition as Ap,ε=∑i=1∞λε,iΠi where Πi is the orthogonal projection on ψε,i. Moreover, aε(x, y) can be written as aε(x,y)=∑i=1∞λε,iψε,i(x)φε,i(y) where φε,i is the eigenfunction of Ap,ε∗, the adjoint of Ap,ε. It is known that the principal eigenfunctions of Ap,ε with the largest eigenvalues encode the manifold structure of data and therefore can be used for low dimensional embedding of the original data [12]. In fact, this is the basic motivation for introducing diffusion map ϕε:Rd↦Rr for r < d:

x↦ϕε(x)=[λε,1ψε,1(x),…,λε,rψε,r(x)]T (2)

The underlying structure of data can be studied at different scales (like in hierarchical clustering). This gives rise to the notion of m-step discrete-time diffusion operator defined by exponenting the eigenvalues of Ap,ε to the power of m as Ap,εm=∑i=1∞(λε,i)mΠi. Subsequently, the asymmetric kernel for Ap,εm is derived as aε,m(x,y)=∑i=1∞(λε,i)mψε,i(x)φε,i(y). Ap,εm also induces the diffusion map ϕεm(⋅) which maps the original data to a coarser cluster structure as m increases. Furthermore, one can extend the discrete scale of Ap,εm (i.e. m steps of length ε) to the continuous scale t = mε (with ε → 0) by defining the continuous-time diffusion operator Apt:L2(X)↦L2(X):

Apt[f(x)]=limε→0Ap,εt∕ε[f(x)]=∫Xat(x,y)f(y)p(y)dy, (3)

where, at(x, y) = limε→0 aε,t/ε(x, y). The eigenvalues and the eigenfunctions of Ap,t are computed as: λp,i(t)=limε→0λε,it∕ε and ψp,i(t)=limε→0ψε,i, respectively.

The diffusion map induced by the eigen decomposition of Ap,t is a powerful tool for data embedding at different continuous scales t. However, in practice, we have to estimate the eigen decomposition of Ap,t from the finite sample D by computing the matrix [A^ε]n×n=[kε(x(i),x(j))∕∑l=1nkε(x(i),x(l))]n×n with the eigen decomposition A^εu^ε,i=λ^ε,iu^ε,i. The empirical eigenfunctions are then computed from the eigenvectors u^ε,i using the Nyström approximation [13]:

ψ^ε,i(x)=∑j=1nkε(x,x(j))u^ε,i(x(j))λ^ε,i∑j=1nkε(x,x(j)) (4)

The eigenvalues and eigenfunctions of A^ε estimate their counterparts for Ap,ε by estimating P with the empirical distribution p^=1∕n (denoted by A^ε→Ap,ε as n → ∞) [13]. Since A^εt∕ε→Ap,εt∕ε as n → ∞, we can estimate the eigenspaces of Apt by those of A^εt∕ε. An important concern is how fast the rate of convergence is as n → ∞. To answer this question, von Luxburg et. al. [24] showed that the normalized Laplacian operator converges with rate O(1∕n) given that ε is fixed. This result can be easily extended to the diffusion operator as well. The good thing about this rate is that it does not depend on the dimension d. However, to find the optimal trade-off between bias and variance, we need to let ε → 0 as the sample size n increases. Lee and Wasserman [13] showed that the optimal rate for ε is (log n/n)2/(d+8) and therefore the eigenfunctions converge as [9,13]:

‖ψp,it−ψ^ε,i‖22=OP(tdμi(t)[lognn]2∕(d+8)) (5)

where, ui(t)=min2≤l≤ilog(λp,l−1(t)∕λp,l(t)) is the multiplicative eigengap of Apt and ‖f‖22=∫Xf2(x)p(x)dx. Unfortunately, this rate depends on the dimension exponentially which makes it a hard problem to estimate the eigenfunctions of Apt from a finite sample. Throughout the rest of this paper, we drop the subscript ε for the empirical operators assuming it is implicitly computed using the optimal rate above.

4 Factorized Diffusion Maps

4.1 The Factorized Approximation

Let Tk={T1,T2,…,Tk} be a partition of the variables in V into k disjoint subsets. Each Ti defines a subspace of V with dimension di = ∣Ti∣. With a little abuse of notation, we also use Ti to refer to the subspace induced by the variables in Ti. We define the marginal diffusion operator Apit:L2(X)↦L2(X):

Apit[gz(x)]=∫Tiat(x,y)gz(y)pi(y)dy,x,y∈Ti,z∈V\Ti (6)

where gz(x) = f([x z]T) assumes the variables in z are constants and pi is the marginal distribution over the subspace defined by Ti. In other words, Apit treats the input variables of f(·) which do not belong to Ti as constants. Furthermore, the partition Tk defines the factorized distribution qTk=∏i=1kpi. To simplify the notation, for a fixed Tk, we refer to qTk simply by q. We also define the factorized diffusion operator Aqt the same as Eq. (3) with the true distribution p is replaced by the factorized distribution q. We have:

Lemma 1

Let Λit={λi,m(t)∣1≤m≤∞} and Ψit={ψi,m(t)∣1≤m≤∞} be the set of eigenvalues and eigenfunctions of Apit, respectively. Then the sets:

Λqt={∏i=1kξi∣ξi∈Λit},Ψqt={∏i=1kφi∣φi∈Ψit}

are respectively the eigenvalues and eigenfunctions of the factorized diffusion operator Aqt.

Lemma 1 explicitly relates the eigenvalues and the eigenfunctions of the factorized diffusion operator Aqt to eigenvalues and the eigenfunctions of the marginal diffusion operators Apit. We refer to the eigenvalues and the eigenfunctions based on the factorization as multiplicative eigenvalues and eigenfunctions.

The above decomposition also gives a recipe for computing the eigenfunctions of Aqt from eigenfunction estimates in each subspace Ti. In particular, we can estimate the eigenfunctions in each subspace Ti independently and then multiply the results over all subspaces. This construction procedure is of special practical significance if p, in fact, factorizes according to Tk; that is, p = q. In that case, the principal eigenfunctions of Apt (with largest eigenvalues) can be estimated from a finite sample D (more accurately), if we make use of the fact that p is factorizable.

The multiplicative eigenvalue and eigenfunction estimates on the full variable space using q come with the following properties. First, the largest eigenvalue λ^i,1(t) in each subspace Ti is λ^i,1(t)=1 and is associated with the constant eigenfunction ψ^i,1(t)=1. Therefore, the largest multiplicative eigenvalue of Aqt (according to Lemma 1) will be λ^q,1(t)=∏i=1k1=1 with a constant eigenfunction ψ^q,1t=∏i=1k1=1. Next, the second largest multiplicative eigenvalue of Aqt will be λ^q,2(t)=λ^j,2×∏i≠j1 with the eigenfunction ψ^q,2t=ψ^j,2t×∏i≠j1 where j=argmaxrλ^r,2(t). That is, the second eigenfunction of Aqt can be obtained from only one subspace (i.e. Tj) with a reduced dimensionality (dj). Finally, the m-th multiplicative eigenvalue and eigenfunction λ^m(t) and ψ^mt will be estimated using at most lg m marginal eigenfunctions on subspaces.

Lemma 2

Suppose p factorizes according to Tk and the eigen decomposition of Apt is constructed using the procedure suggested by Lemma 1 then the m-th eigenfunction of Aqt associated with its m-th largest eigenvalue is the multiplication of the marginal eigenfunctions from “at most” min(k, ⌈lg m ⌉) subspaces in Tk.

From the estimation point of view, this result has a significant implication in that the estimation error of the m-th eigenfunction over the whole space can be reduced to the estimation error from at most lg m subspaces, each of which has a smaller dimension. To illustrate this, consider the second principal eigenfunction ψ^q,2t described above. Since it depends only on one of the subspaces (with a reduced dimensionality), its rate of convergence, according to [13], should be faster. Hence its estimation error bound is reduced and equal to the error bound for that subspace. This observation further motivates the analysis of error for estimating the factorized diffusion map.

4.2 Error Analysis

In the previous subsection, we saw that if the underlying distribution p is factorizable, then we can decrease the estimation error bound of the m-th principal eigenfunction using the factorization to independent subspaces. However, in reality, p may not factorize at all; then, the question is how much error is introduced if we approximate p with q, and under which problem settings we get smaller error bounds by enforcing such a factorization. Suppose A^qt is the estimated factorized diffusion operator from a sample of size n with the factorization according to Tk. Let ψp,mt, ψq,mt and ψ^q,mt represent the m-th eigenfunction of Apt, Aqt and A^qt, respectively. We want to approximate ψp,mt with ψ^q,mt and to study the error ‖ψp,mt−ψ^q,mt‖22. We have the following inequality:

Etotal(q,m,t)≜‖ψp,mt−ψ^q,mt‖22≤2‖ψp,mt−ψq,mt‖22+2‖ψq,mt−ψ^q,mt‖22 (7)

The first term on the right-hand side is the approximation error or bias which is due to approximating ψp,mt (i.e. p) with ψq,mt (i.e. q). Clearly, in case p = q, the approximation error is 0 and the inequality becomes an equality. Note that the approximation error is also a lower bound on Etotal(q,m,t). The second term on the right-hand side is the estimation error of the factorized eigenfunction from the finite sample. We can bound these errors from above as follows:

Theorem 1. Upper bound on the approximation error

Let supf:‖f‖2≤1‖f‖∞=ℓ<∞, supx,yat(x,y)=j<∞ and δm=λp,m(t)−λp,m+1(t) then

Eapp(q,m,t)≜‖ψp,mt−ψq,mt‖22≤C⋅DKL(p‖q)≜Uapp(q,m,t) (8)

where C=32j2ℓ2ln2∕δm2 and DKL(⋅‖⋅) denotes the Kullback-Leibler divergence.

Theorem 1 translates the distance between the true and the approximated eigenfunction to the distance between the true underlying distribution and its factorized approximation.

Theorem 2. Upper bound on the estimation error

Let q factorizes according to Tk and supf:‖f‖2≤1‖f‖∞=ℓ<∞. Define Sm={(j1,…,jk)∣∀i∈[1..k]:1≤ji≤mand∏i=1kji≤m} and the multiplicative eigengap μi,j(t)=min2≤l≤jlog(λi,l−1(t)∕λi,l(t)) then we have:

Eest(q,m,t)≜‖ψq,mt−ψ^q,mt‖22≤max(j1,…,jk)∈Smℓ2(k−1)∑i=1k2i‖ψi,jit−ψ^i,jit‖22=OP(max(j1,…,jk)∈Smℓ2(k−1)∑i=1ji≠1k2itdiμi,ji(t)[lognn]2∕(di+8))≜Uest(q,m,t) (9)

where n is the sample size and di is the dimensionality of the subspace Ti. Furthermore, the sum in the last equality is over at most min(k, ⌈lg m⌉) sub-spaces.

Roughly speaking, the above result states that in estimating the m-th eigenfunction of the factorized operator Aqt, the error is bounded by sum of the estimation errors in at most ⌈lg m⌉ subspaces each of which has a reduced dimensionality from d to di.

The main implication of the above theorems can be summarized as follows: suppose the underlying distribution p is equal or close to the factorized distribution q. If the procedure in Lemma 1 is used to estimate the principal eigenfunctions of Apt, the upper bound on the approximation error of these eigenfunctions will be small because p and q are close (Theorem 1). Moreover, the upper bound on the estimation error will involve only a few independent subspaces induced by q each of which has a reduced dimensionality and therefore has an exponentially faster convergence rates (Theorem 2). As a result, we get smaller total error upper bound Utotal(q, m, t) = Uapp(q, m, t)+Uest(q, m, t) compared to the error bound for the standard diffusion map (Note that using the trivial partition T1={V} is equivalent to the standard diffusion map).

4.3 Finding The Best Partition

So far, we have assumed that for the given problem a good partition of variables is known. This is a reasonable assumption in those problems where the (unconditional) independencies among the variables are known in advance. For instance, in object recognition problem, one may consider the edge and the texture features of the input images to be almost independent. However, in many other problems, the independencies and week dependencies among variables (and therefore the optimal partitioning) are not a priori known and need to be discovered from the data. To this end, we need an optimization criterion to evaluate the goodness of different partitions w.r.t. the task in hand. In this paper, we use the estimated total error for estimation of the major eigenfunctions to find a nearly optimal partition of the variables for factorized diffusion mapping. More formally, given an unlabeled dataset D, we want to find the partition that minimizes Etotal(q,m,t). However, we face the following two big challenges to solve this optimization problem. First, since we do not know the true eigenfunctions,

Algorithm 1 Greedy Partitioning
1: input: dataset D with features V
2: output: the optimal partitioning T∗
3: k←1,T1←V
4: loop
5:  for all Ti∈Tk do
6:   {T~i1,Ti\T~i1}←Qu(D,Ti)
7:   Δi←Δtotal({T~i1,Ti\T~i1}∣Tk)
8:  end for
9:  j←argmax1≤i≤kΔi
10:  if Δj > 0 then
11:   Tk←Tk\{Tj}∪{Tj1,Tj2}
12:   k ← k + 1
13:  else
14:   T∗←Tk;stop; stop
15:  end if
16: end loop

we cannot directly compute the total error and need to estimate it. One approach to estimation of Etotal is to use the upper bound Utotal as a proxy for Etotal. However, the problem with this solution is we need to estimate the constants for error bounds in Theorems 1 and 2 as well as the true multiplicative eigengaps which is not easy in general for real problems; let alone the fact that these bounds are not tight anyway. To get around these problems, in our framework, we use a bootstrapping algorithm to estimate Etotal(q,m,t). More precisely, from the given sample D of size n, we draw b bootstrap subsamples D1,…,Db of size n/2 each. Then the total error for the given partition Tk is estimated as:

E^total(q,m,t)=1b∑i=1b‖u^p,m,Dt−u^q,m,Dit‖22 (10)

Here, u^p,m,Dt is the estimated eigenvector over the sample D using no partitioning whereas u^q,m,Dit denotes the estimated multiplicative eigenvector over the bootstrap subsample Di if the partitioning Tk is applied.

Second, even after estimating the total error, we still need to find the optimal partition that minimizes the estimated error which is an NP-hard problem. To address this issue, we develop a greedy algorithm that recursively splits the variable set V into disjoint subsets and and stops when E^total(q,m,t) cannot be decreased anymore. Let us start with the following definitions:

Definition 1

Denoted by Tk+1′≻iTk, Tk+1′ is defined to be an immediate refinement of Tk on the subset Ti∈Tk if

Tk+1′=Tk\{Ti}∪{Ti1,Ti2}

where Ti1, Ti2 ≠ ϕ, Ti1 ∪ Ti2 = Ti and Ti1 ∩ Ti2 = ϕ.

Definition 2

Suppose Tk+1′≻iTk with the split {Ti1, Ti\Ti1} of Ti. The error gain of the split {Ti1, Ti\Ti1} applied on Tk is defined as:

Δtotal({Ti1,Ti\Ti1}∣Tk)≜E^total(qTk,m,t)−E^total(qTk+1′,m,t) (11)

Furthermore, the optimal error gain of splitting Ti in Tk is defined to be:

Δtotal∗(Ti∣Tk)≜Δtotal({Ti1∗,Ti\Ti1∗}∣Tk) (12)

where

Ti1∗=argmaxTi1⊂TiΔtotal({Ti1,Ti\Ti1}∣Tk) (13)

For now, suppose we can efficiently compute Δtotal∗(Ti∣Tk) for all Ti∈Tk. Then given the current partition Tk, the greedy algorithm picks the subset Ti∈Tk with the maximum gain Δtotal∗(Ti∣Tk) to be split into {Ti1∗,Ti\Ti1∗} and generates Tk+1′ for the next iteration. The algorithm stops when the gains for all subsets in the current partition are negative. Of course, this algorithm is based on the assumption that Δtotal∗(Ti∣Tk) is efficiently computable which is not the case because of the intractable set maximization problem in Eq. (13). To address this problem, first we define the gain for the approximation error upper bound obtained from splitting Ti into {Ti1, Ti\Ti1 as:

ΔappU({Ti1,Ti\Ti1}∣Tk)≜Uapp(qTk,m,t)−Uapp(qTk+1′,m,t)=−C⋅MI(Ti1,Ti\Ti1) (14)

where MI(X, Y ) denotes the mutual information between the random vectors X and Y and C is the constant defined in Theorem 1. The equality in Eq. (14) can be obtained from the result of Theorem 1 using some basic algebra. We propose to use ΔappU instead of Δtotal in Eq. (13) to find the split {T~i1,Ti\T~i1} as an approximation to {Ti1∗,Ti\Ti1∗}; that is,

T~i1=argmaxTi1⊂TiΔappU({Ti1,Ti\Ti1}∣Tk)=argmaxTi1⊂TiMI(Ti1,Ti\Ti1) (15)

Using this heuristic, finding the best splitting inside each subset reduces to finding the most independent bi-split of the subset. The benefit of using this heuristic is that the optimization function in Eq. (15) is a symmetric submodular function which can be minimized using the Queyranne algorithm in O(∣Ti∣3) [16]. The disadvantage is, at the level of finding the best split inside each subset, we do not exactly maximize the estimated total error anymore. However at one level higher, when the algorithm decides which subset in the current partition should be split, it looks at the estimated total error, which is the original objective function we aim to minimize.

Once the split {T~i1,Ti\T~i1} is found, we can plug it in Eq. (12) to compute Δtotal(Ti∣Tk) as an approximation to Δtotal∗(Ti∣Tk) for all Ti∈Tk. Algorithm 1 above summarizes the greedy partitioning algorithm. Note that Qu(D,Ti) in Algorithm 1 denotes the Queyranne algorithm which finds the splitting of Ti into {T~i1,Ti\T~i1} that minimizes ΔappU.

There are a couple of points regarding the proposed algorithm in this section to be clarified.

  1. Although the estimation error Eest is not used in finding the best splitting of each Ti, it is implicitly included in Δtotal∗ and therefore is used to decide which Ti should be split in the next iteration.

  2. ΔappU(Ti∣Tk) only depends on the subsets Ti1 and Ti\Ti1 inside Ti and does not change if we refine other Tj’s. However, this isn’t true for Δtotal∗(Ti∣Tk); that is, Δtotal∗(Ti∣Tk) depends on the whole partition Tk and will change if any members of Tk is split. Because of this, we cannot apply the splitting in all Ti’s at the same time; in fact, any new split will change Δtotal∗(Ti∣Tk) for all Ti’s.

  3. In practice we need a robust method to estimate the mutual information between different subsets of continuous random variables from the sample D. One candidate is the Maximum Likelihood Density Ratio method [21] which roughly has the convergence rate of Op(n−12) [22].

  4. Depending on the size of problem and the method used for estimating mutual information, the optimization in Eq. (15) might be still too slow. To alleviate this problem in practice, one can substitute line 6 in Algorithm 1 with any method that finds nearly independent partitions of variables (e.g. partitioning of the covariance matrix).

  5. One needs to decide for which eigenfunction (i.e. which m) E^total(q,m,t) should be minimized in the greedy partitioning algorithm. In our experiments, we have used a weighted average error over the first four principal eigenfunctions.

5 Experimental Results

Synthetic Data

In the first experiment, our goal is to cluster the synthetic 3D dataset in Figure 1 (two balls surrounded by two rings) using spectral clustering. In particular, we applied K-means in the embedded spaces induced by the factorized diffusion map and the standard diffusion map. The dimension of the embedded spaces for both mappings is 3 using the first three non-trivial eigenvectors of the corresponding operators. Assuming the independence X, Y ˔ Z is known in advance, we passed the partition T2={{X,Y},{Z}} to the factorized diffusion mapping algorithm (induced by Lemma 1). To assess the performance of mappings, we measure the divergence of the clustering result in each case from the true cluster labels. To do so, we have used the normalized variation of information which is a distance metric between two clusterings [14]. This metric measures the conditional entropy of cluster labels given the true labels and vice versa (the smaller this metric is, the closer two clusterings are). Figure 2(A) shows the variation of information for the two methods with the true cluster labels as the sample size changes. We also show the performance of standard K-means without any spectral embedding (the black curve). The curves are averages over 20 repetitions with the error bars showing the 95% confidence intervals.

Figure 2.

Figure 2

A) Clustering results on synthetic data (B) Covariance matrix (C) The bootstrapping error for different partitions on the image data of features in the image data set

As the results show, for small sample sizes there is no difference between the performance of the two spectral methods. However, as we increase the sample size, our method starts to outperform the standard diffusion map leading to significantly smaller variation of information with the true cluster labels. As we continue increasing the sample size, the difference between the two methods starts decreasing with both methods eventually reaching the perfect clustering given the sample size is sufficiently large (700 for our method). According to these observations, we conclude that the extra knowledge regarding the underlying distribution of data (i.e. the independence relation) is particularly useful for mid-range sample sizes and can significantly improve the results of spectral clustering. However, for very small or very large sample sizes, this extra piece of information may not make a significant difference. Also, the standard K-means performed very poorly compared to the spectral methods.

Image Data

In the second experiment, we have applied our framework on the image segmentation dataset 1. This dataset consists of 2310 instances. Each instance was drawn randomly from a database of seven outdoor categories. The image, a 3 × 3 region, was hand-segmented to create a classification for each region. The seven classes are brickface, sky, foliage, cement, window, path, and grass. Each of the seven categories is represented by 330 instances. The extracted features are 19 continuous attributes that describe the position of the extracted image, line densities, edges, and color values. We have treated this classification problem as a clustering task with each class regarded as one cluster. The main reason for choosing this dataset is the features conceptually seem to be divided into nearly independent subsets (e.g. the position vs. the edge features). Figure 2(B) also shows the empirical covariance matrix of this dataset with nearly blocked structure which again indicates the existence of independent feature subsets. However, there might still exist some non-linear dependencies among features and therefore we cannot completely trust on the block structure suggested by the covariance matrix as the true partitioning. This observation motivates utilizing the proposed Greedy Partitioning algorithm to automatically find the best partition for factorized diffusion mapping of the data.

Figure 2(C) shows the optimization paths of the Greedy Partitioning algorithm for different sample sizes (the plots are averaged over 10 runs). The x-axis shows the number subsets in the partitioning on the variables while the y-axis is the total error estimated using bootstrapping in the log-scale (with the minimums marked on the plots). As the figure shows, all of the plots have the same general trend: namely as we start partitioning the features, there is a significant drop on the estimated total error until the total error reaches a minimum. We attribute this behavior to the decrease in the estimation error while introducing very small approximation error. However, if we continue refining the partitioning, the increase in the approximation error will dominate the decrease in the estimation error and therefore the total error starts increasing again. It is also apparent from the plots that as the sample size increases the estimated total error decreases for a fixed number of partitions. Finally, note that the position of minimum is shifted to the left (i.e. toward smaller partition numbers) as we increase the sample size. This observation, in fact, shows that for smaller sample sizes, the algorithm automatically regularizes more by imposing more independence assumptions (i.e. more refined partitioning) in order to get more accurate estimation of eigenfunctions.

Having found the optimal partitioning and used it for the factorized diffusion mapping, we can feed the resulted mapping to K-means to find the clusters. To evaluate the result of clustering given the true cluster labels, one option is to use the variation of information score as before. However, we observed that the results of K-means were more sensitive to initial centers in this real-world problem. To alleviate this issue, we develop a new evaluation metric called separation which assesses how separated the true cluster are in the embedded space, independent of the initial cluster positions for K-means. To compute this metric: given the new coordinates of data in the embedded space {z(1),…,z(n)} and the true cluster labels, we compute the center μi for cluster Ci in the embedded space. Each Ci has ni data points; we define wi to be the number of data points among the ni closest points to μi which actually belong to the cluster Ci (using the true labels). The separation is computed as α = σi wi/n which is a number in [0, 1]. For α = 1, we have the perfect separation meaning that given a good set of initial points, K-means can completely separate the clusters based on the true labels. In fact, this metric is equivalent to clustering purity metric when K-means generates the ideal clustering by finding clusters centered at μi’s. Table 1 summarizes the optimal number of partitions k* found for each sample size as well as the separation α (and its 95% CI) for both standard and factorized diffusion maps. All the results are the average over 10 runs. As the results show, using factorized diffusion embedding, the separation of clusters in the embedded space is significantly improved.

Table 1.

Results of Greedy Partitioning on image data set for different sample sizes

n k* Baseline α Factorized α
140 5 0.727 ± 0.007 0.755 ± 0.007
280 3 0.707 ± 0.006 0.748 ± 0.007
700 2 0.704 ± 0.005 0.764 ± 0.006

6 Conclusions

In this paper, we utilized the existence of independence structure in the underlying distribution of data to estimate diffusion maps. In particular, we studied the reduction on the estimation error of diffusion eigenfunctions resulting from a factorized distribution. We showed that if the underlying space is factorized into independent subspaces, the estimation error of the major eigenfunctions can be decomposed into errors in only a subset of these subspaces each of which has a much smaller dimensionality than the original space. Since in many real problems, the factorized distribution either does not exist or is not known in advance, we studied how much bias is introduced if we impose the factorized distribution assumption. To find the optimal trade-off between the approximation bias and the estimation error, we developed a greedy algorithm for finding a factorization that minimizes the estimated total error. The experimental results showed that the factorized approximation can significantly improve the results of spectral clustering on both the synthetic and image data sets.

The fundamental intuition underlying this work is that the density estimation problem and the spectral analysis of data are closely related. Hence, the same structural assumptions that can help us to reduce the complexity of learning for density estimation purposes, can also help us for the empirical spectral analysis.

Supplementary Material

Supplementary proofs

Acknowledgements

This research work was supported by grants 1R01LM010019-01A1 and 1R01GM088224-01 from the NIH and by the Predoctoral Andrew Mellon Fellowship awarded to Saeed Amizadeh for the school year 2011-2012. The content of this paper is solely the responsibility of the authors and does not necessarily represent the official views of the NIH.

Footnotes

Appearing in Proceedings of the 15th International Conference on Artificial Intelligence and Statistics (AISTATS) 2012, La Palma, Canary Islands. Volume 22 of JMLR: W&CP 22.

Contributor Information

Saeed Amizadeh, Intelligent Systems Program University of Pittsburgh Pittsburgh, PA 15213.

Hamed Valizadegan, Department of Computer Science University of Pittsburgh Pittsburgh, PA 15213.

Milos Hauskrecht, Department of Computer Science University of Pittsburgh Pittsburgh, PA 15213.

References

  • [1].Bach FR, Jordan MI. Learning spectral clustering. Advances in Neural Information Processing Systems. 2004;16 [Google Scholar]
  • [2].Belkin Mikhail, Niyogi Partha. Laplacian eigenmaps for dimensionality reduction and data representation. Neural Computation. 2002;15:1373–1396. [Google Scholar]
  • [3].Belkin Mikhail, Niyogi Partha. Towards a theoretical foundation for laplacian-based manifold methods. Computational Learning Theory. 2005:486–500. [Google Scholar]
  • [4].Belkin Mikhail, Niyogi Partha, Sindhwani Vikas. Manifold regularization: A geometric framework for learning from labeled and unlabeled examples. Journal of Machine Learning Research. 2006;7:2399–2434. [Google Scholar]
  • [5].Chung FRK. Spectral Graph Theory. Amer. Math. Society; 1997. [Google Scholar]
  • [6].Cover Thomas M., Thomas Joy A. Elements of Information Theory. Wiley-Interscience; New York, USA: 2000. [Google Scholar]
  • [7].Cox T, Cox M. Multidimensional Scaling. Chapman & Hall; 1994. [Google Scholar]
  • [8].Fergus Rob, Weiss Yair, Torralba Antonio. semi-supervised learning in gigantic image collection. NIPS. 2009 [Google Scholar]
  • [9].Giné Evarist, Guillou Armelle. Rates of strong uniform consistency for multivariate kernel density estimators. Ann. Inst. Henri Poincaré (B) 2002;38(6):907–921. [Google Scholar]
  • [10].Gine Evarist, Koltchinskii Vladimir. Empirical graph laplacian approximation of laplace–beltrami operators: Large sample results. the IMS Lecture Notes Monograph Series by the Institute of Mathematical Statistics. 2006 Dec 27;51 [Google Scholar]
  • [11].Jin R, Ding C, Kang F. A probabilistic approach for optimizing spectral clustering. Advances in Neural Information Processing Systems. 2006;18 [Google Scholar]
  • [12].Lafon Stephane, Lee Ann B. Diffusion maps and coarse-graining: A unified framework for dimensionality reduction, graph partitioning, and data set parameterization. IEEE Trans. Pattern Anal. Mach. Intell. 2006 Sep;28:1393–1403. doi: 10.1109/TPAMI.2006.184. [DOI] [PubMed] [Google Scholar]
  • [13].Lee Ann B., Wasserman Larry. Spectral connectivity analysis. Journal of the American Statistical Association. 2010 [Google Scholar]
  • [14].Meila Marina. Comparing clusterings by the variation of information. COLT: Proceedings of the Workshop on Computational Learning Theory, Morgan Kaufmann Publishers. 2003 [Google Scholar]
  • [15].Nadler Boaz, Lafon Stephane, Coifman Ronald R., Kevrekidis Ioannis G. Diffusion maps, spectral clustering and reaction coordinates of dynamical systems. Applied and Computational Harmonic Analysis: Special issue on Diffusion Maps and Wavelets. 2006 [Google Scholar]
  • [16].Narasimhan Mukund, Bilmes Jeff A. UAI-04. AUAI Press; 2004. PAC-learning bounded tree-width graphical models; pp. 410–417. [Google Scholar]
  • [17].Ng A, Jordan M, Weiss Y. On spectral clustering: Analysis and an algorithm. Advances in Neural Information Processing Systems. 2001;14 [Google Scholar]
  • [18].Shi J, Malik J. Normalized cuts and image segmentation. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2000;22(8):888–905. [Google Scholar]
  • [19].Singer A. From graph to manifold laplacian: The convergence rate. Applied and Computational Harmonic Analysis. 2006;21:128–134. [Google Scholar]
  • [20].Subramanya Amarnag, Bilmes Je. Entropic graph regularization in non-parametric semi-supervised classification. NIPS. 2009 [Google Scholar]
  • [21].Suzuki Taiji, Sugiyama Masashi, Sese Jun, Kanamori Takafumi. Approximating mutual information by maximum likelihood density ratio estimation. Journal of Machine Learning Research - Proceedings Track. 2008;4:5–20. [Google Scholar]
  • [22].Suzuki Taiji, Sugiyama Masashi, Tanaka Toshiyuki. Proceedings of the 2009 IEEE international conference on Symposium on Information Theory. Volume 1. IEEE Press; 2009. Mutual information approximation via maximum likelihood estimation of density ratio; pp. 463–467. [Google Scholar]
  • [23].Valizadegan Hamed, Jin Rong, Jain Anil K. Semi-supervised boosting for multi-class classification. Principles of Data Mining and Knowledge Discovery. 2008:522–537. [Google Scholar]
  • [24].von Luxburg Ulrike, Belkin Mikhail, Planck Max. Consistency of spectral clustering. Annals of Statistics. 2008;36:555–586. [Google Scholar]
  • [25].Zelnik-Manor L, Perona P. Self-tuning spectral clustering. Advances in Neural Information Processing Systems. 2005;17:1601–1608. [Google Scholar]
  • [26].Zhou D, Bousquet O, Lal T, Weston J, Schölkopf B. Learning with local and global consistency. NIPS. 2003 [Google Scholar]
  • [27].Zhu X, Ghahramani Z, Lafferty J. Semi-supervised learning using gaussian fields and harmonic functions. ICML. 2003 [Google Scholar]
  • [28].Zwald Laurent, Blanchard Gilles. On the convergence of eigenspaces in kernel principal component analysis. NIPS. 2005 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary proofs

RESOURCES