Simultaneous analysis of Lasso and Dantzig selector
Peter J. Bickel, Ya'acov Ritov, Alexandre B. Tsybakov
Introduction
Let us specialize to the case of linear regression with many covariates, \mbox{\boldmathy}=X\beta+\mbox{\boldmathw} where is the deterministic design matrix, with possibly much larger than , and is a vector of i.i.d. standard normal random variables. This is the situation considered most recently by Candes and Tao ct07 and Meinshausen and Yu my06. Here sparsity specifies that the high-dimensional vector has coefficients that are mostly 0.
In the nonparametric regression model, we prove sparsity oracle inequalities for the Dantzig selector, that is, bounds on the prediction loss in terms of the best possible (oracle) approximation under the sparsity constraint.
Similar sparsity oracle inequalities are proved for the Lasso in the nonparametric regression model, and this is done under more general assumptions on the design matrix than in btw07.
We prove that, for nonparametric regression, the Lasso and the Dantzig selector are approximately equivalent in terms of the prediction loss.
We begin, in the next section, by defining the Lasso and Dantzig procedures and the notation. In Section 3 we present our key geometric assumptions. Some sufficient conditions for these assumptions are given in Section 4, where they are also compared to those of ct07 and my06 as well as to ones appearing in btw07 and btw06b. We note a weakness of our assumptions, and hence of those in the papers we cited, and we discuss a way of slightly remedying them. Sections 5, 6 give some equivalence results and sparsity oracle inequalities for the Lasso and Dantzig estimators in the general nonparametric regression model. Section 7 focuses on the linear regression model and includes a final discussion. Two important technical lemmas are given in Appendix B as well as most of the proofs.
Definitions and notation
Let be a sample of independent random pairs with
Depending on the statistical targets, the dictionary can contain qualitatively different parts. For instance, it can be a collection of basis functions used to approximate in the nonparametric regression model (e.g., wavelets, splines with fixed knots, step functions). Another example is related to the aggregation problem where the are estimators arising from different methods. They can also correspond to different values of the tuning parameter of the same method. Without much loss of generality, these estimators are treated as fixed functions: the results are viewed as being conditioned on the sample the are based on.
The selection of the dictionary can be very important to make the estimation of possible. We assume implicitly that can be well approximated by a member of the span of . However this is not enough. In this paper, we have in mind the situation where , and can be estimated reasonably only because it can approximated by a linear combination of a small number of members of , or in other words, it has a sparse approximation in the span of . But when sparsity is an issue, equivalent bases can have different properties: a function which has a sparse representation in one basis may not have it in another one, even if both of them span the same linear space.
Consider the matrix , , and the vectors \mbox{\boldmathy}=(Y_{1},\dots,Y_{n})^{T}, {\mbox{\boldmathf}}=(f(Z_{1}),\dots,f(Z_{n}))^{T}, \mbox{\boldmathw}=(W_{1},\dots,W_{n})^{T}. With this notation,
where is some tuning constant, and introduce the corresponding Lasso estimator
The criterion in (2.1) is convex in , so that standard convex optimization procedures can be used to compute . We refer to os00a; os00b; ehjt04; t05; fjht07; mvb08 for detailed discussion of these optimization problems and fast algorithms.
A necessary and sufficient condition of the minimizer in (2.1) is that 0 belongs to the subdifferential of the convex function . This implies that the Lasso selector satisfies the constraint:
where is the Dantzig selector. By the definition of Dantzig selector, we have .
The Dantzig selector is computationally feasible, since it reduces to a linear programming problem ct07.
Finally for any , , we consider the Gram matrix
and let denote the maximal eigenvalue of .
Restricted eigenvalue assumptions
We now introduce the key assumptions on the Gram matrix that are needed to guarantee nice statistical properties of Lasso and Dantzig selector. Under the sparsity scenario we are typically interested in the case where , and even . Then the matrix is degenerate, which can be written as
Clearly, ordinary least squares does not work in this case, since it requires positive definiteness of , i.e.
One of the properties of both the Lasso and the Dantzig selector is that, for the linear regression model, the residuals \mbox{\boldmath\delta}=\hat{\beta}_{L}-\beta and \mbox{\boldmath\delta}=\hat{\beta}_{D}-\beta satisfy, with probability close to 1,
where is the set of non-zero coefficients of the true parameter of the model. For the linear regression model, the vector of Dantzig residuals satisfies (3.2) with probability close 1 if and is large (cf. (B.9) and the fact that of the model satisfies the Dantzig constraint with probability close 1 if is large). A similar inequality holds for the vector of Lasso residuals \mbox{\boldmath\delta}=\widehat{\beta}_{L}-\beta, but this time with , cf. Corollary B.2.
Now, consider for example, the case where the elements of the Gram matrix are close to those of a positive definite matrix . Denote by the maximal difference between the elements of the two matrices. Then for any satisfying (3.2) we get
Thus, for satisfying (3.2) which are the vectors that we have in mind, and for small enough, the LHS of (3.3) is bounded away from 0. It means that we have a kind of “restricted” positive definiteness which is valid only for the vectors satisfying (3.2). This suggests the following conditions that will suffice for the main argument of the paper. We refer to these conditions as restricted eigenvalue (RE) assumptions.
For some integer such that , and a positive number the following condition holds:
The integer here plays the role of an upper bound on the sparsity of a vector of coefficients .
Note that if Assumption is satisfied with , then
In words, the square submatrices of size of the Gram matrix are necessarily positive definite. Indeed, suppose that for some \mbox{\boldmath\delta}\neq 0 we have simultaneously {\cal M}(\mbox{\boldmath\delta})\leq 2s and X\mbox{\boldmath\delta}=0. Partition J(\mbox{\boldmath\delta}) in two sets: J(\mbox{\boldmath\delta})=I_{0}\cup I_{1}, such that , . Without loss of generality, suppose that |\mbox{\boldmath\delta}_{I_{1}}|_{1}\leq|\mbox{\boldmath\delta}_{I_{0}}|_{1}. Since, clearly, |\mbox{\boldmath\delta}_{I_{1}}|_{1}=|\mbox{\boldmath\delta}_{I_{0}^{c}}|_{1} and , we have |\mbox{\boldmath\delta}_{I_{0}^{c}}|_{1}\leq c_{0}|\mbox{\boldmath\delta}_{I_{0}}|_{1}. Hence , a contradiction.
Note also that Assumptions and imply Assumptions and respectively if .
Discussion of the RE assumptions
There exist several simple sufficient conditions for Assumptions and to hold. Here we discuss some of them.
For a real number we introduce the following quantities that we will call restricted eigenvalues:
Denote by the submatrix of obtained by removing from the columns that do not correspond to the indices in , and for introduce the following quantities called restricted correlations:
In Lemma 4.1 below we show that a sufficient condition for and to hold is given, for example, by the following assumption on the Gram matrix.
for some integer and a constant .
This condition with appeared in ct07, in connection with the Dantzig selector. Assumption 1 is more general: we can have here an arbitrary constant which will allow us to cover not only the Dantzig selector but also the Lasso estimators, and to prove oracle inequalities for the prediction loss when the model is nonparametric.
Our second sufficient condition for and does not need bounds on correlations. Only bounds on the minimal and maximal eigenvalues of “small” submatrices of the Gram matrix are involved.
for some integers such that , , and , and a constat .
Assumption 2 can be viewed as a weakening of the condition on in my06. Indeed, taking (we assume w.l.o.g. that is an integer and ) and assuming that is uniformly bounded by a constant we get that Assumption 2 is equivalent to
where is a constant. The corresponding slightly stronger assumption in my06 is stated in asymptotic form (for ):
The following two constants are useful when Assumptions 1 and 2 are considered:
The next lemma shows that if Assumptions 1 or 2 are satisfied, then the quadratic form is positive definite on some restricted sets of vectors . The construction of the lemma is inspired by Candes and Tao ct07 and covers, in particular, the corresponding result in ct07.
Fix an integer and a constant .
The proof of the lemma is given in Appendix A.
There exist other sufficient conditions for Assumptions and to hold. We mention here three of them implying Assumption . The first one is the following b07.
Assumption 3. For an integer such that we have
To argue that Assumption 3 implies it suffices to remark that
Another type of assumption related to “mutual coherence” det04 is discussed in the connection to Lasso in btw07; btw06b. We state it in two different forms given below.
Assumption 4. For an integer such that we have
It is easy to see that Assumption 4 implies . Indeed, if (4.1) holds,
If all the diagonal elements of matrix are equal to 1 (and thus coincides with the mutual coherence det04), a simple sufficient condition for Assumption to hold is stated as follows.
Assumption 5. All the diagonal elements of the Gram matrix are equal to 1 and for an integer such that we have
In fact, separating the diagonal and off-diagonal terms of the quadratic form we get
Combining this inequality with (4.2) we see that Assumption is satisfied whenever (4.3) holds.
Unfortunately, Assumption has some weakness. Let, for example, , , be the Haar wavelet basis on $M=2^{m}Z_{i}=i/ni=1,\dots,nM\gg n\phi_{\min}(1)=0f_{j}M^{-1}Z_{i}f_{j}(t)=I_{\{t
Approximate equivalence
In this section we prove a type of approximate equivalence between the Lasso and the Dantzig selector. It is expressed as closeness of the prediction losses and when the number of non-zero components of the Lasso or the Dantzig selector is small as compared to the sample size.
Let be independent random variables with . Fix , . Let Assumption be satisfied with . Consider the Dantzig estimator defined by (2.5) – (2.4) with
where , and the Lasso estimator defined by (2.1) – (2.2) with the same .
If , then with probability at least we have
Note that the RHS of (5.1) is bounded by a product of three factors (and a numerical constant which, unfortunately, equals at least 128). The first factor, , corresponds to the error rate for prediction in regression with parameters. The two other factors, and , can be regarded as a price to pay for the large number of regressors. If the Gram matrix equals the identity matrix (the white noise model), then there is only the factor. In the general case, there is another factor, representing the extent to which the Gram matrix is ill-posed for estimation of sparse vectors.
We also have the following result that we state for simplicity under the assumption that . It gives a bound in the spirit of Theorem 5.1 but with rather than on the right hand side.
Let the assumptions of Theorem 5.1 hold, but with in place of , and let . If , then with probability at least we have
Remark. The approximate equivalence is essentially that of the rates as Theorem 5.1 exhibits. A statement free of holds for linear regression, see discussion after Theorem 7.2 and Theorem 7.3 below.
Oracle inequalities for prediction loss
Here we prove sparsity oracle inequalities for the prediction loss of Lasso and Dantzig estimators. These inequalities allow us to bound the difference between the prediction errors of the estimators and the best sparse approximation of the regression function (by an oracle that knows the truth, but is constrained by sparsity). The results of this section, together with those of Section 5, show that the distance between the prediction losses of Dantzig and Lasso estimators is of the same order as the distances between them and their oracle approximations.
A general discussion of sparsity oracle inequalities can be found in t06. Such inequalities have been recently obtained for the Lasso type estimators in a number of settings btw04; btw06a; btw07; btw06b; btw07a; k06; vdg06. In particular, the regression model with fixed design that we study here is considered in btw04; btw06a; btw07. The assumptions on the Gram matrix in btw04; btw06a; btw07 are more restrictive than ours: in those papers either is positive definite or a mutual coherence condition similar to (4.3) is imposed.
Let be independent random variables with . Fix some and integers , , . Let Assumption be satisfied. Consider the Lasso estimator defined by (2.1) – (2.2) with
for some . Then, with probability at least , we have
where , and is a constant depending only on .
We now state as a corollary a softer version of Theorem 6.1 that can be used to eliminate the pathologies mentioned at the end of Section 4. For this purpose we define
In similar way, we define and corresponding to Assumption .
Let , and the Lasso estimator be the same as in Theorem 6.1. Then, for all , , and , with probability at least we have
where .
To obtain this corollary it suffices to observe that the proof of Theorem 6.1 goes through if we drop Assumption but we assume instead that and we replace by .
Let be independent random variables with . Fix some and integers , . Let obey the weak sparsity assumption for some and some such that where
and , are the constants in Theorem 6.1. Suppose further that Assumption is satisfied. Consider the Dantzig estimator defined by (2.5) – (2.4) with
and . Then, with probability at least , we have
Here and .
Special case: parametric estimation in linear regression
In this section we assume that the vector of observations \mbox{\boldmathy}=(Y_{1},\dots,Y_{n})^{T} is of the form
We consider dimension that can be of order and even much larger. Then is, in general, not uniquely defined. For , if (7.1) is satisfied for there exists an affine space of vectors satisfying (7.1). The results of this section are valid for any such that (7.1) holds. However, we will suppose that Assumption holds with and that . Then the set reduces to a single element (cf. Remark 2 at the end of this section). In this sense, there is a unique sparse solution of (7.1).
Our goal in this section, unlike that of the previous ones, is to estimate both for the purpose of prediction and itself for purpose of model selection. We will see that meaningful results are obtained when the sparsity index is small.
It will be assumed throughout this section that the diagonal elements of the Gram matrix are all equal to 1 (this is equivalent to the condition in the notation of previous sections). Then the Lasso estimator of in (7.1) is defined by
The correspondence between the notation here and that of the previous sections is the following:
The Dantzig selector for linear model (7.1) is defined by
is the set of all satisfying the Dantzig constraint.
We first get bounds on the rate of convergence of Dantzig selector.
Let be independent random variables with , let all the diagonal elements of the matrix be equal to 1, and , where , , . Let Assumption be satisfied. Consider the Dantzig selector defined by (7.3) with
and . Then, with probability at least , we have
If Assumption is satisfied, then with the same probability as above, simultaneously for all we have
Note that, since , the factor in curly brackets in (7.6) is bounded by a constant independent of and . Under Assumption 1 in Section 4 with (which is less general than , cf. Lemma 4.1(i)) a bound of the form (7.6) for the case is established by Candes and Tao ct07.
Bounds on the rate of convergence of the Lasso selector are quite similar to those obtained in Theorem 7.1. They are given by the following result.
Let be independent random variables with . Let all the diagonal elements of the matrix be equal to 1, and where , , . Let Assumption be satisfied. Consider the Lasso estimator defined by (7.2) with
and . Then, with probability at least , we have
If Assumption is satisfied, then with the same probability as above, simultaneously for all we have
Inequalities of the form similar to (7.7) and (7.8) can be deduced from the results of btw06a under more restrictive conditions on the Gram matrix (the mutual coherence assumption, cf. Assumption 5 of Section 4).
Assumptions respectively can be dropped in Theorem 7.1 and 7.2 if we assume with or as appropriate. Then (7.4), (7.5) or respectively (7.7), (7.8) hold with . This is analogous to Corollary 6.2. Similarly (7.6) and (7.10) hold with if with or as appropriate.
Observe that combining Theorems 7.1 and 7.2 we can immediately get bounds for the differences between Lasso and Dantzig selector and . Such bounds have the same form as those of Theorems 7.1 and 7.2, up to numerical constants. Another way of estimating these differences follows directly from the proof of Theorem 7.1. It suffices to observe that the only property of used in that proof is the fact that satisfies the Dantzig constraint on the event of given probability, which is also true for the Lasso solution . So, we can replace by and by everywhere in Theorem 7.1. Generalizing a bit more, we easily derive the following fact.
The result of Theorem 7.1 remains valid if we replace there by for and by respectively. Here is the set of all vectors satisfying the Dantzig constraint.
Theorems 7.1 and 7.2 only give non-asymptotic upper bounds on the loss, with some probability and under some conditions. The probability depends on and the conditions depend on and : recall that Assumptions RE() and RE() are imposed on the matrix . To deduce asymptotic convergence (as and/or as ) from Theorems 7.1 and 7.2 we would need some very strong additional properties, such as simultaneous validity of Assumption RE() or RE() (with one and the same constant ) for infinitely many and .
Note that Assumptions RE() or RE() do not imply identifiability of in the linear model (7.1). However, the vector appearing in the statements of Theorems 7.1 and 7.2 is uniquely defined because we suppose there in addition that and . Indeed, if there exists a such that , and then in view of assumption with we have necessarily (cf. discussion following the definition of ). On the other hand, Theorem 7.3 applies to certain values of that do not come from the model (7.1) at all.
For the smallest value of (which is ) the constants in the bound of Theorem 7.2 for the Lasso are larger than the corresponding numerical constants for the Dantzig selector given in Theorem 7.1, again for the smallest admissible value . On the contrary, the Dantzig selector has certain defects as compared to Lasso when the model is nonparametric, as discussed in Section 6. In particular, to obtain sparsity oracle inequalities for the Dantzig selector we need some restrictions on , for example the weak sparsity property. On the other hand, the sparsity oracle inequality (6.1) for the Lasso is valid with no restriction on .
The proofs of Theorems 7.1 and 7.2 differ mainly in the value of the tuning constant: in Theorem 7.1 and in Theorem 7.2. Note that since the Lasso solution satisfies the Dantzig constraint we could have obtained a result similar to Theorem 7.2, though with less accurate numerical constants, by simply conducting the proof of Theorem 7.1 with . However, we act differently: we deduce (B.30) directly from (B.1), and not from (B.25). This is done only for the sake of improving the constants: in fact, using (B.25) with would yield (B.30) with the doubled constant on the right hand side.
A
Proof of Lemma 4.1. Consider a partition into subsets of size , with the last subset of size : where , for and , such that is the set of indices corresponding to largest in absolute value coordinates of outside (for ) and is the remaining subset. We have
We will prove first part (ii) of the lemma. Since for the vector \mbox{\boldmath\delta}_{J_{k}} has only non-zero components we obtain
Next, as in ct07, we observe that |\mbox{\boldmath\delta}_{J_{k+1}}|_{2}\leq|\mbox{\boldmath\delta}_{J_{k}}|_{1}/\sqrt{m}, , and therefore
where we used (4.1). From (A.1) – (A.3) we find
The proof of part (i) is analogous. The only difference is that we replace in the above argument by and instead of (A.2) we use the following bound (cf. ct07):
B Two lemmata and the proofs of the results
Fix and . Let be independent random variables with and let be the Lasso estimator defined by (2.2) with
where denotes the maximal eigenvalue of the matrix .
The result (B.1) is essentially Lemma 1 from btw06b. For completeness, we give its proof. Set . By definition,
Define the random variables and the event
Using an elementary bound on the tails of Gaussian disribution we find that the probability of the complementary event \mbox{\mathcal{A}}^{c} satisfies
where . On the event we have
Adding the term to both sides of this inequality yields, on ,
Now, for , so that on we get (B.1).
To prove (B.2) it suffices to note that on we have
Now, \mbox{\boldmathy}={\mbox{\boldmathf}}+\mbox{\boldmathw}, and (B.2) follows from (2.3), (B.5).
We finally prove (B.3). The necessary and sufficient condition for to be the Lasso solution can be written in the form
where denotes the th column of , . Next, (B.5) yields that on we have
Since the matrices and have the same maximal eigenvalues,
and we deduce (B.3) from the last two displays. ∎
Let the assumptions of Lemma B.1 be satisfied and . Consider the linear regression model \mbox{\boldmathy}=X\beta+\mbox{\boldmathw}. Then, with probability at least , we have
where is the set of non-zero coefficients of and \mbox{\boldmath\delta}=\widehat{\beta}_{L}-\beta.
Use the first inequality in (B.1) and the fact that for the linear regression model. ∎
and set \mbox{\boldmath\delta}=\widehat{\beta}_{D}-\beta, . Then
Further, let the assumptions of Lemma B.1 be satisfied with . Then with probability of at least we have
Inequality(B.9) follows immediately from the definition of Dantzig selector, cf. ct07. To prove (B.10) consider the event
Set \mbox{\boldmath\delta}=\widehat{\beta}_{L}-\widehat{\beta}_{D}. We have
where the last inequality holds with probability at least . Since the Lasso solution satisfies the Dantzig constraint, we can apply Lemma B.3 with , which yields
with . By Assumption we get
where . Using (B.12) and (B.13) we obtain
Finally, from (B.11) and (B.14) we get that, with probability at least ,
where the RHS follows (B.2), (B.10), and another application of (B.14). This proves one side of the inequality.
To show the other side of the bound on the difference, we act as in (B.11), up to the inversion of roles of and , and we use (B.2). This yields that, with probability at least ,
This is analogous to (B.11). Paralleling now the proof leading to (B.15) we obtain
The theorem now follows from (B.15) and (B.17). ∎
Set again \mbox{\boldmath\delta}=\widehat{\beta}_{L}-\widehat{\beta}_{D}. We apply (B.1) with which yields that, with probability at least ,
where now . Consider the two cases: (i) \|\widehat{f}_{D}-f\|_{n}^{2}>2r|\mbox{\boldmath\delta}_{J_{0}}|_{1} and (ii) \|\widehat{f}_{D}-f\|_{n}^{2}\leq 2r|\mbox{\boldmath\delta}_{J_{0}}|_{1}. In case (i) inequality (B.16) with immediately implies
and the theorem follows. In case (ii) we get from (B.18) that
and thus |\mbox{\boldmath\delta}_{J_{0}^{c}}|_{1}\leq 5|\mbox{\boldmath\delta}_{J_{0}}|_{1}. We can therefore apply Assumption which yields, similarly to (B.14),
where . Plugging (B.19) into (B.16) we finally get that, in case (ii),
and from the second inequality in (B.1) that
In case (B.23), the result of the theorem trivially follows from (B.21). So, we will only consider the case (B.24). All the subsequent inequalities are valid on the event \mbox{\mathcal{A}}\cap\mbox{\mathcal{A}}_{1} where \mbox{\mathcal{A}}_{1} is defined by (B.24). On this event we get from (B.21) that
which implies |\mbox{\boldmath\delta}_{J_{0}^{c}}|_{1}\leq(3+4/\varepsilon)|\mbox{\boldmath\delta}_{J_{0}}|_{1}. Then for \mbox{\boldmath\delta}^{\prime}=D^{-1/2}\mbox{\boldmath\delta}=\widehat{\beta}_{L}-\beta we have |\mbox{\boldmath\delta}_{J_{0}^{c}}^{\prime}|_{1}\leq(3+4/\varepsilon)(f_{\max}/f_{\min})|\mbox{\boldmath\delta}_{J_{0}}^{\prime}|_{1}. We now use Assumption . This yields
where . Combining this with (B.22) and using that |\mbox{\boldmath\delta}_{J_{0}}|_{2}\leq f_{\max}|\mbox{\boldmath\delta}_{J_{0}}^{\prime}|_{2} we find
This inequality is of the same form as (A.4) in btw07. A standard decoupling argument as in btw07 using inequality with , , and being either or yields that
Taking in the last display finishes the proof of the theorem. ∎
where . Applying Theorem 6.1 once again we get the result. ∎
Set \mbox{\boldmath\delta}=\widehat{\beta}_{D}-\beta^{*} and . Using Lemma B.3 with we get that on the event (i.e., with probability at least ): (i) \frac{1}{n}|X^{T}X\mbox{\boldmath\delta}|_{\infty}\leq 2r, and (ii) inequality (4.1) holds with . Therefore, on we have
since . From Assumption we get that
where . This and (B.25) yield that, on ,
The first inequality in (B.26) implies (7.5). Next, (7.4) is straightforward in view of the second inequality in (B.26) and of the following relations (with ):
that hold on . It remains to prove (7.6). It is easy to see that the th largest in absolute value element of \mbox{\boldmath\delta}_{J_{0}^{c}} satisfies |\mbox{\boldmath\delta}_{J_{0}^{c}}|_{(k)}\leq|\mbox{\boldmath\delta}_{J_{0}^{c}}|_{1}/k. Thus
and since (4.1) holds on (with ) we find
On the other hand, it follows from (B.25) that
Combining this inequality with Assumption we obtain that, on ,
Recalling that and applying the last inequality together with (B.28) we get
It remains to note that (7.6) is a direct consequence of (7.4) and (B.29). This follows from the fact that inequalities and with imply
Set \mbox{\boldmath\delta}=\widehat{\beta}_{L}-\beta^{*} and . Using (B.1) where we put , and we get that, on the event ,
and (4.1) holds with on the same event. Thus, by Assumption and the last inequality we obtain that, on ,
where . The first inequality here coincides with (7.8). Next, (7.9) follows immediately from (B.3) and (7.8). To show (7.7) it suffices to note that on the event the relations (B.27) hold with , to apply the second inequality in (B.31) and to use (B.4).
Finally, the proof of (7.10) follows exactly the same lines as that of (7.6): the only difference is that one should set in (B.28), (B.29), as well as in the display preceding (B.28).