Asymptotics of selective inference
Xiaoying Tian, Jonathan Taylor
Introduction
Selective inference is a recent research topic that studies valid inference after a statistical model is suggested by the data Fithian et al. (2014); Lee et al. (2013); Taylor et al. (2014, 2013). Classical inference tools break down at this point as the data used for the hypothesis test is allowed to be the data used to suggest the hypothesis. Specifically, instead of being given a priori, the hypothesis to test is dependent on the data, thus random. Formally, denoted by is the model selection procedure, which generates a set of hypotheses to test, or perhaps parameters for which to form intervals. It is useful to think of as a point process with values in , where is some collection of questions of possible interest. Consider the following example,
where is the unit vector with only the -th entry being . Such functionals is essentially the best linear coefficients within the model consisting of only variables in . Then the collection of possily interesting questions are
The data will then suggest a subset of interesting variables , and designates the target for inference to be , the best linear coefficient within a model consisting of only the variables in .
By inverting such tests, Lee et al. (2013) can also construct valid confidence intervals for .
It is of course worth noticing that either the hypothesis or the parameters are random as is suggested by the data. So the “Type-I error” (1) is not the classical Type-I error definition where the hypotheses are given a priori. Such inference framework is first considered in Berk et al. (2013), and we leave the philosophical discussions of such approach to Fithian et al. (2014).
Tibshirani et al. (2015) also considers uniform convergence of the statistics proposed by Taylor et al. (2014), but focuses mainly on the low dimensional case. In the high dimensional case, they have a negative result on the uniform convergence of the pivot. In this paper, we instead focus on the high dimensional case and state the conditions in which the pivot will converge. More specifically, is allowed to be of a logarithmic factor of the dimension for two common procedures introduced in Section 4.
In the works of Belloni et al. (2012); Meinshausen et al. (2012); Zhang & Zhang (2014); Javanmard & Montanari (2015), the authors proposed various ways of constructing confidence regions for the underlying parameters in the high-dimensional setting. One major difference between these works and our framework is that they try to achieve full model inference without using the data to choose a hypothesis. The advantage of such approach is robustness. But in the high-dimensional setting, with tens of thousands of potential variables, it is natural to use the data to select hypotheses of interest and perform valid inference only for those hypotheses. In addition, some of the full model inference works require conditions of linear underlying model Meinshausen et al. (2012); Javanmard & Montanari (2015) which the framework of selective inference does not require. For more philosophical discussions on the comparisons of the two approaches, see Fithian et al. (2014).
2 Organization of the paper
In Section 2, we formally introduce the methods for selective inference with certain model selection procedures, which we call affine selection procedures. In Section 3, we state the main theorem that will allow asymptotically valid inference. In Section 4, we will illustrate the applications of our results to two selective inference problems, selective inference after solving the LASSO at a fixed , and the covariance test for testing the global null in generalized linear models. We collect all the proofs in Section 5 and dicuss the directions of future research in Section 6.
Selective inference with affine selection procedures
We call an affine selection procedure, if the selection event can be written as an affine set in the first argument of . Formally, is an affine selection procedure if for each potential model to be selected ,
The works of Lee et al. (2013); Lockhart et al. (2013); Taylor et al. (2014, 2013) have constructed valid p-values when the family is the Gaussian family. Formally, the pivotal function depends on the following quantities,
which is the CDF of the univariate Gaussian law truncated to the interval .
2 A pivotal quantity with Gaussian errors
Theorem 1 provides the construction of a pivotal function when the data is normally distributed and is an affine selection procedure. We denote the response variables to be when is the Gaussian family to distinguish it from where is a more general location-scale family. Note all distributions in this paper are conditional on , that is the law we consider are either or . All random variables have access to as if it were a constant.
where and
Moreover, marginalizing over the selection procedure , we have the following
The significance of Theorem 1 is that assuming the diagonal matrix is known, the only unknown parameter for the pivotal quantity (10) is . To test the hypothesis , we just need to plug in the value and then compute (10), which then can be used as a p-value to accept/reject the hypothesis. For example, if we take
where is the unit vector with only the -th entry being , . The quantity in (10) is pivotal and can be used to test the hypothesis , and control the “Type-I errpr” (1). Since is fixed, we use the shorthand
Asymptotics with non-Gaussian error
The main approach is to compare the distribution of the pivots (10) under the distribution with that under Gaussian distribution . In the latter case, the exact distribution is derived in Theorem 1. In the following, we establish the conditions where the above two distributions are comparable.
Note the pivotal quantity in (10) depends on either through the linear functions or the maximum/minimum of linear functions , . In approximating the exact Gaussian theory with asymptotic results a quantity analogous to a Lipschitz constant (in ) will be necessary, expressing the changes in as well as the upper and lower bounds and . This, in some sense, describes the influence each can have on the pivotal quantity (10).
The quantity measures the maximal influence any has on a smoothed version of the triple . As and are critical in bounding the difference between and , it is important to get a sense of their size. Typically is less than , and we discuss the typical size of through the following simple example:
where is the unit vector with only the -th coordinate being . Since we normalize the columns, it is not hard to verify , and , thus if the selected variables set always satisfies , . Therefore .
This is a very simple example which does not involve selection. In reality we will some meaningful selection procedure that uses the data so would involve and as well. However, we will see through examples in Section 4 that it is still reasonable to assume .
The following theorem compares the distribution of under and its Gaussian counterpart.
has independent entries with mean vector and covariance matrix variance and finite third moments bounded by ;
there exists , such that the following holds for ,
where is a constant depending only on the derivatives of and , and is or depending on the context.
As it is reasonable to assume , it is reasonable to assume the RHS of (14) goes to zero. Thus the distribution of is close to that of . In the following, we discuss the conditions under which the pivotal quantity (10) converges.
2 Smoothness of the pivot
Note the bound in (14) also depends on , the derivatives of . Thus besides the influence of each on (10), it is also necessary to control the smoothness of the (10). In particular, the pivot in (10) takes the form of a truncated Gaussian cdf. Moreover, the smoothness (derivatives) of the truncated Gaussian cdf can depend heavily on the truncation interval . More specifically, a lower bound on the denominator of puts some constraints on the width of the interval as well as its distance to the origin. In our context, corresponds to the upper and lower bounds appearing in (10). Formally, we assume the following assumption:
The first two conditions in (15) puts a lower bound on the width of the truncation interval . The last two conditions makes sure the truncation will not appear too far from the origin and thus we will have reasonable behavior in the tail. is the rate at which the truncation interval will shrink (or the distance of the truncation interval to the origin). This rate will appear in the RHS of (14) and thus we impose a condition on to ensure the convergence of the pivot (10).
3 Main result
Suppose we have a sequence of generated as above with means , and variances and have finite third moments. We also assume Assumption 1 is satisfied with a sequence of . Furthermore, let be a sequence of affine selection procedures, , and the corresponding , and properly defined as in Section 3.1. Then if
where is the two-sided pivot.
In the following section, we apply Theorem 3 to different selection procedures.
Examples
where is known and the distribution has finite third moments, but is not necessarily Gaussian.
Tibshirani (1996) proposed the now famous LASSO. We get a sparse solution by solving
where is the fixed regularization parameter. We choose as in Negahban et al. (2012). If we normalize the columns of to have norm , Negahban et al. (2012) chooses to be .
As in Lee et al. (2013), we solve (18) and get a solution . Now we consider the selection procedure based on , where
where is restricted to the active set . Note this is different from the selection procedure based only on but is closely related, for detailed discussion see Lee et al. (2013). The authors in Lee et al. (2013) proved such selection procedure is equivalent to the affine constraints , where
To test the hypothesis for any , we choose to be as in (11).
In this case, a simple calculation will put the number of possible states at , which will cause the bound in (14) to blow up when . However, the choice of (Negahban et al., 2012) together with other conditions will ensure is polynomial in with high probability.
1.2 Number of states |𝒮|𝒮|{\cal S}| for λ=O(logp)𝜆𝑂𝑝\lambda=O(\sqrt{\log p})
Suppose is column standardized to be mean zero and norm , we first introduce the restricted strong convexity condition for matrix .
Now we define the assumptions needed to ensure is polynomial in with high probability.
are sub-Gaussian errors with known variance .
Following Negahban et al. (2012), Lemma 1 shows with the above assumptions, the effective size of is polynomial in with high probability.
With Assumptions 2-4, if we solve (18) with and get active set , then with probability at least ,
where is some constant that depends on and the subgaussian constant of the error . Thus, with probability ,
The proof of Lemma 1 is deferred to the appendix. Having controlled , now we need to get a bound for the influences.
Assume we have normalized the design matrix columnwise so that each column has norm . We further assume the following assumption on ,
Suppose we solve problem (18) with and get the active set . Let be the smallest eigenvalue for submatrices of size less than , more specifically,
If we normalize the columns of to have norm and choose in (18) as in Negahban et al. (2012). Then we assume Assumption 1 is satisfied with , for any small .
To avoid long passage and stay focused on the main topic, we illustrate that Assumption 1 is satisfied with such ’s in the following simplified setup. However, the approach can be adapted to include more general cases.
Suppose Assumption 2-4 are satisfied. We further assume that and the matrix is equicorrelated, i.e.
Then if , Assumption 1 is satisfied with , for any .
Note if we do not assume , the last two conditions in Assumption 1 are still satisfied with and the first two conditions can be satisfied with further assumptions. But we do not pursue the technical details here.
1.5 Convergence of selective tests in the Lasso problems
Suppose we solve the Lasso problem (18) and get active set , and want to test the hypotheses , we can simply take to be as in (11). Now we summarize the above results and apply Theorem 3 to get the following corollary
Suppose we solve the Lasso problem (18) with , and Assumption 1-5 are satisfied and the ’s in Assumption 1 is chosen as . If we further assume , , and there exists such that
One of the first results in selective inference was the covariance test Lockhart et al. (2013) which provided an asymptotic limiting distribution for the first step of the Lasso or LARS path. An exact version of this test under Gaussian errors was described in Taylor et al. (2013).
In the following, we generalize the covariance test for generalized linear models. Suppose is in an exponential family. More specifically,
where and are -dimensional vectors and is the cumulant generating function of the distribution.
The covariance test for the global null is based upon the the first knot on the solution path of (21), which is largest score statistic (in absolute values) at ,
The variable to achieve the maximum in (22) will be the first variable to enter the solution path.
The covariance test can also be viewed as a test for the coefficient with (potentially) the largest absolute values. A guess for such variable is the first variable to enter the solution path of (21). In other words, covariance tests select the target of inference based on , where
and the test statistic is .
The selection procedure is based on defined in (23), it is easy to see that it is equivalent to
Writing in the form of , we have
We notice that . Thus to test the global , we simply take
The challenge in establishing a result for the covariance test for GLM is the lack of Gaussianity in the data distribution. The tools we develop in this paper, however, can circumvent this. But we first need to establish the resulting pivot which we can use to test the hypothesis . Note that , thus if were normal distribution, we will have an exact pivot by applying Theorem 1. This result is also given in Taylor et al. (2013). Formally, we have the following corollary.
Corollary 1 gives a pivot (24) which we can use to test the global null and control the “Type-I error” (1). In practice, we often normalized the columns of the design matrix . In addition we may assume the observations ’s are independently distributed with the same marginal variance, i.e. , then and simplifies to the second knot in the solution path , thus we have:
2.2 The conditions for the pivot to converge
Since , and , the number of possible states are naturally bounded by and . We assume , and are normalized columnwise to have norm . We first introduce the following condition on the design matrix , which states that any two columns of cannot be too correlated.
Under Assumption 6, it is not hard to verify
Now we need to pick the ’s such that Assumption 1 holds. In particular, we choose , for some . Now if we apply Theorem 3, we have the following result,
Suppose is generated independently coordinate-wise through the distribution in (20) with the same marginal variance. Assume the columns of have norm , Assumption 6 is satisfied and . Then if
Proof of the theorems
Without loss of generality, we restrict our interest to the case . This is possible since any affine selection procedure applied to data with mean is equivalent to a centered affine selection procedure applied to the centered data. Specifically, the linear part of is the same as and the offsets are related by
Further, note that all quantities in the theorems above are independent of . Scaling of the errors is handled in a similar fashion.
Analogous to the proof in Lee et al. (2013), we prove Theorem 1.
To lighten notations, we suppress all dependencies on as it is assumed known. Note that . Thus
Dropping the dependence on for the moment,
In other words, and
Note also from the derivation above that is independent of for each . Thus if we condition on , and , is distributed as a Gaussian r.v. with mean and variance truncated at and . Therefore,
Considering that conditional on , is independent of and , we have (7). ∎
2 Smoothing the maxima of affine functions
In the proof of Theorem 2 and the related lemmas and corollaries, a technique developed by Chatterjee (2005) is frequently used. Roughly speaking, we want to study convergence of functions like and which can be expressed as maxima or minima of affine functions. These non-smooth functions are replaced by a smoothed surrogate at the cost of a factor appearing in their derivatives depending on the smoothing parameter.
Specifically, we are interested in how this smoothing affects the following quantities.
For any finite collection of functions define
Now we define the smoothed maxima operator.
is a finite collection of thrice differentiable functions ’s. The maximum is taken coordinate-wise.
We define the smoothed maxima operator with parameter as
where the operators and are applied coordinate-wise.
Suppose the range of , denoted as and let , , then Lemma 5 gives a bound on and .
Assume the same notations as above, , then for
The proof of Lemma 5 will refer to the following lemma whose proof we leave in the Appendix.
We take , and ,
where the norm is the element-wise maximum absolute value. Thus we proved (28). Now let and , and define
Theorem 1.3 in Chatterjee (2005) proved that
Note \lambda_{3}\big{(}\Gamma(f,\beta)\big{)}=\max_{i=1,2,3}\lambda_{3}\big{(}\Gamma(f_{i},\beta)\big{)}, and that , thus
This combined with Lemma 6 proves (29). ∎
3 Proof of Theorem 2
To prove Theorem 2, we first prove the following lemma. Recall our reduction to the standard Gaussian in the beginning of Section 5.1. Lemma 7 is a simple adaption of Lindberg’s proof of the CLT.
The proof proceeds by following the Lindberg proof of the CLT for . Define
We can break the absolute difference of the two expectations into parts,
where , . Moreover, because ’s and ’s are independent, is independent of both and . Continuing, we see the first and second order differences cancel out,
Note that since are disjoint and for any state
If we knew the above quantity was smooth with respect to the data, we can apply Lemma 7 directly. However, there are two non smooth expressions above: the maximum function over the states and in and . We smooth each and optimize over the smoothing parameter.
where are the collections of affine functions
We define the smoothing parameter , for some . Then
Next, we smooth the maximum over states. Define
We also define the smoothed maxima for ,
From (33) in Lemma 7 together with (40) and (41), we have
Notice that for the last inequality to hold, we require . But the optimal , which will go to since the numerator shrinks to while the denominator goes to as . Therefore, the inequality holds.
4 Proof of Theorem 3
Now let’s turn to the proof of our main result, Theorem 3,
For the convenience of notation, we denote by , omitting in the following proof. Define
We claim that for any small , we can find a thrice differentiable function such that
where and are defined in Corollary 3.
On the other hand, we plug in as the in Theorem 2, then for any sequence of ,
If we choose a subsequence , such that the right hand side of (44) goes to zero, then
Discussion
This work proves a generic framework in which asymptotic results hold for many selective inference problems. It is, however, not directly applicable to some other procedures. Further work may include,
Fixed for generalized linear model.
Our work derives a theory for inference after the affine selection procedure. However, inference for a fixed for the generalized linear regression is not an affine selection procedure. A plausible solution will be to approximate the loss function of GLM by a quadratic form and bound the difference between the quadratic form and the GLM loss function. However, this is still an open question.
Apply the result to nonparametric problems.
It is a big step to remove the Gaussian assumptions required by Lee et al. (2013) which restricts our attention to Gaussian families. Without the Gaussian constraints, we can consider some exponential families and potentially some nonparametric problems as well.
Acknowledgements We thank Jason Lee for the proof of Lemma 1 provides a polynomial bounds on the number of selection states. We also thank Will Fithian and Rob Tibshirani for discussions on potential applications of our result. We also thank the anonymous reviewer who has read our paper so carefully and provide constructive advice for reorganization.
References
Appendix A Proof of Lemma 6
Using the chain rules, we have the second derivatives with respect to as
and the third derivatives with respect to as
For , the conclusion is obviously true with the constant . For , the terms involving the partial derivatives of are
Note the first type of terms are bounded by and the second type of terms are bounded by . If we take , . On the other hand,
For , an equation similar to (48) will give us . Meanwhile,
For the third derivatives , the terms that involve are,
which are all bounded by and therefore . In summary, we can take . ∎
Appendix B Existence of smooth approximation P~~𝑃\widetilde{P}
We prove the existence of such functions as claimed in the proof of Theorem 3. Define . We first prove the following lemma,
Then, on for any we have
on for as well as
For and any multi-index we have
We prove for , and similar proofs can be extend to other multi-index as well. Since , we only need to prove for .
Finally, we put the lemma and the corollary together and prove the following lemma.
There exists a thrice differentible approximation to that satisfies,
is supported on ,
on the set ,
on the set .
Let be the smoothed version of for the minimum function in , and . Let , where is the smoothed version of the indicator function on . also satifies the condition that
also satisfies , for some universal constant . Thus it is not hard to verify that .
Appendix C LASSO related proofs
We first introduce the following Lemma in Negahban et al. (2012).
If we assume the same assumptions and notations as in Lemma 1, then with probability at least , the following two inequalities hold:
where is the number of nonzero entries in and is the solution to (18)
According to Lemma 10, we assume both (49) and (50) hold. This happens with probability . For any ,
Combining the two inequalities, we have that
holds with probability . ∎
C.2 Proof of Lemma 2
Note . According to the assumption assumed in Lemma 2, . Thus for any possible active set ,
The above result can be easily obtained using Singular Value Decomposition on . Therefore, we have
C.3 Proof of Lemma 3
Without loss of generality, we assume . We first see that for any fixed , and chosen as in (11), the upper and lower bound simplies to
Note that the first two equations of (15) are automatically satisfied in this case. Without loss of generality, we assume , and noticing , we have
Since is the maximum of at most sub-Gaussian variables, thus the RHS is bounded by , which goes to . ∎
C.4 Proof of Lemma 4
with probability at least .
We modify the selection procedure on the small probability event. More specifically, we define as
It is easy to see that is also an affine selection procedure. which differs from only on the event . Thus the pivots formed with and converge in probability,
Therefore, we only need to consider the asymptotic distribution of the pivot with as the selection procedure. Note that for ,
Now with our choice of ’s, it is easy to rewrite the condition in Theorem 3 as