The Kikuchi Hierarchy and Tensor PCA
Alexander S. Wein, Ahmed El Alaoui, Cristopher Moore

TL;DR
This paper introduces a new hierarchy of algorithms inspired by statistical physics for tensor PCA, matching sum-of-squares performance with simpler proofs and extending to related problems like refuting random XOR formulas.
Contribution
It proposes a Kikuchi Hessian-based hierarchy that generalizes belief propagation, achieving SOS-level performance for tensor PCA and related problems with simpler proofs.
Findings
Hierarchy matches SOS performance for tensor PCA
Provides polynomial-time algorithms with optimal runtime-statistical tradeoff
Simplifies proofs and extends to refuting random XOR formulas
Abstract
For the tensor PCA (principal component analysis) problem, we propose a new hierarchy of increasingly powerful algorithms with increasing runtime. Our hierarchy is analogous to the sum-of-squares (SOS) hierarchy but is instead inspired by statistical physics and related algorithms such as belief propagation and AMP (approximate message passing). Our level- algorithm can be thought of as a linearized message-passing algorithm that keeps track of -wise dependencies among the hidden variables. Specifically, our algorithms are spectral methods based on the Kikuchi Hessian, which generalizes the well-studied Bethe Hessian to the higher-order Kikuchi free energies. It is known that AMP, the flagship algorithm of statistical physics, has substantially worse performance than SOS for tensor PCA. In this work we 'redeem' the statistical physics approach by showing that our hierarchy…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTensor decomposition and applications · Machine Learning and Algorithms · Algorithms and Data Compression
MethodsPrincipal Components Analysis
The Kikuchi Hierarchy and Tensor PCA
Alexander S. Wein Email: [email protected]. Partially supported by NSF grant DMS-1712730 and by the Simons Collaboration on Algorithms and Geometry. Department of Mathematics, Courant Institute of Mathematical Sciences, NYU
Ahmed El Alaoui Email: [email protected]. Partially supported by IIS-1741162, and ONR N00014-18-1-2729. Departments of Electrical Engineering and Statistics, Stanford University
Cristopher Moore Email: [email protected]. Partially supported by NSF grant BIGDATA-1838251. Santa Fe Institute
Abstract
For the tensor PCA (principal component analysis) problem, we propose a new hierarchy of increasingly powerful algorithms with increasing runtime. Our hierarchy is analogous to the sum-of-squares (SOS) hierarchy but is instead inspired by statistical physics and related algorithms such as belief propagation and AMP (approximate message passing). Our level- algorithm can be thought of as a linearized message-passing algorithm that keeps track of -wise dependencies among the hidden variables. Specifically, our algorithms are spectral methods based on the Kikuchi Hessian, which generalizes the well-studied Bethe Hessian to the higher-order Kikuchi free energies.
It is known that AMP, the flagship algorithm of statistical physics, has substantially worse performance than SOS for tensor PCA. In this work we ‘redeem’ the statistical physics approach by showing that our hierarchy gives a polynomial-time algorithm matching the performance of SOS. Our hierarchy also yields a continuum of subexponential-time algorithms, and we prove that these achieve the same (conjecturally optimal) tradeoff between runtime and statistical power as SOS. Our proofs are much simpler than prior work, and also apply to the related problem of refuting random -XOR formulas. The results we present here apply to tensor PCA for tensors of all orders, and to -XOR when is even.
Our methods suggest a new avenue for systematically obtaining optimal algorithms for Bayesian inference problems, and our results constitute a step toward unifying the statistical physics and sum-of-squares approaches to algorithm design.
1 Introduction
High-dimensional Bayesian inference problems are widely studied, including planted clique [Jer92, AKS98], sparse PCA [JL04], and community detection [DKMZ11b, DKMZ11a], just to name a few. For these types of problems, two general strategies, or meta-algorithms, have emerged. The first is rooted in statistical physics and includes the belief propagation (BP) algorithm [Pea86, YFW03] along with variants such as approximate message passing (AMP) [DMM09], and related spectral methods such as linearized BP [KMM*+*13, BLM15], and the Bethe Hessian [SKZ14]. The second meta-algorithm is the sum-of-squares (SOS) hierarchy [Sho87, Par00, Las01], a hierarchy of increasingly powerful semidefinite programming relaxations to polynomial optimization problems, along with spectral methods inspired by it [HSS15, HSSS16]. Both of these meta-algorithms are known to achieve statistically-optimal performance for many problems. Furthermore, when they fail to perform a task, this is often seen as evidence that no polynomial-time algorithm can succeed. Such reasoning takes the form of free energy barriers in statistical physics [LKZ15a, LKZ15b] or SOS lower bounds (e.g., [BHK*+*16]). Thus, we generally expect both meta-algorithms to have optimal statistical performance among all efficient algorithms.
A fundamental question is whether we can unify statistical physics and SOS, showing that the two approaches yield, or at least predict, the same performance on a large class of problems. However, one barrier to this comes from the tensor principal component analysis (PCA) problem [RM14], on which the two meta-algorithms seem to have very different performance. For an integer , in the order- tensor PCA or spiked tensor problem we observe a -fold tensor
[TABLE]
where the parameter is a signal-to-noise ratio (SNR), is a planted signal with normalization drawn from a simple prior such as the uniform distribution on , and is a symmetric noise tensor with entries. Information-theoretically, it is possible to recover given (in the limit , with fixed) when [RM14, LML*+*17]. (Here we ignore log factors, so can be understood to mean .) However, this information-theoretic threshold corresponds to exhaustive search. We would also like to understand the computational threshold, i.e., for what values of there is an efficient algorithm.
The sum-of-squares hierarchy gives a polynomial-time algorithm to recover when [HSS15], and SOS lower bounds suggest that no polynomial-time algorithm can do better [HSS15, HKP*+*17]. However, AMP, the flagship algorithm of statistical physics, is suboptimal for and fails unless [RM14]. Various other “local” algorithms such as the tensor power method, Langevin dynamics, and gradient descent also fail below this “local” threshold [RM14, AGJ18]. This casts serious doubts on the optimality of the statistical physics approach.
In this paper we resolve this discrepancy and “redeem” the statistical physics approach. The Bethe free energy associated with AMP is merely the first level of a hierarchy of Kikuchi free energies [Kik51, Kik94, YFW03]. From these Kikuchi free energies, we derive a hierarchy of increasingly powerful algorithms for tensor PCA, similar in spirit to generalized belief propagation [YFW03]. Roughly speaking, our level- algorithm can be thought of as an iterative message-passing algorithm that reasons about -wise dependencies among the hidden variables. As a result, it has time and space complexity . Specifically, the level- algorithm is a spectral method on a submatrix of (a first-order approximation of) the Kikuchi Hessian, i.e., the matrix of second derivatives of the Kikuchi free energy. This generalizes the Bethe Hessian spectral method, which has been successful in the setting of community detection [SKZ14]. We note that the Ph.D. dissertation of Saade [Saa16] proposed the Kikuchi Hessian as a direction for future research.
For order- tensor PCA with even, we show that level of the Kikuchi hierarchy gives an algorithm that succeeds down to the SOS threshold , closing the gap between SOS and statistical physics. Furthermore, by taking levels for various values of , we obtain a continuum of subexponential-time algorithms that achieve a precise tradeoff between runtime and the signal-to-noise ratio—exactly the same tradeoff curve that SOS is known to achieve [BGG*+*16, BGL16].111The strongest SOS results only apply to a variant of the spiked tensor model with Rademacher observations, but we do not expect this difference to be important; see Section 2.6. We obtain similar results when is odd, by combining a matrix related to the Kikuchi Hessian with a construction similar to [CGL04]; see Appendix F.2.
Our approach also applies to the problem of refuting random -XOR formulas when is even, showing that we can strongly refute random formulas with variables and clauses in polynomial time, and with a continuum of subexponential-time algorithms that succeed at lower densities. This gives a much simpler proof of the results of [RRS17], using only the matrix Chernoff bound instead of intensive moment calculations; see Appendix F.1. We leave for future work the problem of giving a similar simplification of [RRS17] when is odd.
Our results redeem the statistical physics approach to algorithm design and give hope that the Kikuchi hierarchy provides a systematic way to derive optimal algorithms for a large class of Bayesian inference problems. We see this as a step toward unifying the statistical physics and SOS approaches. Indeed, we propose the following informal meta-conjecture: for high-dimensional inference problems with planted solutions (and related problems such as refuting random constraint satisfaction problems) the SOS hierarchy and the Kikuchi hierarchy both achieve the optimal tradeoff between runtime and statistical power.
After the initial appearance of this paper, some related independent work has appeared. A hierarchy of algorithms similar to ours is proposed by [Has19], but with a different motivation based on a system of quantum particles. Also, [BCR19] gives an alternative “redemption” of local algorithms based on replicated gradient descent.
2 Preliminaries and Prior Work
2.1 Notation
Our asymptotic notation (e.g., ) pertains to the limit (large dimension) and may hide constants depending on (tensor order), which we think of as fixed. We say an event occurs with high probability if it occurs with probability .
A tensor is an ( times) multi-array with entries denoted by , where . We call the order of and the dimension of . For a vector , the rank-1 tensor is defined by . A tensor is symmetric if for any permutation . For a symmetric tensor, if , we will often write .
2.2 The Spiked Tensor Model
A general formulation of the spiked tensor model is as follows. For an integer , let be an asymmetric tensor with entries i.i.d. . We then symmetrize this tensor and obtain a symmetric tensor ,
[TABLE]
where is the symmetric group of permutations of , and . Note that if are distinct then . We draw a ‘signal’ vector or ’spike’ from a prior distribution supported on the sphere . Then we let be the tensor
[TABLE]
We will mostly focus on the Rademacher-spiked model where is uniform in , i.e., P_{\mathtt{x}}=2^{-n}\prod_{i}\big{(}\delta(x_{i}-1)+\delta(x_{i}+1)\big{)}. We will sometimes state results without specifying the prior , in which case the result holds for any prior normalized so that . Let denote the law of the tensor . The parameter may depend on . We will consider the limit with held fixed.
Our algorithms will depend only on the entries where the indices are distinct: that is, on the collection
[TABLE]
where and for a vector we write .
Perhaps one of the simplest statistical tasks is binary hypothesis testing. In our case this amounts to, given a tensor as input with the promise that it was sampled from with , determining whether or . We refer to for as the planted distribution, and as the null distribution.
Definition 2.1**.**
We say that an algorithm (or test) achieves strong detection between and if
[TABLE]
Additionally we say that achieves weak detection between and if the sum of Type-I and Type-II errors remains strictly below 1:
[TABLE]
An additional goal is to recover the planted vector . Note that when is even, and have the same posterior probability. Thus, our goal is to recover up to a sign.
Definition 2.2**.**
The normalized correlation between vectors is
[TABLE]
Definition 2.3**.**
An estimator achieves weak recovery if is lower-bounded by a strictly positive constant—and we write —with high probability, and achieves strong recovery if with high probability.
We expect that strong detection and weak recovery are generally equally difficult, although formal implications are not known in either direction. We will see in Section 2.5 that in some regimes, weak recovery and strong recovery are equivalent.
The matrix case.
When , the spiked tensor model reduces to the spiked Wigner model. We know from random matrix theory that when with , strong detection is possible by thresholding the maximum eigenvalue of , and weak recovery is achieved by PCA, i.e., taking the leading eigenvector [FP07, BGN11]. For many spike priors including Rademacher, strong detection and weak recovery are statistically impossible when [MRZ15, DAM15, PWBM18], so there is a sharp phase transition at . (Note that weak detection is still possible below [EKJ18].) A more sophisticated algorithm is AMP (approximate message passing) [DMM09, FR18, LKZ15a, DAM15], which can be thought of as a modification of the matrix power method which uses certain nonlinear transformations to exploit the structure of the spike prior. For many spike priors including Rademacher, AMP is known to achieve the information-theoretically optimal correlation with the true spike [DAM15, DMK*+*16]. However, like PCA, AMP achieves zero correlation asymptotically when . For certain spike priors (e.g., sparse priors), statistical-computational gaps can appear in which it is information-theoretically possible to succeed for some but we do not expect that polynomial-time algorithms can do so [LKZ15a, LKZ15b, BMV*+*18].
The tensor case.
The tensor case was introduced by [RM14], who also proposed various algorithms. Information-theoretically, there is a sharp phase transition similar to the matrix case: for many spike priors including Rademacher, if then weak recovery is possible when and impossible when for a particular constant depending on and [LML*+*17]. Strong detection undergoes the same transition, being possible if and impossible otherwise [Che17, CHL18, JLM18] (see also [PWB16]). In fact, it is shown in these works that even weak detection is impossible below , in sharp contrast with the matrix case. There are polynomial-time algorithms (e.g., SOS) that succeed at both strong detection and strong recovery when for any spike prior [RM14, HSS15, HSSS16], which is above the information-theoretic threshold by a factor that diverges with . There are also SOS lower bounds suggesting that (for many priors) no polynomial-time algorithm can succeed at strong detection or weak recovery when [HSS15, HKP*+*17]. Thus, unlike the matrix case, we expect a large statistical-computational gap, i.e., a “possible-but-hard” regime when .
2.3 The Tensor Power Method and Local Algorithms
Various algorithms have been proposed and analyzed for tensor PCA [RM14, HSS15, HSSS16, ADGM16, AGJ18]. We will present two such algorithms that are simple, representative, and will be relevant to the discussion. The first is the tensor power method [AGH*+*14, RM14, AGJ17].
Algorithm 2.4**.**
(Tensor Power Method) For a vector and a tensor , let denote the vector
[TABLE]
The tensor power method begins with an initial guess (e.g., chosen at random) and repeatedly iterates the update rule until converges.
The tensor power method appears to only succeed when [RM14], which is worse than the SOS threshold . The AMP algorithm of [RM14] is a more sophisticated variant of the tensor power method, but AMP also fails unless [RM14]. Two other related algorithms, gradient descent and Langevin dynamics, also fail unless [AGJ18]. Following [AGJ18], we refer to all of these algorithms (tensor power method, AMP, gradient descent, Langevin dynamics) as local algorithms, and we refer to the corresponding threshold as the local threshold. Here “local” is not a precise notion, but roughly speaking, local algorithms keep track of a current guess for and iteratively update it to a nearby vector that is more favorable in terms of e.g. the log-likelihood. This discrepancy between local algorithms and SOS is what motivated the current work.
2.4 The Tensor Unfolding Algorithm
We have seen that local algorithms do not seem able to reach the SOS threshold. Let us now describe one of the simplest algorithms that does reach this threshold: tensor unfolding. Tensor unfolding was first proposed by [RM14], where it was shown to succeed when and conjectured to succeed when (the SOS threshold). For the case , the same algorithm was later reinterpreted as a spectral relaxation of SOS, and proven to succeed222The analysis of [HSS15] applies to a close variant of the spiked tensor model in which the noise tensor is asymmetric. We do not expect this difference to be important. when [HSS15], confirming the conjecture of [RM14]. We now present the tensor unfolding method, restricting to the case for simplicity. There is a natural extension to all [RM14], and (a close variant of) this algorithm will in fact appear as level in our hierarchy of algorithms (see Section 3 and Appendix C).
Algorithm 2.5**.**
(Tensor Unfolding) Given an order-3 tensor , flatten it to an matrix , i.e., let . Compute the leading eigenvector of .
If we use the matrix power method to compute the leading eigenvector, we can restate the tensor unfolding method as an iterative algorithm: keep track of state vectors and , initialize randomly, and alternate between applying the update steps and . We will see later (see Section 4.1) that this can be interpreted as a message-passing algorithm between singleton indices, represented by , and pairs of indices, represented by . Thus, tensor unfolding is not “local” in the sense of Section 2.3 because it keeps a state of size (keeping track of pairwise information) instead of size . We can, however, think of it as local on a “lifted” space, and this allows it to surpass the local threshold.
Other methods have also been shown to achieve the SOS threshold , including SOS itself and various spectral methods inspired by it [HSS15, HSSS16].
2.5 Boosting and Linearization
One fundamental difference between the matrix case () and tensor case () is the following boosting property. The following result, implicit in [RM14], shows that for , if is substantially above the information-theoretic threshold (i.e., ) then weak recovery can be boosted to strong recovery via a single power iteration. We give a proof in Appendix D.
Proposition 2.6**.**
Let with any spike prior supported on . Suppose we have an initial guess satisfying . Obtain from via a single iteration of the tensor power method: . There exists a constant such that with high probability,
[TABLE]
In particular, if is any constant and then .
For , since we do not expect polynomial-time algorithms to succeed when , this implies an “all-or-nothing” phenomenon: for a given , the optimal polynomial-time algorithm will either achieve correlation that is asymptotically 0 or asymptotically 1. This is in stark contrast to the matrix case where, for , the optimal correlation is a constant (in ) depending on both and the spike prior .
This boosting result substantially simplifies things when because it implies that the only important question is identifying the threshold for weak recovery, instead of trying to achieve the optimal correlation. Heuristically, since we only want to attain the optimal threshold, statistical physics suggests that we can use a simple “linearized” spectral algorithm instead of a more sophisticated nonlinear algorithm. To illustrate this in the matrix case (), one needs to use AMP in order to achieve optimal correlation, but one can achieve the optimal threshold using linearized AMP, which boils down to computing the top eigenvector. In the related setting of community detection in the stochastic block model, one needs to use belief propagation to achieve optimal correlation [DKMZ11b, DKMZ11a, MNS14], but one can achieve the optimal threshold using a linearized version of belief propagation, which is a spectral method on the non-backtracking walk matrix [KMM*+*13, BLM15] or the related Bethe Hessian [SKZ14]. Our spectral methods for tensor PCA are based on the Kikuchi Hessian, which is a generalization of the Bethe Hessian.
2.6 Subexponential-time Algorithms for Tensor PCA
The degree- sum-of-squares algorithm is a large semidefinite program that requires runtime to solve. Oftentimes the regime of interest is when is constant, so that the algorithm runs in polynomial time. However, one can also explore the power of subexponential-time algorithms by letting for , which gives an algorithm with runtime roughly . Results of this type are known for tensor PCA [RRS17, BGG*+*16, BGL16]. The strongest such results are for a different variant of tensor PCA, which we now define.
Definition 2.7**.**
In the order- discrete spiked tensor model with spike prior (normalized so that ) and SNR parameter , we draw a spike and then for each , we independently observe a -valued random variable with .
This model differs from our usual one in that the observations are conditionally Rademacher instead of Gaussian, but we do not believe this makes an important difference. However, for technical reasons, the known SOS results are strongest in this discrete setting.
Theorem 2.8** ([BGL16, HSS15]).**
For any , there is an algorithm with runtime that achieves strong detection and strong recovery in the order- discrete spiked tensor model (with any spike prior) whenever
[TABLE]
The work of [BGL16] shows how to certify an upper bound on the injective norm of a random -valued tensor, which immediately implies the algorithm for strong detection. When combined with [HSS15], this can also be made into an algorithm for strong recovery (see Lemma 4.4 of [HSS15]). Similar (but weaker) SOS results are also known for the standard spiked tensor model (see [RRS17] and arXiv version 1 of [BGL16]), and we expect that Theorem 2.8 also holds for this case.
When for , Theorem 2.8 implies that we have an algorithm with runtime that succeeds when . Note that this interpolates smoothly between the polynomial-time threshold () when , and the information-theoretic threshold () when . We will prove (for even) that our algorithms achieve this same tradeoff, and we expect this tradeoff to be optimal333One form of evidence suggesting that this tradeoff is optimal is based on the low-degree likelihood ratio; see [KWB19]..
3 Main results
In this section we present our main results about detection and recovery in the spiked tensor model. We propose a hierarchy of spectral methods, which are directly derived from the hierarchy of Kikuchi free energies. Specifically, the symmetric difference matrix defined below appears (approximately) as a submatrix of the Hessian of the Kikuchi free energy. The full details of this derivation are given in Section 4 and Appendix E. For now we simply state the algorithms and results.
We will restrict our attention to the Rademacher-spiked tensor model, which is the setting in which we derived our algorithms. However, we show in Appendix B that the same algorithm works for a large class of priors (at least for strong detection). Furthermore, we show in Appendix F.1 that the same algorithm can also be used for refuting random -XOR formulas (when is even).
We will also restrict to the case where the tensor order is even. The case of odd is discussed in Appendix C, where we give an algorithm derived from the Kikuchi Hessian and conjecture that it achieves optimal performance. We are unable to prove this, but we are able to prove that optimal results are attained by a related algorithm (see Appendix F.2).
Our approach requires the introduction of two matrices:
The symmetric difference matrix of order .
Let be even and let be the observed order- symmetric tensor. We will only use the entries for which the indices are distinct; we denote such entries by where with . Fix an integer , and consider the symmetric matrix indexed by sets of size , having entries
[TABLE]
Here denotes the symmetric difference between sets. The leading eigenvector of is intended to be an estimate of where . The following voting matrix is a natural rounding scheme to extract an estimate of from such a vector.
The voting matrix.
To a vector we associate the following symmetric ‘voting’ matrix having entries
[TABLE]
Let us define the important quantity
[TABLE]
This is the number of sets of size such that for a given set of size . Now we are in position to formulate our algorithms for detection and recovery.
Algorithm 3.1** (Detection for even ).**
Compute the top eigenvalue of the symmetric difference matrix . 2. 2.
Reject the null hypothesis (i.e., return ‘1’) if .
Algorithm 3.2** (Recovery for even ).**
Compute a (unit-norm) leading eigenvector444We define a leading eigenvector to be an eigenvector whose eigenvalue is maximal (although our results still hold for an eigenvector whose eigenvalue is maximal in absolute value). of . 2. 2.
Form the associated voting matrix . 3. 3.
Compute a leading eigenvector of , and output .
The next two theorems characterize the performance of Algorithms 3.1 and 3.2 for the strong detection and recovery tasks, respectively. The proofs can be found in Appendix A.
Theorem 3.3**.**
Consider the Rademacher-spiked tensor model with even. For all and , we have
[TABLE]
Therefore, Algorithm 3.1 achieves strong detection between and if as .
Theorem 3.4**.**
Consider the Rademacher-spiked tensor model with even. Let be the output of Algorithm 3.2. There exists an absolute constant such that for all and , if and \lambda\geq c_{0}\epsilon^{-4}\sqrt{\log(n^{\ell}/\delta)\big{/}d_{\ell}}, then with probability at least .
Remark 3.5**.**
If , we have , and so the above theorems imply that strong detection and strong recovery are possible as soon as . Comparing with Theorem 2.8, this scaling coincides with the guarantees achieved by the level- SOS algorithm of [BGL16], up to a possible discrepancy in logarithmic factors.
Due to the particularly simple structure of the symmetric difference matrix (in particular, the fact that its entries are simply entries of ), the proof of detection (Theorem 3.3) follows from a straightforward application of the matrix Chernoff bound. In contrast, the corresponding SOS results [RRS17, BGG*+*16, BGL16] work with more complicated matrices involving high powers of the entries of , and the analysis is much more involved.
Our proof of recovery is unusual in that the signal component of , call it , is not rank-one; it even has a vanishing spectral gap when . Thus, the leading eigenvector of does not correlate well with the leading eigenvector of . While this may seem to render recovery hopeless at first glance, this is not the case, due to the fact that many eigenvectors (actually, eigenspaces) of contain non-trivial information about the spike , as opposed to only the top one. We prove this by exploiting the special structure of through the Johnson scheme, and using tools from Fourier analysis on a slice of the hypercube, in particular a Poincaré-type inequality by [Fil16].
Removing the logarithmic factor
Both Theorem 3.3 and Theorem 3.4 involve a logarithmic factor in in the lower bound on SNR . These log factors are an artifact of the matrix Chernoff bound, and we believe they can be removed. (The analysis of [HSS15] removes the log factors for the tensor unfolding algorithm, which is essentially the case and of our algorithm.) This suggests the following precise conjecture on the power of polynomial-time algorithms.
Conjecture 3.6**.**
Fix and let be constant (not depending on ). There exists a constant with as (with fixed) such that if then Algorithm 3.1 and Algorithm 3.2 (which run in time ) achieve strong detection and strong recovery, respectively.
Specifically, we expect for large .
4 Motivating the Symmetric Difference Matrices
In this section we motivate the symmetric difference matrices used in our algorithms. In Section 4.1 we give some high-level intuition, including an explanation of how our algorithms can be thought of as iterative message-passing procedures among subsets of size . In Section 4.2 we give a more principled derivation based on the Kikuchi Hessian, with many of the calculations deferred to Appendix E.
4.1 Intuition: Higher-Order Message-Passing and Maximum Likelihood
As stated previously, our algorithms will choose to ignore the entries for which are not distinct; these entries turn out to be unimportant asymptotically. We restrict to the Rademacher-spiked tensor model, as this yields a clean and simple derivation. The posterior distribution for the spike given the observed tensor is
[TABLE]
over the domain . We take to be even; a similar derivation works for odd . Now fix . We can write the above as
[TABLE]
where the sum is over ordered pairs of sets with and , and where is the number of terms with a given symmetric difference .
A natural message-passing algorithm to maximize the log-likelihood is the following. For each of size , keep track of a variable , which is intended to be an estimate of . Note that there are consistency constraints that must obey, such as when ; we will relax the problem and will not require our vector to obey such constraints. Instead we simply attempt to maximize
[TABLE]
over all . To do this, we iterate the update equations
[TABLE]
We call and neighbors if . Intuitively, each neighbor of sends a message to , indicating ’s opinion about . We update to be the sum of all incoming messages.
Now note that the sum in (7) is simply where is the symmetric difference matrix, and (8) can be written as
[TABLE]
Thus our natural message-passing scheme is precisely power iteration against , and so we should take the leading eigenvector of as our estimate of (up to a scaling factor). Finally, defining our voting matrix and taking its leading eigenvector is a natural method for rounding to a vector of the form where , thus restoring the consistency constraints we ignored before.
Indeed, if we carry out this procedure on all subsets then this works as intended, and no rounding is necessary: consider the matrix . It is easy to verify that the eigenvectors of are precisely the Fourier basis vectors on the hypercube, namely vectors of the form where and . Moreover, the eigenvalue associated to is
[TABLE]
This is the expression in the log-likelihood in (5). Thus the leading eigenvector of is exactly where is the maximum-likelihood estimate of .
This procedure succeeds all the way down to the information-theoretic threshold , but takes exponential time. Our contribution can be viewed as showing that even when we restrict to the submatrix of supported on subsets of size , the leading eigenvector still allows us to recover whenever the SNR is sufficiently large. Proving this requires us to perform Fourier analysis over a slice of the hypercube rather than the simpler setting of the entire hypercube, which we do by appealing to Johnson schemes and some results of [Fil16].
4.2 Variational Inference and Kikuchi Free Energy
We now introduce the Kikuchi approximations to the free energy (or simply the Kikuchi free energies) of the above posterior (5) [Kik51, Kik94], the principle from which our algorithms are derived. For concreteness we restrict to the case of the Rademacher-spiked tensor model, but the Kikuchi free energies can be defined for general graphical models [YFW03].
The posterior distribution in (5) is a Gibbs distribution with random Hamiltonian , and inverse temperature . We let be the partition function of the model, and denote by its free energy. It is a classical fact that the Gibbs distribution has the following variational characterization. Fix a finite domain (e.g., ), and . Consider the optimization problem
[TABLE]
where the supremum is over probability distributions supported on , and define the free energy functional of by
[TABLE]
where is the Shannon entropy of , i.e., . Then the unique optimizer of (9) is the Gibbs distribution . If we specialize this statement to our setting, and . We refer to [WJ08] for more background.
In light of the above variational characterization, a natural algorithmic strategy to learn the posterior distribution is to minimize the free energy functional over distributions . However, this is a priori intractable because (for a high-dimensional domain such as ) an exponential number of parameters are required to represent . The idea underlying the belief propagation algorithm [Pea86, YFW03] is to work only with locally-consistent marginals, or beliefs, instead of a complete distribution . Standard belief propagation works with beliefs on singleton variables and on pairs of variables. The Bethe free energy is a proxy for the free energy that only depends on these beliefs, and belief propagation is a certain procedure that iteratively updates the beliefs in order to locally minimize the Bethe free energy. The level- Kikuchi free energy is a generalization of the Bethe free energy that depends on -wise beliefs and gives (in principle) increasingly better approximations of as increases. Our algorithms are based on the principle of locally minimizing Kikuchi free energy, which we define next.
We now define the level- Kikuchi approximation to the free energy. We require , i.e., the Kikuchi level needs to be at least as large as the interactions present in the data (although the case could be handled by defining a modified graphical model with auxiliary variables). The Bethe free energy is the case .
For with , let denote the belief on , which is a probability mass function over representing our belief about the joint distribution of . Let denote the set of beliefs on -wise interactions for all . Following [YFW03], the Kikuchi free energy is a real-valued functional of having the form (in our case, ). Here the first term is the ‘energy’ term
[TABLE]
where, recall, . (This is a proxy for the term in (10).) The second term in is the ‘entropy’ term
[TABLE]
where the overcounting numbers are . These are defined so that for any with ,
[TABLE]
which corrects for overcounting. Notice that and each take the form of an “expectation” with respect to the beliefs ; these would be actual expectations were the beliefs the marginals of an actual probability distribution. This situation is to be contrasted with the notion of a pseudo-expectation, which plays a central role in the theory underlying the sum-of-squares algorithm.
Our algorithms are based on he Kikuchi Hessian, a generalization of the Bethe Hessian matrix that was introduced in the setting of community detection [SKZ14]. The Bethe Hessian is the Hessian of the Bethe free energy with respect to the moments of the beliefs, evaluated at belief propagation’s so-called “uninformative fixed point.” The bottom eigenvector of the Bethe Hessian is a natural estimator for the planted signal because it represents the best direction for local improvement of the Bethe free energy, starting from belief propagation’s uninformative starting point. We generalize this method and compute the analogous Kikuchi Hessian matrix. The full derivation is given in Appendix E. The order- symmetric difference matrix (2) (approximately) appears as a submatrix of the level- Kikuchi Hessian whenever .
5 Conclusion
We have presented a hierarchy of spectral algorithms for tensor PCA, inspired by variational inference and statistical physics. In particular, the core idea of our approach is to locally minimize the Kikuchi free energy. We specifically implemented this via the Kikuchi Hessian, but there may be many other viable approaches to minimizing the Kikuchi free energy such as generalized belief propagation [YFW03]. Broadly speaking, we conjecture that for many average-case problems, algorithms based on Kikuchi free energy and algorithms based on sum-of-squares should both achieve the optimal tradeoff between runtime and statistical power. One direction for further work is to verify that this analogy holds for problems other than tensor PCA; in particular, we show here that it also applies to refuting random -XOR formulas when is even.
Perhaps one benefit of the Kikuchi hierarchy over the sum-of-squares hierarchy is that it has allowed us to systematically obtain spectral methods, simply by computing a certain Hessian matrix. Furthermore, the algorithms we obtained are simpler than their SOS counterparts. We are hopeful that the Kikuchi hierarchy will provide a roadmap for systematically deriving simple and optimal algorithms for a large class of problems.
Acknowledgments
We thank Alex Russell for suggesting the matrix Chernoff bound (Theorem A.4). For helpful discussions, we thank Afonso Bandeira, Sam Hopkins, Pravesh Kothari, Florent Krzakala, Tselil Schramm, Jonathan Shi, and Lenka Zdeborová. This project started during the workshop Spin Glasses and Related Topics held at the Banff International Research Station (BIRS) in the Fall of 2018. We thank our hosts at BIRS as well as the workshop organizers: Antonio Auffinger, Wei-Kuo Chen, Dmitry Panchenko, and Lenka Zdeborová.
Appendix A Analysis of Symmetric Difference and Voting Matrices
We adopt the notation for and . Recall the matrix indexed by sets of size , having entries
[TABLE]
First, observe that we can restrict our attention to the case where the spike is the all-ones vector without loss of generality. To see this, conjugate by a diagonal matrix with diagonal entries and obtain where where . By symmetry of the Gaussian distribution, are i.i.d. random variables. Therefore, the two matrices have the same spectrum and the eigenvectors of can be obtained from those of by pre-multiplying by . So from now on we write
[TABLE]
where and , where is a collection of i.i.d. r.v.’s.
A.1 Structure of
The matrix is the adjacency matrix of a regular graph on vertices, where vertices are represented by sets, and two sets and are connected by an edge if , or equivalently . This matrix belongs to the Bose-Mesner algebra of the -Johnson association scheme (see for instance [Sch79, GS10]). This is the algebra of real- or complex-valued symmetric matrices where the entry depends only on the size of the intersection . In addition to this set of matrices being an algebra, it is a commutative algebra, which means that all such matrices are simultaneously diagonalizable and share the same eigenvectors.
Filmus [Fil16] provides a common eigenbasis for this algebra: for , let be a sequence of distinct elements of . Let denote its total length. Now define a vector having coordinates
[TABLE]
In the case , is the empty sequence and we have (the all-ones vector).
Proposition A.1**.**
Each is an eigenvector of . Furthermore, the linear space for is an eigenspace of (i.e., all vectors with sequences of length of have the same eigenvalue ). Lastly , and . (By convention, .)
Proof.
The first two statements are the content of Lemma 4.3 in [Fil16]. The dimension of is given in Lemma 2.1 in [Fil16]. ∎
We note that are not linearly independent; an orthogonal basis, called the Young basis, consisting of linear combinations of the ’s is given explicitly in [Fil16].
We see from the above proposition that has distinct eigenvalues , each one corresponding to the eigenspace . The first eigenvalue is the degree of the graph :
[TABLE]
We provide an explicit formula for all the remaining eigenvalues:
Lemma A.2**.**
The eigenvalues of are as follows:
[TABLE]
Proof.
These are the so-called Eberlein polynomials, which are polynomials in of degree (see, e.g., [Sch79]). We refer to [Bur17] for formulae in more general contexts, but we give a proof here for completeness. Let and . Note that is nonzero if and only if for each . By symmetry, we can assume that and . Then is the sum over all sets , such that and for each , of where . For each there are choices of this set of indices, giving the first binomial. Adding these to and removing these from contributes to . To achieve , we also need to remove elements of from , giving the second binomial. We also need to add elements of to , giving the third binomial. Finally, we have and . ∎
As the following lemma shows, the succeeding eigenvalues decay rapidly with .
Lemma A.3**.**
Let and let . For all it holds that
[TABLE]
Proof.
The terms in (15) have alternating signs. We will show that they decrease in absolute value beyond the first nonzero term, so that it gives a bound on . We consider two cases. First, suppose so that the term is positive. Then the st term divided by the th term is, in absolute value,
[TABLE]
It follows that the term is an upper bound,
[TABLE]
and so
[TABLE]
Next we consider the case , so that the first nonzero term has . Intuitively, this reduces by at least a factor of , and we will show this is the case. For the terms with , the ratio of absolute values is again bounded by
[TABLE]
It follows that the term gives a bound on the absolute value,
[TABLE]
in which case
[TABLE]
Combining these two cases gives the stated result. ∎
A.2 Proof of Strong Detection
Here we prove our strong detection result, Theorem 3.3. The proof doesn’t exploit the full details of the structure exhibited above. Instead, the proof is a straightforward application of the matrix Chernoff bound for Gaussian series [Oli10] (see also Theorem 4.1.1 of [Tro12]):
Theorem A.4**.**
Let be a finite sequence of fixed symmetric matrices, and let be independent random variables. Let . Then, for all ,
[TABLE]
Let us first write in the form of a Gaussian series. For a set , define the matrix as
[TABLE]
It is immediate that for , where is a collection of i.i.d. random variables. The second moment of this random matrix is
[TABLE]
since is the diagonal matrix with , and summing over all gives on the diagonal. The operator norm of the second moment is then . It follows that for all ,
[TABLE]
Now letting yields the first statement of the theorem.
As for the second statement, we have where is defined in (13). Applying the same bound we have
[TABLE]
A.3 Proof of Strong Recovery
Here we prove our strong recovery result, Theorem 3.4. Let be a unit-norm leading eigenvector of . For a fixed (to be determined later on), we write the orthogonal decomposition , where , and in the orthogonal complement. The goal is to first show that if is proportional to then has small Euclidean norm, so that and have high inner product. The second step of the argument is to approximate the voting matrix by , and then use Fourier-analytic tools to reason about the latter.
Let us start with the first step.
Lemma A.5**.**
With defined as in (13), we have
[TABLE]
Proof.
Let us absorb the factor in the definition of the matrix . Let be a set of eigenvectors of which also form an orthogonal basis for , with being the top eigenvector of ( is the normalized all-ones vector). We start with the inequality . The left-hand side of the inequality is . The right-hand side is . Moreover . Since , by Proposition A.1, belongs to the space as well, and therefore . Similarly , so . Therefore the inequality becomes
[TABLE]
Since is orthogonal to the top eigenspaces of we have (v^{\perp})^{\top}{\bm{X}}v^{\perp}\leq\mu_{m+1}\big{\|}v^{\perp}\big{\|}_{2}^{2}. Moreover, v^{(m)\top}{\bm{X}}v^{(m)}\leq\mu_{0}\big{\|}v^{(m)}\big{\|}^{2}, hence
[TABLE]
By rearranging and applying the triangle inequality we get,
[TABLE]
∎
Combining this fact with Lemma A.3, recalling that we obtain
Lemma A.6**.**
For any and , if , then
[TABLE]
with probability at least .
Proof.
Lemma A.3 implies . Therefore, Lemma A.5 implies
[TABLE]
The operator norm of the noise can be bounded by a matrix Chernoff bound [Oli10, Tro12], similarly to our argument in the proof of detection: for all
[TABLE]
Therefore, letting we obtain the desired result. ∎
A.3.1 Analysis of the Voting Matrix
Recall that the voting matrix of a vector has zeros on the diagonal, and off-diagonal entries
[TABLE]
It will be more convenient in our analysis to work with instead of . To this end we produce the following approximation result:
Lemma A.7**.**
Let and . Then
[TABLE]
In particular,
[TABLE]
Proof.
Let us introduce the shorthand notation . We have
[TABLE]
where the last step uses the bound . Now we expand
[TABLE]
Plugging this back into (17) yields the desired result. To obtain we just bound by . ∎
Let us also state the following lemma, which will be need later on:
Lemma A.8**.**
For , .
Proof.
Note that and so the desired result follows immediately from (18). ∎
Next, in the main technical part of the proof, we show that is close to a multiple of the all-ones matrix in Frobenius norm:
Proposition A.9**.**
Let , and . Then
[TABLE]
Before proving the above proposition, let us put the results together and prove our recovery result.
A.3.2 Proof of Theorem 3.4
For , assume . By Lemma A.6 and Lemma A.7 we have
[TABLE]
with probability at least . Moreover, by Lemma A.9, we have
[TABLE]
With and . Therefore, by a triangle inequality we have
[TABLE]
with probability at least . Now let us choose a value of that achieves a good tradeoff of the above two error terms: . Let us also use the inequality for positive , to obtain
[TABLE]
under the same event.
Now let be a leading eigenvector of , and let . Since , we have
[TABLE]
Therefore
[TABLE]
Since , and , the bound (19) (together with ) implies
[TABLE]
To conclude the proof of our theorem, we let , and then replace by : we obtain with probability at least if .
A.3.3 Proof of Proposition A.9
Let . By Lemma A.8 we have \big{\|}{\bm{V}}(v^{(m)})\big{\|}_{F}^{2}\leq\alpha^{2}. Therefore
[TABLE]
Now we need a lower bound on . This will crucially rely on the fact that lies in the span of the top eigenspaces of :
Lemma A.10**.**
For a fixed , let . Then
[TABLE]
We plug the result of the above lemma in (21) to obtain
[TABLE]
as desired.
A.3.4 A Poincaré Inequality on a Slice of the Hypercube
To prove Lemma A.10, we need some results on Fourier analysis on the slice of the hypercube . Following [Fil16], we define the following. First, given a function , we define its expectation as its average value over all sets of size , and write
[TABLE]
We also define its variance as
[TABLE]
Moreover, we identify a vector with a function on sets of size in the obvious way: .
Definition A.11**.**
For and , let denote the vector having coordinates
[TABLE]
(The operation exchanges the roles of and whenever possible.)
Definition A.12**.**
For and , define the influence of the pair as
[TABLE]
and the total influence as
[TABLE]
With this notation, our main tool is a version of Poincaré’s inequality on :
Lemma A.13** (Lemma 5.6 in [Fil16]).**
For we have
[TABLE]
Proof of Lemma A.10.
We have , and
[TABLE]
Since , the above is equal to
[TABLE]
Now,
[TABLE]
Therefore
[TABLE]
and so
[TABLE]
as desired. ∎
Appendix B Detection for General Priors
While we have mainly focused on the Rademacher-spiked tensor model, we now show that our algorithm works just as well (at least for detection) for a much larger class of spike priors.
Theorem B.1**.**
Let be even. Consider the spiked tensor model with a spike prior that draws the entries of i.i.d. from some distribution on (which does not depend on ), normalized so that . There is a constant (depending on and ) such that if then Algorithm 3.1 achieves strong detection.
Proof.
From (16), we have with high probability, and so it remains to give a lower bound on . Letting for ,
[TABLE]
where
[TABLE]
We have
[TABLE]
and
[TABLE]
We have
[TABLE]
Also, unless and have nonempty intersection. Using Lemma B.2 (below), the fraction of terms in (23) that are nonzero is at most and so
[TABLE]
By Chebyshev’s inequality, it follows from (22) and (24) that with probability at least . This implies with the same probability, and so we have strong detection provided for a particular constant . ∎
Above, we made use of the following lemma.
Lemma B.2**.**
Fix with . Let be chosen uniformly at random from all subsets of of size . Then .
Proof.
Each element of will lie in with probability , so the result follows by a union bound over the elements of . ∎
Appendix C The Odd- Case
When is odd, the Kikuchi Hessian still gives rise to a spectral algorithm. While we conjecture that this algorithm is optimal, we unfortunately only know how to prove sub-optimal results for it. (However, we can prove optimal results for a related algorithm; see Appendix F.2.) We now state the algorithm and its conjectured performance.
Let be odd and fix an integer . Consider the symmetric difference matrix with entries
[TABLE]
where with and .
Algorithm C.1** (Recovery for odd ).**
Let be a (unit-norm) top left-singular vector of and let be the corresponding top right-singular vector. Output , defined by
[TABLE]
Notice that the rounding step consisting in extracting an -dimensional vector from the singular vectors of is slightly simpler that the even- case, in that it does not require forming a voting matrix. We conjecture that, like the even case, this algorithm matches the performance of SOS.
Conjecture C.2**.**
Consider the Rademacher-spiked tensor model with odd. If
[TABLE]
then (i) there is a threshold such that strong detection can be achieved by thresholding the top singular value of at , and (ii) Algorithm C.1 achieves strong recovery.
Similarly to the proof of Theorem 3.4, the matrix Chernoff bound (Theorem A.4) can be used to show that strong recovery is achievable when , which is weaker than SOS when . We now explain the difficulties involved in improving this. We can decompose into a signal part and a noise part: . In the regime of interest, , the signal term is smaller in operator norm than the noise term, i.e., . While at first sight this would seem to suggest that detection and recovery are hopeless, we actually expect that still affects the top singular value and singular vectors of . This phenomenon is already present in the analysis of tensor unfolding (the case , ) [HSS15], but it seems that new ideas are required to extend the analysis beyond this case.
Appendix D Proof of Boosting
Definition D.1**.**
For a tensor , the injective tensor norm is
[TABLE]
where . For a symmetric tensor , it is known [Wat90] that equivalently,
[TABLE]
Proof of Proposition 2.6.
Write where . We have
[TABLE]
and
[TABLE]
and so
[TABLE]
Our prior is supported on the sphere of radius , so . We need to control the injective norm of the tensor . To this end we use Theorem 2.12 in [ABČ13] (see also Lemma 2.1 of [RM14]): there exists a constant (called in [ABČ13]) such that for all ,
[TABLE]
Letting we obtain
[TABLE]
with probability tending to 1 as . ∎
Appendix E Computing the Kikuchi Hessian
In Section 4 we defined the Kikuchi free energy and explained the high level idea of how the symmetric difference matrices are derived from the Kikuchi Hessian. We now carry out the Kikuchi Hessian computation in full detail. This is a heuristic (non-rigorous) computation, but we believe these methods are important as we hope they will be useful for systematically obtaining optimal spectral methods for a wide variety of problems.
E.1 Derivatives of Kikuchi Free Energy
Following [SKZ14], we parametrize the beliefs in terms of the moments . Specifically,
[TABLE]
We imagine are close enough to zero so that is a positive measure. One can check that these beliefs indeed have the prescribed moments: for ,
[TABLE]
Thus we can think of the Kikuchi free energy as a function of the moments . This parametrization forces the beliefs to be consistent, i.e., if then the marginal distribution is equal to .
We now compute first and second derivatives of with respect to the moments . First, the energy term:
[TABLE]
[TABLE]
[TABLE]
Now the entropy term:
[TABLE]
From (25), for ,
[TABLE]
and so
[TABLE]
For , ,
[TABLE]
Finally, if then .
E.2 The Case
We first consider the simplest case, where is as small as possible: . (We need to require in order to express the energy term in terms of the beliefs.)
E.2.1 Trivial Stationary Point
There is a “trivial stationary point” of the Kikuchi free energy where the beliefs only depend on local information. Specifically, if then is the uniform distribution over , and if then
[TABLE]
i.e.,
[TABLE]
where
[TABLE]
Note that these beliefs are consistent (if with then ) and so there is a corresponding set of moments .
We now check that this is indeed a stationary point of the Kikuchi free energy. Using (26) and (27) we have for and ,
[TABLE]
Thus if we have , and if we have
[TABLE]
This confirms that we indeed have a stationary point.
E.2.2 Hessian
We now compute the Kikuchi Hessian, the matrix indexed by subsets with entries , evaluated at the trivial stationary point. Similarly to the Bethe Hessian [SKZ14], we expect the bottom eigenvector of the Kikuchi Hessian to be a good estimate for the (moments of) the true signal. This is because this bottom eigenvector indicates the best local direction for improving the Kikuchi free energy, starting from the trivial stationary point. If all eigenvalues of are positive then the trivial stationary point is a local minimum and so an algorithm acting locally of the beliefs should not be able to escape from it, and should not learn anything about the signal. On the other hand, a negative eigenvalue (or even an eigenvalue close to zero) indicates a (potential) direction for improvement.
Remark E.1**.**
When is odd, we cannot hope for a substantially negative eigenvalue because and are not equally-good solutions and so the Kikuchi free energy should be locally cubic instead of quadratic. Still, we believe that the bottom eigenvector of the Kikuchi Hessian (which will have eigenvalue close to zero) yields a good algorithm. For instance, we will see in the next section that this method yields a close variant of tensor unfolding when .
Recall that for , and ,
[TABLE]
If then is uniform on (at the trivial stationary point) and so . If then where , and so
[TABLE]
where denotes disjoint union. (Note that we have replaced with due to the restriction .) We can now compute the Hessian:
[TABLE]
where we used (11) in the last step. Suppose (since otherwise tensor PCA is very easy). If then, using the Taylor series, we have the leading-order approximation
[TABLE]
This means where
[TABLE]
E.2.3 The Case
We now restrict to the case and show that the Kikuchi Hessian recovers (a close variant of) the tensor unfolding method. Recall that in this case the computational threshold is and so we can assume (or else the problem is easy). We have
[TABLE]
This means we can write
[TABLE]
where and is the flattening of , i.e., .
Since we are looking for the minimum eigenvalue of , we can restrict ourselves to the submatrix indexed by sets of size 1 and 2. We have
[TABLE]
An eigenvector of with eigenvalue satisfies
[TABLE]
which implies and so . This means either is an eigenvector of with eigenvalue , or and . Conversely, if is an eigenvector of with eigenvalue , then with is an eigenvector of with eigenvalue . Letting be the eigenvalues of , has eigenvalues of the form
[TABLE]
and the remaining eigenvalues are or . Thus, the -part of the bottom eigenvector of is precisely the leading eigenvector of . This is a close variant of the tensor unfolding spectral method (see Section 2.4), and we expect that its performance is essentially identical.
E.2.4 The General Case:
One difficulty when is that there is no longer a trivial stationary point that we can write down in closed form. There is, however, a natural guess for “uninformative” beliefs that only depend on the local information: for ,
[TABLE]
for the appropriate normalizing factor . Unfortunately, these beliefs are not quite consistent, so we need separate moments for each set :
[TABLE]
Provided , we can check that to first order, and so the above beliefs are at least approximately consistent:
[TABLE]
and so
[TABLE]
which does not depend on . Thus we will ignore the slight inconsistencies and carry on with the derivation. As above, the important calculation is, for ,
[TABLE]
Analogous to (28), we compute the Kikuchi Hessian
[TABLE]
If we fix , the submatrix takes the form
[TABLE]
for certain scalars and , where is the identity matrix and is the symmetric difference matrix
[TABLE]
Instead of working with the entire Kikuchi Hessian, we choose to work instead with , which (when is even) appears as a diagonal block of the Kikuchi Hessian whenever (since there must exist with and ). Our theoretical results (see Section 3) show that indeed yields algorithms matching the (conjectured optimal) performance of sum-of-squares. When is odd, and so we propose to instead focus on ; see Appendix C.
Appendix F Extensions
F.1 Refuting Random -XOR Formulas for Even
Our symmetric difference matrices can be used to give a simple algorithm and proof for a related problem: strongly refuting random -XOR formulas (see [AOW15, RRS17] and references therein). This is essentially a variant of the spiked tensor problem with sparse Rademacher observations instead of Gaussian ones. It is known [RRS17] that this problem exhibits a smooth tradeoff between subexponential runtime and the number of constraints required, but the proof of [RRS17] involves intensive moment calculations. When is even, we will give a simple algorithm and a simple proof using the matrix Chernoff bound that achieves the same tradeoff. SOS lower bounds suggest that this tradeoff is optimal [Gri01, Sch08].
When is odd, we expect that the construction in Section F.2 should achieve the optimal tradeoff, but we do not have a proof for this case.
F.1.1 Setup
Let be -valued variables. A -XOR formula with constraints is specified by a sequence of subsets with and , along with values with . For , constraint is satisfied if , where . We write for the number of constraints satisfied by . We will consider a uniformly random -XOR formula in which each is chosen uniformly and independently from the possible -subsets, and each is chosen uniformly and independently from .
Given a formula , the goal of strong refutation is to certify an upper bound on the number of constraints that can be satisfied. In other words, our algorithm should output a bound such that for every formula , . (Note that this must be satisfied always, not merely with high probability.) At the same time, we want the bound to be small with high probability over a random . Since a random assignment will satisfy roughly half the constraints, the best bound we can hope for is with small.
F.1.2 Algorithm
Let be even and let . Given a -XOR formula , construct the order- symmetric difference matrix as follows. For with , let
[TABLE]
and let
[TABLE]
Define the parameter
[TABLE]
which, for any fixed , is the number of sets such that . For an assignment , let be defined by for all . We have
[TABLE]
since for any fixed (of size ), the number of pairs such that is . Thus we can perform strong refutation by computing :
[TABLE]
Theorem F.1**.**
Let be even and let . Let . If
[TABLE]
then certifies
[TABLE]
with probability at least over a uniformly random -XOR formula with constraints.
If is constant and with , the condition (38) becomes
[TABLE]
matching the result of [RRS17]. In fact, our result is tighter by polylog factors.
F.1.3 Binomial Tail Bound
The main ingredients in the proof of Theorem F.1 will be the matrix Chernoff bound (Theorem A.4) and the following standard binomial tail bound.
Proposition F.2**.**
Let . For ,
[TABLE]
Proof.
We begin with the standard Binomial tail bound [AG89]
[TABLE]
for , where
[TABLE]
Since ,
[TABLE]
and the desired result follows. ∎
F.1.4 Proof
Proof of Theorem F.1.
We need to bound with high probability over a uniformly random -XOR formula . First, fix the subsets and consider the randomness of the signs . We can write as a Rademacher series
[TABLE]
where
[TABLE]
By the matrix Chernoff bound (Theorem A.4),
[TABLE]
where
[TABLE]
In particular,
[TABLE]
Now we will bound with high probability over the random choice of . We have
[TABLE]
where is the number of for which . This means . For fixed with , the number of sets with such that is and so with . Using the Binomial tail bound (Proposition F.2) and a union bound over ,
[TABLE]
Provided
[TABLE]
we have
[TABLE]
Let . From (37), to certify it suffices to have . Therefore, from (39), it suffices to have
[TABLE]
From (40), this will occur provided
[TABLE]
and
[TABLE]
Note that (42) is subsumed by (41). This completes the proof. ∎
F.2 Odd-Order Tensors
When the tensor order is odd, we have given an algorithm for tensor PCA based on the Kikuchi Hessian (see Appendix C) but are unfortunately unable to give a tight analysis of it. Here we present a related algorithm for which we are able to give a better analysis, matching SOS. The idea of the algorithm is to use a construction from the SOS literature that transforms an order- tensor (with odd) into an order- tensor via the Cauchy–Schwarz inequality [CGL04]. We then apply a variant of our symmetric difference matrix to the resulting even-order tensor. A similar construction was given independently in the recent work [Has19] and shown to give optimal performance for all for a certain constant . The proof we give here applies to the full range of values: . Our proof uses a certain variant of the matrix Bernstein inequality combined with some fairly simple moment calculations.
F.2.1 Setup
For simplicity, we consider the following version of the problem. Let be odd and let be an asymmetric tensor with i.i.d. Rademacher (uniform ) entries. Our goal is to certify an upper bound on the Rademacher injective norm, defined as
[TABLE]
The true value is with high probability. In time (where with ) we will certify the bound , matching the results of [BGG*+*16, BGL16]. Such certification results can be turned into recovery results using sum-of-squares; see Lemma 4.4 of [HSS15]. To certify a bound on the injective norm instead of the Rademacher injective norm (where is constrained to the sphere instead of the hypercube), one should use the basis-invariant version of the symmetric difference matrices given by [Has19] (but we do not do this here).
F.2.2 Algorithm
We will use a trick from [CGL04] which is often used in the sum-of-squares literature. For any , we have by the Cauchy–Schwarz inequality,
[TABLE]
where and where . We have and so . Let , i.e., . Define the matrix as follows. For ,
[TABLE]
where roughly means that is obtained from by replacing by , or by ; the formal definition is given below. Also, denotes the number of pairs for which .
Definition F.3**.**
For and , we write if there are distinct indices such that either: (i) and for all , the values in do not appear anywhere else in or , and are identical otherwise: for all ; or (ii) the same holds but with and interchanged. (Here denotes concatenation.)
Note that
[TABLE]
The above construction ensures that
[TABLE]
This means we can certify an upper bound on by computing :
[TABLE]
Theorem F.4**.**
Let be odd and let . Then certifies
[TABLE]
with probability at least over an i.i.d. Rademacher .
F.2.3 Proof
We will use the following variant of the matrix Bernstein inequality; this is a special case () of [Tro12], Theorem 6.2.
Theorem F.5** (Matrix Bernstein).**
Consider a finite sequence of independent random symmetric matrices. Suppose and for . Then
[TABLE]
For , let
[TABLE]
We will apply Theorem F.5 to the sum . Note that . To bound the moments , we will use the following basic fact.
Lemma F.6**.**
If is a symmetric matrix,
[TABLE]
Proof.
Let be the leading eigenvector of so that where . Normalize so that . Then and so
[TABLE]
∎
Proof of Theorem F.4.
For any fixed , we have by Lemma F.6,
[TABLE]
Let denote a “path” of the form
[TABLE]
such that , , and . Then we have
[TABLE]
Among tuples of the form and , each must occur an even number of times (or else the term associated with is [math]). There are such tuples, so there are ways to pair them up. Once is chosen, there are at most choices for , and the same is true for . Once are chosen, there are at most possible choices for . This means
[TABLE]
where is defined in (43). Since , we can apply Theorem F.5 with . This yields
[TABLE]
Let . Provided we have and so
[TABLE]
Thus with high probability we certify
[TABLE]
We have the following bound on :
[TABLE]
provided . Therefore we certify
[TABLE]
as desired.
∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[ABČ13] Antonio Auffinger, Gérard Ben Arous, and Jiří Černỳ. Random matrices and complexity of spin glasses. Communications on Pure and Applied Mathematics , 66(2):165–201, 2013.
- 2[ADGM 16] Anima Anandkumar, Yuan Deng, Rong Ge, and Hossein Mobahi. Homotopy analysis for tensor PCA. ar Xiv preprint ar Xiv:1610.09322 , 2016.
- 3[AG 89] Richard Arratia and Louis Gordon. Tutorial on large deviations for the binomial distribution. Bulletin of mathematical biology , 51(1):125–131, 1989.
- 4[AGH + 14] Animashree Anandkumar, Rong Ge, Daniel Hsu, Sham M Kakade, and Matus Telgarsky. Tensor decompositions for learning latent variable models. The Journal of Machine Learning Research , 15(1):2773–2832, 2014.
- 5[AGJ 17] Animashree Anandkumar, Rong Ge, and Majid Janzamin. Analyzing tensor power method dynamics in overcomplete regime. The Journal of Machine Learning Research , 18(1):752–791, 2017.
- 6[AGJ 18] Gerard Ben Arous, Reza Gheissari, and Aukosh Jagannath. Algorithmic thresholds for tensor PCA. ar Xiv preprint ar Xiv:1808.00921 , 2018.
- 7[AKS 98] Noga Alon, Michael Krivelevich, and Benny Sudakov. Finding a large hidden clique in a random graph. Random Structures & Algorithms , 13(3-4):457–466, 1998.
- 8[AOW 15] Sarah R Allen, Ryan O’Donnell, and David Witmer. How to refute a random CSP. In 2015 IEEE 56th Annual Symposium on Foundations of Computer Science , pages 689–708. IEEE, 2015.
