The Hardness of Conditional Independence Testing and the Generalised Covariance Measure
Rajen D. Shah, Jonas Peters
Introduction
Conditional independences lie at the heart of several fundamental concepts such as sufficiency [Fisher20] and ancillarity [Fisher34, Fisher35]; see also Sorensen2017. Dawid79 states that “many results and theorems concerning these concepts are just applications of some simple general properties of conditional independence”. During the last few decades, conditional independence relations have played an increasingly important role in computational statistics, too, since they are the building blocks of graphical models [Lauritzen1996, Koller2009, Pearl2009].
Conditional independence tests also play a key role in causal inference. Constraint-based or independence-based methods [Pearl2009, Spirtes2000, Peters2017book] apply a series of conditional independence tests in order to learn causal structure from observational data. The recently introduced invariant prediction methodology [Peters2016jrssb, Heinze2017] aims to estimate for a specified target variable , the set of causal variables among potential covariates . Given data from different environments labelled by a variable , the method involves testing for each subset , the null hypothesis that the environment is conditionally independent of , given .
Given the importance of conditional independence tests in modern statistics, there has been great deal of work devoted to developing conditional independence tests; we review some important examples of tests in Section 1.3. However one issue that conditional independence tests appear to suffer from is that they can fail to control the type I error in finite samples, which can have important consequences in downstream analyses.
As an example application of our results on the GCM, we consider the case where the regressions are performed using kernel ridge regression, and show that provided the conditional expectations are contained in a reproducing kernel Hilbert space, our test statistic has a tractable limit distribution.
The rest of the paper is organised as follows. In Sections 1.1 and 1.2, we first formalise the notion of conditional independence and relevant concepts related to statistical hypothesis testing. In Section 1.3 we review some popular conditional independence tests, after which we set out some notation used throughout the paper. In Section 2 we present our main result on the hardness of conditional independence testing. We introduce the generalised covariance measure in Section 3 first treating the univariate case with before extending ideas to the potentially high-dimensional case. In Section 4 we apply the theory and methodology of the previous section to study that particular example of generalised covariance measures based on kernel ridge regression. We present numerical experiments in Section 5 and conclude with a discussion in Section 6. All proofs are deferred to the appendix and supplementary material.
This may be viewed as an extension of the fact that for one-dimensional and , the partial correlation coefficient (the correlation between residuals of linear regressions of on and on ) is 0 if and only if X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z in the case where are jointly Gaussian.
2 Statistical hypothesis testing and notation
is a measurable function whose last argument is reserved for a random variable independent of the data which is responsible for the randomness of the test.
Given a sequence of tests , the following validity properties will be of interest; note the particular names given to these properties differ in literature. Given a level and null hypothesis , we say that the test has
where the left-hand side is the size of the test; the sequence has
In practice, we would like a test to have at least uniformly asymptotic level. Otherwise, even for an arbitrarily large sample size , there can exist null distributions for which the size exceeds the nominal level by some fixed amount.
[lecam1973convergence, barron1989uniformly, Prop. 2, Thm. 3]. To achieve power tending to 1, we need to restrict by imposing certain smoothness conditions for example [balakrishnan2017hypothesis].
The hypothesis testing problem defined by the pair is then said to be untestable [dufour2003identification]. In order to have power at even a single alternative, we need to restrict the null in some way. One of the main results of this paper is that conditional independence is untestable.
3 Related work
Our hardness result for conditional independence contributes to an important literature on impossibility results in statistics and econometrics starting with the work of bahadur1956 which shows that there is no non-trivial test for whether a distribution has mean zero. canay2013 shows that certain problems arising in the context of identification of some nonparametric models are not testable. In these examples, the null hypothesis is dense with respect to the TV metric in the alternative hypothesis, a property which implies untestability [romano2004non]. Interestingly, our Proposition 5 shows that conditional independence testing is qualitatively different in that some distributions in the alternative are in fact well-separated from the null. It has been suggested for some time that conditional independence testing is a hard problem (see, e.g., [Bergsma2004], and several talks given by Bernhard Schölkopf). To the best of our knowledge the conjecture that conditional independence is not testable (cf. Corollary 3 with ) is due to Arthur Gretton. We also note that when the conditional distribution of given is known, conditional independence is testable [e.g. berrett2018conditional].
We now briefly review several tests for conditional independence that bear some relation to our proposal here.
Ramsey2014 suggests regressing on and on and then testing for independence between the residuals. Fan2015 consider this approach in the setting where is potentially high-dimensional and under the null hypothesis of X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z, , with \varepsilon_{X}\mbox{{}\perp\mkern-11.0mu\perp{}}Z and \varepsilon_{Y}\mbox{{}\perp\mkern-11.0mu\perp{}}Z. The following simple example however indicates where such methods can fail.
The Hilbert-Schmidt independence criterion (HSIC) equals the square of the Hilbert–Schmidt norm of the cross-covariance operator, and is used in unconditional independence testing [Gretton2008]. Fukumizu2008 extend this idea to conditional independence testing. To construct a test for continuous variables , their work requires clustering of the values of and permuting and values within the same cluster component. Another extension is proposed by Zhang2011uai. Their kernel conditional independence (KCI) test is stated to yield pointwise asymptotic level control.
4 Notation
No-free-lunch in Conditional Independence Testing
In this section we show that, under certain conditions, no non-trivial test for conditional independence with valid level exists. To state our result, we introduce the following subsets of defined to be the set of all distributions for absolutely continuous with respect to Lebesgue measure.
A proof is given in the appendix. Note that taking to be finite ensures all the random vectors are bounded. Thus, for example, averages will converge in distribution to Gaussian limits uniformly over ; however, as the result shows, this does not help in the construction of a non-trivial test for conditional independence. An immediate corollary to Theorem 2 is that there is no non-trivial test for conditional independence with uniformly asymptotic level.
For all and for any sequence of tests we have
This result is in stark contrast to unconditional independence testing, where a permutation test can always be used to control the size of any testing procedure. As a consequence, there exist tests with valid level at sample size and non-trivial power. For example, Hoeffding1948 introduces a rank-based test in the case of univariate random variables and proves that it maintains uniformly asymptotic level and has asymptotic power against each fixed alternative. For the multivariate case, Berrett2017 consider a test based on mutual information and prove level guarantees, as well as uniform power results against a wide class of alternatives. Thus while independence testing remains a hard problem in that it is only possible to have uniform power against certain subsets of alternatives, this is different to conditional independence testing where we can only hope to control the size uniformly over certain subsets of the null hypothesis.
Inspection of the proof shows that Theorem 2 also holds in the case where the variables and have marginal distributions that are absolutely continuous with respect to counting measure, for example. Theorem 2 therefore contains an impossibility result for testing the equality of two conditional distributions (by taking to be an indicator specifying the distribution). The continuity of , however, is necessary. If only takes values in , for example, one can reduce the problem of conditional independence testing to unconditional independence testing by combining the tests for X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z=1 and X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z=2.
The null hypothesis being dense with respect to TV distance among the alternative hypothesis is a sufficient condition for the problem to be untestable [romano2004non]. Proposition 5, proved in the supplementary material, illustrates that this is not the case here: at least for , there exists an alternative, for which there is no distribution from the null that is arbitrarily close.
For , the total variation distance is given by
In Proposition 16 in the appendix, we also show that the null and alternative hypotheses are well-separated in the sense of KL divergence. On the other hand, it is known that if a problem is untestable, the convex closure of the null must contain the alternative [Kraft55, Bertanha2018, Theorem 5 and Corollary 1, respectively]. The problem of conditional independence testing therefore has the interesting property of the null being separated from the alternative, but its convex hull is TV-dense in the alternative.
A practical implication of the negative result of Theorem 2 is that domain knowledge is needed to select a conditional independence test appropriate for the data at hand. However guessing the form of the entire joint distribution in order to apply a test with the appropriate type I error control seems challenging. In Section 3 we introduce a form of test that instead relies on selecting regression methods that have sufficiently low prediction error when regressing and on , thereby converting the problem of finding an appropriate test to the more familiar task of prediction. Before discussing this methodology, we first sketch some of the main ideas of the proof of Theorem 2 below.
Figure 1 sketches the main components in our construction of , which is laid out formally in Lemmas 13 and 14 in the appendix.
The key idea is as follows. Given , we consider a binary expansion of , which we truncate at some point to obtain . We then concatenate the digits of and placing the former at the end of the binary expansion, thereby embedding within . This way, can be reconstructed from , and adding noise gives a distribution that is absolutely continuous with respect to Lebesgue measure. By making the truncation point sufficiently far down the expansions, we can ensure the proximity required.
The Generalised Covariance Measure
We have seen how conditional independence testing is not possible without restricting the null hypothesis. In this section we give a general construction for a conditional independence test based on regression procedures for regressing and on . In the case where , which we treat in the next section, the basic form of our test statistic is a normalised covariance between the residuals from these regressions. Because of this, we call our test statistic the generalised covariance measure (GCM). In Section 3.2 we show how to extend the approach to handle cases where more generally .
Given a distribution for , we can always decompose
Let and be estimates of the conditional expectations and formed, for example, by regressing and on . For , we compute the product between residuals from the regressions:
Here, and in what follows, we have sometimes suppressed dependence on and for simplicity of presentation. We then define to be a normalised sum of the ’s:
Our final test can be based on with large values suggesting rejection. Note that the introduction of notation for the numerator and denominator in the definition of are for later use in Theorem 8.
In the case where and are formed through linear regressions, the test is similar to one based on partial correlation, and would be identical were the denominator in (3) to be replaced by the the product of the empirical standard deviations of the vectors and . This approach however would fail for Example 1 despite and being linear (in fact both equal to the zero function) as the product of the variances of the residuals would not in general equal the variance of their product. Indeed, the reader may convince herself using pcor.test from the R package ppcor [ppcor], for example, that common tests for vanishing partial correlation do not yield the correct size in this case.
The following result gives conditions under which when the null hypothesis of conditional independence holds, we can expect the asymptotic distribution of to be a standard normal.
Applying the Cauchy–Schwarz inequality and Markov’s inequality, we see the requirement that is fulfilled if
Note that the rate of convergence requirement on and is a slower rate of convergence than the rate obtained when estimating Lipschitz regression functions when , for example. Furthermore, we show in Section 4 that and being in a reproducing kernel Hilbert space (RKHS) is enough for them to be estimable at the required rate.
In the setting where is high-dimensional and and are sparse and linear, standard theory for the Lasso [tibshirani96regression, buhlmann2011statistics] shows that it may be used to obtain estimates and satisfying the required properties under appropriate sparsity conditions. In fact, in this case our test statistic is closely related to that involved in the ANT procedure of Ren2015 and the so-called RP test introduced in Shah2018, which amount to a regularised partial correlation. A difference is that the denominator in (3) means the GCM test would not require \varepsilon_{P}\mbox{{}\perp\mkern-11.0mu\perp{}}\xi_{P} unlike the ANT test and the RP test.
We now briefly sketch the reason for the relatively weak requirement on the MSPEs. In the following we suppress dependence on for simplicity of presentation. We have
The summands in the final term in (5) are i.i.d. with zero mean provided , so the central limit theorem dictates that these converge to a standard normal. We also see that the simple form of the GCM gives rise to the term involving a product of bias-type terms from estimating and , so each term is only required to converge to 0 at a slow rate such that their product is of smaller order than the variance of the final term. The summands in are, under the null, mean zero conditional on . This term and similarly are therefore both relatively well-behaved, and give rise to the weak conditions on and .
Control of the term in (5) under the alternative can proceed in exactly the same way as under the null. However control of the terms and typically requires additional conditions (for example Donsker-type conditions) on the estimators and as under the alternative both the errors and can depend on . A notable exception is when and are sparse linear functions; in this setting alternative arguments can be used to show the GCM with Lasso regressions has optimal power when has a sparse inverse covariance [Ren2015, Shah2018].
To state a general result avoiding additional conditions, here we will suppose that and have been constructed from an auxiliary training sample, independent of the data (e.g. through sample-splitting); see, for example, [robins2008higher, Zheng2011]. A drawback however, compared to the original GCM, is that the corresponding prediction error terms and are here out-of-sample prediction errors. These are typically more sensitive to the distribution of and larger than the in-sample prediction errors featuring in Theorem 6. For this reason we consider the sample splitting approach to be more of a tool to facilitate theoretical analysis and would usually recommend using the original GCM in practice due to its typically better type I error control.
Then under the conditions of (i) in Theorem 6 we have
with and defined as in (3).
Under the conditions of (ii) in Theorem 6 we have
A proof is given in the supplementary material. We see that we achieve optimal rates for estimating .
1.2 Relationship to semiparametric models
In viewing as an estimator of the functional , our GCM test connects to a vast literature in semiparametric statistics. In particular, the requirement of estimating nonparametric quantities (in our case and ) at a rate is common for estimators of functionals based on estimating equations involving influence functions [bickel1993efficient]. Our requirement on prediction error necessitates that at least one of and is Hölder -smooth with . Estimators of the expected conditional covariance functional requiring minimal possible smoothness conditions may be derived using the theory of higher order influence functions [robins2008higher, robins2009semiparametric, li2011higher, robins2017minimax]; these estimators are however significantly more complicated. newey2018cross study another approach to estimation of the functional based on a particular spline-based regression method. The work of chernozhukov2017double uses related ideas to ours here to obtain convergent estimates and confidence intervals for parameters such as average treatment effects in causal inference settings. A distinguishing feature of our work here is that we only require in-sample prediction error bounds under the null of conditional independence, which is advantageous in our setting for the reasons mentioned in the previous section.
2 Multivariate X𝑋X and Y𝑌Y
We define our aggregated test statistic to be
In order to understand what values of indicate rejection, we will compare to
Here is the sample mean of the components of .
Let be the quantile function of . This is a random function that depends on the data through . Note that given the , we can approximate to any degree of accuracy via Monte Carlo.
The ground-breaking work of chernozhukov2013gaussian gives conditions under which can well-approximate the quantile function of a version of where all bias terms, that is terms corresponding to , and are all equal to 0. We will require that those conditions are met by for all , . Below, we lay out these conditions, which take two possible forms. Let ; note that and are permitted to change with , though we suppress this in the notation.
The result below shows that under the moment conditions above, provided the prediction error following the regressions goes to zero sufficiently fast, closely approximates the quantile function of and therefore may be used to correctly calibrate our test.
Suppose that for , the following is true: there are constants such that for each and , there exists such that one of (A1a) and (A1b) hold, and that (A2) holds. Suppose that
A proof is given in the supplementary material.
If the errors and are all sub-Gaussian with parameters bounded above by some constant uniformly across , we may easily see that both (A1a) and (A1b) are satisfied with a constant; see chernozhukov2013gaussian for further discussion.
If additionally we have , (6), (7) and (8) will all be satisfied.
GCM Based on Kernel Ridge Regression
We now apply the results of the previous section to a GCM based on estimating the conditional expectations via kernel ridge regression. For simplicity, we consider only the univariate case where . In the following, we make use of the notation introduced in Section 3.1.
Consider forming estimates and through kernel ridge regressions of and on in the following way. For , let
We will consider selecting a final tuning parameter in the following data-dependent way:
The term minimised on the RHS is an upper bound on the mean-squared prediction error omitting constant factors depending on (defined below in Theorem 11) and or . Because of the hidden dependence on these quantities, this is not necessarily a practically effective way of selecting : our use of it here is simply to facilitate theoretical analysis. Finally define , and define analogously. We will write for the test statistic formed as in (3) with these choices of and .
Let be such that for all and .
A proof is given in the supplementary material.
An application of the dominated convergence theorem shows that a sufficient condition for (10) to hold is that .
Experiments
Section 3 proposes the generalised covariance measure (GCM). Although we provide detailed computations for kernel ridge regression in Section 4, the technique can be combined with any regression method. In practice, the choice may depend on external knowledge of the specific application the user has in mind. In this section, we study the empirical performance of the GCM with boosted regression trees as the regression method. In particular, we use the R package xgboost [chen2018xgboost, chen2016xgboost] with a ten-fold cross-validation scheme over the parameter maxdepth.
Theorem 2 states that if a conditional independence test has power against an alternative at a given sample size, then there is a distribution from the null that is rejected with probability larger than the significance level. We now illustrate the no-free-lunch theorem empirically.
Let us fix an RKHS that corresponds to a Gaussian kernel with bandwidth . We now compute for different sample sizes the rejection rates for data sets generated from the following model: , , and , with , i.i.d., and defining a function . Figure 2 shows a plot of for and .
Clearly, for any , we have X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z, but for large values of the independence will be harder to detect from data. We now fix three different sample sizes , , and . For any of such sample size , we can find an , i.e., a distribution from the null, such that the probability of (falsely) rejecting X\mbox{{}\perp\mkern-11.0mu\perp{}}Y\mid Z is larger than the prespecified level . Figure 3 shows the results for the GCM test with boosted regression trees and the significance level : for any sample size, there exists a distribution from the null, for which the test rejects the null hypothesis of conditional independence.
For , we can choose , for , we choose , and for , .
is the Fourier transform of . Equation (11) shows that a null hypothesis containing all of the above models for , violates one of the assumptions in Theorem 11: for this choice of RKHS and null hypothesis there is no such that . (Note that not all sequences of functions with growing RKHS norm also yield a violation of level guarantees: some functions with large RKHS norm, e.g., modifications of constant functions, can be easily learned from data.) Other conditional independence tests fail on the examples in Figure 3, too, for a similar reason. However most of these other methods are less transparent in the underlying assumptions, since they do not come with uniform level guarantees.
2 On Level and Power
It is of course impossible to provide an exhaustive simulation-based level and power analysis. We therefore concentrate on a small choice of distributions from the null and the alternative. In the following, we compare the GCM with three other conditional independence tests: KCI [Zhang2011uai] with its implementation from CondIndTests [Heinze2017], and the residual prediction test [Heinze2017, Shah2018]. We also compare to a test that performs the same regression as GCM, but then tests for independence between the residuals, rather than vanishing correlation, using HSIC [Gretton2008]. (This procedure is similar to the one that Fan2015 propose to use in the case of additive noise models.) As we discuss in Example 1, we do not expect this test to hold level in general. We then consider the following distributions from the null:
, , , ;
independent, , ;
, , , , ; and
, , .
In the remainder of this section, we refer to these settings as (a) “”, (b) “”, (c) “biv. ”, (d) “biv. ”, and (e) “multipl. noise”, respectively. For each of the sample sizes , , , , and , we first generate data sets, and then compute rejection rates of the considered conditional independence tests. The results are shown in Figure 4. For rejection rates below the hypothesis “the size of the test is less than ” is not rejected at level 0.01 (pointwise). The GCM indeed has promising behaviour in terms of type I error control. As expected, however, it requires the sample size to be big enough to obtain a reliable estimate for the conditional mean.
We then investigate the tests’ power by altering the data generating processes (a)–(e), described above. Each equation for receives an additional term , which yields X\mbox{{}\not\!\perp\mkern-11.0mu\perp{}}Y\mid Z (for (d), we add the term to the equation of ). Figure 5 shows empirical rejection rates.
All methods, except for RPT, are able to correctly reject the hypothesis that the distribution is from the null, particularly with increasing sample size. In our experimental setup, it is the level analysis, that poses a greater challenge for the methods other than GCM.
Discussion
A key result of this paper is that conditional independence testing is hard: non-trivial tests that maintain valid level over the entire class of distributions satisfying conditional independence and that are absolutely continuous with respect to Lebesgue measure cannot exist. In unconditional independence testing, control of type I error is straightforward and research efforts have focussed on power properties of tests. Our result indicates that in conditional independence testing, the basic requirement of type I error control deserves further attention. We argue that as domain knowledge is necessary in order to select a conditional independence test appropriate for a particular setting, there is a need to develop conditional independence tests whose suitability is reasonably straightforward to judge.
In this work we have introduced the GCM framework to address this need. The ability for the GCM to maintain the correct level relies almost exclusively on the predictive properties of the regression procedures upon which it is based. Selecting a good regression procedure, whilst mathematically an equally impossible problem, can at least be usefully informed by domain knowledge. We hope to see further applications of GCM-based tests in the future. On the theoretical side, it would be interesting to understand more precisely the tradeoff between the type I and type II errors in conditional independence testing. Often, work on testing fixes a null and then considers what sorts of classes of alternative distributions it is possible, or impossible to maintain power against. In the context of conditional independence testing, the problem set is even richer, in that one must also consider subclasses of null distributions, and can then study power properties associated with that null.
Acknowledgements
We thank Kacper Chwialkowski, Kenji Fukumizu, Arthur Gretton, Bernhard Schölkopf, and Ilya Tolstikhin for helpful discussions, initiated by BS, on the hardness of conditional independence testing, and KC and AG for helpful comments on the manuscript. BS has raised the point that for finitely many data conditional independence testing may be arbitrarily hard in several of his talks, e.g., at the Machine Learning Summer School in Tübingen in 2013. We are very grateful to Matey Neykov, Anton Lundborg and Cyrill Scheidegger for kindly pointing out some errors in earlier versions of this manuscript, and suggesting potential fixes. We also thank Peter Bühlmann for helpful discussions regarding the aggregation of tests via taking the maximum test statistic. Finally, we thank four anonymous referees and an associate editor for helpful comments that have improved the manuscript.
Appendix A Proof of Theorem 2
Let be as defined in Lemma 13 (taking ). From Lemma 15 applied to , we know there exists a finite union of hypercubes each of the form
such that . Now on the region defining we know that the density of is bounded above by . Thus we have that
Then since as , there exists such that .
A.2 Auxilliary Lemmas
Step 2: We can now apply Lemma 14 with and . This gives us random vectors where ; for each , satisfies
may be recovered from via for some function ;
From (a’), by the triangle inequality we have that
For let . Let be the set of -tuples of distinct elements of . Now define
and let . Fix and , and set . Then has non-empty intersection with a given if and only if for all . Thus if , is disjoint from all . On the other hand if , the number of that intersect is , the number of permutations of whose outputs are fixed at points. We therefore have that all but at most of the support sets are disjoint from , whence
Now the set is the disjoint union of all sets with and . Thus summing over all such sets we obtain
This gives that there exists at least one with
for every . Putting things together, we have that there must exist an with
for sufficiently large, which can be arranged by taking sufficiently large. ∎
Moreover, defining ,
the probability that takes any value is bounded above by ;
Define the random variable by
This is a concatenation of the binary expansions of for . Observe that and that may be recovered from by examining its binary expansion. Indeed, is the residue modulo of .
One important feature of this construction is that we can recover from (and ) via , and thereby determine , which then reveals and each of the individual . In summary, this gives us different embeddings of the vector into a single random variable.
using the independence of in the second line above. This gives (iv).
The following well-known result appears for example in weaver2013measure.
such that , where denotes Lebesgue measure and denotes the symmetric difference operator.
Appendix B KL-Separation of null and alternative
References
Appendix C Proof of additional results in Sections 2 and B
In this section we provide proofs of Propositions 5 and 16.
The proof of Proposition 5 makes frequent use of the following lemma.
Let probability measures and be defined on . Then
Let . Then
where we have used Lemma 17 in the second and last lines above. We now apply Lemma 17 once more to give
C.1.2 Proof of Proposition 16
where denotes the mutual information between and , and is the correlation coefficient of the bivariate Gaussian , both under .
Straightforward calculations (Section 10.1.2 of Bishop2006) show that and are Gaussian densities with mean zero and variances and , respectively, where is the covariance matrix of the bivariate distribution for under . It then follows from (17) that . Thus we have,
Appendix D Proofs of Results in Section 3
In this section, we will use as shorthand for for some constant , where what is constant with respect to will be clear from the context.
We begin by proving (i). We shall suppress the dependence on and at times to lighten the notation. Recall the decomposition,
Thus the summands in the final term of (18) are i.i.d. mean zero with finite variance, so the central limit theorem dictates that this converges to a standard normal distribution. By the Cauchy–Schwarz inequality, we have
We now turn to and . Conditional on and , is a sum of mean-zero independent terms and
Using Slutsky’s lemma, we may conclude that . We now argue that the denominator will converge to 1 in probability, which will give us again by Slutsky’s lemma.
First note that from the above we have in particular that . Thus by the weak law of large numbers (WLLN). It suffices therefore to show that . Now
Multiplying out and using the inequality we have
by the same argument as used to show . Similarly, we also have that the corresponding term involving , and tends to 0 in probability. For the final term in , we have
The uniform result (ii) follows by an analogous argument to the above, the only differences being that all convergence in probability statements must be uniform, and the convergence in distribution via the central limit theorem must also be uniform over . These stronger properties follow easily from the stronger assumptions given in the statement of the result; that they suffice for uniform versions of the central limit theorem, WLLN and the particular applications of Slutsky’s lemma required here to hold is shown in Lemmas 18, 19 and 20 below.
D.2 Uniform convergence results
For each , let satisfy
By the central limit theorem for triangular arrays [vaart_1998, Proposition 2.27], we have
thus taking limits in (22) immediately yields the result. ∎
Also, by Markov’s inequality and then the triangle inequality, we have for each that
using Hölder’s inequality. By Markov’s inequality, we have
We prove (a) first. Given , let be such that for all and for all
Thus for all and for all ,
Then for all and for all , for
D.3 Proof of Theorem 8
The proof of this result is very similar to that of Theorem 6, and we will adopt the same notation here. We shall suppress the dependence on and at times to lighten the notation. We shall denote the auxiliary dataset by . We begin by proving (i). We have
Thus the summands in the final term are i.i.d. mean zero with finite variance, so the central limit theorem dictates that this converges to a standard normal distribution.
Control of the term is identical to that in the proof of Theorem 6. Turning to and , Conditional on and the auxiliary dataset , is a sum of mean-zero independent terms and
That follows exactly as in the argument preceding (20), and similarly for . Using Slutsky’s lemma, we may conclude that .
The argument that proceeds similarly to that in the proof of Theorem 6, but with conditioning on or replaced by conditioning on . The uniform result (ii) follows by an analogous argument, see the comments at the end of the proof of Theorem 6.
D.4 Proof of Theorem 9
The proof of Theorem 9 relies heavily on results from chernozhukov2013gaussian which we state in the next section for convenience, after which we present the proof Theorem 9.
for some constants .
The labels of the corresponding results in chernozhukov2013gaussian are given in brackets. A slight difference between our presentation of these results here and the statements in chernozhukov2013gaussian is that we consider the maximum absolute value rather than the maximum.
There exists an absolute constant such that for all ,
Then there exists a constant such that
The following result includes a slight variant of Lemma 3.2 of chernozhukov2013gaussian whose proof follows in exactly the same way.
Writing and for the quantile functions of and respectively,
Note the second inequality does not appear in chernozhukov2013gaussian but follows easily in a similar manner to the first inequality.
D.4.2 Proof of Theorem 9
We will assume, without loss of generality, that for all . Furthermore, we will suppress dependence on and at times in order to lighten the notation. We will use to denote a positive constant that may change from line to line.
in terms of , and later bound itself. Fixing and suppressing dependence on this, we have
Now let be the event that and .
From Theorem 22, we have . Lemma 23 and Lemma 21 give
We thus see that writing , if , and , then we will have . These remaining properties are shown in Lemma 26.
D.5 Auxiliary Lemmas
Consider the setup of Theorem 9 and its proof (Section D.4.2). Let . We have that
;
;
.
The arguments here are similar to those in the proof of Theorem 6, but with the added complication of requiring uniformity over expressions corresponding to different components of and . We will at times suppress the dependence of quantities on to lighten notation.
We begin by showing (i). Let us decompose each as , these terms being defined as the analogues of , and but corresponding to the regression of and on to .
By the Cauchy–Schwarz inequality, we have using (6). Let us write . In order to control we will use Lemma 29. Given , we have
whence . Similarly , which completes the proof of (i).
Lemma 27 shows that the first term on the RHS is . For the second term we have
from (i) and Lemma 24, noting that (A2) implies in particular that . Thus applying Lemma 28, we have that .
We already know that so applying Lemma 28, we see that . It is then straightforward to see that (26) holds. This completes the proof of (iii). ∎
Consider the setup of Theorem 9 and its proof (Section D.4.2) as well as that of Lemma 26. We have that
Fix and consider . Writing and , and suppressing dependence on (so e.g. ) we have
We see that the sum on the RHS contains terms of four different types of which , , and are representative examples. We will control the sizes of each of these when summed up over . Turning first to , note that .
The argument of (19) combined with (6) shows that
Next we have .
Arguing as in (25), we have for any ,
using Markov’s inequality in the final line. Next by (8), , so
Again by (8), this is , so by bounded convergence, we have that
Considering the third term, we have , so this term may be controlled in the same way.
using (27). This completes the proof of the result. ∎
Let . As is continuous at 0, it is bounded on a sufficiently small interval . Let and set . Note by the mean-value theorem we have the inequality for all . Thus
We will apply a symmetrisation argument to the inner conditional expectation. To this end, introduce such that and have the same distribution conditional on and such that W^{\prime}\mbox{{}\perp\mkern-11.0mu\perp{}}W\mid V. In addition, let be i.i.d. Rademacher random variables independent of all other quantities. The RHS of the last display is equal to
Appendix E Proof of Theorem 11
We will prove (ii) first. From Theorem 6 and Remark 7, it is enough to show that
and an analogous result for . We know from Lemma 30 that
for a constant . Note that the first inequality in the last display allows us to effectively move from a fixed design with a design-dependent tuning parameter to a random design but where is fixed since the minimum is outside the expectation. For , let be given by
Observe that is increasing and by (10). Let so . Thus for sufficiently large , whence for such we have
To show (i), set in the preceding argument and note that by dominated convergence theorem using the summability of the eigenvalues i.e. (10) always holds.
The following result gives a bound on the prediction error of kernel ridge regression with fixed design. The arguments are similar to those used in the analysis of regular ridge regression, see for example JMLR:v14:dhillon13a.
Let (for some input space ) be deterministic and suppose
Let . We know from the representer theorem [Kimeldorf1970, Schoelkopf2001] that
Let and write where and . Then
where denotes the inner product of . Write . Then
where is the th column (or row) of . Thus K\alpha=\Big{(}f(z_{1}),\ldots,f(z_{n})\Big{)}^{T}. By Pythagoras’ theorem
Now let the eigendecomposition of be given by with and define . We see that times the left-hand side of (29) is
Now as note that when . Let be the diagonal matrix with th diagonal entry equal to if and 0 otherwise. Then
using the inequality in the final line. Finally note that
Putting things together gives the result. ∎
Consider the setup of Theorem 11. For all ,
The proof below is not included in the published version of this paper, where instead some results in a book are cited in order to establish this result. However, it was subsequently discovered that the results in the book were incorrect. Below is a complete proof of the result.
By the Cauchy–Schwarz inequality, for all and ,
so is positive semi-definite.
By Weyl’s inequality, noting that the nonzero eigenvalues of and coincide, we have, for all ,
where denotes the positive part. This will prove concavity of as
so subtracting (31) yields as desired.
Certainly (31) holds when . Now by Lidskii’s inequality, for each ,
For convenience, let us set . Then for any , if , we have
using (32) for the first inequality. We thus have that (31) holds whatever the value of , and so is concave, which completes the proof. ∎