Computational Lower Bounds for Sparse PCA

Quentin Berthet, Philippe Rigollet

Introduction

The modern scientific landscape has been significantly transformed over the past decade by the apparition of massive datasets. From the statistical learning point of view, this transformation has led to a paradigm shift. Indeed, most novel methods consist in searching for sparse structure in datasets, whereas estimating parameters over this structure is now a fairly well understood problem. It turns out that most interesting structures have a combinatorial nature, often leading to computationally hard problems. This has led researchers to consider various numerical tricks, chiefly convex relaxations, to overcome this issue. While these new questions have led to fascinating interactions between learning and optimization, they do not always come with satisfactory answers from a statistical point of view. The main purpose of this paper is to study one example, namely sparse principal component detection, for which current notions of statistical optimality should also be shifted, along with the paradigm.

Sparse detection problems where one wants to detect the presence of a sparse structure in noisy data falls in this line of work. There has been recent interest in detection problems of the form signal-plus-noise, where the signal is a vector with combinatorial structure [ABBDL10, ACCP11, ACV13] or even a matrix [BI13, SN13, KBRS11, BKR+11]. The matrix detection problem was pushed beyond the signal-plus-noise model towards more complicated dependence structures [ACBL12, ACBL13, BR12]. One contribution of this paper is to extend these results to more general distributions.

For matrix problems, and in particular sparse principal component (PC) detection, some computationally efficient methods have been proposed, but they are not proven to achieve the optimal detection levels. [JL09, CMW12, Ma13] suggest heuristics for which detection levels are unknown and [BR12] prove suboptimal detection levels for a natural semidefinite relaxation developed in [dGJL07] and an even simpler, efficient, dual method called Minimum Dual Perturbation (MDP). More recently, [dBG12] developed another semidefinite relaxation for sparse PC detection that performs well only outside of the high-dimensional, low sparsity regime that we are interested in. Note that it follows from the results of [AW09] that the former semidefinite relaxation is optimal if it has a rank-one solution. Unfortunately, rank-one solutions can only be guaranteed at suboptimal detection levels. This literature hints at a potential cost for computational efficiency in the sparse PC detection problem.

Partial results were obtained in [BR12] who proved that their bound for MDP and SDP are unlikely to be improved, as otherwise they would lead to randomized polynomial time algorithms for instances of the planted clique problem that are believed to be hard. This result only focuses on a given testing method, but suggests the existence of an intrinsic gap between the optimal rates of detection and what is statistically achievable in polynomial time. Such phenomena are hinted at in [CJ13] but their these results focus on the behavior of upper bounds. Closer to our goal, is [SSST12] that exhibits a statistical price to pay for computational efficiency. In particular, their derive a computational theoretic lower bound using a much weaker conjecture than the hidden clique conjecture that we employ here, namely the existence of one-way permutations. This conjecture is widely accepted and is the basis of many cryptographic protocols. Unfortunately, the lower bound holds only for a synthetic classification problem that is somewhat tailored to this conjecture. It still remains to fully describe a theory, and to develop lower bounds on the statistical accuracy that is achievable in reasonable computational time for natural problems. This article aims to do so for a general sparse PC detection problem.

This paper is organized in the following way. The sparse PC detection problem is formally described in Section 2. Then, we show in Section 3 that our general detection framework is a natural extension of the existing literature, and that all the usual results for classical detection of sparse PC are still valid. Section 4 focuses on testing in polynomial time, where we study detection levels for the semidefinite relaxation developed of [dGJL07] (It trivially extends to the MDP statistic of [BR12]). These levels are shown to be unimprovable using computationally efficient methods in Section 5. This is achieved by introducing a new notion of optimality that takes into account computational efficiency. Practically, we reduce the planted clique problem, conjectured to be computationally hard already in an average-case sense (i.e. over most random instances) to obtaining better rates for sparse PC detection.

For a finite set SS, we denote by ∣S∣|S| its cardinality. We also write ASA_{S} for the ∣S∣×∣S∣|S|\times|S| submatrix with elements (Aij)i,j∈S(A_{ij})_{i,j\in S}, and vSv_{S} for the vector of R∣S∣\mathbf{R}^{|S|} with elements viv_{i} for i∈Si\in S. The vector 1\mathbf{1} denotes a vector with coordinates all equal to 11. If a vector has an index such as viv_{i}, then we use vi,jv_{i,j} to denote its jjth element.

The vectors eie_{i} and matrices EijE_{ij} are the elements of the canonical bases of Rd\mathbf{R}^{d} and Rd×d\mathbf{R}^{d\times d}. We also define Sd−1\mathcal{S}^{d-1} as the unit Euclidean sphere of Rd\mathbf{R}^{d} and SSd−1\mathcal{S}^{d-1}_{S} the set of vectors in Sd−1\mathcal{S}^{d-1} with support S⊂{1,…,d}S\subset\{1,\ldots,d\}. The identity matrix in Rd\mathbf{R}^{d} is denoted by IdI_{d}.

A Bernoulli random variable with parameter p∈p\in takes values 11 or 00 with probability pp and 1−p1-p respectively. A Rademacher random variable takes values 11 or −1-1 with probability 1/21/2. A binomial random variable, with distribution B(n,p)\mathcal{B}(n,p) is the sum of nn independent Bernoulli random variables with identical parameter pp. A hypergeometric random variable, with distribution H(N,k,n)\mathcal{H}(N,k,n) is the random number of successes in nn draws from a population of size NN among which are kk successes, without replacement. The total variation norm, noted ∥⋅∥TV\|\cdot\|_{\sf TV} has the usual definition.

The trace and rank functionals are denoted by Tr\mathbf{Tr} and rank\mathbf{rank} respectively and have their usual definition. We denote by TcT^{c} the complement of a set TT. Finally, for two real numbers aa and bb, we write a∧b=min⁡(a,b)a\wedge b=\min(a,b), a∨b=max⁡(a,b)a\vee b=\max(a,b), and a+=a∨0 a_{+}=a\vee 0\,.

Problem description

Let X∈RdX\in\mathbf{R}^{d} be a centered random vector with unknown distribution P\mathbf{P} that has finite second moment along every direction. The first principal component for XX is a direction v∈Sd−1v\in\mathcal{S}^{d-1} such that the variance V(v)=E[(v⊤X)2]{\sf V}(v)=\mathbf{E}[(v^{\top}X)^{2}] along direction vv is larger than in any other direction. If no such vv exists, the distribution of XX is said to be isotropic. The goal of sparse principal component detection is to test whether XX follows an isotropic distribution P0\mathbf{P}_{0} or a distribution Pv\mathbf{P}_{v} for which there exists a sparse v∈B0(k)v\in\mathcal{B}_{0}(k), k≪dk\ll d, along which the variance is large. Without loss of generality, we assume that under the isotropic distribution P0\mathbf{P}_{0}, all directions have unit variance and under Pv\mathbf{P}_{v}, the variance along vv is equal to 1+θ1+\theta for some positive θ\theta. Note that since vv has unit norm, θ\theta captures the signal strength.

To perform our test, we observe nn independent copies X1,…,XnX_{1},\ldots,X_{n} of XX. For any direction u∈Sd−1u\in\mathcal{S}^{d-1}, define the empirical variance along uu by

Such inequalities are satisfied if we assume that P0\mathbf{P}_{0} and Pv\mathbf{P}_{v} are sub-Gaussian distributions for example. Rather than specifying such an ad-hoc assumption, we define the following sets of distributions under which the fluctuations of V^n{\sf\widehat{V}}_{n} around V{\sf V} are of the same order as those of sub-Gaussian distributions. As a result, we formulate our testing problem on the unknown distribution P\mathbf{P} of XX as follows

Note that distributions in D0\mathcal{D}_{0} and D1k(θ)\mathcal{D}_{1}^{k}(\theta) are implicitly centered at zero.

We argue that interesting testing procedures should be robust and thus perform well uniformly over these distributions. In the rest of the paper, we focus on such procedures. The existing literature on sparse principal component testing, particularly in [BR12] and [ACBL12] focuses on multivariate normal distributions, yet only relies on the sub-Gaussian properties of the empirical variance along unit directions. Actually, all the distributional assumptions made in [VL12, ACBL12] and [BR12] are particular cases of these hypotheses. We will show that concentration of the empirical variance as in (1) and (2) is sufficient to derive the results that were obtained under the sub-Gaussian assumption.

Recall that a test for this problem is a family ψ={ψd,n,k}\psi=\{\psi_{d,n,k}\} of {0,1}\{0,1\}-valued measurable functions of the data (X1,…,Xn)(X_{1},\ldots,X_{n}). Our goal is to quantify the smallest signal strength θ>0\theta>0 for which there exists a test ψ\psi with maximum test error bounded by δ>0\delta>0, i.e.,

Note that the constant 0.490.49 is arbitrary and can be replaced by any constant C<0.5C<0.5.

Fix a set of parameters R⊂R0R\subset R_{0} in the sparse regime. Let T\mathcal{T} be a set of tests. A function θ∗\theta^{*} of (d,n,k)∈R(d,n,k)\in R is called optimal rate of detection over the class T\mathcal{T} if for any (d,n,k)∈R(d,n,k)\in R, it holds:

there exists a test ψ∈T\psi\in\mathcal{T} that discriminates between H0H_{0} and H1H_{1} at level cˉθ∗\bar{c}\theta^{*} for some constant cˉ>0\bar{c}>0, i.e., for any θ≥cˉθ∗\theta\geq\bar{c}\theta^{*}

In this case we say that ψ∈T\psi\in\mathcal{T} discriminates between H0H_{0} and H1H_{1} at rate θ∗\theta^{*}.

for any test ϕ∈T\phi\in\mathcal{T}, there exists a constant c‾ϕ>0\underline{c}_{\phi}>0 such that θ≤c‾ϕθ∗\theta\leq\underline{c}_{\phi}\theta^{*} implies

Moreover, if both (i) and (ii) hold, we say that ψ\psi is an optimal test over the class T\mathcal{T}.

This an adaptation of the usual notion of statistical optimality, when one is focusing on the class of measurable functions, for ψd,n,k:(X1,…,Xn)↦{0,1}\psi_{d,n,k}:(X_{1},\ldots,X_{n})\mapsto\{0,1\}, also known as minimax optimality [Tsy09]. In order to take into account the asymptotic nature of some classes of statistical tests (namely, those that are computationally efficient), we allow the constant c‾ϕ\underline{c}_{\phi} in (ii) to depend on the test.

Statistically optimal testing

We focus first on the traditional setting where T\mathcal{T} contains all sequences {ψd,n,k}\{\psi_{d,n,k}\} of tests.

Observe that V(u)=u⊤Σ u{\sf V}(u)=u^{\top}\Sigma\,u and V^n(u)=u⊤Σ^u{\sf\widehat{V}}_{n}(u)=u^{\top}\hat{\Sigma}u, for any u∈Sd−1u\in\mathcal{S}^{d-1}. Maximizing V^n(u){\sf\widehat{V}}_{n}(u) over B0(k)\mathcal{B}_{0}(k) gives the largest empirical variance along any kk-sparse direction. It is also known as the kk-sparse eigenvalue of Σ^\hat{\Sigma} defined by

The following theorem describes the performance of the test

Assume that (d,n,k)∈R0(d,n,k)\in R_{0} and define

Then, for θˉ<θ<1\bar{\theta}<\theta<1, the test ψ\psi defined in (5) with threshold τ=8klog⁡(6edkδ)n\tau=8\sqrt{\frac{k\log\big(\frac{6ed}{k\delta}\big)}{n}} , satisfies

Define τ1=7klog⁡(2/δ)/n\tau_{1}=7\sqrt{k\log(2/\delta)/n}. For P1∈D1k(θ)\mathbf{P}_{1}\in\mathcal{D}^{k}_{1}(\theta), by (2), and for P0∈D0\mathbf{P}_{0}\in\mathcal{D}_{0}, using Lemma 10, we get

To conclude the proof, observe that τ≤θˉ−τ1<θ−τ1\tau\leq\bar{\theta}-\tau_{1}<\theta-\tau_{1}. ∎The following lower bound follows directly from [BR12], Theorem 5.1 and holds already for Gaussian distributions.

For all ε>0\varepsilon>0, there exists a constant Cε>0C_{\varepsilon}>0 such that if

Theorems 2 and 3 imply the following result.

is the optimal rate of detection over the class of all tests.

Polynomial time testing

It is not hard to prove that approximating λmax⁡k(A)\lambda_{\max}^{k}(A) up to a factor of m1−ε,ε>0m^{1-\varepsilon},\varepsilon>0, for any symmetric matrix AA of size m×mm\times m and any k∈{1,…,m}k\in\{1,\ldots,m\} is NP-hard, by a trivial reduction to CLIQUE (see [Hås96, Hås99, Zuc06] for hardness of approximation of CLIQUE). Yet, our problem is not worst case and we need not consider any matrix AA. Rather, here, AA is a random matrix and we cannot directly apply the above results.

In this section, we look for a test with good statistical properties and that can be computed in polynomial time. Indeed, finding efficient statistical methods in high-dimension is critical. Specifically, we study a test based on a natural convex (semidefinite) relaxation of λmax⁡k(Σ^)\lambda_{\max}^{k}(\hat{\Sigma}) developed in [dGJL07].

For any A⪰0A\succeq 0 let SDPk(A)\mathsf{\mathop{SDP}}_{k}(A) be defined as the optimal value of the following semidefinite program:

This optimization problem can be reformulated as a semidefinite program in its canonical form with a polynomial number of constraints and can therefore be solved in polynomial time up to arbitrary precision using interior point methods for example [BV04]. Indeed, we can write

where SDPk(n)\mathsf{\mathop{SDP}}^{(n)}_{k} is a 1/n1/\sqrt{n}-approximation of SDPk\mathsf{\mathop{SDP}}_{k}. [BAd10] show that SDPk(n)\mathsf{\mathop{SDP}}^{(n)}_{k} can be computed in O(kd3nlog⁡d)\mathcal{O}(kd^{3}\sqrt{n\log d}) elementary operations and thus in polynomial time.

For all δ>0\delta>0, P0∈D0,P1∈D1k(θ)\mathbf{P}_{0}\in\mathcal{D}_{0},\mathbf{P}_{1}\in\mathcal{D}^{k}_{1}(\theta), by Lemma 11 and Lemma 10, since SDPk(Σ^)≥λmax⁡k(Σ^)\mathsf{\mathop{SDP}}_{k}(\hat{\Sigma})\geq\lambda_{\max}^{k}(\hat{\Sigma}), it holds

Clearly, this theorem, together with Theorem 3, indicate that the test based on SDP\mathsf{\mathop{SDP}} may be suboptimal within the class of all tests. However, as we will see in the next section, it can be proved to be optimal in a restricted class of computationally efficient tests.

Complexity theoretic lower bounds

In this section, we show that it is true not only of the test based on SDP but of any test computable in randomized polynomial time.

The upper bound of Theorem 5, if tight, seems to indicate that there is a gap between the detection levels that can be achieved by any test, and those that can be achieved by methods that run in polynomial time. In other words, it indicates a potential statistical cost for computational efficiency. To study this phenomenon, we take the approach favored in theoretical computer science, where our primary goal is to classify problems, rather than algorithms, according to their computational hardness. Indeed, this approach is better aligned with our definition of optimal rate of detection where lower bounds should hold for any tests. Unfortunately, it is difficult to derive a lower bound on the performance of any candidate algorithm to solve a given problem. Rather, theoretical computer scientists have developed reductions from problem A to problem B with the following consequence: if problem B can be solved in polynomial time, then so can problem A. Therefore, if problem A is believed to be hard then so is problem B. Note that our reduction requires extra bits of randomness and is therefore a randomized polynomial time reduction.

This question needs to be formulated from a statistical detection point of view. As mentioned above, λmax⁡k\lambda_{\max}^{k} can be proved to be NP-hard to approximate. Nevertheless, such worst case results are not sufficient to prove negative results on our average case problem. Indeed, the matrix is Σ^\hat{\Sigma} is random and we only need to be able to approximate λmax⁡k(Σ^)\lambda_{\max}^{k}(\hat{\Sigma}) up to constant factor on most realizations. In some cases, this small nuance can make a huge difference, as problems can be hard in the worst case but easy in average (see, e.g., [Bop87] for an illustration on Graph Bisection). In order to prove a complexity theoretic lower bound on the sparse principal component detection problem, we will build a reduction from a notoriously hard detection problem: the planted clique problem.

2 The Planted Clique problem

Fix m≥κ>2m\geq\kappa>2. Let Planted Clique denote the following statistical hypothesis testing problem:

The search version of this problem [Jer92, Kuč95], consists in finding the clique planted under H1PCH_{1}^{\sf PC}. The decision version that we consider here is traditionally attributed to Saks [KV02, HK11]. It is known [Spe94] that if κ>2log⁡2(m)\kappa>2\log_{2}(m), the planted clique is the only clique of size κ\kappa in the graph, asymptotically almost surely (a.a.s.). Therefore, a test based on the largest clique of GG allows to distinguish H0PCH_{0}^{\sf PC} and H1PCH_{1}^{\sf PC} for κ>2log⁡2(m)\kappa>2\log_{2}(m), a.a.s. This is clearly not a computationally efficient test.

For κ=o(m)\kappa=o(\sqrt{m}) there is no known polynomial time algorithm that solves this problem. Polynomial time algorithms for the case κ=Cm\kappa=C\sqrt{m} were first proposed in [AKS98], and subsequently in [McS01, AV11, DGGP10, FR10, FK00]. It is widely believed that there is no polynomial time algorithm that solves Planted Clique for any κ\kappa of order mcm^{c} for some fixed positive c<1/2c<1/2. Recent research has been focused on proving that certain algorithmic techniques, such as the Metropolis process [Jer92] and the Lovàsz-Schrijver hierarchy of relaxations [FK03] fail at this task. The confidence in the difficulty of this problem is so strong that it has led researchers to prove impossibility results assuming that Planted Clique is indeed hard. Examples include cryptographic applications, in [JP00], testing for kk-wise dependence in [AAK+07], approximating Nash equilibria in [HK11] and approximating solutions to the densest κ\kappa-subgraph problem by [AAM+11].

We therefore make the following assumption on the planted clique problem. Recall that δ\delta is a confidence level fixed throughout the paper.

For any a,b∈(0,1),a<ba,b\in(0,1),a<b and all randomized polynomial time tests ξ={ξm,κ}\xi=\{\xi_{m,\kappa}\}, there exists a positive constant Γ\Gamma that may depend on ξ,a,b\xi,a,b and such that

Note that 1.2δ<1/21.2\delta<1/2 can be replaced by any constant arbitrary close to 1/21/2. Since κ\kappa is polynomial in mm, here a randomized polynomial time test is a test that can be computed in time at most polynomial in mm and has access to extra bits of randomness. The fact that Γ\Gamma may depend on ξ\xi is due to the asymptotic nature of polynomial time algorithms. Below is an equivalent formulation of Hypothesis 5.2.

For any a,b∈(0,1),a<ba,b\in(0,1),a<b and all randomized polynomial time tests ξ={ξm,κ}\xi=\{\xi_{m,\kappa}\}, there exists m0≥1m_{0}\geq 1 that may depend on ξ,a,b\xi,a,b and such that

Note that we do not specify a computational model intentionally. Indeed, for some restricted computational models, Hypothesis 5.2 can be proved to be true for all a<b∈(0,1)a<b\in(0,1) [Ros10, FGR+13]. Moreover, for more powerful computational models such as Turing machines, this hypothesis is conjectured to be true. It was shown in [BR12] that improving the detection level of the test based on SDP would lead to a contradiction of Hypothesis 5.2 for some b∈(2/3,1)b\in(2/3,1). Herefater, we extend this result to all randomized polynomial time algorithms, not only those based on SDP.

3 Randomized polynomial time reduction

Our main result is based on a randomized polynomial time reduction of an instance of the planted clique problem to an instance of the sparse PC detection problem. In this section, we describe this reduction and call it the bottom-left transformation. For any μ∈(0,1)\mu\in(0,1), define

The condition k≥nμk\geq n^{\mu} is necessary since “polynomial time” is an intrinsically asymptotic notion and for fixed kk, computing λmax⁡k\lambda_{\max}^{k} takes polynomial time in nn. The condition n<dn<d is an artifact of our reduction and could potentially be improved. Nevertheless, it characterizes the high-dimensional setup we are interested in and allows us to shorten the presentation.

Let BB denote the d×nd\times n adjacency matrix of V′V^{\prime} and let η1,…,ηn\eta_{1},\ldots,\eta_{n} be nn i.i.d Rademacher random variables that are independent of all previous random variables. Define

Note that bl(G){\sf bl}(G) can be constructed in randomized polynomial time in d,n,k,κ,md,n,k,\kappa,m.

4 Optimal detection over randomized polynomial time tests

For any α∈\alpha\in, define the detection level θα>0\theta_{\alpha}>0 by θα=kαn .\theta_{\alpha}=\sqrt{\frac{k^{\alpha}}{n}}\,.

Fix α∈[1,2),μ∈(0,14−α)\alpha\in[1,2),\mu\in(0,\frac{1}{4-\alpha}) and define

where ξm,κ=ψd,n,k∘bld,n,k,m,κ\xi_{m,\kappa}=\psi_{d,n,k}\circ{\sf bl}_{d,n,k,m,\kappa}.

Fix (d,n,k)∈Rμ,α∈[1,2)(d,n,k)\in R_{\mu},\alpha\in[1,2). First, if GG is an Erdős-Rényi graph, bl(G)=(X1(G),…,Xn(G)){\sf bl}(G)=\big(X_{1}^{(G)},\ldots,X_{n}^{(G)}\big) is an array of nn i.i.d. vectors of dd independent Rademacher random variables. Therefore X1(G)∼P0bl(G)∈D0X_{1}^{(G)}\sim\mathbf{P}_{0}^{{\sf bl}(G)}\in\mathcal{D}_{0}.

Second, if GG has a planted clique of size κ\kappa, let Pbl(G)\mathbf{P}^{{\sf bl}(G)} denote the joint distribution of bl(G){\sf bl}(G). The choices of κ\kappa and mm depend on the relative size of kk and nn. Our proof relies on the following lemma.

Fix β>0\beta>0 and integers m,κ,n,km,\kappa,n,k such that 1≤n≤m1\leq n\leq m, 2≤k≤κ≤m2\leq k\leq\kappa\leq m,

Let G∼G(2m,1/2,κ)G\sim\mathcal{G}(2m,1/2,\kappa) and bl(G)=(X1(G),…,Xn(G))∈Rd×n{\sf bl}(G)=\big(X_{1}^{(G)},\ldots,X_{n}^{(G)}\big)\in\mathbf{R}^{d\times n} be defined in (8). Denote by P1bl(G)\mathbf{P}_{1}^{{\sf bl}(G)} the distribution of bl(G){\sf bl}(G). Then, there exists a distribution P1∈D1k(θˉ)\mathbf{P}_{1}\in\mathcal{D}_{1}^{k}(\bar{\theta}) such that

Let S⊂{1,…,n}S\subset\{1,\ldots,n\} (resp. T⊂{1,…,d}T\subset\{1,\ldots,d\}) denote the (random) right (resp. left) vertices of V′V^{\prime} that are in the planted biclique.

On the one hand, if i∉Si\notin S, i.e., if εi′=0\varepsilon^{\prime}_{i}=0, then Xi(G)X^{(G)}_{i} is a vector of independent Rademacher random variables. On the other hand, if i∈Si\in S, i.e., if εi′=1\varepsilon^{\prime}_{i}=1 then, for any j=1,…,dj=1,\ldots,d,

where r={rij}ijr=\{r_{ij}\}_{ij} is a n×dn\times d matrix of i.i.d Rademacher random variables.

where Yi′=(Yi,1′,…,Yi,d′)⊤Y_{i}^{\prime}=(Y_{i,1}^{\prime},\ldots,Y_{i,d}^{\prime})^{\top} and ri⊤r_{i}^{\top} is the iith row of rr.

Note that the εi′\varepsilon_{i}^{\prime}s are not independent. Indeed, they correspond to nn draws without replacement from an urn that contains 2m2m balls (vertices) among which κ\kappa are of type 11 (in the planted clique) and the rest are of type 00 (outside of the planted clique). Denote by pε′\mathbf{p}_{\varepsilon^{\prime}} the joint distribution of ε′=(ε1′,…,εn′)\varepsilon^{\prime}=(\varepsilon_{1}^{\prime},\ldots,\varepsilon_{n}^{\prime}) and define their “with replacement” counterparts as follows. Let ε1,…,εn\varepsilon_{1},\ldots,\varepsilon_{n} be nn i.i.d. Bernoulli random variables with parameter p=κ2m≤12p=\frac{\kappa}{2m}\leq\frac{1}{2}. Denote by pε\mathbf{p}_{\varepsilon} the joint distribution of ε=(ε1,…,εn)\varepsilon=(\varepsilon_{1},\ldots,\varepsilon_{n}).

We also replace the distribution of the γj′\gamma^{\prime}_{j}s as follows. Let γ=(γ1,…,γn)\gamma=(\gamma_{1},\ldots,\gamma_{n}) have conditional distribution given ε\varepsilon be given by

where Yi∈RdY_{i}\in\mathbf{R}^{d} has coordinates given by

With this construction, the XiX_{i}s are iid. Moreover, as we will see, the joint distribution P1bl(G)\mathbf{P}_{1}^{{\sf bl}(G)} of bl(G)=(X1(G),…,Xn(G)){\sf bl}(G)=\big(X_{1}^{(G)},\ldots,X_{n}^{(G)}\big) is close in total variation to the joint distribution P1⊗n\mathbf{P}_{1}^{\otimes n} of (X1,…,Xn)\big(X_{1},\ldots,X_{n}\big).

Note first that Markov’s inequality yields

Moreover, given ∑i=1nεi=s\sum_{i=1}^{n}\varepsilon_{i}=s, we have ∑i=1dγi≥U∼H(2m−n,κ−s,n)\sum_{i=1}^{d}\gamma_{i}\geq U\sim\mathcal{H}(2m-n,\kappa-s,n). It follows from [DF80], Theorem (4)(4) that

Together with the Chernoff-Okamoto inequality [Dud99], Equation (1.3.10), it yields

Combined with (11) and view of (10)(b,c)(b,c), it implies that with probability 1−6n/m1-6n/m, it holds

Denote by p\mathbf{p} the joint distribution of (ε1,…,εn,γ1,…,γd)(\varepsilon_{1},\ldots,\varepsilon_{n},\gamma_{1},\ldots,\gamma_{d}) and by p′\mathbf{p}^{\prime} that of (ε1′,…,εn′,γ1′,…,γd′)(\varepsilon^{\prime}_{1},\ldots,\varepsilon^{\prime}_{n},\gamma^{\prime}_{1},\ldots,\gamma^{\prime}_{d}). Using again [DF80], Theorem (4)(4) and (10)(a), we get

Since the conditional distribution of (X1,…,Xn)\big(X_{1},\ldots,X_{n}\big) given (ε,γ)(\varepsilon,\gamma) is the same as that of bl(G){\sf bl}(G) given (ε′,γ′)(\varepsilon^{\prime},\gamma^{\prime}), we have

It remains to prove that P1∈D1k(θˉ)\mathbf{P}_{1}\in\mathcal{D}_{1}^{k}(\bar{\theta}). Fix ν>0\nu>0 and define Z∈B0(k)Z\in\mathcal{B}_{0}(k) by

Denote by SZ⊂{1,…,d}S_{Z}\subset\{1,\ldots,d\}, the support of ZZ. Next, observe that for any x,θ>0x,\theta>0, it holds

Therefore, since ZZ is independent of the rijr_{ij}s, the following equality holds in distribution:

Moreover, it follows from the Chernoff-Okamoto inequality [Dud99], Equation (1.3.10), that with probability at least 1−ν/21-\nu/2, it holds

Put together, the above two displays imply that with probability 1−ν1-\nu, it holds

Together with (13), this completes the proof. ∎

Define N=⌈40/δ⌉N=\lceil 40/\delta\rceil. Assume first that k≥M−1n14−αk\geq M^{-1}n^{\frac{1}{4-\alpha}} where M>0M>0 is a constant to be chosen large enough (see below). Take κ=max⁡(8,Mlog⁡(N))Nk ,m=Nn.\kappa=\max\big(8,M\log(N)\big)Nk\,,m=Nn. It implies that

Moreover, under these conditions, it is easy to check that (10) is satisfied with β=1/5\beta=1/5 since and we are therefore in a position to apply Lemma 8. It implies that there exists P1∈D1k(θˉ)\mathbf{P}_{1}\in\mathcal{D}_{1}^{k}(\bar{\theta}) such that ∥P1bl(G)−P1⊗n∥TV≤δ/5 .\big\|\mathbf{P}_{1}^{{\sf bl}(G)}-\mathbf{P}_{1}^{\otimes n}\big\|_{\sf TV}\leq\delta/5\,.

Assume now that k<M−1n14−αk<M^{-1}n^{\frac{1}{4-\alpha}}. Take m,κ≥2m,\kappa\geq 2 to be the largest integers such that

Note that Γκ≥(2m)a2\Gamma\kappa\geq(2m)^{\frac{a}{2}}. Let us now check condition (10). It holds, for MM large enough,

Under these conditions, (10) is satisfied with β=1/5\beta=1/5 and we are therefore in a position to apply Lemma 8. It implies that there exists P1∈D1k(θˉ)\mathbf{P}_{1}\in\mathcal{D}_{1}^{k}(\bar{\theta}) such that ∥P1bl(G)−P1⊗n∥TV≤δ/5 ,\big\|\mathbf{P}_{1}^{{\sf bl}(G)}-\mathbf{P}_{1}^{\otimes n}\big\|_{\sf TV}\leq\delta/5\,, where θˉ:=(k−1)κ2m≥18Γ(4N)b2kαn\bar{\theta}:=\frac{(k-1)\kappa}{2m}\geq\frac{1}{8\Gamma(4N)^{\frac{b}{2}}}\sqrt{\frac{k^{\alpha}}{n}}, taking L=min⁡(14Mα−1,18Γ(4N)b2) ,L=\min\Big(\frac{1}{4M^{\alpha-1}},\frac{1}{8\Gamma(4N)^{\frac{b}{2}}}\Big)\,, yields that P1∈D1k(Lθα)\mathbf{P}_{1}\in\mathcal{D}_{1}^{k}(L\theta_{\alpha}) for any (d,n,k)∈Rμ(d,n,k)\in R_{\mu}. Moreover,

∎Theorems 5 and 7 imply the following result.

Fix α∈[1,2),μ∈(0,14−α)\alpha\in[1,2),\mu\in(0,\frac{1}{4-\alpha}). Conditionally on Hypothesis 5.2, the optimal rate of detection θ∘\theta^{\circ} over the class of randomized polynomial time tests satisfies

Let T\mathcal{T} denote the class of randomized polynomial time tests. Since bl{\sf bl} can be computed in randomized polynomial time, ψ∈T\psi\in\mathcal{T} implies that ξ=ψ∘bl∈T\xi=\psi\circ{\sf bl}\in\mathcal{T}. Therefore, for all (d,n,k)∈Rμ(d,n,k)\in R_{\mu},

where the last inequality follows from Hypothesis 5.2 with a,ba,b as in (9). Therefore θ∘≥θα\theta^{\circ}\geq\theta_{\alpha}. The upper bound follows from Theorem 5. ∎

The gap between θ∘\theta^{\circ} and θ∗\theta^{*} in Corollary 4 indicates that the price to pay for using randomized polynomial time tests for the sparse detection problem is essentially of order k\sqrt{k}.

Acknowledgments: Philippe Rigollet is partially supported by the National Science Foundation grants DMS-0906424 and DMS-1053987. Quentin Berthet is partially supported by a Gordon S. Wu fellowship.

References

A Technical lemmas

For all P0∈D0\mathbf{P}_{0}\in\mathcal{D}_{0}, and t>0t>0, it holds

We define the following events, for all S⊂{1,…,d}S\subset\{1,\ldots,d\}, u∈Rpu\in\mathbf{R}^{p}, and t>0t>0

By union on all sets of cardinal kk, it holds

Furthermore, let NS\mathcal{N}_{S}, be a minimal covering 1/41/4-net of SS\mathcal{S}^{S}, the set of unit vectors with support included in SS. It is a classical result that ∣NS∣≤9k|\mathcal{N}_{S}|\leq 9^{k} as shown in [Ver10] and that it holds

By definition of D0\mathcal{D}_{0}, P0(Au)≤e−t\mathbf{P}_{0}(A_{u})\leq e^{-t} for ∣u∣2=1|u|_{2}=1. The classical inequality (dk)≤(edk)k{d\choose k}\leq\big(\frac{ed}{k}\big)^{k} yields the desired result. ∎

For all P0∈D0\mathbf{P}_{0}\in\mathcal{D}_{0}, and δ>0\delta>0, it holds

We decompose Σ^\hat{\Sigma} as the sum of its diagonal and off-diagonal matrices, respectively Δ^\hat{\Delta} and Ψ^\hat{\Psi}. Taking U=−Ψ^U=-\hat{\Psi} in the dual formulation of the semidefinite program [BAd10, BR12] yields

We first control the largest off-diagonal element of Σ^\hat{\Sigma} by bounding ∣Ψ^∣∞|\hat{\Psi}|_{\infty} with high probability. For every i≠ji\neq j, we have

By definition of D0\mathcal{D}_{0}, it holds for t>0t>0 that

Hence, by union bound on the off-diagonal terms, we get

Taking t=log⁡(4p2/δ)t=\log(4p^{2}/\delta) yields that under P0\mathbf{P}_{0} with probability 1−δ/21-\delta/2,

We control the largest diagonal element of Σ^\hat{\Sigma} as follows. We have by definition of Δ^\hat{\Delta}, for all ii

Similarly, by union bound over the pp diagonal terms, it holds

Taking t=log⁡(2p/δ)t=\log(2p/\delta) yields, under P0\mathbf{P}_{0} with probability 1−δ/21-\delta/2,

The desired result is obtained by plugging (15) and (16) into (14). ∎