Sparse PCA via Bipartite Matchings
Megasthenis Asteris, Dimitris Papailiopoulos, Anastasios Kyrillidis, Alexandros G. Dimakis
Introduction
Principal Component Analysis (PCA) reduces the dimensionality of a data set by projecting it onto principal subspaces spanned by the leading eigenvectors of the sample covariance matrix. Sparse PCA is a useful variant that offers higher data interpretability , a property that is sometimes desired even at the cost of statistical fidelity . Furthermore, when the obtained features are used in subsequent learning tasks, sparsity potentially leads to better generalization error .
Given a real data matrix representing centered data points supported on features, the leading sparse principal component of the data set is the sparse vector that maximizes the explained variance:
where is the empirical covariance matrix. The sparsity constraint makes the problem NP-hard and hence computationally intractable in general, and hard to approximate within some small constant . A significant volume of prior work has focused on algorithms that approximately solve the optimization problem , while a large volume of theoretical results has been established under planted statistical models .
In most practical settings, we tend to go beyond computing a single sparse PC. Contrary to the single-component problem, there has been limited work on computing multiple components. The scarcity is partially attributed to conventional PCA wisdom: multiple components can be computed one-by-one, repeatedly, by solving the single-component sparse PCA problem (1) and deflating the input data to remove information captured by previously extracted components . In fact, the multi-component version of sparse PCA is not uniquely defined in the literature. Different deflation-based approaches can lead to different outputs: extracted components may or may not be orthogonal, while they may have disjoint or overlapping supports . In the statistics literature, where the objective is typically to recover a “true” principal subspace, a branch of work has focused on the “subspace row sparsity” , an assumption that leads to sparse components all supported on the same set of variables. While in , the authors discuss an alternative perspective on the fundamental objective of the sparse PCA problem.
In this work, we develop a novel algorithm for the multi-component sparse PCA problem with disjoint supports. Formally, we are interested in finding components that are -sparse, have disjoint supports, and jointly maximize the explained variance:
with denoting the th column of . The number of the desired components is a user defined parameter and we consider it to be a small constant.
Contrary to the greedy sequential approach that repeatedly uses deflation, our algorithm jointly computes all the vectors in , and comes with theoretical approximation guarantees. We note that even if one could solve each single-component sparse PCA problem (1) exactly, greedy deflation can be highly suboptimal. We show this through a simple example in Section 7.
We develop an algorithm that provably approximates the solution to the sparse PCA problem (2) within a multiplicative factor arbitrarily close to . To the best of our knowledge, this is the first algorithm that jointly optimizes multiple components with disjoint supports, provably. Our algorithm is combinatorial; it recasts sparse PCA as multiple instances of bipartite maximum weight matching on graphs determined by the input data.
The computational complexity of our algorithm grows as a low order polynomial in the ambient dimension , but is exponential in the intrinsic dimension of the input data, i.e., the rank of . To alleviate the impact of this dependence, our algorithm can be applied on a low-dimensional sketch of the input data to obtain an approximate solution to (2). This extra level of approximation introduces an additional penalty in our theoretical approximation guarantees, which naturally depends on the quality of the sketch and, in turn, the spectral decay of . We show how these bounds further translate to an additive PTAS (polynomial-time approximation scheme) for sparse PCA. Our additive PTAS outputs an approximate solution with explained variance of at least , for any sparsity , any constant error and any number of orthogonal components.Here, OPT is the explained variance captured by the optimal set of components that are sparse and have disjoint supports.
We empirically evaluate our algorithm on real datasets, and compare it against state-of-the-art methods for the single-component sparse PCA problem (1) in conjunction with the appropriate deflation step. In many cases, our algorithm—as a result of jointly optimizing over multiple components—leads to significantly improved results, and outperforms deflation-based approaches.
Sparse PCA through Bipartite Matchings
Our algorithm approximately solves the constrained maximization (2) on a rank- PSD matrix within a multiplicative factor arbitrarily close to . It operates by recasting the maximization into multiple instances of the bipartite maximum weight matching problem. Each instance ultimately yields a feasible solution: a set of components that are -sparse and have disjoint supports. The algorithm examines these solutions, and outputs the one that maximizes the explained variance, i.e., the quadratic objective in (2).
The computational complexity of our algorithm grows as a low order polynomial in the ambient dimension of the input, but exponentially in its rank . Despite the unfavorable dependence on the rank, it is unlikely that a substantial improvement can be achieved in general . However, decoupling the dependence on the ambient and the intrinsic dimension of the input has an interesting ramification; instead of the original input , our algorithm can be applied on a low-rank surrogate to obtain an approximate solution, alleviating the dependence on . We discuss this in Section 3, and present the approximation bound that this allows us to obtain.
Under the variational characterization of the trace objective in (4), the sparse PCA problem (2) can be re-written as a joint maximization over the variables and as follows:
The alternative formulation of the sparse PCA problem in (5) takes a step towards decoupling the dependence of the optimization on the ambient and intrinsic dimensions and , respectively. The motivation behind the introduction of the auxiliary variable will become clear in the sequel.
For a given , the value of that maximizes the objective in (5) for that is
where is a real matrix. The constrained, non-convex maximization (6) plays a central role in our developments. We will later describe a combinatorial procedure to efficiently compute , reducing the maximization to an instance of the bipartite maximum weight matching problem. For now, however, let us assume that such a procedure exists.
For any real rank- PSD matrix , desired number of components , number of nonzero entries per component, and accuracy parameter , Algorithm 1 outputs such that
where in time T_{\texttt{SVD}}(r)+O\mathopen{}\bigl{(}\bigl{(}\tfrac{4}{\epsilon}\bigr{)}^{r\cdot{{k}}}\cdot d\cdot({s}\cdot{k})^{2}\bigr{)}.
Algorithm 1 is the first nontrivial algorithm that provably approximates the solution of the sparse PCA problem (2). According to Theorem 1, it achieves an objective value that lies within a multiplicative factor from the optimal, arbitrarily close to . Its complexity grows as a low-order polynomial in the dimension of the input, but exponentially in the intrinsic dimension . Note, however, that it can be exponentially faster compared to the brute force approach that exhaustively considers all candidate supports for the sparse components. The complexity of our algorithm follows from the cardinality of the net and the complexity of Algorithm 2, the subroutine that solves the constrained maximization (6). The latter is a key ingredient of our algorithm, and is discussed in detail in the next subsection. A formal proof of Theorem 1 is provided in Section 9.2.
In the core of Algorithm 1 lies Algorithm 2, a procedure that solves the constrained maximization in (6). The algorithm breaks down the maximization into two stages. First, it identifies the support of the optimal solution . Determining the support reduces to an instance of the maximum matching problem on a weighted bipartite graph . Then, it recovers the exact values of the nonzero entries in based on the Cauchy-Schwarz inequality. In the sequel, we provide a brief description of Algorithm 2, leading up to its guarantees in Lemma 2.27.
Let be the support of the th column of , . The objective in (6) becomes
The last inequality is an application of the Cauchy-Schwarz Inequality and the constraint . In fact, if an oracle reveals the supports , , the upper bound in (7) can always be achieved by setting the nonzero entries of as in Algorithm 2 (Line ). Therefore, the key in solving (6) is determining the collection of supports to maximize the right-hand side of (7).
By constraint, the sets must be pairwise disjoint, each with cardinality . Consider a weighted bipartite graph {G=\bigl{(}{U=\{U_{1},\ldots,U_{k}\}},V,E\bigr{)}} constructed as followsThe construction is formally outlined in Algorithm 4 in Section 8. (Fig. 1):
is a set of vertices , corresponding to the variables, i.e., the rows of .
is a set of vertices, conceptually partitioned into disjoint subsets , each of cardinality . The th subset, , is associated with the support ; the vertices , in serve as placeholders for the variables/indices in .
Finally, the edge set is . The edge weights are determined by the matrix in (6). In particular, the weight of edge is equal to . Note that all vertices in are effectively identical; they all share a common neighborhood and edge weights.
Any feasible support corresponds to a perfect matching in and vice-versa. Recall that a matching is a subset of the edges containing no two edges incident to the same vertex, while a perfect matching, in the case of an unbalanced bipartite graph with , is a matching that contains at least one incident edge for each vertex in . Given a perfect matching , the disjoint neighborhoods of s under yield a support . Conversely, any valid support yields a unique perfect matching in (taking into account that all vertices in are isomorphic). Moreover, due to the choice of weights in , the right-hand side of (7) for a given support is equal to the weight of the matching in induced by the former, i.e., . It follows that determining the support of the solution in (6), reduces to solving the maximum weight matching problem on the bipartite graph .
A more formal analysis and proof of Lemma 2.27 is available in Section 9.1. With Algorithm 2 and Lemma 2.27 in place, we complete the description of our sparse PCA algorithm (Algorithm 1) and the proof sketch of Theorem 1.
Sparse PCA on Low-Dimensional Sketches
Algorithm 1 approximately solves the sparse PCA problem (2) on a rank- PSD matrix , in time that grows as a low-order polynomial in the ambient dimension , but depends exponentially on . This dependence can be prohibitive in practice. To mitigate its effect, instead of the original input, we can apply our sparse PCA algorithm on a low-rank approximation of . Intuitively, the quality of the extracted components should depend on how well that low-rank surrogate approximates the original input.
More formally, let be the real data matrix representing (potentially centered) datapoints in variables, and the corresponding covariance matrix. Further, let be a low-dimensional sketch of the original data; an matrix whose rows lie in an -dimensional subspace, with being an accuracy parameter. Such a sketch can be obtained in several ways, including for example exact or approximate SVD, or online sketching methods . Finally, let \macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}=\scalebox{0.85}{\nicefrac{{1}}{{n}}\cdot{\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}}^{{{\top}}}\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}} be the covariance matrix of the sketched data. Then, instead of , we can approximately solve the sparse PCA problem by applying Algorithm 1 on the low-rank surrogate . The above are formally outlined in Algorithm 3. We note that the covariance matrix does not need to be explicitly computed; Algorithm 1 can operate directly on the (sketched) input data matrix.
For any input data matrix , with corresponding empirical covariance matrix , any desired number of components , and accuracy parameters and , Algorithm 3 outputs such that
in time T_{\texttt{SKETCH}}(r)+T_{\texttt{SVD}}(r)+O\mathopen{}\bigl{(}\bigl{(}\tfrac{4}{\epsilon}\bigr{)}^{r\cdot{{k}}}\cdot{d}\cdot({s}\cdot{k})^{2}\bigr{)}. Here, , and denotes the sparse eigenvalue, i.e., the eigenvalue that corresponds to the principal -sparse eigenvector of .
The error and in turn the tightness of the approximation guarantees hinges on the quality of the sketch . Higher values of the parameter (the rank of the sketch) can allow for a more accurate solution and tighter guarantees. That is the case, for example, when the sketch is obtained through exact SVD. In that sense, Theorem 2 establishes a natural trade-off between the running time of Algorithm 3 and the quality of the approximation guarantees. A formal proof of Theorem 2 is provided in Section 9.3. Observe that the error term itself is a sparse eigenvalue that is hard to approximate, however even loose bounds provide tight conditional approximation results, as we see next.
Using the main matrix approximation result of , the next theorem establishes that Algorithm 3 can be turned into an additive PTAS.
Let be a positive semidefinite matrix with entries in $\mathbf{V}d\times d\mathbf{A}={\bf V}{\bf V}^{\top}\mathbf{R}d\times r\mathcal{N}(0,1/r)$, and define
For any constant , let . Then, for any desired sparsity , and number of components , Algorithm 1 with input argument and accuracy parameter , outputs such that
with probability at least , in time .
Note that serves as another elementary upper bound on . If is a the rank- SVD approximation of , then—similar to —we can obtain a multiplicative PTAS for sparse PCA, under the assumption of a decaying spectrum (e.g., under a power-law decay), and for .
Related Work
We are not aware of any algorithm with provable guarantees for sparse PCA with disjoint supports. Multiple components can be extracted by repeatedly solving (1) using one of the aforementioned methods. To ensure disjoint supports, variables “selected” by a component are removed from the dataset. This greedy approach, however, can result in highly suboptimal objective value (See example in Sec. 7).
Parallel to the algorithmic and optimization perspective, there is large line of statistical analysis for sparse PCA that focuses on guarantees pertaining to planted models and the recovery of a “true” sparse component .
There has been some work on the explicit estimation of principal subspaces or multiple components under sparsity constraints. Non-deflation-based algorithms include extensions of the diagonal thresholding algorithm and iterative thresholding approaches , while and propose methods that rely on the “row sparsity for subspaces” assumption of . These methods yield components supported on a common set of variables, and hence solve a problem different from (2). Magdon-Ismail and Boutsidis discuss the multiple component Sparse PCA problem, propose an alternative objective function and for that problem obtain interesting theoretical guarantees. Finally, develops a framework for sparse matrix factorizaiton problems, based on a novel atomic norm. That framework captures sparse PCA – although not explicitly the constraint of disjoint supports – but the resulting optimization problem, albeit convex, is NP-hard.
Experiments
We evaluate our algorithm on a series of real datasets, and compare it to deflation-based approaches for sparse PCA using TPower , EM , and SpanSPCA . The latter are representative of the state of the art for the single-component sparse PCA problem (1). Multiple components are computed one by one. To ensure disjoint supports, the deflation step effectively amounts to removing from the dataset all variables used by previously extracted components. For algorithms that are randomly initialized, we depict best results over multiple random restarts. Additional experimental results are listed in Section 11 of the appendix.
Our experiments are conducted in a Matlab environment. Due to its nature, our algorithm is easily parallelizable; its prototypical implementation utilizes the Parallel Pool Matlab feature to exploit multicore (or distributed cluster) capabilities. Recall that our algorithm operates on a low-rank approximation of the input data. Unless otherwise specified, it is configured for a rank- approximation obtained via truncated SVD. Finally, we put a time barrier in the execution of our algorithm, at the cost of the theoretical approximation guarantees; the algorithm returns best results at the time of termination. This “early termination” can only hurt the performance of our algorithm.
Leukemia Dataset. We evaluate our algorithm on the Leukemia dataset . The dataset comprises samples, each consisting of expression values for probe sets. We extract sparse components, each active on features. In Fig. 2(a), we plot the cumulative explained variance versus the number of components. Deflation-based approaches are greedy: the leading components capture high values of variance, but subsequent ones contribute less. On the contrary, our algorithm jointly optimizes the components and achieves higher total cumulative variance; one cannot identify a top component. We repeat the experiment for multiple values of . Fig. 2(b) depicts the total cumulative variance capture by each method, for each value of .
Additional Datasets. We repeat the experiment on multiple datasets, arbitrarily selected from . Table 1 lists the total cumulative variance captured by components, each with nonzero entries, extracted using the four methods. Our algorithm achieves the highest values in most cases.
Bag of Words (BoW) Dataset. This is a collection of text corpora stored under the “bag-of-words” model. For each text corpus, a vocabulary of words is extracted upon tokenization, and the removal of stopwords and words appearing fewer than ten times in total. Each document is then represented as a vector in that -dimensional space, with the th entry corresponding to the number of appearances of the th vocabulary entry in the document.
We solve the sparse PCA problem (2) on the word-by-word cooccurrence matrix, and extract sparse components, each with cardinality . We note that the latter is not explicitly constructed; our algorithm can operate directly on the input word-by-document matrix. Table 2 lists the variance captured by each method; our algorithm consistently outperforms the other approaches.
Finally, note that here each sparse component effectively selects a small set of words. In turn, the extracted components can be interpreted as a set of well-separated topics. In Table 3, we list the topics extracted from the NY Times corpus (part of the Bag of Words dataset). The corpus consists of news articles and a vocabulary of words.
Conclusions
We considered the sparse PCA problem for multiple components with disjoint supports. Existing methods for the single component problem can be used along with an appropriate deflation step to compute multiple components one by one, leading to potentially suboptimal results. We presented a novel algorithm for jointly optimizing multiple sparse and disjoint components with provable approximation guarantees. Our algorithm is combinatorial and exploits interesting connections between the sparse PCA and the bipartite maximum weight matching problems. It runs in time that grows as a low-order polynomial in the ambient dimension of the input data, but depends exponentially on its rank. To alleviate this dependency, we can apply the algorithm on a low-dimensional sketch of the input, at the cost of an additional error in our theoretical approximation guarantees. Empirical evaluation of our algorithm demonstrated that in many cases it outperforms deflation-based approaches.
Acknowledgments
DP is generously supported by NSF awards CCF-1217058 and CCF-1116404 and MURI AFOSR grant 556016. This research has been supported by NSF Grants CCF 1344179, 1344364, 1407278, 1422549 and ARO YIP W911NF-14-1-0258.
References
Supplemental Material
On the sub-optimality of deflation – An example
We provide a simple example demonstrating the sub-optimality of deflation based approaches for computing multiple sparse components with disjoint supports. Consider the real matrix
with such that . Note that is PSD; for
We seek two -sparse components with disjoint supports, i.e., the solution to
Iterative computation with deflation. Following an iterative, greedy procedure with a deflation step, we compute one component at the time. The first component is
Recall that for any unit norm vector with support ,
where denotes the principal submatrix of formed by the rows and columns indexed by . Equality can be achieved in (10) for equal to the leading eigenvector of . Hence, it suffices to determine the optimal support for . Due to the small size of the example, it is easy to determine that the set maximizes the objective in (10) over all sets of two indices, achieving value
Since subsequent components must have disjoint supports, it follows that the support of the second -sparse component is , and achieves value
In total, the objective value in (8) achieved by the greedy computation with a deflation step is
The sub-optimality of deflation. Consider an alternative pair of -sparse components and with support sets and , respectively. Based on the above, such a pair achieves objective value in (8) equal to
which clearly outperforms the objective value in (13) (under the assumption ), demonstrating the sub-optimality of the , pair computed by the deflation-based approach. In fact, for small the objective value in the second case is larger than the former by almost a factor of two.
Construction of Bipartite Graph
The following algorithm formally outlines the steps for generating the bipartite graph {G=\bigl{(}\{{U_{j}}\}_{j=1}^{{k}},V,E\bigr{)}} given a weight matrix .
Proofs
For any real matrix , and Algorithm 2 outputs
in time .
Consider a matrix and let , denote the support sets of its columns. By the constraints in , those sets are disjoint, i.e., , and
The last inequality is due to Cauchy-Schwarz and the fact that , . In fact, if the supports sets , were known, the upper bound in (15) would be achieved by setting , i.e., setting the nonzero subvector of the th column of colinear to the corresponding subvector of the th column of . Hence, the key step towards computing the optimal solution is to determine the support sets , of its columns.
The set represents all possible supports for the members of . Taking into account the previous discussion, the maximization in (14) can be written with respect to :
is a set of vertices , corresponding to the variables, i.e., the rows of .
is a set of vertices, conceptually partitioned into disjoint subsets , each of cardinality . The th subset, , is associated with the support ; the vertices , in serve as placeholders for the variables/indices in .
Finally, the edge set is . The edge weights are determined by the matrix in (6). In particular, the weight of edge is equal to . Note that all vertices in are effectively identical; they all share a common neighborhood and edge weights.
It is straightforward to verify that any corresponds to a perfect matching in and vice versa; if and only if vertex is matched with a vertex in (all vertices in are equivalent with respect to their neighborhood). Further, the objective value in (16) for a given is equal to the weight of the corresponding matching in . More formally,
Given a perfect matching , the support of the th column of is determined by the neighborhood of in the matching:
Note that the sets , are indeed disjoint, and each has cardinality equal to . The weight of the matching is
which is equal to the objective function in (16).
Conversely, given an indicator matrix , let , and let denote the th element in the set, (with an arbitrary ordering). Then,
is a perfect matching in . The objective value achieved by is equal to the weight of :
It follows from (18) and (19) that to determine , it suffices to compute a maximum weight perfect matching in . The desired support is then obtained as described in (17) (lines 4-7 of Algorithm 2). This complete the proof of correctness of Algorithm 2 which proceeds in the steps described above to determine the support of .
The weighted bipartite graph is generated in . The running time of Algorithm 2 is dominated by computing the maximum weight matching of . For the case of unbalanced bipartite graph with the Hungarian algorithm can be modified to compute the maximum weight bipartite matching in time O\mathopen{}\left(|E||U|+|U|^{2}\log{|U|}\right)={O\mathopen{}\bigl{(}d\cdot({s}\cdot{k})^{2}\bigr{)}}. This completes the proof. ∎
2 Guarantees of Algorithm 1 – Proof of Theorem 1
We first prove a more general version of Theorem 1 for arbitrary constraint sets. Combining that with the guarantees of Algorithm 2, we prove the Theorem 1.
in time T_{\texttt{SVD}}(r)+O\mathopen{}\bigl{(}\bigl{(}\tfrac{4}{\epsilon}\bigr{)}^{r\cdot{{k}}}\cdot\bigl{(}T_{\mathcal{X}}+{{k}}{d}\bigr{)}\bigr{)}, where is the time required to compute and the time required to compute the truncated SVD of .
In fact, equality in (20) is achieved for colinear to , and hence,
Recall that is the optimal solution of the trace maximization on , i.e.,
Let be the maximizing value of in (22) for , i.e., is an matrix with unit-norm columns such that for all ,
Based on the above, for all ,
The first step follows by the definition of , the second by the linearity of the inner product, the third by the triangle inequality, the fourth by Cauchy-Schwarz inequality and the last by (24). Rearranging the terms in (25),
Summing the terms in (26) over all ,
Let be the candidate solution produced by the algorithm at , i.e.,
where follows from the observation in (22), from the sub-optimality of , by the definition of in (28), while follows from (27). According to (29), at least one of the candidate solutions produced by Algorithm 1, namely , achieves an objective value within a multiplicative factor from the optimal, implying the guarantees of the lemma.
Finally, the running time of Algorithm 1 follows immediately from the cost per iteration and the cardinality of the -net on the unit-sphere. Note that matrix multiplications can exploit the singular value decomposition which is performed once. ∎
For any real rank- PSD matrix , desired number of components , number of nonzero entries per component, and accuracy parameter , Algorithm 1 outputs such that
where in time T_{\texttt{SVD}}(r)+O\mathopen{}\bigl{(}\bigl{(}\tfrac{4}{\epsilon}\bigr{)}^{r\cdot{{k}}}\cdot d\cdot({s}\cdot{k})^{2}\bigr{)}. is the time required to compute the truncated SVD of .
3 Guarantees of Algorithm 3 – Proof of Theorem 2
We prove Theorem 2 with the approximation guarantees of Algorithm 3.
Then, for any such that \text{{Tr}}\mathopen{}\bigl{(}{\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}}^{{\top}}{\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}}\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}\bigr{)}\geq\gamma\cdot\text{{Tr}}\mathopen{}\bigl{(}\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}_{\star}^{{\top}}{\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}}\macc@depth\char 1\relax\frozen@everymath{\macc@group}\macc@set@skewchar\macc@nested@a 111{}_{\star}\bigr{)} for some ,
By the optimality of for ,
In turn, for any such that for some ,
Let . By the linearity of the trace,
where the first inequality follows from (33) the second from (30), the third from (34), and the last from the fact that and . This concludes the proof. ∎
This follows from the fact that if is PSD, then
Further, by Lemma 10.37, the bound in (32) can be improved to
For any input data matrix , with corresponding empirical covariance matrix , any desired number of components , and accuracy parameters and , Algorithm 3 outputs such that
where , in time T_{\texttt{SKETCH}}(r)+T_{\texttt{SVD}}(r)+O\mathopen{}\bigl{(}\bigl{(}\tfrac{4}{\epsilon}\bigr{)}^{r\cdot{{k}}}\cdot{d}\cdot({s}\cdot{k})^{2}\bigr{)}.
The theorem follows from Lemma 9.29 and the approximation guarantees of Algorithm 1. ∎
4 Proof of Theorem 3
First, we restate and prove the following Lemma by .
for all with probability at least .
Observe that each element of is in $$, hence can be rewritten as an inner product of two unit-norm vectors:
Setting and using the JL lemma and a union bound over all vector pairs , we obtain the desired result. ∎
Next, we provide the proof of Theorem 3 for the simple case of ; the proof easily generalizes to the multi-component case . According to Lemma 9.30, choosing suffices for all entries of constructed as described in the lemma to satisfiy
with probability at least . In turn, for any -sparse, unit-norm ,
where the second inequality follows from the fact that is -sparse and unit norm.
We run Algorithm 1 (for ) with input argument the rank- matrix , desired sparsity and accuracy parameter . Algorithm 1 outputs a -sparse unit-norm vector which according to Theorem 1 satisfies
where is the true -sparse principal component of . This, in turn, implies that satisfies
where the second inequality follows from the fact that the entries of lie in and is -sparse and unit-norm.
In the following, we bound the difference of the performance of on the original matrix from the optimal value. Let denote the -sparse principal component of and define
Utilizing (35) and the triangle inequality, one can verify that
where follows from (37). Continuing from (38), combining (39) and (40) we obtain
which is the desired result.
Auxiliary Technical Lemmata
For any real matrix , and any ,
where is the th largest singular value of .
Note that are the smallest among the largest singular values. Hence,
Combining the two inequalities, the desired result follows. ∎
For any real matrix and , .
It follows immediately from Lemma 10.31. ∎
Let and be real numbers and let and be two numbers such that and . We have
For any two real matrices and of appropriate dimensions,
Let denote the th column of . Then,
Similarly, using the previous inequality,
Combining the two upper bounds, the desired result follows. ∎
The inequality follows from Lemma 10.32 for , treating and as vectors. ∎
For any real matrix , and any ,
The maximum is attained by coinciding with the leading right singular vectors of .
Let be the singular value decomposition of ; and are and unitary matrices respectively, while is a diagonal matrix with , the th largest singular value of , , where . Due to the invariance of the Frobenius norm under unitary multiplication,
Let , . Note that each individual satisfies
where the last inequality follows from the fact that the columns of are orthonormal. Further,
Finally, it is straightforward to verify that if , , then (42) holds with equality. ∎
For any real matrix , and pair of matrix and matrix such that and with , the following holds:
where the last inequality follows from the fact that . Combining with a bound on as in Lemma 10.35, completes the proof. ∎
For any real PSD matrix , and matrix with orthonormal columns,
where is the th largest eigenvalue of . Equality is achieved for coinciding with the leading eigenvectors of .
Let be a factorization of the PSD matrix . Then, . The desired result follows by Lemma 10.35 and the fact that , . ∎