A Bootstrap Method for Error Estimation in Randomized Matrix Multiplication
Miles E. Lopes, Shusen Wang, Michael W. Mahoney
Introduction
The development of randomized numerical linear algebra (RNLA or RandNLA) has led to a variety of efficient methods for solving large-scale matrix problems, such as matrix multiplication, least-squares approximation, and low-rank matrix factorization, among others (Halko et al. 2011; Mahoney 2011; Woodruff 2014; Drineas and Mahoney 2016). A general feature of these methods is that they apply some form of randomized dimension reduction to an input matrix, which reduces the cost of subsequent computations. In exchange for the reduced cost, the randomization leads to some error in the resulting solution, and consequently, there is a tradeoff between cost and accuracy.
For many canonical matrix problems, the relationship between cost and accuracy has been the focus of a growing body of theoretical work, and the literature provides many performance guarantees for RNLA methods. In general, these guarantees offer a good qualitative description of how the accuracy depends on factors such as problem size, number of iterations, condition numbers, and so on. Yet, it is also the case that such guarantees tend to be overly pessimistic for any particular problem instance — often because the guarantees are formulated to hold in the worst case among a large class of possible inputs. Likewise, it is often impractical to use such guarantees to determine precisely how accurate a given solution is, or precisely how much computation is needed to achieve a desired level of accuracy.
In light of this situation, it is of interest to develop efficient methods for estimating the exact relationship between the cost and accuracy of RNLA methods on a problem-specific basis. Since the literature has been somewhat quiet on this general question, the aim of this paper is to analyze randomized matrix multiplication as a prototype setting, and propose an approach that may be pursued more broadly. (Extensions are discussed at the end of the paper in Section 6.)
2 Problem formulation
For example, the quantity is the tightest upper bound on that holds with probability at least 0.99. Hence, for any fixed , the function represents a precise tradeoff curve for relating cost and accuracy. Moreover, the function is specific to the input matrices and .
To clarify the interpretation of , it is helpful to plot the fluctuations of . In the left panel of Figure 1, we illustrate a simulation where randomly generated rows are incrementally added to a sketching matrix , with and held fixed. Each time a row is added to , the sketch size increases by 1, and we plot the corresponding value of as ranges from 100 to 1,700. (Note that the user is typically unable to observe such a curve in practice.) In the right panel, we display 1,000 repetitions of the simulation, with each colored curve corresponding to one repetition. (The variation is due only to the different draws of .) In particular, the function is represented by the thick black curve, delineating the top 1% of the colored curves at each value of .
In essence, the right panel of Figure 1 shows that if the user had knowledge of the (unknown) function , then two important purposes could be served. First, for any fixed value , the user would have a sharp problem-specific bound on . Second, for any fixed error tolerance , the user could select so that that “just enough” computation is spent in order to achieve with probability at least .
The challenge we face is that a naive computation of by generating samples of would defeat the purpose of sketching. Indeed, generating samples of by brute force would require running the sketching method many times, and it would also require computing the entire product . Consequently, the technical problem of interest is to develop an efficient way to estimate , without adding much cost to a single run of the sketching method.
3 Contributions
From a conceptual standpoint, the main novelty of our work is that it bridges two sets of ideas that are ordinarily studied in distinct communities. Namely, we apply the statistical technique of bootstrapping to enhance algorithms for numerical linear algebra. To some extent, this pairing of ideas might seem counterintuitive, since bootstrap methods are sometimes labeled as “computationally intensive”, but it will turn out that the cost of bootstrapping can be managed in our context. Another reason our approach is novel is that we use the bootstrap to quantify error in the output of a randomized algorithm, rather than for the usual purpose of quantifying uncertainty arising from data. In this way, our approach harnesses the versatility of bootstrap methods, and we hope that our results in the “use case” of matrix multiplication will encourage broader applications of bootstrap methods in randomized computations. (See also Section 6, and note that in concurrent work, we have pursued similar approaches in the contexts of randomized least-squares and classification algorithms (Lopes et al. 2018b; Lopes 2019).)
From a technical standpoint, our main contributions are a method for estimating the function , as well as theoretical performance guarantees. Computationally, the proposed method is efficient in the sense that its cost is comparable to a single run of standard sketching methods (see Section 2). This efficiency is made possible by an “extrapolation” technique, which allows us to bootstrap small “initial” sketches with rows, and inexpensively estimate at larger values . The empirical performance of the extrapolation technique is also quite encouraging, as discussed in Section 5. Lastly, with regard to theoretical analysis, our proofs circumvent some technical restrictions occurring in the analysis of related bootstrap methods in the statistics literature.
4 Related work
Our approach differs from the “test-vector approach” in some essential ways. One difference arises because the bounds on are generally constructed from the vectors using conservative inequalities. By contrast, our approach avoids this conservativeness by directly estimating , which is an optimal bound on in the sense of equation (4).
At a more technical level, the ability to avoid restrictions on and comes from our use of the Lévy-Prohorov metric for distributional approximations — which differs from the Kolmogorov metric that has been predominantly used in previous works on multiplier bootstrap methods. More specifically, analyses based on the Kolmogorov metric typically rely on “anti-concentration inequalities” (Chernozhukov et al. 2013; Chernozhukov et al. 2015), which ultimately lead to the mentioned variance assumptions. On the other hand, our approach based on the Lévy-Prohorov metric does not require the use of anti-concentration inequalities. Finally it should be mentioned that the techniques used to control the LP metric are related to those that have been developed for bootstrap approximations via coupling inequalities as in Chernozhukov et al. 2016.
This paper is organized as follows. Section 2 introduces some technical background. Section 3 describes the proposed bootstrap algorithm. Section 4 establishes the main theoretical results, and then numerical performance is illustrated in Section 5. Lastly, conclusions and extensions of the method are presented in Section 6, and all proofs are given in the appendices.
Preliminaries
We will use to denote a positive absolute constant that may change from line to line. The matrices , , and are viewed as lying in a sequence of matrices indexed by the tuple . For a pair of generic functions and , we write when there is a positive absolute constant so that holds for all large values of and . Furthermore, if and are two quantities that satisfy both and , then we write . Lastly, we do not use the symbols or when relating random variables.
Examples of sketching matrices.
Our theoretical results will deal with three common types of sketching matrices, reviewed below.
and leverage score sampling, for which further background may be found in the papers (Drineas et al. 2006b; Drineas et al. 2008; Drineas et al. 2012).
Subsampled randomized Hadamard transform (SRHT). Let be a power of , and define the Walsh-Hadamard matrix recursively The restriction that is a power of 2 can be relaxed with variants of SRHT matrices (Avron et al. 2010; Boutsidis and Gittens 2013).
is called an SRHT matrix. This type of sketching matrix was introduced in the seminal paper (Ailon and Chazelle 2006), and additional details regarding implementation may be found in the papers (Drineas et al. 2011; Wang 2015). (The factor is used so that is an orthogonal matrix.) An important property of SRHT matrices is that they can be multiplied with any matrix in time (Ailon and Liberty 2009), which is faster than the time usually required for a dense sketching matrix.
Methodology
Before presenting our method in algorithmic form, we first explain the underlying intuition.
Furthermore, in the cases of length sampling and Gaussian projection, the matrices are independent, and in the case of SRHT sketches, these matrices are “nearly” independent. So, in light of the central limit theorem, it is natural to suspect that the random matrix (9) will be well-approximated (in distribution) by a matrix with Gaussian entries. In particular, if we examine the entry, then we may expect that will approximately follow the distribution , where the unknown parameter can be estimated with
Based on these considerations, the idea of the proposed bootstrap method is to generate a random matrix whose entry is sampled from . It turns out that an efficient way of generating such a matrix is to sample i.i.d. random variables , independent of , and then compute
then the bootstrap algorithm will generate i.i.d. samples of , conditionally on . In turn, the -quantile of the bootstrap samples, say , can be used to estimate .
2 Multiplier bootstrap algorithm
3 Saving on computation with extrapolation
In its basic form, the cost of Algorithm 1 is , which has the favorable property of being independent of the large dimension . Also, the computation of the samples is embarrassingly parallel, with the cost of each sample being . Moreover, due to the way that the quantile scales with , it is possible to reduce the cost of Algorithm 1 even further — via the technique of extrapolation (also called Richardson extrapolation) (Sidi 2003; Brezinski and Zaglia 2013).
In order to take advantage of the theoretical scaling , we may use Algorithm 1 to compute with an initial sketch size , and then approximate the value for with the following extrapolated estimator
Hence, if the user would like to determine a sketch size so that , for some tolerance , then should be selected so that , which is equivalent to
In our experiments in Section 5, we illustrate some examples where an accurate estimate of at can be obtained from the rule (13) using an initial sketch size , yielding a roughly 20-fold speedup on the basic version of Algorithm 1.
Given that the purpose of Algorithm 1 is to enhance sketching methods, it is important to understand how the added cost of the bootstrap compares to the cost of running sketching methods in the standard way. As a point of reference, we compare with the cost of computing when is chosen to be an SRHT matrix, since this is one of the most efficient sketching methods. If we temporarily assume for simplicity that and are both of size , then it follows from Section 2 that computing has a cost of order . Meanwhile, the cost of running Algorithm 1 with the extrapolation speedup based on an initial sketch size is . Consequently, the extra cost of the bootstrap does not exceed the stated cost of sketching when the number of bootstrap samples satisfies
and in fact, this could be improved further if parallelization of Algorithm 1 is taken into account. It is also important to note that rather small values of are shown to work well in our experiments, such as . Hence, as long remains fairly small compared to , then the condition (14) may be expected to hold, and this is borne out in our experiments. The same reasoning also applies when , which conforms with the fact that sketching methods are intended to handle situations where is very large.
4 Relation with the non-parametric bootstrap
For readers who are more familiar with the “non-parametric bootstrap” (based on sampling with replacement), the purpose of this short subsection is to explain the relationship with the multiplier bootstrap in Algorithm 1. Indeed, an understanding of this relationship may be helpful, since the non-parametric bootstrap might be viewed as more intuitive, and perhaps easier to generalize to more complex situations. However, it turns out that Algorithm 1 is technically more convenient to analyze, and that is why the paper focuses primarily on Algorithm 1. Meanwhile, from a practical point of view, there is little difference between the two approaches, since both have the same order of computational cost, and in our experience, we have observed essentially the same performance in simulations. Also, the extrapolation technique can be applied to both algorithms in the same way.
Main results
Our main results quantify how well the estimate from Algorithm 1 approximates the true value , and this will be done by analyzing how well the distribution of a bootstrap sample approximates the distribution of . For the purposes of comparing distributions, we will use the Lévy-Prohorov metric, defined below.
The metric is a standard tool for comparing distributions, due to the fact that convergence with respect to is equivalent to convergence in distribution (Huber and Ronchetti 2009, Theorem 2.9).
Approximating quantiles.
An important property of the metric is that if two distributions are close in this metric, then their quantiles are close in the following sense. Recall that if is the distribution function of a random variable , then the -quantile of is the same as the generalized inverse . Next, suppose that two random variables and satisfy
for some with . Then, the quantiles of and are close in the sense that
where the function is strictly monotone, and satisfies . (For a proof, see Lemma 15 of Appendix F.) In light of this fact, it will be more convenient to express our results for approximating in terms of the metric.
1 Statements of results
Our main assumption involves three separate cases, corresponding to different choices of the sketching matrix .
The dimensions and satisfy . Also, there is a positive absolute constant such that , which is to say that neither nor grows exponentially with the other. In addition, one of the following sets of conditions holds, involving the parameter .
(Length sampling case). The matrix is generated by length sampling, with the probabilities in equation (5), and also, .
(SRHT case). The matrix is an SRHT matrix as defined in equation (6), and also, .
With regard to the original problem of estimating the quantile for , this rescaling makes no essential difference, since quantiles are homogenous with respect to scaling, and in particular, the -quantile of is simply .
As a second clarification, recall that the bootstrap method generates samples based upon a particular realization of . For this reason, the bootstrap approximation to is the conditional distribution . Consequently, it should be noted that is a random probability measure, and is a random variable, since they both depend on the random matrix .
Let for . If Assumption 1 (a) holds, then there is an absolute constant such that the following bound holds with probability at least ,
If Assumption 1 (b) holds, then there is an absolute constant such that the following bound holds with probability at least ,
Remarks.
A noteworthy property of the bounds is that they are dimension-free with respect to the large dimension . Also, they have a very mild logarithmic dependence on . With regard to the dependence on , there are two other important factors to keep in mind. First, the practical performance of the bootstrap method (shown in Section 5) is much better than what the rate suggests. Second, the problem of finding the optimal rates of approximation for multiplier bootstrap methods is a largely open problem — even in the simpler setting of bootstrapping the coordinate-wise maximum of vectors (rather than matrices). In the vector context, the literature has focused primarily on the Kolmogorov metric (rather than the LP metric), and some quite recent improvements beyond the rate have been developed in Chernozhukov et al. 2017 and Lopes et al. 2018a. However, these works also rely on model assumptions that would lead to additional restrictions on the matrices and in our setup. Likewise, the problem of extending our results to achieve faster rates or handle other metrics is a natural direction for future work.
The SRHT case.
For the case of SRHT matrices, the analogue of Theorem 1 needs to be stated in a slightly different way for technical reasons. From a qualitative standpoint, the results for SRHT and sub-Gaussian matrices turn out to be similar.
Let for . If Assumption 1 (c) holds, then there is an absolute constant such that the following bound holds with probability at least ,
Remarks.
Up to a factor involving , the bound for SRHT matrices matches that for sub-Gaussian matrices. Meanwhile, from a more practical standpoint, our empirical results will show that the bootstrap’s performance for SRHT matrices is generally similar to that for both sub-Gaussian and length-sampling matrices.
Further discussion of results.
To comment on the role of and in Theorems 1 and 2, it is possible to interpret them as problem-specific “scale parameters”. Indeed, it is natural that the bounds on should increase with the scale of and for the following reason. Namely, if or is multiplied by a scale factor , then it can be checked that the quantile error will also change by a factor of , and furthermore, the inequality (15) demonstrates a monotone relationship between the sizes of the quantile error and the error. For this reason, the bootstrap may still perform well in relation to the scale of the problem when the magnitudes of the parameters and are large. Alternatively, this idea can be seen by noting that the bounds can be made arbitrarily small by simply changing the units used to measure the entries of and .
Beyond these considerations, it is still of interest to compare the results for different sketching matrices once a particular scaling has been fixed. For concreteness, consider a scaling where the spectral norms of and satisfy . (As an example, if we view as a sample covariance matrix, then the condition simply means that the largest principal component score is of order 1.) Under this scaling, it is simple to check that , and , where is the “stable rank”. In particular, note that if and are approximately low rank, as is common in applications, then , and . Accordingly, we may conclude that if the conditions of Theorems 1 and 2 hold, then bootstrap consistency occurs under the following limits
where we have used the simplifying assumption that .
Experiments
This section outlines a set of experiments for evaluating the performance of Algorithm 1 with the extrapolation speed-up described in Section 3.3. The experiments involved both synthetic and natural matrices, as described below.
Natural matrices.
We also conducted experiments on five natural data matrices from the LIBSVM repository Chang and Lin 2011, named ‘Connect’, ‘DNA’, ‘MNIST’, ‘Mushrooms’, and ‘Protein’, with the same normalization that was used for the synthetic matrices. These datasets are briefly summarized in Table 1.
1 Design of experiments
Extrapolated estimates.
In order to illustrate the variability of the estimate over the 1,000 realizations, we plot three different curves as a function of . The blue curve represents the average value of , while the green and yellow curves respectively correspond to the estimates ranking 100th an 900th out of the 1,000 realizations.
2 Comments on numerical results
With attention to the extrapolation rule (12), there are two main points to note. First, the plots show that the extrapolation may be initiated at fairly low values of , which are much less than the sketch sizes needed to achieve a small sketching error . Second, we see that remains accurate for much larger than , well up to and perhaps even farther. Consequently, the results show that the extrapolation technique is capable of saving quite a bit of computation without much detriment to statistical performance.
To consider the relationship between theory and practice, one basic observation is that all three types of sketching matrices obey roughly similar bounds in Theorems 1 and 2, and indeed, we also see generally similar numerical performance among the three types. At a more fine-grained level however, the Gaussian and SRHT sketching matrices tend to produce estimates with somewhat higher variance than in the case of length sampling. Another difference between theory and simulation, is that the actual performance of the method seems to be better than what the theory suggests — since the estimates are accurate at values of that are much smaller than what would be expected from the rates in Theorems 1 and 2.
Conclusions and extensions
In this paper, we have focused on estimating the quantile as a way of addressing two fundamental issues in randomized matrix multiplication: (1) knowing how accurate a given sketched product is, and (2) knowing how much computation is needed to achieve a specified degree of accuracy. With regard to methodology, our approach is relatively novel in that it uses the statistical technique of bootstrapping to serve a computational purpose — by quantifying the error of a randomized sketching algorithm. A second important component of our method is the extrapolation technique, which ensures that the cost of estimating does not substantially increase the overall cost of standard sketching methods. Furthermore, our numerical results show that the extrapolated estimate is quite accurate in a variety of different situations, suggesting that our method may offer a general way to enhance sketching algorithms in practice.
More generally, the problems we have addressed for randomized matrix multiplication arise for many other large-scale matrix computations. Hence, it is natural to consider extensions of our approach to more complex settings, and in the remainder of this section, we briefly mention a few possibilities for future study.
At a high level, each of the applications below deals with an object, say , that is difficult to compute, as well as a randomized approximation, say , that is built from a sketching matrix with rows. Next, if we consider the random error variable
which has cost. In the case where , the matrix multiplications are a computational bottleneck, and an approximate solution can be obtained via
Appendices
Outline of appendices. Appendix A explains the main conceptual ideas underlying the proofs of Theorems 1 and 2. In particular, the proofs of these theorems will be decomposed into two main results: Propositions 3 and 4, which are given in Appendix A.
Appendix B will prove the sub-Gaussian case of Proposition 3, and Appendix C will prove the sub-Gaussian case of Proposition 4. Later on, Appendices D and E, will explain how the arguments can be changed to handle the length-sampling and SRHT cases.
Conventions used in proofs. If either of the matrices or are , then has a trivial point-mass distribution at 0. In this degenerate case, it is simple to check that the bootstrap produces an exact approximation. So, without loss of generality, all proofs are written under the assumption that and are non-zero. Next, since Assumption 1 is formulated using the notation, there is no loss of generality in carrying out calculations under the assumption that all the numbers are at least 8, which will ensure that quantities such as are greater than 2. Lastly, if a numbered lemma is invoked in the middle of a proof, the lemma may be found in Appendix F.
Appendix A Gaussian and bootstrap approximations
Section A.1 introduces some notation that helps us to analyze the rescaled sketching error from the viewpoint of empirical processes. Next, in Section A.2, Theorem 1 will be decomposed into two propositions that compare and with the maximum of a suitable Gaussian process. The proofs of these propositions may be found in Appendices B and C.
The main idea of our analysis is to view as the maximum of an empirical process, which we now define. Recall the notation
For future reference, we also define the corresponding bootstrap process
where are i.i.d. and independent of .
Clearly, . Under this definition, it is simple to check that and , defined in equations (16) and (17), can be expressed as
A.2 Statements of the approximation results
for all . In turn, define the following random variable as the the maximum of this Gaussian process,
We are now in position to state the approximation results.
Under Assumption 1 (a), the following bound holds,
Under Assumption 1 (b), the following bound holds,
Under Assumption 1 (c), the following bound holds with probability at least
If Assumption 1 (a) holds, then the following bound holds with probability at least ,
If Assumption 1 (b) holds, then the following bound holds with probability at least ,
If Assumption 1 (c) holds, then the following bound holds with probability at least ,
Appendix B Proof of Proposition 3, part (a)
where we define the following non-random quantities
The remainder of the proof consists in bounding each of these quantities, and we will establish the following two bounds for all ,
Recall also that , and under Assumption 1.
For the moment, we set aside the task of proving these bounds, and consider the choice of . There are two constraints that we would like to satisfy. First, we would like to choose so that the bounds on and are of the same order. In particular, we desire
Second, with regard to line (24) we would like to solve the equation
so that the second term in line (24) is of order . The idea is that if satisfies both of the conditions (30) and (31), then the definition of the metric and line (24) imply
which clearly satisfies line (31). Futhermore, it can be checked that also satisfies the constraint (30) under Assumption 1 (a). (The details of verifying this are somewhat tedious and are given in Lemma 16 in Appendix F.)
To finish the proof, it remains to establish the bounds (28) and (29). To handle , note that In this step, we use the assumption that for all and .
which proves the claimed bound in line (28).
Next, regarding , let us consider the random variable
It follows from Lemma 9 (part 4) and Lemma 13 in Appendix F that can be bounded in terms of the Orlicz norm ,
To handle , it follows from Lemma 9 (part 3), that
Furthermore, due to the earlier calculation starting at line (32) above,
Combining the last few steps, we conclude that
Lastly, we turn to bounding . Fortunately, much of the argument for bounding can be carried over. Specifically, consider the random variable
Lemma 13 in Appendix F shows that can be bounded in terms of ,
Proceeding in a way that is similar to the bound for , it follows from part (3) of Lemma 9 that
Furthermore, for every , the facts in Lemma 9 imply
Appendix C Proof of Proposition 4, part (a)
If we set to the particular choice , then solves the equation
Consequently, by the definition of the metric, this implies that whenever the event occurs, we have
and this implies the statement of Proposition 4.
where we define the following function of ,
Based on this definition, it is simple to check that the proof is reduced to showing that the event occurs with probability at least . This is guaranteed by the lemma below.
Suppose Assumption 1 (a) holds. Then, the event
occurs with probability at least .
We begin by bounding with two other quantities (to be denoted , ) that are easier to bound. Using the fact that it can be checked that
From looking at the last two lines, it is natural to define the following zero-mean random variables for any triple , Note that is a multivariate polynomial of degree-4 in the variables , and so techniques based on moment generating functions, like Chernoff bounds, are not generally applicable to controlling . For instance, if , then the variable does not have a moment generating function. Handling this obstacle is a notable aspect of our analysis.
Suppose Assumption 1 (a) holds. Then, the event
occurs with probability at least , and the event
occurs with probability at least .
Let . Due to part (3) of Lemma 9 in Appendix F, we have
Note that each variable has moments of all orders, and when and are held fixed, the sequence is i.i.d. For this reason, it is natural to use Rosenthal’s inequality to bound the norm of the right side of the previous line. Specifically, the version of Rosenthal’s inequality Here we are using the version of Rosenthal’s inequality with the optimal dependence on . It is a notable aspect of our argument that it makes essential use of this scaling in . stated in Lemma 10 in Appendix F leads to
The norm on the right side of Rosenthal’s inequality (45) satisfies the bound
where the last step follows from the fact
obtained in the bounds (32) through (33).
Next, to handle the norms in the bound (45), observe that
Hence, the second term in the Rosenthal bound (45) satisfies
and as long as the first term in the Rosenthal bound dominates Under the choice of that will be made at the end of this argument, it is straightforward to check that the condition (47) holds under Assumption 1., i.e.
then we conclude that for any and ,
Since the previous bound does not depend on or , combining it with the first step in line (44) leads to
Next, we convert this norm bound into a tail bound. Specifically, if we consider the value
and noting that , it follows that under this choice of ,
Moreover, as long as for some absolute constant (which holds under Assumption 1), then the last factor on the right satisfies
So, combining the last few steps, there is an absolute constant such that
Proof of Lemma 6 (ii).
Note that for each and , we have
which is a centered sub-Gaussian quadratic form. Due to the bound (35), we have
Furthermore, this can be combined with a standard concentration bound for sums of independent sub-exponential random variables (Lemma 12) to show that for any ,
Hence, taking a union bound over all gives
Regarding the choice of , note that by Assumption 1, we have . It follows that there is a sufficiently large absolute constant such that if we put
where is the same as in the bound (51). In turn, this implies
Appendix D Proof of Propositions 3 and 4 in case (b) (length sampling)
Hence, it remains to show that , which is the content of Lemma 7 below.
If is generated by length sampling with the probabilities in line (5), then for any , we have the bound
Hence, if we take , then the right hand side is at most .
Appendix E Proof of Propositions 3 and 4 in case (c) (SRHT)
Since we are not aware of a standard notation for a conditional Orlicz norm, we define
which is a random variable, since it is a function of . The following lemma provides a bound on this quantity, which turns out to be of order . For this reason, the SRHT case (c) of Propositions 3 and 4 will have the same form as case (a), but with replacing .
If is an SRHT matrix, then the following bound holds with probability at least ,
For an SRHT matrix , recall that the rows of are sampled uniformly at random from the set . It follows that
Finally, this means that if we take in the bound (56), then the event
holds with probability at least , which completes the proof, since . ∎
Appendix F Technical Lemmas
Orlicz norms have the following properties, where and are positive absolute constants.
For any random variable , and any ,
If , then .
Let . For any sequence of random variables ,
Let be any random variable. Then, for any and , we have
In part 1, line (59) follows from line 5.11 of Vershynin 2012, line (60) follows from definition 5.13 of Vershynin 2012, and line (61) follows from p.94 of van der Vaart and Wellner 1996. Next, part 2 follows from the definition of the -Orlicz norm and the moment generating function for . Part 3 is due to Lemma 2.2.2 of van der Vaart and Wellner 1996. Lastly, part 4 follows from Markov’s inequality and line 5.14 of Vershynin 2012. ∎
See the paper Johnson et al. 1985. The statement above differs slightly from the Theorem 4.1 in the paper Johnson et al. 1985, which requires symmetric random variables, but the remark on p.247 of that paper explains why the variables need not be symmetric as long as they have mean 0. ∎
See the paper Rudelson and Vershynin 2013. ∎
If is a non-negative random variable, and there are numbers such that
for all , then the following bound holds for all ,
See Lemma 6.6 in Chernozhukov et al. 2016. ∎
The following lemma may be of independent interest, since it provides an explicit bound on the -Orlicz norm of a centered sub-Gaussian quadratic form. Although this bound follows from the Hanson-Wright inequality, we have not seen it stated in the literature.
Next, we employ the Hanson-Wright inequality (Lemma 11). By considering the “threshold” , it is helpful to note that the quantities in the exponent of the Hanson-Wright inequality satisfy if and only if . Hence,
Evaluating the last two integrals directly, if we let and choose so that , then
Note that the condition means that it is necessary to have . To finish the argument, we further require that is large enough so that (say)
as desired. Note that the constraints (65) are the same as
Remark.
Fix and suppose there is some such that random variables and satisfy
Then, the quantiles of and satisfy
It is a fact that this metric is always dominated by the metric in the sense that
for all scalar random variables and (Huber and Ronchetti 2009, p.36). Based on the definition of the metric, it is straightforward to check that the following inequalities hold under the assumption of the lemma,
(Specifically, consider the choices and .) Next, if we subtract from each side of the inequalities above, and note that is non-decreasing, it follows that if we put and , then
where is a free parameter to be adjusted. Based on the bound (29), it is easy to check that plugging into and leads to
and if we take , then
as desired in (30). Hence, as long as there is a choice of satisfying
then will satisfy both of the desired constraints (30) and (31). Solving the equation gives
and then the condition is the same as