Tensor principal component analysis via sum-of-squares proofs
Samuel B. Hopkins, Jonathan Shi, David Steurer
Introduction
Principal component analysis (pca), the process of identifying a direction of largest possible variance from a matrix of pairwise correlations, is among the most basic tools for data analysis in a wide range of disciplines. In recent years, variants of pca have been proposed that promise to give better statistical guarantees for many applications. These variants include restricting directions to the nonnegative orthant (nonnegative matrix factorization) or to directions that are sparse linear combinations of a fixed basis (sparse pca). Often we have access to not only pairwise but also higher-order correlations. In this case, an analog of pca is to find a direction with largest possible third moment or other higher-order moment (higher-order pca or tensor pca).
All of these variants of pca share that the underlying optimization problem is NP-hard for general instances (often even if we allow approximation), whereas vanilla pca boils down to an efficient eigenvector computation for the input matrix. However, these hardness result are not predictive in statistical settings where inputs are drawn from particular families of distributions. Here efficient algorithm can often achieve much stronger guarantees than for general instances. Understanding the power and limitations of efficient algorithms for statistical models of NP-hard optimization problems is typically very challenging: it is not clear what kind of algorithms can exploit the additional structure afforded by statistical instances, but, at the same time, there are very few tools for reasoning about the computational complexity of statistical / average-case problems. (See [BR13] and [BKS13] for discussions about the computational complexity of statistical models for sparse pca and random constraint satisfaction problems.)
We study a statistical model for the tensor principal component analysis problem introduced by [MR14] through the lens of a meta-algorithm called the sum-of-squares method, based on semidefinite programming. This method can capture a wide range of algorithmic techniques including linear programming and spectral algorithms. We show that this method can exploit the structure of statistical tensor pca instances in non-trivial ways and achieves guarantees that improve over the previous ones. On the other hand, we show that those guarantees are nearly tight if we restrict the complexity of the sum-of-squares meta-algorithm at a particular level. This result rules out better guarantees for a fairly wide range of potential algorithms. Finally, we develop techniques to turn algorithms based on the sum-of-squares meta-algorithm into algorithms that are truly efficient (and even easy to implement).
Montanari and Richard propose the following statistical modelMontanari and Richard use a different normalization for the signal-to-noise ratio. Using their notation, . for tensor pca.
Montanari and Richard show that when Problem 1.1 becomes information-theoretically unsolvable, while for the maximum likelihood estimator (MLE) recovers with .
The maximum-likelihood-estimator (MLE) problem for Problem 1.1 is an instance of the following meta-problem for and [MR14].
For , this problem is just an eigenvector computation. Already for , it is NP-hard. Our algorithms proceed by relaxing Problem 1.2 to a convex problem. The latter can be solved either exactly or approximately (as will be the case of our faster algorithms). Under the Gaussian assumption on the noise in Problem 1.1, we show that for the relaxation does not substantially change the global optimum.
Montanari and Richard actually consider two variants of this model. The first we have already described. In the second, the noise is symmetrized, (to match the symmetry of potential signal tensors ).
It turns out that for our algorithms based on the sum-of-squares method, this kind of symmetrization is already built-in. Hence there is no difference between Problem 1.1 and Problem 1.3 for those algorithms. For our faster algorithms, such symmetrization is not built in. Nonetheless, we show that a variant of our nearly-linear-time algorithm for Problem 1.1 also solves Problem 1.3 with matching guarantees.
1 Results
We consider the degree- sum-of-squares relaxation for the MLE problem. (See Section 1.2 for a brief discussion about sum-of-squares. All necessary definitions are in Section 2. See [BS14] for more detailed discussion.) Note that the planted vector has objective value for the MLE problem with high probability (assuming which will always be the case for us).
There exists a polynomial-time algorithm based on the degree- sum-of-squares relaxation for the MLE problem that given an instance of Problem 1.1 or Problem 1.3 with outputs a unit vector with with probability over the randomness in the input. Furthermore, the algorithm works by rounding any solution to the relaxation with objective value at least . Finally, the algorithm also certifies that all unit vectors bounded away from have objective value significantly smaller than for the MLE problem Problem 1.2.
We complement the above algorithmic result by the following lower bound.
We interpret a tensor-unfolding algorithm studied by Montanari and Richard as a spectral relaxation of the degree-4 sum-of-squares program for the MLE problem. This interpretation leads to an analysis that gives better guarantees in terms of signal-to-noise ratio and also informs a more efficient implementation based on shifted matrix power iteration.
Our algorithmic results also extend in a straightforward way to tensors of order higher than . (See Section 7 for some details.) For simplicity we give some of these results only for the higher-order analogue of Problem 1.1; we conjecture however that all our results for Problem 1.3 generalize in similar fashion.
There is a polynomial-time algorithm, based on semidefinite programming, which on input returns a unit vector with with probability over random choice of .
There is a polynomial-time algorithm, based on semidefinite programming, which on input certifies that for some unit with probability over random choice of . This guarantees in particular that is close to a maximum likelihood estimator for the problem of recovering the signal from the input .
For even , the above all hold, except now we recover with , and the algorithms can be implemented in nearly linear time.
When is a symmetric noise tensor (the higher-order analogue of Problem 1.3), (1–2) above hold. We conjecture that (3) does as well.
The last theorem, the higher-order generalization of Theorem 1.6, almost completely resolves a conjecture of Montanari and Richard regarding tensor unfolding algorithms for odd . We are able to prove their conjectured signal-to-noise ratio for an algorithm that works mainly by using an unfolding of the input tensor, but our algorithm includes an extra random-rotation step to handle sparse signals. We conjecture but cannot prove that the necessity of this step is an artifact of the analysis.
2 Techniques
To maximize , we apply the Sum-of-Squares meta-algorithm (SoS). SoS provides a hierarchy of strong convex relaxations of Problem 1.2. Using convex duality, we can recast the optimization problem as one of efficiently certifying the upper bound on which shows that optima of are dominated by the signal. SoS efficiently finds boundedness certificates for of the form
Finally, we analyze a third algorithm for TPCA which simply computes the highest singular vector of a matrix unfolding of the input tensor. This algorithm was considered in depth by Montanari and Richard, who fully characterized its behavior in the case of even-order tensors (corresponding to in Problem 1.2). They conjectured that this algorithm successfully recovers the signal at the signal-to-noise ratio of Theorem 1.7 for Problem 1.1 and Problem 1.3. Up to an extra random rotations step before the tensor unfolding in the case that the input comes from Problem 1.3 (and up to logarithmic factors in ) we confirm their conjecture. We observe that their algorithm can be viewed as a method of rounding a non-optimal solution to the SoS relaxation to find the signal. We show, also, that for , the degree- SoS relaxation does no better than the simpler tensor unfolding algorithm as far as signal-to-noise ratio is concerned. However, for odd-order tensors this unfolding algorithm does not certify its own success in the way our other algorithms do.
In Theorem 1.5, we show that degree- SoS cannot certify that the noise polynomial for iid standard Gaussians satisfies .
3 Related Work
There is a vast literature on tensor analogues of linear algebra problems—too vast to attempt any survey here. Tensor methods for machine learning, in particular for learning latent variable models, have garnered recent attention, e.g., with works of Anandkumar et al. [AGH+14, AGHK13]. These approaches generally involve decomposing a tensor which captures some aggregate statistics of input data into rank-one components. A recent series of papers analyzes the tensor power method, a direct analogue of the matrix power method, as a way to find rank-one components of random-case tensors [AGJ14b, AGJ14a].
Another recent line of work applies the Sum of Squares (a.k.a. Lasserre or Lasserre/Parrilo) hierarchy of convex relaxations to learning problems. See the survey of Barak and Steurer for references and discussion of these relaxations [BS14]. Barak, Kelner, and Steurer show how to use SoS to efficiently find sparse vectors planted in random linear subspaces, and the same authors give an algorithm for dictionary learning with strong provable statistical guarantees [BKS14b, BKS14a]. These algorithms, too, proceed by decomposition of an underlying random tensor; they exploit the strong (in many cases, the strongest-known) algorithmic guarantees offered by SoS for this problem in a variety of average-case settings.
Concurrently and independently of us, and also inspired by the recently-discovered applicability of tensor and sum-of-squares methods to machine learning, Barak and Moitra use SoS techniques formally related to ours to address the tensor prediction problem: given a low-rank tensor (perhaps measured with noise) only a subset of whose entries are revealed, predict the rest of the tensor entries [BM15]. They work with worst-case noise and study the number of revealed entries necessary for the SoS hierarchy to successfully predict the tensor. By constrast, in our setting, the entire tensor is revealed, and we study the signal-to-noise threshold necessary for SoS to recover its principal component under distributional assumptions on the noise that allow us to avoid worst-case hardness behavior.
Since Barak and Moitra work in a setting where few tensor entries are revealed, they are able to use algorithmic techniques and lower bounds from the study of sparse random constraint satisfaction problems (CSPs), in particular random 3XOR [GK01, FGK05, FO07, FKO06]. The tensors we study are much denser. In spite of the density (and even though our setting is real-valued), our algorithmic techniques are related to the same spectral refutations of random CSPs. However our lower bound techniques do not seem to be related to the proof-complexity techniques that go into sum-of-squares lower bound results for random CSPs.
The analysis of tractable tensor decomposition in the rank one plus noise model that we consider here (the spiked tensor model) was initiated by Montanari and Richard, whose work inspired the current paper [MR14]. They analyze a number of natural algorithms and find that tensor unfolding algorithms, which use the spectrum of a matrix unfolding of the input tensor, are most robust to noise. Here we consider more powerful convex relaxations, and in the process we tighten Montanari and Richard’s analysis of tensor unfolding in the case of odd-order tensors. In concurrent and independent work, Zheng and Tomioka also give a tight analysis of tensor unfolding for the asymmetric version of the spiked model of tensor pca (Problem 1.1) [ZT15, Theorem 1].
Related to our lower bound, Montanari, Reichman, and Zeitouni (MRZ) prove strong impossibility results for the problem of detecting rank-one perturbations of Gaussian matrices and tensors using any eigenvalue of the matrix or unfolded tensor; they are able to characterize the precise threshold below which the entire spectrum of a perturbed noise matrix or unfolded tensor becomes indistinguishable from pure noise [MRZ14]. This lower bound is incomparable to our lower bound for the degree-4 SoS relaxation. The MRZ lower bound considers fine-grained information about the spectrum of a single matrix associated with the detection problem. Our lower bound considers coarser information (just the top eigenvalue) but it applies to a wide range of matrices associated with the problem (all matrices generated via the degree-4 sum-of-squares proof system).
Preliminaries
We employ the usual Loewner (a.k.a. positive semi-definite) ordering on Hermitian matrices.
We will be heavily concerned with tensors and matrix flattenings thereof. In general, boldface capital letters denote tensors and ordinary capital letters denote matrices . We adopt the convention that unless otherwise noted for a tensor the matrix is the squarest-possible unfolding of . If has even order then has dimensions . For odd it has dimensions . All tensors, matrices, vectors, and scalars in this paper are real.
For a -tensor , we write for . Thus, is a homogeneous real polynomial of degree .
We use to denote the symmetric group on elements. For a -tensor and , we denote by the -tensor with indices permuted according to , so that . A tensor is symmetric if for all it is the case that . (Such tensors are sometimes called “supersymmetric.”)
For clarity, most of our presentation focuses on -tensors. For an -tensor , we use to denote its matrix slices along the first mode, i.e., .
2 Polynomials and Matrices
3 The Sum of Squares (SoS) Algorithm
Pseudo-distributions were first introduced in [BBH+12] and are surveyed in [BS14].
We employ the standard result that, up to negligible issues of numerical accuracy, if there exists a degree- pseudo-distribution satisfying constraints , then it can be found in time by solving a semidefinite program of size . (See [BS14] for references.)
Certifying Bounds on Random Polynomials
To better exploit the benefits of square matrices, we bound the maxima of degree- homogeneous by a degree- polynomial. In the case that is multi-linear, we have the polynomial identity . Using Cauchy-Schwarz, we then get . This inequality suggests using the degree- polynomial as a bound on . Note that local optima of on the sphere occur where , and so this bound is tight at local maxima. Given a random homogeneous , we will associate a degree- polynomial related to and show that this polynomial yields the best possible degree- SoS-certifiable bound on .
We observe that for multi-linear in the coordinates of , up to a constant factor we may take the matrices to be matrix representations of , so that is a matrix representation of the polynomial . This choice of may not, however, yield the optimal spectral bound .
The following theorem is the reason for our definition of -boundedness.
We now state the degree- case of a general -boundedness fact for homogeneous polynomials with random coefficients. The SoS-certifiable bound for a random degree- polynomial this provides is the backbone of our SoS algorithm for tensor PCA in the spiked tensor model.
Let be a -tensor with independent entries from . Then is -bounded with , with high probability.
The full statement and proof of this theorem, generalized to arbitrary-degree homogeneous polynomials, may be found as Theorem B.5; we prove the statement above as a corollary in Section B. Here provide a proof sketch.
Immediate by combining Theorem 3.3 with Theorem 3.2. ∎
Polynomial-Time Recovery via Sum of Squares
The following theorem characterizes the success of Algorithm 4.1 and Algorithm 4.2
if there exists a sufficiently good upper bound on (or in the case of the symmetric noise input, on for every ) which is degree-4 SoS certifiable, then the vector recovered by the algorithm will be very close to , and that
in the case of with independent entries from , such a bound exists with high probability.
Conveniently, Item 2 is precisely the content of Corollary 3.4. The following lemma expresses Item 1.
Rewriting as , we obtain
We discuss here a modified TPCA model, which will illustrate the qualitative differences between the new tensor PCA algorithms we propose in this paper and previously-known algorithms. The model is semi-random and semi-adversarial. Such models are often used in average-case complexity theory to distinguish between algorithms which work by solving robust maximum-likelihood-style problems and those which work by exploiting some more fragile property of a particular choice of input distribution.
Here we show that Algorithm 4.1 succeeds in recovering in the semi-random model.
Let be the semi-random-model tensor PCA input, with . With high probability over randomness in , Algorithm 4.1 outputs a vector with .
Linear Time Recovery via Further Relaxation
We now attack the problem of speeding up the algorithm from the preceding section. We would like to avoid solving a large semidefinite program to optimality: our goal is to instead use much faster linear-algebraic computations—in particular, we will recover the tensor PCA signal vector by performing a single singular vector computation on a relatively small matrix. This will complete the proofs of Theorem 1.7 and Theorem 1.6, yielding the desired running time.
Our SoS algorithm in the preceding section turned on the existence of the -boundedness certificate , where are the slices of a random tensor . Let be the spiked-tensor input to tensor PCA. We could look at the matrix as a candidate -boundedness certificate for . The spectrum of this matrix must not admit the spectral bound that does, because is not globally bounded: it has a large global maximum near the signal . This maximum plants a single large singular value in the spectrum of . The associated singular vector is readily decoded to recover the signal.
Before stating and analyzing this fast linear-algebraic algorithm, we situate it more firmly in the SoS framework. In the following, we discuss spectral SoS, a convex relaxation of Problem 1.2 obtained by weakening the full-power SoS relaxation. We show that the spectrum of the aforementioned can be viewed as approximately solving the spectral SoS relaxation. This gives the fast, certifying algorithm of Theorem 1.7. We also interpret the tensor unfolding algorithm given by Montanari and Richard for TPCA in the spiked tensor model as giving a more subtle approximate solution to the spectral SoS relaxation. We prove a conjecture by those authors that the algorithm successfully recovers the TPCA signal at the same signal-to-noise ratio as our other algorithms, up to a small pre-processing step in the algorithm; this proves Theorem 1.6 [MR14]. This last algorithm, however, succeeds for somewhat different reasons than the others, and we will show that it consequently fails to certify its own success and that it is not robust to a certain kind of semi-adversarial choice of noise.
To obtain spectral SoS, the convex relaxation of Problem 1.2 which we will be able to (approximately) solve quickly in the random case, we first need to return to the full-strength SoS relaxation and examine it from a more linear-algebraic standpoint.
A polynomial may have many matrix representations, but a pseudo-distribution has just one: a matrix representation of a pseudo-distribution must obey strong symmetry conditions in order to assign the same pseudo-expectation to every representation of the same polynomial. We will have much more to say about constructing matrices satisfying these symmetry conditions when we state and prove our lower bounds, but here we will in fact profit from relaxing these symmetry constraints.
It may not be immediately obvious why this program optimizes only over which are matrix representations of pseudo-distributions. If, however, some does not obey the requisite symmetries, then , since the asymmetry may be exploited by careful choice of . Thus, at optimality this program yields which is the matrix representation of a pseudo-distribution satisfying .
1.2 Relaxing to the Degree-444 Dual
By weak duality, we can interchange the and the in (5.2) to obtain the dual program:
We call this dual program the spectral SoS relaxation of . If for with independent entries from , the spectral SoS relaxation achieves the same bound as our analysis of the full-strength SoS relaxation: for such , the spectral SoS relaxation is at most with high probability. The reason is exactly the same as in our analysis of the full-strength SoS relaxation: the matrix , whose spectrum we used before to bound the full-strength SoS relaxation, is still a feasible dual solution.
Let be the spiked-tensor input to tensor PCA. We know from our initial characterization of SoS proofs of boundedness for degree- polynomials that the polynomial gives SoS-certifiable upper bounds on on the unit sphere. We consider the spectral SoS relaxation of ,
The following theorem describes the behavior of Algorithm 5.1 and Algorithm 5.2 and gives a proof of Theorem 1.7 and Corollary 1.7.
With high probability, Algorithm 5.1 returns with .
If Algorithm 5.2 outputs certify then (regardless of the distribution of ). If is distributed as above, then Algorithm 5.2 outputs certify with high probability.
Both Algorithm 5.1 and Algorithm 5.2 can be implemented in time .
A similar fact to Lemma 5.6 appears in [MR14].
The proofs of Lemma 5.4 and Lemma 5.6 follow here. The proof of Lemma 5.5 uses only standard concentration of measure arguments; we defer it to Section B.
Let be the top left and right singular vectors of . We have
Let , be as in the lemma statement. We know is the maximizer of . By assumption,
Thus, the top singular value of is at least , and since is a unit vector, the Frobenius norm of is and so all the rest of the singular values are . Expressing in the right singular basis of and examining the norm of completes the proof. ∎
In the first case, we start by observing that it is enough to find a vector which has , where is a top singular vector of . Let be the top two singular values of . The analysis of the algorithm already showed that . Standard analysis of the matrix power method now yields that iterations will suffice.
3 Nearly-Linear-Time Recovery via Tensor Unfolding and Spectral SoS
Despite its a priori simplicity, the analysis of Algorithm 5.7 is more subtle than for any of our other algorithms. This would not be true for even-order tensors, for which the square matrix unfolding tensor has one singular value asymptotically larger than all the rest, and indeed the corresponding singular vector is well-correlated with . However, in the case of odd-order tensors the unfolding has no spectral gap. Instead, the signal has some second-order effect on the spectrum of the matrix unfolding, which is enough to recover it.
Again by triangle inequality, . So rearranging we get as desired. ∎
The following lemma is a consequence of standard matrix concentration inequalities; we defer its proof to Section B, Lemma B.10.
Immediate from Lemma 5.9, Lemma 5.10, and Lemma 5.11. ∎
4 Fast Recovery in the Semi-Random Model
There is a qualitative difference between the aggregate matrix statistics needed by our certifying algorithms (Algorithm 4.1, Algorithm 4.2, Algorithm 5.1, Algorithm 5.2) and those needed by rounding the tensor unfolding solution spectral SoS Algorithm 5.7. In a precise sense, the needs of the latter are greater. The former algorithms rely only on first-order behavior of the spectra of a tensor unfolding, while the latter relies on second-order spectral behavior. Since it uses second-order properties of the randomness, Algorithm 5.7 fails in the semi-random model.
The argument that that Algorithm 5.1 and Algorithm 5.2 still succeed in the semi-random model is routine; for completeness we discuss here the necessary changes to the proof of Theorem 5.3. The non-probabilistic certification claims made in Theorem 5.3 are independent of the input model, so we show that Algorithm 5.1 still finds the signal with high probability and that Algorithm 5.2 still fails only with only a small probability.
In the semi-random model, and , with high probability, Algorithm 5.1 returns with and Algorithm 5.2 outputs certify.
5 Fast Recovery with Symmetric Noise
We suppose now that is a symmetric Gaussian noise tensor; that is, that is the average of over all , for some order- tensor with iid standard Gaussian entries.
Our previous techniques fail in this symmetric noise scenario due to lack of independence between the entries of the noise tensor. However, we sidestep that issue here by restricting our attention to an asymmetric block of the input tensor.
The resulting algorithm is not precisely identical to the tensor unfolding algorithm investigated by Montanari and Richard, but is based on tensor unfolding with only superficial modifications.
It is possible to implement each iteration of the matrix power method in Algorithm 5.14 in linear time. We focus on multiplying a vector by in linear time; the other cases follow similarly.
To accomplish this, we simply reflatten our tensors. Let be the -by- matrix flattening of . Then we compute the matrix , and return its flattening back into an -dimensional vector, and this will be equal to . This equivalence follows by taking the singular value decomposition , and noting that .
So is the sum of the squares of independent variables drawn from . By a Bernstein inequality, \big{|}\gamma^{2}\|PRu\|^{2}-m/n\big{|}\leqslant O(\sqrt{m/n^{2}}\log m) with high probability. Also by a Bernstein inequality, with high probability. ∎
For , with high probability, Algorithm 5.14 recovers a vector with when is a symmetric Gaussian noise tensor (as in Problem 1.3) and .
Name the projections , , and .
First off, where is a symmetric Gaussian tensor (distributed identically to ). This follows by noting that multiplication by commutes with permutation of indices, so that , where we let be the asymmetric Gaussian tensor so that . Then . This is identically distributed with , as follows from the rotational symmetry of .
Thus , and
Let refer to Expression 5.5. By Lemma 5.16, \big{|}\|PRv_{0}\|^{2}-\tfrac{1}{3}\big{|}<O(\sqrt{1/n}\log n) with high probability for . Hence and .
Let refer to Expression 5.6 so that Expression 5.7 is . Let also . Note that, once the identically-zero rows and columns of are removed, is a matrix of iid standard Gaussian entries. Finally, let . By some substitution and by noting that , we have that . Hence by Lemma B.10, .
The recovered eigenvector satisfies and and therefore . Substituting in the expression for , we conclude that .
The analyses for and follow in the same way. Hence
At the same time, since , , and are each orthogonal to each other, . Hence with the output vector being , we have
6 Numerical Simulations
We report now the results of some basic numerical simulations of the algorithms from this section. In particular, we show that the asymptotic running time differences among Algorithm 5.1, Algorithm 5.7 implemented naïvely, and the linear-time implementation of Algorithm 5.7 are apparent at reasonable values of , e.g. .
Specifics of our experiments are given in Figure 1. We find pronounced differences between all three algorithms. The naïve implementation of Algorithm 5.7 is markedly slower than the linear implementation, as measured either by number of matrix-vector multiplies or processor time. Algorithm 5.1 suffers greatly from the need to construct an matrix; although we do not count the time to construct this matrix against its reported running time, the memory requirements are so punishing that we were unable to collect data beyond for this algorithm.
Lower Bounds
We will now prove lower bounds on the performance of degree- SoS on random instances of the degree- and degree- homogeneous polynomial maximization problems. As an application, we show that our analysis of degree- for Tensor PCA is tight up to a small logarithmic factor in the signal-to-noise ratio.
The existence of the maps depending only on the random part of the tensor PCA input formalizes the claim from Theorem 1.5 that no algorithm can reliably recover from the pseudo-distribution .
Additionally, the lower-bound construction holds for the symmetric noise model also: the input tensor is symmetrized wherever it occurs in the construction, so it does not matter if it had already been symmetrized beforehand.
The rest of this section is devoted to proving these theorems, which we eventually accomplish in Section 6.2.
The general outline of the proof will be as follows:
But before we can state a formal version of our theorem, we will need a few facts about polynomials, pseudo-distributions, matrices, vectors, and how they are related by symmetries under actions of permutation groups.
1 Polynomials, Vectors, Matrices, and Symmetries, Redux
Here we further develop the matrix view of SoS presented in Section 5.1.1.
in order that they assign consistent values to each representation of the same polynomial. We call such matrices maximally symmetric (following Doherty and Wehner [DW12]).
The degree will always be clear from context.
1.2 The Monomial-Indexed (i.e. Symmetric) Subspace
We let be the projector to this subspace. For any maximally-symmetric we have , but the reverse implication is not true (for readers familiar with quantum information: any which has is Bose-symmetric, but may not be PPT-symmetric; maximally symmetric matrices are both. See [DW12] for further discussion.)
1.3 Maximally-Symmetric Matrices from Tensors
2 Formal Statement of the Lower Bound
We will warm up with the degree- lower bound, which is conceptually somewhat simpler.
Let be a -tensor and let be a function of . Suppose the following conditions hold:
is significantly correlated with . .
Permutations have lower-bounded spectrum. For every , the Hermitian unfolding of has no eigenvalues smaller than .
Then .
The degree- version of our lower bound requires bounds on the spectra of the flattenings not just of the -tensor itself but also of the flattenings of an associated -tensor, which represents the polynomial .
Let be a -tensor and let be a function of . Suppose the following conditions hold:
is significantly correlated with . .
Permutations have lower-bounded spectrum. For every , we have
Then .
Then there is a degree- pseudo-distribution satisfying so that
We prove the degree- corollary; the degree- case is almost identical using Theorem 6.3 and Lemma B.12 in place of their degree- counterparts.
Let be a -tensor. If satisfies the conditions of Theorem 6.4 with , we let be the pseudo-distribution described there, with
3 In-depth Preliminaries for Pseudo-Expectation Symmetries
Let be given by . Let , where denotes the identity in . Then .
The proof is routine; we provide it here for completeness. Note that is a subgroup of order in the alternating group . This alternating group can be decomposed as , where is a normal subgroup of . We can also decompose where and is a normal subgroup of . Finally, so by associativity, . ∎
For any subset , we have .
and so . ∎
We make an useful observation about the nontrivial permutations of , in the special case that for some -tensor .
We observe that and that . Multiplication by on the right has the effect of switching the order of the second indexing pair, so . From this it is easy to see that .
from which we see that . ∎
4 Construction of Initial Pseudo-Distributions
We begin by discussing how to create an initial guess at a pseudo-distribution whose third moments are highly correlated with the polynomial . This initial guess will be a valid pseudo-distribution, but will fail to be on the unit sphere, and so will require some repairing later on. For now, the method of creating this initial pseudo-distribution involves using a combination of symmetrization techniques to ensure that the matrices we construct are well defined as linear functionals over polynomials, and spectral techniques to establish positive-semidefiniteness of these matrices.
where and is full rank. Then if and only if .
We would ideally take to be the spectrally-least maximally-symmetric matrix so that . But this object might not be well defined, so we instead take the following substitute.
4.2 Symmetries at Degree Three
Each matrix in the sum defining is positive-semidefinite, so . Each is maximally symmetric and therefore so is . We know that is maximally-symmetric, so it follows that is the matrix representation of a valid pseudo-expectation. ∎
5 Getting to the Unit Sphere
In particular, since is in the kernel of , either or
The condition yields . Substituting into the above, we obtain the sum of squares
and note that this is maximized in absolute value when all the signs line up:
where we have used Cauchy-Schwarz and the fact . The other terms are all similar:
6 Repairing Almost-Pseudo-Distributions
.
is a valid pseudo-expectation satisfying .
7 Putting Everything Together
We are ready to prove Theorem 6.3 and Theorem 6.4. The proof of Theorem 6.3 is somewhat simpler and contains many of the ideas of the proof of Theorem 6.4, so we start there.
where we recall and defined in the theorem statement. Finally, for , we have
7.2 The Degree-3 Lower Bound
The functional contains our current best guess at the degree 1 and 2 moments of a pseudo-distribution whose degree-3 moments are -correlated with .
The next step is to use symmetric Schur complement to extend to a degree- pseudo-expectation. Note that decomposes as
Since we have the same assumptions on for all , without loss of generality we analyze just the case that is the identity permutation, in which case .
Here we have used Corollary 6.7 and Corollary 6.6 to express a general element of in terms of , and .
Finally, our assumptions on yield
where is as defined in the theorem statement.
Now using Lemma 6.15, we can correct the negative eigenvalue of to get a pseudo-expectation
Higher-Order Tensors
We have heretofore restricted ourselves to the case in our algorithms for the sake of readability. In this section we state versions of our main results for general and indicate how the proofs from the -tensor case may be generalized to handle arbitrary . Our policy is to continue to treat as constant with respect to , hiding multiplicative losses in in our asymptotic notation.
For even , the degree- SoS approach does not improve on the tensor unfolding algorithms of Montanari and Richard [MR14]. Indeed, by performing a similar variable substitution, for all , the SoS algorithm reduces exactly to the eigenvalue/eigenvector computation from tensor unfolding. If we perform instead the substitution for , it becomes possible to extract directly from the degree- pseudo-moments of an (approximately) optimal degree- pseudo-distribution, rather than performing an extra step to recover from well-correlated with . Either approach recovers only up to sign, since the input is unchanged under the transformation .
We now state analogues of all our results for general . Except for the above noted differences from the case, the proofs are all easy transformations of the proofs of their degree- counterparts.
There is an algorithm, based on semidefinite programming, which on input returns a unit vector with with high probability over random choice of .
There is an algorithm, based on semidefinite programming, which on input certifies that for some unit with high probability over random choice of . This guarantees in particular that is close to a maximum likelihood estimator for the problem of recovering the signal from the input .
For even , the above all hold, except now we recover with , and the algorithms can be implemented in nearly-linear time.
The next theorem partially resolves a conjecture of Montanari and Richard regarding tensor unfolding algorithms for odd . We are able to prove their conjectured signal-to-noise ratio , but under an asymmetric noise model. They conjecture that the following holds when is symmetric with unit Gaussian entries.
Conclusion
One theme in this work has been efficiently certifying upper bounds on homogeneous polynomials with random coefficients. It is an interesting question to see whether one can (perhaps with the degree SoS meta-algorithm) give an algorithm certifying a bound of over the unit sphere on a degree polynomial with standard Gaussian coefficients. Such an algorithm would likely yield improved signal-to-noise guarantees for tensor PCA, and would be of interest in its own right.
Conversely, another problem is to extend our lower bound to handle degree SoS. Together, these two problems suggest (as was independently suggested to us by Boaz Barak) the problem of characterizing the SoS degree required to certify a bound of as above.
Another problem is to simplify the linear time algorithm we give for tensor PCA under symmetric noise. Montanari and Richard’s conjecture can be interpreted to say that the random rotations and decomposition into submatrices involved in our algorithm are unnecessary, and that in fact our linear time algorithm for recovery under asymmetric noise actually succeeds in the symmetric case.
Acknowledgments
We thank Moses Charikar for bringing to our attention the work of Montanari and Richard. We would like to thank Boaz Barak, Rong Ge, and Ankur Moitra for enlightening conversations. S. B. H. acknowledges the support of an NSF Graduate Research Fellowship under award no. 1144153. D. S. acknowledges support from the Simons Foundation, the National Science Foundation, an Alfred P. Sloan Fellowship, and a Microsoft Research Faculty Fellowship, A large portion of this work was completed while the authors were long-term visitors to the Simons Institute for the Theory of Computing (Berkeley) for the program on Algorithmic Spectral Graph Theory.
References
Appendix A Pseudo-Distribution Facts
Let be vector-valued polynomials. Then
Let be vector-valued polynomials and an integer. Then
Note that and apply Lemma A.2. ∎
Yet another version of pseudo-Cauchy-Schwarz will be useful:
Let be a degree pseudo-distribution over a pair of vectors, . Then
Again, see [BKS14b] for the cleanest proof.
Let be the univariate polynomial . It is easy to check that for . It follows from classical results about univariate polynomials that then can be written as
for some SoS polynomials of degrees at most . (See [OZ13], fact 3.2 for a precise statement and attributions.)
We have by Lemma A.2 that and also that . Multiplying the latter SoS relation by the SoS polynomial and the former by , we get that
where in the second-to-last step we have used the assumption that satisfies . A similar analysis yields
We will need a bound on the pseudo-expectation of a degree- polynomial in terms of the operator norm of its coefficient matrix.
We begin by expanding in the monomial basis and using pseudo-Cauchy-Schwarz:
Appendix B Concentration bounds
We will be extensively concerned with various real random matrices. A great deal is known about natural classes of such matrices; see the excellent book of Tao [Tao12] and the notes by Vershynin and Tropp [Ver11, Tro12].
It will be convenient to use the following standard result on the concentration of empirical covariance matrices. This statement is borrowed from [Ver11], Corollary 5.50.
We will also need the matrix Bernstein inequality. This statement is borrowed from Theorem 1.6.2 of Tropp [Tro12].
We will need bounds on the operator norm of random square rectangular matrices, both of which are special cases of Theorem 5.39 in [Ver11].
Let be an matrix with independent entries from . Then with probability , the operator norm satisfies .
Let be an matrix with independent entries from . Then with probability , the operator norm satisfies .
Our first concentration theorem provides control over the nontrivial permutations of the matrix under the action of for a tensor with independent entries.
Let and an integer. Let be iid random matrices in or with independent entries from . Then, with probability ,
We can prove Theorem 3.3 as a corollary of the above.
Now by Theorem B.5, we know that for the slices of the tensor from the statement of Theorem 3.3,
Now we prove Theorem B.5. We will prove only the statement about , as the case of is similar.
Let be as in Theorem B.5. We first need to get a handle on their norms individually, for which we need the following lemma.
Let be a random matrix in or with independent entries from . For all , the probability of the event is at most for some absolute constant .
The subgaussian norm of the rows of is constant and they are identically and isotropically distributed. Hence Theorem 5.39 of [Ver11] applies to give the result. ∎
Since the norms of the matrices are concentrated around (by Lemma B.6), it will be enough to prove Theorem B.5 after truncating the matrices . For , define iid random matrices such that
for some to be chosen later. Lemma B.6 allows us to show that the random matrices and have almost the same expectation. For the remainder of this section, let be the absolute constant from Lemma B.6.
For every and all , the expectations of and satisfy
Using Jensen’s inequality and that unless , we have
For , the random matrices satisfy with probability . Therefore, by the Bernstein bound for non-symmetric matrices [Tro12, Theorem 1.6],
Since our parameters satisfy , this probability is bounded by
At this point, we have all components of the proof of Theorem B.5.
At the same time, by Lemma B.6 and a union bound,
We choose and and assume that is large enough so that and . Then the probability satisfies
B.3 Concentration for Spectral SoS Analyses
The first claim is immediate from Theorem B.5. For the second, we note that since is a unit vector, the matrix has independent entries from . Thus, by Lemma B.3, with probability , as desired. ∎
With and , our parameters will satisfy . Hence, by Lemma B.1,
with probability at least .
B.4 Concentration for Lower Bounds
The next theorems collects the concentration results necessary to apply our lower bounds Theorem 6.3 and Theorem 6.4 to random polynomials.
For (B.11), from Theorem B.5, Lemma 6.8, the observation that multiplication by an orthogonal operator cannot increase the operator norm, a union bound over all , and the triangle inequality, it follows that:
with probability . By the definition of the operator norm and another application of triangle inequality, this implies
We turn to (B.2). By a Chernoff bound, with probability . Let be a nontrivial permutation. To each multi-index with we associate its orbit under . If has three distinct indices, then and is a random variable with the following properties:
with probability .
and are identically distributed.
We have and we let . So using Lemma 6.8,
For , each term (or similar, with various transposes) is the sum of independent products of pairs of independent unit Gaussians, so by a Chernoff bound followed by a union bound, with probability all of them are . There are such terms, for an upper bound of on the contribution from the tensored parts.
At the same time, is a sum of rows of and is the average of two rows of ; since these rows are independent from . Writing this out, . Again by a standard Chernoff and union bound argument this is in absolute value at most with probability . In sum, when , with probability at least , we get . After a union bound, the maximum over all is . This concludes (B.5).
In the case, since is a sum of independent square Gaussians, by a Bernstein inequality, with probability . The same holds for the other tensored terms, and for , so when we get that with probability . Summing over all , we find that , so that with probability . A union bound over completes the argument. ∎