Taking Advantage of Sparsity in Multi-Task Learning
Karim Lounici, Massimiliano Pontil, Alexandre B. Tsybakov, Sara van de Geer
Introduction
We study the problem of estimating multiple regression equations under sparsity assumptions on the underlying regression coefficients. More precisely, we consider multiple Gaussian regression models,
where, for each , we let be a prescribed design matrix, the unknown vector of regression coefficients and an -dimensional vector of observations. We assume that are i.i.d. zero mean random vectors.
We are interested in estimation methods which work well even when the number of parameters in each equation is much larger than the number of observations, that is, . This situation may arise in many practical applications in which the predictor variables are inherently high dimensional, or it may be “costly” to observe response variables, due to difficult experimental procedures, see, for example for a discussion.
Examples in which this estimation problem is relevant range from multi-task learning and conjoint analysis (see, for example, and references therein) to longitudinal data analysis as well as the analysis of panel data , among others. In particular, multi-task learning provides a main motivation for our study. In that setting each regression equation corresponds to a different learning task (the classification case can be treated similarly); in addition to the requirement that , we are also interested in the case that the number of tasks is much larger than . Following we assume that there are only few common important variables which are shared by the tasks. A general goal of this paper is to study the implications of this assumption from a statistical learning view point, in particular, to quantify the advantage provided by the large number of tasks to learn both the underlying vectors as well as to select common variables shared by the tasks.
In this paper, we assume that the vectors are not only sparse but also have the same sparsity pattern. This means that the set of indices which correspond to non zero components of is the same for every . In other words, the response variable associated with each equation in (1.1) depends only on a small subset (of size ) of the corresponding predictor variables and the set of relevant predictors is preserved across the different equations. This assumption, that we further refer to as structured sparsity assumption, is motivated by some recent work on multi-task learning . It naturally leads to an extension of the Lasso method, the so-called group Lasso , in which the error term is the average residual error across the different equations and the penalty term is a mixed -norm. The structured sparsity assumption induces a relation between the responses and, as we shall see, can be used to improve estimation.
The paper is organized as follows. In Section 2 we define the estimation method and comment on previous related work. In Section 3 we study the oracle properties of this estimator when the errors are Gaussian. Our main results concern upper bounds on the prediction error and the distance between the estimator and the true regression vector . Specifically, Theorem 3.1 establishes that under the above structured sparsity assumption on , the prediction error is essentially of the order of . In particular, in the multi-task learning scenario, in which can grow, we are able to remove completely the effect of the number of predictor variables in the bounds. Next, in Section 4, under a stronger condition on the design matrices, we describe a simple modification of our method and show that it selects the correct sparsity pattern with an overwhelming probability (Theorem 4.1). We also find the rates of convergence of the estimators for mixed -norms with (Theorem 4.2). The techniques of proofs build upon and extend those of and . Finally, in Section 5 we discuss how our results can be extended to more general noise distributions, of which we only require the variance to be finite.
Method and related work
where is the standard Euclidean norm.
We have now accumulated the sufficient information to introduce the estimation method. We define the empirical residual error
and, for every , we let our estimator be a solution of the optimization problem
In order to study the statistical properties of this estimator, it is useful to derive the optimality condition for a solution of the problem (2.2). Since the objective function in (2.2) is convex, is a solution of (2.2) if and only if (the -dimensional zero vector) belongs to the subdifferential of the objective function. In turn, this condition is equivalent to the requirement that
where denotes the subdifferential (see, for example, for more information on convex analysis). Note that
Thus, is a solution of (2.2) if and only if
Finally, let us comment on previous related work. Our estimator is a special case of the group Lasso estimator . Several papers analyzing statistical properties of the group Lasso appeared quite recently . Most of them are focused on the group Lasso for additive models or generalized linear models . Special choice of groups is studied in . Discussion of the group Lasso in a relatively general setting is given by Bach and Nardi and Rinaldo . Bach assumes that the predictors are random with a positive definite covariance matrix and proves results on consistent selection of sparsity pattern when the dimension of the model ( in our case) is fixed and . Nardi and Rinaldo consider a setting that covers ours and address the issue of sparsity oracle inequalities in the spirit of . However, their bounds are too coarse (see comments in Section 3 below). Obozinski et al. replace in (2.2) the -norms by -norms with and show that the resulting estimator achieves consistent selection of the sparsity pattern under the assumption that all the rows of matrices are independent Gaussian random vectors with the same covariance matrix.
This literature does not demonstrate theoretical advantages of the group Lasso as compared to the usual Lasso. One of the aims of this paper is to show that such advantages do exist in the multi-task learning setup. In particular, our Theorem 3.1 implies that the prediction bound for the group Lasso estimator that we use here is by at least a factor of better than for the standard Lasso under the same assumptions. Furthermore, we demonstrate that as the number of tasks increases the dependence of the bound on disappears, provided that grows at the rate slower than .
Sparsity oracle inequality
Let be an integer that gives an upper bound on the structured sparsity of the true regression vector . We make the following assumption.
There exists a positive number such that
where denotes the complement of the set of indices .
Several simple sufficient conditions for Assumption 3.1 with are given in . Similar sufficient conditions can be stated in our more general setting. For example, it is enough to suppose that each of the matrices is positive definite or satisfies a Restricted Isometry condition as in or the coherence condition (cf. Lemma 4.1 below).
Consider the model (1.1) for and . Assume that the random vectors are i.i.d. Gaussian with zero mean and covariance matrix , all diagonal elements of the matrix are equal to and . Let
where is the maximum eigenvalue of the matrix .
which, using , is equivalent to
Since we assume all diagonal elements of the matrix to be equal to , the random variables
, are i.i.d. standard Gaussian. Using this fact we can write, for any ,
where is a chi-square random variable with degrees of freedom. We now apply Lemma A.1, the union bound and the fact that to get
It follows from (3.4) that, on the event .
which coincides with (3.1). To prove (3.2), we use the inequality
which follows from (2.3) and (2.4). Then,
where we have used and the triangle inequality. The result then follows by combining the last inequality with inequality (3.5) and using the definition of the event .
Finally, we prove (3.3). First, observe that, on the event ,
This fact follows from (2.3), (2.1) and the definition of the event . The following chain yields the result:
We are now ready to state the main result of this section.
Consider the model (1.1) for and . Assume that the random vectors are i.i.d. Gaussian with zero mean and covariance matrix , all diagonal elements of the matrix are equal to and . Furthermore let Assumption 3.1 hold with and let be the largest eigenvalue of the matrix . Let
where and let . Then with probability at least , for any solution of problem (2.2) we have
If, in addition, Assumption RE(2) holds, then with the same probability for any solution of problem (2.2) we have
We act similarly to the proof of Theorem 6.2 in . Let . By inequality (3.1) with we have, on the even , that
Moreover by the same inequality, on the event , we have , which implies that . Thus, by Assumption 3.1
Now, (3.6) follows from (3.10) and (3.11). Inequality (3.7) follows again by noting that
and then using (3.6). Inequality (3.8) follows from (3.3) and (3.6).
Finally, we prove (3.9). Let and let be the set of indices in corresponding to maximal in absolute value norms . Consider the set . Note that . Let denote the -th largest norm in the set . Then, clearly,
This and the fact that on the event implies
In addition, easily implies that
Combining these facts and (3.13) with Assumption RE(2) we find that on the event the following holds:
This inequality and (3.12) yield (3.9). ∎
Theorem 3.1 is valid for any fixed ; the approach is non-asymptotic. Some relations between these parameters are relevant in the particular applications and various asymptotics can be derived as corollaries. For example, in multi-task learning it is natural to assume that , and the motivation for our approach is the strongest if also . The bounds of Theorem 3.1 are meaningful if the sparsity index is small as compared to the sample size and the logarithm of the dimension is not too large as compared to .
Several important conclusions can be drawn from Theorem 3.1.
The dependence on the dimension is negligible for large . Indeed, the bounds of Theorem 3.1 become independent of if we choose the number of tasks larger than . A striking fact is that no relation between the sample size and the dimension is required. This is quite in contrast to the previous results on sparse recovery where the assumption was considered as sine qua non constraint. For example, Theorem 3.1 gives meaningful bounds if for arbitrarily large , provided that . This is due to the structured sparsity assumption that we naturally exploit in the multi-task scenario.
Our estimator is better than the standard Lasso in the multi-task setup. Theorem 3.1 witnesses that our group Lasso estimator admits substantially better error bounds than the usual Lasso. Let us explain this considering the example of the prediction error bound (3.9). Indeed, for the same multi-task setup, we can apply a usual Lasso estimator , that is a solution of the following optimization problem
Assume, for instance, that we are in the most favorable situation where , each of the matrices is positive definite and has minimal eigenvalue greater than (this, of course, implies Assumption 3.1). We can then apply inequality (7.8) from with
where , to obtain that, with probability at least , it holds
Indeed, when applying (7.8) of we account for the fact that the parameters , , therein correspond to , , in our setup, and the minimal eigenvalue of the matrix is greater than . Comparison with (3.9) leads to the conclusion that the prediction bound for our estimator is by at least a factor of better than for the standard Lasso under the same assumptions. Let us emphasize that the improvement is due to the property that is structured sparse. The second inherent property of our setting, that is, the fact that the matrix is block-diagonal, can be characterized as important but not indispensable. We discuss this in the next remark.
Theorem 3.1 applies to the general group Lasso setting. Indeed, the proofs in this section do not use the fact that the matrix is block-diagonal. The only restriction on is given in Assumption 3.1. For example, Assumption 3.1 is obviously satisfied if (the correctly normalized Gram matrix of the regression model (2.1)) has a positive minimal eigenvalue. However, the price for having this property (or Assumption 3.1 in general), as well as the resulting error bounds, can be different for the block-diagonal (multi-task) setting and the full matrix setting.
Finally, we note that follow the scheme of the proof of to derive similar in spirit to ours but coarse oracle inequalities. Their results do not explain the advantages discussed in the points 1–3 above. Indeed, the tuning parameter chosen in , pp. 614–615, is larger than our by at least a factor of . As a consequence, the corresponding bounds in the oracle inequalities of are larger than ours by positive powers of .
Coordinate-wise estimation and selection of sparsity pattern
In this section, we show how from any solution of the problem (2.2) we can reliably estimate the correct sparsity pattern with high probability.
We first introduce some more notation. We define the Gram matrix of the design . Note that is a block-diagonal matrix with blocks of dimension each. We denote these blocks by .
In this section we assume that the following condition holds true.
The elements of the Gram matrix satisfy
for some integer and some constant .
Note that the above assumption on implies Assumption 3.1 as we prove in the following lemma.
Let Assumption 4.1 be satisfied. Then Assumption 3.1 is satisfied with .
where we have used Assumption 4.1 and the Cauchy-Schwarz inequality. Next, using consecutively Assumption 4.1, the Cauchy-Schwarz inequality and the inequality we obtain
Note also that, by an argument as in , it is not hard to show that under Assumption 4.1 the vector satisfying (2.1) is unique.
Theorem 3.1 provides bounds for compound measures of risk, that is, depending simultaneously on all the vectors . An important question is to evaluate the performance of estimators for each of the components separately. The next theorem provides a bound of this type and, as a consequence, a result on the selection of sparsity pattern.
Consider the model (1.1) for and . Let the assumptions of Lemma 3.1 be satisfied and let Assumption 4.1 hold with the same . Set
Let , and be as in Lemma 3.1. Then with probability at least , where , for any solution of problem (2.2) we have
then with the same probability for any solution of problem (2.2) the set of indices
estimates correctly the sparsity pattern , that is,
Set . Using Assumption 4.1 we obtain
Thus, by Lemma 3.1 and Theorem 3.1, with probability at least ,
By Lemma 4.1, , which yields the first result of the theorem. The second result follows from the first one in an obvious way. ∎
Assumption of type (4.2) is inevitable in the context of selection of sparsity pattern. It says that the vectors cannot be arbitrarily close to 0 for in the pattern. Their norms should be at least somewhat larger than the noise level.
The second result of Theorem 4.1 (selection of sparsity pattern) can be compared with who considered the Group Lasso. There are several differences. First, our estimator is based on thresholding of the norms , while take instead the set where these norms do not vanish. In practice, the latter is known to be a poor selector; it typically overestimates the true sparsity pattern. Second, consider specific asymptotic settings, while our result holds for any fixed . Different kinds of asymptotics can be therefore obtained as simple corollaries. Finally, note that the estimator is not necessarily unique. Though does not discuss this fact, the proof there only shows that there exists a subsequence of solutions of (2.2) such that the set coincides with the sparsity pattern in some specified asymptotics (we note here the “if and only if” claim before formula (23) in is not proved). In contrast, the argument in Theorem 4.1 does not require any analysis of the uniqueness issues, though it is not excluded that the solution is indeed unique. It guarantees that simultaneously for all solutions of (2.2) and any fixed the correct selection is done with high probability.
Theorems 3.3 and 4.1 imply the following corollary.
Consider the model (1.1) for and . Let the assumptions of Lemma 3.1 be satisfied and let Assumption 4.1 holds with the same . Let , and be as in Lemma 3.1. Then with probability at least , where , for any solution of problem (2.2) and any we have
If, in addition, (4.2) holds, then with the same probability for any solution of problem (2.2) and any we have
Set . For any we have
Combining (3.7), (4.1) with and the above display yields the first result. ∎
Inequalities (4.1) and (4.5) provide confidence intervals for the unknown parameter in mixed (2,)-norms.
Consider the threshold and define a thresholded estimator
This assumption says that we cannot recover arbitrarily small components. Similar assumptions are standard in the literature on sign consistency (see, for example, for more details and references).
Consider the model (1.1) for and . Let the assumptions of Lemma 3.1 be satisfied and let Assumption 4.1 hold with the same . Let and be defined as in Lemma 3.1 and as in Theorem 4.1. Then with probability at least , where , for any solution of problem (2.2) we have
The proof is then similar to that of Theorem 4.1. ∎
Non-Gaussian noise
This assumption is quite mild. It is satisfied for example, if all are bounded in absolute value by a constant uniformly in . We have the two following theorems.
Then with probability at least , for any solution of problem (2.2) we have
If, in addition, Assumption RE(2) holds, then with the same probability for any solution of problem (2.2) we have
Consider the model (1.1) for and . Let the assumptions of Theorem 5.1 be satisfied and let Assumption 4.1 hold with the same . Set
Let be as in Theorem as in 5.1. Then with probability at least , for any solution of problem (2.2) we have
then with the same probability for any solution of problem (2.2) the set of indices
estimates correctly the sparsity pattern :
The proofs of these theorems are similar to the ones of Theorems 3.1 and 4.1 up to a modification of the bound on in Lemma 3.1. We consider now the event
Then we use Lemma A.2 given below with the random vectors
By the definition of in Theorem 5.2 and Assumption 5.1 we obtain
Thus, we see that under the finite variance assumption on the noise, the dependence on the dimension cannot be made negligible for large .
Appendix A Auxiliary results
Here we collect two auxiliary results which are used in the above analysis. The first result is a useful bound on the tail of the chi-square distribution.
Let be a chi-square random variable with degrees of freedom. Then
where is the standard normal random variable and . The result now follows from inequalities and
The next result is a version of Nemirovski’s inequality (see , Corollary 2.4 page 5).