High-Dimensional Asymptotics of Prediction: Ridge Regression and Classification

Edgar Dobriban, Stefan Wager

Introduction

There are various enabling hypotheses that allow for successful prediction in high dimensions. These encode domain-specific knowledge and guide model fitting. Popular options include the “sparsity hypothesis”, i.e., that there is a good predictive rule depending only on w⋅xw\cdot x for some sparse weight vector ww (Candès and Tao, 2007; Hastie et al., 2015), the “manifold hypothesis” positing that the xix_{i} have useful low-dimensional geometric structure (Rifai et al., 2011; Simard et al., 2000), and several variants of an “independence hypothesis” that rely on independence assumptions for the feature distribution (Bickel and Levina, 2004; Ng and Jordan, 2001). The choice of enabling hypothesis is important from a practical perspective, as it helps choose which predictive method to use, e.g., the lasso with sparsity, neighborhood-based methods under the manifold hypothesis, or naive Bayes given independent features.

There are several applications, however, where the above enabling hypotheses are not known to apply, and where practitioners have achieved accurate high-dimensional prediction using dense—i.e., non-sparse—ridge-regularized linear methods trained on highly correlated features. One striking example is the case of document classification with dictionary-based features of the form “how many times does the jj-th word in the dictionary appear in the current document.” Even though p≫np\gg n, dense ridge-regularized methods reliably work well across a wide range of problem settings (Sutton and McCallum, 2006; Toutanova et al., 2003), and sometimes even achieve state-of-the-art performance on important engineering tasks (Wang and Manning, 2012). As another example, in a recent bioinformatics test of prediction algorithms (Bernau et al., 2014), ridge regression—and a method that was previously proposed by those same authors—performed best, better than lasso regression and boosting.

The goal of this paper is to gain better understanding of when dense, ridge-regularized linear prediction methods can be expected to work well. We focus on a random-effects hypothesis: we assume that the effect size of each feature is drawn independently at random. This can be viewed as an average-case analysis over dense parameters. Our hypothesis is of course very strong; however, it yields a qualitatively different theory for high-dimensional prediction than popular approaches, and thus may motivate future conceptual developments.

Each predictor has a small, independent random effect on the outcome.

This hypothesis is fruitful both conceptually and methodologically. Using random matrix theoretic techniques (see, e.g., Bai and Silverstein, 2010), we derive closed-form expressions for the limiting predictive risk of idge-regularized regression and discriminant analysis, allowing for the features xx to have a general covariance structure Σ\Sigma. The resulting formulas are pleasingly simple and depend on Σ\Sigma through the Stieltjes transform of the limiting empirical spectral distribution. More prosaically, Σ\Sigma only enters into our formulas through the almost-sure limits of p−1 tr⁡((Σ^+λIp×p)−1)p^{-1}\,\operatorname{tr}((\widehat{\Sigma}+\lambda I_{p\times p})^{-1}) and p−1tr⁡((Σ^+λIp×p)−2)p^{-1}\operatorname{tr}((\widehat{\Sigma}+\lambda I_{p\times p})^{-2}), where Σ^\widehat{\Sigma} is the sample covariance and λ>0\lambda>0 the ridge-regularization parameter. Notably, the same mathematical tools can describe the two problems.

From a practical perspective, we identify several high-dimensional regimes where mildly regularized discriminant analysis performs strikingly well. Thus, it appears that the random-effects hypothesis can at least qualitatively reproduce the empirical successes of Bernau et al. (2014), Sutton and McCallum (2006), Toutanova et al. (2003), Wang and Manning (2012), and others. We hope that further work motivated by generalizations of the random-effects hypothesis could yield a new theoretical underpinning for dense high-dimensional prediction.

We begin with an informal overview of our results; in Section 1.4, we switch to a formal and fully rigorous presentation. In this paper we analyze the predictive risk of ridge-regularized regression and classification when n, p→∞n,\,p\rightarrow\infty jointly. We work in a high-dimensional asymptotic regime where p/np/n converges to a limiting aspect ratio p/n→γ>0p/n\rightarrow\gamma>0. The spectral distribution—i.e., the cumulative distribution function of the eigenvalues—of the feature covariance matrix Σ\Sigma converges weakly to a limiting spectral measure supported on [0, ∞)[0,\,\infty). This allows Σ\Sigma to be general, and we will see several examples later. In random matrix theory, this framework goes back to Marchenko and Pastur (1967); see, e.g., Bai and Silverstein (2010). It has been used in statistics and wireless communications by, among others, Couillet and Debbah (2011), Serdobolskii (2007), Tulino and Verdú (2004), and Yao et al. (2015).

The predictive risk of ridge regression, i.e.,

has an almost-sure limit under high-dimensional asymptotics. This limit only depends on the signal strength α2\alpha^{2}, the aspect ratio γ\gamma, the regularization parameter λ\lambda, and the Stieltjes transform of the limiting eigenvalue distribution of Σ^\widehat{\Sigma}. For the optimal tuning parameter, λ∗=γ/α2\lambda^{*}=\gamma/\alpha^{2}

where vv is the companion Stieltjes transform of the limiting eigenvalue distribution of Σ^\widehat{\Sigma}, defined in Section 1.4.

The required functionals of the limiting empirical eigenvalue distribution can be written in terms of almost-sure limits of simple quantities. For example, the result (1) can be written as

For general λ\lambda, the limiting error rate depends on the almost sure limits of both p−1 tr⁡((Σ^+λIp×p)−1)p^{-1}\,\operatorname{tr}((\widehat{\Sigma}+\lambda I_{p\times p})^{-1}) and p−1tr⁡((Σ^+λIp×p)−2)p^{-1}\operatorname{tr}((\widehat{\Sigma}+\lambda I_{p\times p})^{-2}).

Thanks to the simple form of (1), we can use our results to gain qualitative insights about the behavior of ridge regression. We show that, when the signal-to-noise ratio is high, i.e., α≫1\alpha\gg 1, the accuracy of ridge regression has a sharp phase transition at γ=1\gamma=1 regardless of Σ\Sigma, essentially validating a conjecture of Liang and Srebro (2010) on the “regimes of learning” problem. We also find that ridge regression obeys an inaccuracy principle, whereby there are no correlation structures Σ\Sigma for which prediction and estimation of w∗w^{*} are both easy. For γ=1\gamma=1 this simplifies to

this bound is tight for optimally-tuned ridge regression. We refer to Section 2.2 for the general relation. We find the simplicity of the inverse relation remarkable.

In the second part of the paper, we study regularized discriminant analysis in the two-class Gaussian problem

In high dimensions, and in the metric induced by Σ\Sigma, the angle between w∗w^{*} and w^λ\hat{w}_{\lambda}, i.e.,

has an almost-sure limit. The classification error of regularized discriminant analysis converges to an almost-sure limit that depends only on this limiting angle, as well as the limiting Bayes error. The limiting risk can be expressed in terms of α\alpha, γ\gamma, λ\lambda, as well the Stieltjes transform of the limit eigenvalue distribution of the empirical within-class covariance matrix.

We can again use our result to derive qualitative insights about the behavior of RDA. We find that the limiting angle between w^λ\hat{w}_{\lambda} and w∗w^{*} converges to a non-trivial quantity as α2→∞\alpha^{2}\to\infty, implying that our analysis is helpful in understanding the asymptotics of RDA even in a very high signal-to-noise regime. Finally, by studying the limits λ→0\lambda\rightarrow 0 and λ→∞\lambda\rightarrow\infty, we can recover known high-dimensional asymptotic results about Fisher’s linear discriminant analysis and naive Bayes methods going back to Bickel and Levina (2004), Raudys (1967), Saranadasa (1993), and even early work by Kolmogorov.

Mathematically, our results build on recent advances in random matrix theory. The main difficulty here is finding explicit limits of certain trace functionals involving both the sample and the population covariance matrix. For instance, the Stieltjes transform mm of the empirical spectral distribution satisfies m(−λ)=lim⁡p→∞p−1tr⁡((Σ^+λIp×p)−1)m(-\lambda)=\lim_{p\to\infty}\smash{p^{-1}\operatorname{tr}((\widehat{\Sigma}+\lambda I_{p\times p})^{-1})}. However, standard random matrix theory does not provide simple expressions for the limits of functionals like p−1tr⁡(Σ(Σ^+λIp×p)−1)\smash{p^{-1}\operatorname{tr}(\Sigma(\widehat{\Sigma}+\lambda I_{p\times p})^{-1})} or p−1tr⁡([Σ(Σ^+λIp×p)]−2)\smash{p^{-1}\operatorname{tr}([\Sigma(\widehat{\Sigma}+\lambda I_{p\times p})]^{-2})} that involve both Σ\Sigma and Σ^\widehat{\Sigma}. For this we leverage and build on recent results, including the work of Chen et al. (2011), Hachem et al. (2007), and Ledoit and Péché (2011). Our contributions include some new explicit formulas, for which we refer to the proofs. These formulas may prove useful for the analysis of other statistical methods under high-dimensional asymptotics, such as principal component regression and kernel regression.

2 A First Example

A key contribution of our theory is a precise understanding of the effect of correlations between the features on regularized discriminant analysis. Correlated features have a non-trivial effect, and cannot be summarized using standard notions such as the condition number of Σ\Sigma or the classification margin. The full eigenvalue spectrum of Σ\Sigma matters. This is in contrast with popular analyses of high-dimensional classification methods, in which the bounds often depend on the operator norm ∥Σ∥op\|\Sigma\|_{op} (see for instance the review Fan et al. (2011)), thus suggesting that existing analyses of many classification methods are not sharp.

Consider the following examples: First, Σ\Sigma has eigenvalues corresponding to evenly-spaced quantiles of the standard Exponential distribution; Second, Σ\Sigma has a depth-dd BinaryTree covariance structure that has been used in population genetics to model the correlations between populations whose evolutionary history is described by a balanced binary tree (Pickrell and Pritchard, 2012). In both cases, we set the class means μy\mu_{y} such as to keep the Bayes error constant across experiments. Figure 1 plots our formulas for the asymptotic error rate along with empirical realizations of the classification error.

Both covariance structures are far from the identity, and have similar condition numbers. However, the Exponential problem is vastly more difficult for RDA than the BinaryTree problem. This example shows that classical notions like the classification margin or the condition number of Σ\Sigma cannot satisfactorily explain the high-dimensional predictive performance of RDA; meanwhile, our asymptotic formulas are accurate even in moderate sample sizes. Our computational results are reproducible and open-source software to do so is available from https://github.com/dobriban/high-dim-risk-experiments/.

3 Related Work

Random matrix theoretic approaches have been used to study regression and classification in high-dimensional statistics (Serdobolskii, 2007; Yao et al., 2015), as well as wireless communications (Couillet and Debbah, 2011; Tulino and Verdú, 2004). Various regression and M-estimation problems have been studied in high dimensions using approximate message passing (Bayati and Montanari, 2012; Donoho and Montanari, 2015) as well as methods inspired by random matrix theory (Bean et al., 2013). We also note a remarkably early random matrix theoretic analysis of regularized discriminant analysis by Serdobolskii (1983). In the wireless communications literature, the estimation properties of ridge regression are well understood; however its prediction error has not been studied.

El Karoui and Kösters (2011) study the geometric sensitivity of random matrix results, and discuss the consequences to ridge regression and regularized discriminant analysis, under weak theoretical assumptions. In contrast, we make stronger assumptions that enable explicit formulas for the limiting risk of both methods, and allow us to uncover several qualitative phenomena. Our use of Ledoit and Péché (2011)’s results simplifies the proof.

We review the literature focusing on ridge regression or RDA specifically in Sections 2.3 and 3.5 respectively. Important references include, among others, Bickel and Levina (2004), Dicker (2014), El Karoui (2013), Fujikoshi et al. (2011), Hsu et al. (2014), Saranadasa (1993), and Zollanvari and Dougherty (2015).

4 Basics and Notation

(high-dimensional asymptotics) The following conditions hold.

The sample size n→∞n\to\infty while the dimensionality p→∞p\to\infty as well, such that the aspect ratio p/n→γ>0p/n\to\gamma>0.

The spectral distribution FΣ\smash{F_{\Sigma}} of Σ\Sigma converges to a limit probability distribution HH supported [0, ∞)\smash{[0,\,\infty)}, called the population spectral distribution (PSD).

Families of covariance matrices Σ\Sigma that fit the setting of this theorem include the identity covariance, BinaryTree, Exponential and the autoregressive AR-1 model with Σij=ρ∣i−j∣\Sigma_{ij}=\rho^{|i-j|} (see Grenander and Szegő, 1984, for the last one).

Under assumption Assumption A, the spectral distribution FΣ^\smash{F_{\widehat{\Sigma}}} of the sample covariance matrix Σ^\smash{\widehat{\Sigma}} also converges weakly, with probability 1, to a limiting distribution supported on [0, ∞)[0,\,\infty).

The limiting distrbution FF is called the empirical spectral distribution (ESD), and is determined uniquely by a fixed point equation for its Stieltjes transform, which is defined for any distribution GG supported on [0,∞)[0,\infty) as

Given this notation, the Stieltjes transform of the spectral measure of Σ^\smash{\widehat{\Sigma}} satisfies

In addition, we write the derivatives asWe will denote by v′(−λ)v^{\prime}(-\lambda) the derivative of the Stieltjes transform, v′(z)v^{\prime}(z), evaluated at z=−λz=-\lambda; and not the derivative of the function λ→v(−λ)\lambda\to v(-\lambda). m′(z)=∫l=0∞dG(l)/(l−z)2\smash{m^{\prime}(z)=\int_{l=0}^{\infty}{dG(l)}/\left(l-z\right)^{2}} and v′(z)=γ(m′(z)−z−2)+z−2\smash{v^{\prime}(z)=\gamma(m^{\prime}(z)-z^{-2})+z^{-2}}. These derivatives can also be understood in terms of empirical observables, through the relation

Finally, our analysis also relies on several more recent formulas for limits of trace functionals involving both Σ\Sigma and Σ^\widehat{\Sigma}. In particular, we use a formula due to Ledoit and Péché (2011), who in the analysis of eigenvectors of sample covariance matrices showed that, under certain moment conditions:See the supplement for more details about this result.

Predictive Risk of Ridge Regression

Writing γp=p/n\gamma_{p}=p/n and λp∗=γpα−2\lambda_{p}^{*}=\gamma_{p}\alpha^{-2}, the finite sample predictive risk rλp∗(X)r_{\lambda^{*}_{p}}(X) converges almost surely

Moreover, for any λ>0\lambda>0, the predictive risk converges almost surely to the limiting predictive risk Rλ(H,α2,γ)R_{\lambda}(H,\alpha^{2},\gamma), where

The choice λ∗\lambda^{*} minimizes Rλ(H,α2,γ)R_{\lambda}(H,\alpha^{2},\gamma).

The proof of part 1 is sufficiently simple to outline here; see the supplement for part 2. We begin by verifying formula (6):

On the last line we used the choice of λp∗\lambda_{p}^{*}. From the results of Ledoit and Péché (2011), and from γp→γ\gamma_{p}\to\gamma, it can be verified that p−1tr⁡(Σ(Σ^+γpα−2Ip×p)−1)\smash{p^{-1}\operatorname{tr}(\Sigma(\widehat{\Sigma}+\gamma_{p}\alpha^{-2}I_{p\times p})^{-1})} converges almost surely to limit in (5), finishing part 1. ∎

This result fully characterizes the first order behavior of the predictive risk of ridge regression under high-dimensional asymptotics. To verify its finite-sample accuracy, we perform a simulation with the BinaryTree and Exponential models. We compute the limit risks using the algorithms in the supplement. The results in Figure 2 show that the formulas given in Theorem 2.1 appear to be accurate, even in small sized problems. In Figure 2, for BinaryTree we train on n=γ−1pn=\gamma^{-1}p samples, where p=24p=2^{4}; for Exponential on n=20n=20. We set the signal strength to α2=1\alpha^{2}=1 and generated ww, XX, and ε\varepsilon as Gaussian random variables with i.i.d. entries and the desired variance. The results are averaged over 500 simulation runs; we evaluated the empirical prediction error using a test set of size 100.

Intriguingly, Figure 2 shows that the prediction performance of ridge regression is very similar on the two problems. This presents a marked contrast to the RDA example given in the introduction, where the two covariance structures led to very different classification performance. Thus, it appears that the loss function and the spectrum of Σ\Sigma can interact non-trivially.

Meanwhile, in the special case of identity covariance, the quantity Rλ−1R_{\lambda}-1 coincides with the normalized estimation error, so we recover known results described in, e.g., Tulino and Verdú (2004). When Σ=Ip×p\smash{\Sigma=I_{p\times p}}, we have an explicit expression for the Stieltjes transform (e.g., Bai and Silverstein, 2010, p. 52), valid for λ>0\lambda>0:

Theorem 2.1 implies that the limit predictive risk of ridge regression for general λ\lambda equals

which has an explicit form. Furthermore, the optimal risk has a particularly simple form:

See the supplement for details on these derivations.

As an application of Theorem 2.1, we study how the difficulty of ridge regression depends on the signal strength α2\alpha^{2}. Liang and Srebro (2010) call this the regimes of learning problem and argue that, for small α2\alpha^{2} the complexity of ridge regression should be tightly characterized by dimension-independent Rademacher bounds, while for large α2\alpha^{2} the error rate should only depend on γ\gamma. Liang and Srebro (2010) justify their claims using generalization bounds for the identity-covariance case Σ=Ip×p\Sigma=I_{p\times p}, and conjecture that similar relationships should hold in general. Using our results, we can give a precise characterization of the regimes of learning of optimally-regularized ridge regression with general covariance Σ\Sigma.

From Theorem 2.1, we know that given a signal strength α2\alpha^{2}, the asymptotically optimal choice for λ\lambda is λ∗(α)=γ/α2\smash{\lambda^{*}(\alpha)=\gamma/\alpha^{2}}, in which case the predictive risk of ridge regression converges to

We now use this formula to examine the two limiting behaviors of the risk, for weak and strong signals. The results below are proved in the supplement, assuming that the population spectral distribution HH is supported on a set bounded away from 0 and infinity.

Conversely, the strong-signal limiting behavior of the risk depends the aspect ratio γ\gamma, and experiences a phase transition at γ=1\gamma=1. When γ<1\gamma<1, the predictive risk converges to

regardless of Σ\Sigma. This quantity is known to be the n, p→∞n,\,p\rightarrow\infty, p/n→γp/n\to\gamma limit of the risk of ordinary least squares (OLS). Thus when p<np<n and we have a very strong signal, ridge regression cannot outperform OLS, although of course it can do much better with a small α\alpha.

When γ>1\gamma>1, the risk R∗(H,α2,γ)R^{*}(H,\alpha^{2},\gamma) can grow unboundedly large with α\alpha. Moreover, we can verify that

Thus, the limiting error rate depends on the covariance matrix through v(0)v(0). In general there is no closed-form expression for v(0)v(0), which is instead characterized as the unique c>0c>0 for which

In the special case Σ=Ip×p\Sigma=I_{p\times p}, however, the limiting expression simplifies to 1/(γv(0))\smash{1/(\gamma v(0))} = (γ−1)/γ\smash{(\gamma-1)/\gamma}. In other words, when p>np>n, optimally tuned ridge regression can capture a constant fraction of the signal, and its test-set fraction of explained variance tends to γ−1\gamma^{-1}.

Finally, in the threshold case γ=1\gamma=1, the risk R∗(H,α2,γ)R^{*}(H,\alpha^{2},\gamma) scales with α\alpha:

In summary, we find that for general covariance Σ\Sigma, the strong-signal risk R∗(α2, γ)\smash{R^{*}(\alpha^{2},\,\gamma)} scales as Θ(1)\smash{\Theta(1)} if γ<1\gamma<1, as Θ(α)\smash{\Theta(\alpha)} if γ=1\gamma=1, and as Θ(α2)\smash{\Theta(\alpha^{2})} if γ>1\gamma>1. We illustrate this phenomenon in Figure 3, in the case of the identity covariance Σ=Ip×p\Sigma=I_{p\times p}. We see that when γ<1\gamma<1 the error rate stabilizes, whereas when γ>1\gamma>1, the error rate eventually gets a slope of 1 on the log-log scale. Finally, when γ=1\gamma=1, the error rate has a log-log slope of 1/21/2.

Thus, thanks to Theorem 2.1, we can derive a complete and exact answer the regimes of learning question posed by Liang and Srebro (2010) in the case of ridge regression. The results (9) and (10) not only show that the scalings found by Liang and Srebro (2010) with Σ=Ip×p\smash{\Sigma=I_{p\times p}} hold for arbitrary Σ\Sigma, but make explicit how the slopes depend on the limiting population spectral distribution. The ease with which we were able to read off this scaling from Theorem 2.1 attests to the power of the random matrix approach.

2 An Inaccuracy Principle for Ridge Regression

where mm is the Stieltjes transform of the limiting empirical spectral distribution (see, e.g., Tulino and Verdú, 2004, Chapter 3). Combining this result with Theorem 2.1 and (4), we find the following relationship between the limiting predictive risk RPR_{P} and the limiting estimation risk RER_{E}.

Under the conditions of Theorem 2.1, the asymptotic predictive and estimation risks of optimally-tuned ridge regression are inversely related,

The equation holds for all limit eigenvalue distributions HH of the covariance matrices Σ\Sigma. Both sides of the above equation are non-negative: RPR_{P} cannot fall below the intrinsic noise level \operatorname{Var}\left[Y\,\big{|}\,X\right]=1, while RE≤lim sup⁡p→∞RE, n(λ∗)≤lim sup⁡p→∞RE, n(0)=α2R_{E}\leq\limsup_{p\to\infty}R_{E,\,n}(\lambda^{*})\leq\limsup_{p\to\infty}R_{E,\,n}(0)=\alpha^{2}. When γ=1\gamma=1, we get the even simpler equation

The product of the estimation and prediction risks equals the signal strength. Since this holds for the optimal λ∗\lambda^{*}, it also implies that for any λ\lambda we have the lower bound RE(λ)⋅RP(λ)≥α2R_{E}(\lambda)\cdot R_{P}(\lambda)\geq\alpha^{2}; we find the explicit formula relating the two risks remarkable. The inverse relationship may be somewhat surprising, but it has an intuitive explanation.A similar heuristic was given by Liang and Srebro (2010), without theoretical justification. When the features are highly correlated and vv is correspondingly large, prediction is easy because yy lies close to the “small” column space of the feature matrix XX, but estimation of ww is hard due to multi-collinearity. As correlation decreases, prediction gets harder but estimation gets easier.

3 Related Work for High-Dimensional Ridge Regression

Regularized Discriminant Analysis

In the second part of the paper, we return to regularized discriminant analysis and the two-class Gaussian discrimination problem (2). For simplicity we will first discuss the case when the population label proportions are balanced. In this case, the Bayes oracle predicts using (Anderson, 2003)

and has an error rate ErrBayes=Φ(−Δn,p)\text{Err}_{\text{Bayes}}=\Phi\left(-\Delta_{n,p}\right), where Δn,p=δ⊤Σ−1δ\Delta_{n,p}=\sqrt{\delta^{\top}\Sigma^{-1}\delta} is half the between-class Mahalanobis distance. The Gaussian classification problem has a rich history, going back to Fisher’s pioneering work on linear discriminant analysis (LDA). When we have the same number of examples from both the positive and negative classes, i.e., n−1=n+1=n/2\smash{n_{-1}=n_{+1}=n/2}, LDA classifies using the linear rule

Here Σ^c\widehat{\Sigma}_{c} is the centered covariance matrix. In the low-dimensional case where nn gets large while pp remains fixed, LDA is the natural plug-in rule for Gaussian classification and efficiently converges to the Bayes discrimination function (Anderson, 2003; Efron, 1975). When pp is on the same order as nn, however, the matrix inverse Σ^c−1\smash{\widehat{\Sigma}_{c}^{-1}} is unstable and the performance of LDA declines, as discussed among others by Bickel and Levina (2004). Instead, we will study regularized discriminant analysis, the linear rule y^=hw^λ(x−(μ^−1+μ^+1)/2)\smash{\hat{y}=h_{\hat{w}_{\lambda}}\left(x-(\hat{\mu}_{-1}+\hat{\mu}_{+1})/{2}\right)} where hw(x)=sign⁡(w⋅x)\smash{h_{w}(x)=\operatorname{sign}(w\cdot x)} and the weight vector is The notation was chosen to emphasize the similarities between ridge regression and RDA. There will be no possibility for confusion with the ridge regression weight vector, also denoted w^λ\hat{w}_{\lambda}. w^λ=(Σ^c+λIp×p)−1δ^\smash{\hat{w}_{\lambda}=(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\hat{\delta}} (Friedman, 1989; Serdobolskii, 1983).

(random weights in classification) The following conditions hold:

μ−1\mu_{-1} and μ+1\mu_{+1} are randomly generated as μ−1=μˉ−δ\mu_{-1}=\bar{\mu}-\delta and μ+1=μˉ+δ\mu_{+1}=\bar{\mu}+\delta, where δ\delta has i.i.d. coordinates with

for some fixed constants η>0\eta>0 and CC.

μˉ=(μ−1+μ+1)/2\smash{\bar{\mu}=(\mu_{-1}+\mu_{+1})/2} is either fixed, or random and independent of δ\delta, XX and yy, and satisfies lim sup⁡p→∞∥μˉ∥22/p1/2−ζ≤C\limsup_{p\to\infty}\|\bar{\mu}\|^{2}_{2}/p^{1/2-\zeta}\leq C almost surely for some fixed constants ζ>0\zeta>0 and CC.

and τ\tau, η\eta, and ξ\xi are determined by the problem parameters HH and γ\gamma:

Here, m=m(−λ)m=m(-\lambda) is the Stieltjes transform of the limit empirical spectral distribution FF of the covariance matrix Σ^c\smash{\widehat{\Sigma}_{c}}, and v=v(−λ)v=v(-\lambda) is the companion Stieltjes transform defined in (4).

The proof of Theorem 3.1 (in the supplement) is similar to Theorem 2.1, but more involved. The main difficulty is to evaluate explicitly the limits of certain functionals of the population and sample covariance matrices. We extend the result of Ledoit and Péché (2011), and rely on additional results and ideas from Hachem et al. (2007) and Chen et al. (2011). In particular, we use a derivative trick for Stieltjes transforms, similar to that employed in a related context by El Karoui and Kösters (2011), Rubio et al. (2012), and Zhang et al. (2013). The limits are then combined with results on concentration of quadratic forms.

Under the conditions of Theorem 3.1, and with unequal sampling, the classification error of RDA converges almost surely:

where the effective classification margins have the form

In this section we assumed Gaussianity, but by a Lindeberg–type argument it should be possible to extend the result to non-Gaussian observations with matching moments. It should also be interesting to study how sensitive the results are to the particular assumptions of our model, such as independence across samples.

It is worth mentioning that the regression and classification problems are very different statistically. In the random effects linear model, ridge regression is a linear Bayes estimator, thus the ridge regularization Σ^+λIp×p\widehat{\Sigma}+\lambda I_{p\times p} of the covariance matrix is justified statistically. However, for classification, the ridge regularization is merely a heuristic to help with the ill-conditioned sample covariance. It is thus interesting to know how much this heuristic helps improve upon un-regularized LDA, and how close we get to the Bayes error. We now turn to this problem, which can be studied equivalently from a geometric perspective.

2 The Geometry of RDA

The asymptotics of RDA can be understood in terms of a simple picture. The angle between the Bayes decision boundary hyperplane and the RDA discriminating hyperplane tends to an asymptotically deterministic value in the metric of the covariance matrix, and the limiting risk of RDA can be described in terms of this angle.

Recall that, in the balanced π+=π−\pi_{+}=\pi_{-} and n+=n−n_{+}=n_{-} case, the estimated RDA weight vector is w^λ=(Σ^c+λIp×p)−1δ^\hat{w}_{\lambda}=(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\hat{\delta}, while the Bayes weight vector is w∗=Σ−1δw^{*}=\Sigma^{-1}\delta. Writing ⟨a,b⟩Σ=a⊤Σb\langle a,b\rangle_{\Sigma}=a^{\top}\Sigma b for the inner product in the Σ\Sigma-metric, the cosine of the angle—in the same metric—between the two is

where Θ(H,γ,α2,λ)\Theta\left(H,\gamma,\alpha^{2},\lambda\right) is the classification margin of RDA with the dependence on each parameter made explicit. The limit of the cosine quantifies the inefficiency of the RDA estimator relative to the Bayes one.

We gain some insight into this angle for two special cases: when H=δ1H=\delta_{1}, and by taking the limit α2→∞\alpha^{2}\to\infty. First, with H=δ1H=\delta_{1}, or equivalently Σ=Ip×p\Sigma=I_{p\times p}, we curiously find that the effects of the signal strength α2\alpha^{2} and regularization rate λ\lambda decouple completely, as shown in Corollary 3.3 below. See the supplement for a proof of the following result.

Under the conditions of Theorem 3.1, let Σ=Ip×p\smash{\Sigma=I_{p\times p}} for all pp. Then, the limiting cosine Γ\Gamma of the angle between the Bayes and RDA hyperplanes is

where the Stieltjes transform mI(−λ;γ)m_{I}(-\lambda;\gamma) for Σ=Ip×p\Sigma=I_{p\times p} is given in (7). For γ=1\gamma=1, this expression simplifies further to

Examining Γ(δ1,γ,α2,λ)\Gamma(\delta_{1},\gamma,\alpha^{2},\lambda), we can attribute the suboptimality to two sources of noise: We need to pay a price α/α2+γ\smash{{\alpha}/{\sqrt{\alpha^{2}+\gamma}}} for estimating μ±1\smash{\mu_{\pm 1}}, while the cost of estimating Σ\Sigma is ([1+γλ mI2(−λ;γ)]/[1+γ mI(−λ;γ)])1/2\smash{([1+\gamma\lambda\,m_{I}^{2}(-\lambda;\gamma)]/[1+\gamma\,m_{I}(-\lambda;\gamma)])^{1/2}}. If we knew that Σ=I\Sigma=I, we could send λ→∞\lambda\rightarrow\infty. It is easy to verify that this would eliminate the second term, leading to a loss of efficiency α/α2+γ\alpha/\sqrt{\alpha^{2}+\gamma}.

In the case of a general covariance matrix Σ\Sigma we get a similar asymptotic decoupling in the strong-signal limit α2→∞\alpha^{2}\rightarrow\infty. The following claim follows immediately from Theorem 3.1.

Under the conditions of Theorem 3.1, the cosine of the angle between the optimal and learned hyperplanes has the limit as α2→∞\alpha^{2}\to\infty:

Thus, RDA is in general inconsistent for the Bayes hyperplane in the case of strong signals. Corollary 3.4 also implies that, in the limit α→∞\alpha\rightarrow\infty, the optimal λ\lambda for RDA converges to a non-trivial limit that only depends on the spectral distribution HH. No such result is true for ridge regression, where λ∗=α−2γ→0\lambda^{*}=\alpha^{-2}\gamma\rightarrow 0 as α→∞\alpha\rightarrow\infty, regardless of Σ\Sigma. This contrast arises because ridge regression is a linear Bayes estimator, while RDA is a heuristic which is strictly suboptimal to the Bayes classifier.

We illustrate the behavior of the cosine Γ\Gamma for the AR-1(0.9) model in Figure 4, which displays Γ\Gamma for values of α\alpha ranging from α=0.1\alpha=0.1 to α=2\alpha=2. We see that the Γ\Gamma-curve converges to its large-α\alpha limit fairly rapidly. Moreover, somewhat strikingly, we see that the optimal regularization parameter λ∗\lambda^{*}, i.e., the maximizer of Γ\Gamma, increases with the signal strength α2\alpha^{2}.

Finally, we note that Efron (1975) studies the angle Γ\Gamma in detail for low-dimensional asymptotics where pp is fixed while n→∞n\rightarrow\infty; in this case, Γ\Gamma converges in probability to 11, and the sampling distribution of n(1−Γ)n(1-\Gamma) converges to a (scaled) χp−12\chi_{p-1}^{2} distribution. Establishing the sampling distribution in high dimensions is interesting future work.

3 Do existing theories explain the behavior of RDA?

Theorems 3.1 and 3.2 give precise information about the error rate of RDA. It is of interest to compare this to classical theories, such as Vapnik-Chervonenkis theory or Rademacher bounds, to if they explain the qualitative behavior of RDA. In this section, we study a simple simulation example, and conclude that existing theory does not precisely explain the behavior of RDA.

Existing results give us some intuition about what to expect. Since n=pn=p, classical heuristics based on the theory of Vapnik and Chervonenkis (1971) as well as more specialized analyses (Saranadasa, 1993; Bickel and Levina, 2004) predict that unregularized LDA will not work. As we will see, this matches our simulation results. Meanwhile, Bickel and Levina (2004) study worst-case performance of the independence rule relative to the Bayes rule. In our setting, it can be verified that their results imply ΘIR≥(1−ρ2)/(1+ρ2) Δ\Theta_{\text{IR}}\geq(1-\rho^{2})/(1+\rho^{2})\,\Delta, where the error rate of the independence rule is Φ(−ΘIR)\Phi(-\Theta_{\text{IR}}). This predicts that independence rules will work better for small correlation ρ\rho, which again will match the simulations.

The existing theory, however, is much less helpful for understanding the behavior of RDA for intermediate values of λ\lambda. A learning theoretic analysis based on Rademacher complexity suggests that the generalization performance of RDA should depend on terms that scale like ∥w^λ∥22tr⁡Σ/n≍λ−2p/n\smash{\sqrt{\lVert{\hat{w}_{\lambda}}\rVert_{2}^{2}\operatorname{tr}{\Sigma}/n}\asymp\sqrt{\lambda^{-2}p/n}} for large values of λ\lambda (e.g., Bartlett and Mendelson, 2003). In other words, based on a classical approach, we might expect that mildly regularized RDA should not work, but using a large λ\lambda may help. Rademacher theory is not tight enough to predict what will happen for λ≈1\lambda\approx 1.

Given this background, Figure 5 displays the performance of RDA for different values of ρ\rho, along with our theoretically derived error from Theorem 3.1. In the α2=1\smash{\alpha^{2}=1} case, we find that—as predicted—unregularized LDA does poorly. However, when ρ\rho is large, mildly regularized RDA does quite well.

4 Linear Discriminant Analysis vs. Independence Rules

Two points along the RDA risk curve that allow for particularly simple analytic expressions occur as λ→0\lambda\to 0 and λ→∞\lambda\to\infty: the former is just classical linear discriminant analysis while the latter is equivalent to an independence rule (or “naïve Bayes”). In this section, we show how taking these limits we can recover known results about the high-dimensional asymptotics of linear discriminant analysis and naïve Bayes. Further, we compare these two methods over certain parameter classes.

Note that λ→∞\lambda\to\infty leads to a linear discriminant rule with weight vector δ^=μ^+1−μ^−1\smash{\hat{\delta}=\hat{\mu}_{+1}-\hat{\mu}_{-1}}. Usual independence rules take the form diag⁡(Σ^c)−1δ^\smash{\operatorname{diag}(\widehat{\Sigma}_{c})^{-1}\hat{\delta}}. We will assume that all features are normalized to have equal variance, Σii=σ>0\Sigma_{ii}=\sigma>0. In this case the λ→∞\lambda\to\infty rule corresponds to an independence rule with oracle information about the equality of variances; which we still call “indpendence rule” for simplicity.

Extending our previous notation, we define the asymptotic margin of LDA and independence rules, by taking the limits of Θ(λ)\Theta(\lambda) at 0 and ∞\infty:

Both limits are well-defined and admit simple expressions, as given below.

Let HH be the limit population spectral distribution of the covariance matrices Σ\Sigma; and let TT be a random variable with distribution HH. Under the conditions of Theorem 3.1, the margins of LDA and independence rules are equal to

The formula for LDA is valid for γ<1\gamma<1 while that for IR is valid for any γ\gamma.

This result is proved in the supplement. The formulas are simpler than Theorem 3.1, as they involve the population spectral distribution HH directly through its moments. For RDA, the error rate depends on HH implicitly through the Stieltjes transform of the ESD FF.

These formulas are equivalent to known results, some of which were obtained under slightly different parametrization. In particular, Serdobolskii (2007) attributes the IR formula with H=δ1H=\delta_{1} to unpublished work by Kolmogorov in 1967, while the Raudys and Young (2004) attributes it to Raudys (1967). The LDA formula was derived by Deev (1970) and Raudys (1972); see Section 3.5. Here, our goal was to show how these simple formulas can be recovered from the more powerful Theorem 3.1.

Theorem 3.5 enables us to compare the worst-case performance of LDA and IR over suitable parameter classes of limit spectra. For 0<k1≤1≤k20<k_{1}\leq 1\leq k_{2} we define the class

The bounds k1,k2k_{1},k_{2} control the ill-conditioning of the population covariance matrix. We normalize such that the average population eigenvalue is 1, to ensure that the scaling of the problem does not affect the answer. This parameter space is somewhat similar to the one considered by Bickel and Levina (2004). Perhaps surprisingly, however, a direct comparison over these natural problem classes appears to be missing from the literature, and so we provide it below (see the supplement for a proof).

Under the conditions of Theorem 3.5, consider the behavior of LDA and independence rules for H∈H(k1,k2)H\in\mathcal{H}(k_{1},k_{2}).

The least favorable distribution for LDA from the class H(k1,k2)\mathcal{H}(k_{1},k_{2}) is the point mass at 1: H=δ1H=\delta_{1}, i.e., Σ=I\Sigma=I.

The worst-case margin for independence rules is:

If k1<k2k_{1}<k_{2} the least favorable distribution is the mixture H=w1δk1+w2δk2H=w_{1}\delta_{k_{1}}+w_{2}\delta_{k_{2}}, where the weights are w1=(k2−1)/(k2−k1)w_{1}=(k_{2}-1)/(k_{2}-k_{1}) and w2=(1−k1)/(k2−k1)w_{2}=(1-k_{1})/(k_{2}-k_{1}); while if k1=k2=1k_{1}=k_{2}=1, it is the point mass at 1: H=δ1H=\delta_{1}.

This result shows a stark contrast between the worst-case behavior of LDA and independence rules: for fixed signal strength, the worst-case risk of LDA over H\mathcal{H} only depends on γ\gamma, and is attained with the limit of identity covariances Σ=Ip×p\Sigma=I_{p\times p} regardless of the values of k1, k2k_{1},\,k_{2}. In contrast, the worst-case behavior of IR occurs for a least favorable distribution HH that is as highly spread as possible. This highlights the sensitivity of IR to ill-conditioned covariance matrices. For 0<γ<10<\gamma<1, we see that IR are better than LDA in the worst case over H\mathcal{H}, i.e. ΘˉLDA(γ;α2)<ΘˉIR(H,γ;α2)\bar{\Theta}_{\text{LDA}}(\gamma;\alpha^{2})<\bar{\Theta}_{\text{IR}}(\mathcal{H},\gamma;\alpha^{2}), if and only if

In particular IR performs better than LDA for strong signals α\alpha; with weaker signals, LDA can sometimes have an edge, particularly if the covariance is poorly conditioned, quantified by a large measure of spread k1+k2−k1k2=(k2−1)(1−k1)+1k_{1}+k_{2}-k_{1}k_{2}=(k_{2}-1)(1-k_{1})+1.

5 Literature Review for High-Dimensional RDA

There has been substantial work in the former Soviet Union on high-dimensional classification; references on this work include Raudys and Young (2004), Raudys (2012), and Serdobolskii (2007). Raudys (1967)Raudys (1967) is in Russian; see Raudys and Young (2004) for a review. derived the n, p→∞n,\,p\to\infty asymptotic error rate of independence rules in identity-covariance case Σ=Ip×p\Sigma=I_{p\times p}, while Deev (1970) and Raudys (1972) obtained the error rate of un-regularized linear discriminant analysis (LDA) for general covariance Σ\Sigma, again in the n, p→∞n,\,p\to\infty regime.Serdobolskii (2007) attributes some early results on independence rules with identity covariance to Kolmogorov in 1967, and calls the framework n, p→∞n,\,p\to\infty, p/n→γp/n\to\gamma the Kolmorogov asymptotic regime. However, Kolmogorov apparently never published on the topic. As shown in the previous section, these results can be obtained as special cases of our more general formulas.

For RDA, Serdobolskii (1983) (see also Chapter 5 of Serdobolskii (2007)) considered a more general setting than this paper: classification with a weight vector of the form Γ(Σ^c)−1δ^\Gamma(\widehat{\Sigma}_{c})^{-1}\hat{\delta} instead of just (Σ^c+λIp×p)−1δ^(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\hat{\delta}, where the scalar function Γ\Gamma admits the integral representation Γ(x)=∫(x+t)−1 dη(t)\Gamma(x)=\int(x+t)^{-1}\,d\eta(t) for a suitable measure η\eta, and is extended to matrices in the usual way. He derived a limiting formula for the error rate of this classifier under high-dimensional asymptotics. However, due to their generality, his results are substantially more involved and much less explicit than ours. In some cases it is unclear to us how one could numerically compute his formulas in practice. Furthermore, his results are proved when γ<1\gamma<1, and show convergence in probability, not almost surely. We also note the work of Raudys and Skurichina (1995), who derived results about the risk of usual RDA with vanishingly small regularization λ=o(1)\lambda=o(1), and for the special case γ<1\gamma<1.

In another line of work, a Japanese school (e.g., Fujikoshi et al., 2011, and references therein) has studied the error rates of LDA and RDA under high-dimensional asymptotics, with a focus on obtaining accurate higher-order expansions to their risk. For instance Fujikoshi and Seo (1998) obtained asymptotic expansions for the error rate of un-regularized LDA, which can be verified to be equivalent to our results in the λ→0\lambda\rightarrow 0 limit. More recently, Kubokawa et al. (2013) obtained a second-order expansion of the error rate of RDA with vanishingly small regularization parameter λ=O(1/n)\lambda=O(1/n) in the case γ<1\gamma<1.

Finally, in the signal processing and pattern recognition literature, Zollanvari et al. (2011) provided asymptotic moments of estimators of the error rate of LDA, under an asymptotic framework where n,p→∞n,p\to\infty; however, this paper assumes that the covariance matrix Σ\Sigma is known. More recently, Zollanvari and Dougherty (2015) provide consistent estimators for the error rate of RDA in a doubly asymptotic framework, using deterministic equivalents for random matrices. The goal of our work is rather different from theirs, in that we do not seek empirical estimators of the error rate of RDA, but instead seek simple formulas that help us understand the behavior of RDA.

Acknowledgment

We are grateful to everyone who has provided comments on this manuscript, in particular David Donoho, Jerry Friedman, Iain Johnstone, Percy Liang, Asaf Weinstein, and Charles Zheng. E. D. is supported in part by NSF grant DMS-1418362.

References

Supplement

The supplement is organized as follows: Section 5 describes the efficient computation of the risk formulas, Section 6 has the proofs for ridge regression, and Section 7 has the proofs for regularized discriminant analysis. At several locations we refer to equation numbers from the main text.

Efficient computation of the risk formulas

Consider the spectral distribution of the companion matrix Σ^‾=n−1XX⊤\smash{\underline{\widehat{\Sigma}}=n^{-1}XX^{\top}}. Since its spectral distribution FΣ^‾\smash{F_{\underline{\widehat{\Sigma}}}} differs from FΣ^\smash{F_{\widehat{\Sigma}}} by ∣n−p∣|n-p| zeros, it follows that Σ^‾\smash{\underline{\widehat{\Sigma}}} has a limit ESD F‾\smash{\underline{F}}, given by F‾=γF+(1−γ)I[0,∞)\smash{\underline{F}=\gamma F+(1-\gamma)I_{[0,\infty)}}. The companion Stieltjes transform satisfies the Silverstein equation (Silverstein and Combettes, 1992; Silverstein and Choi, 1995):

We now explain how to compute the key quantities m,v,m′,v′m,v,m^{\prime},v^{\prime} that will come up in our risk formulas. On the interval v∈[0,∞)v\in[0,\infty), Silverstein and Choi (1995) prove that the functional inverse of z→v:=v(z)z\to v:=v(z) has the explicit form:

This result enables the efficient computation of the function z→v(z)z\to v(z) for z<0z<0. Indeed, assuming one can compute the corresponding integral against HH, one can tabulate (13) on a dense grid of vi>0v_{i}>0, to find pairs (vi,zi)(v_{i},z_{i}), where zi=z(vi)z_{i}=z(v_{i}). Then for the values zi<0z_{i}<0, the Silverstein and Choi (1995) result shows that v(zi)=viv(z_{i})=v_{i}. Further, the Silverstein equation can be differentiated with respect to zz to obtain an explicit formula for v′v^{\prime} in terms of v,Hv,H:

Therefore, once v(z)v(z) is computed for a value zz, the computation of v′(z)v^{\prime}(z) can be done conveniently in terms of v(z)v(z) and HH, assuming again that the integral involving HH can be computed. This is one of the main steps in the Spectrode method for computing the limit ESD (Dobriban, 2015). Finally, m(z)m(z) can be computed from v(z)v(z) via the equation (4), and m′(z)m^{\prime}(z) can be computed from v′(z)v^{\prime}(z) by differentiating (4): γ(m′(z)−1/z2)=v′(z)−1/z2\gamma\left(m^{\prime}(z)-1/z^{2}\right)=v^{\prime}(z)-1/z^{2}.

Proofs for Ridge Regression

where ε0\varepsilon_{0} is the noise in the new observation. Now w^λ=(X⊤X+λ n Ip×p)−1\hat{w}_{\lambda}=(X^{\top}X+\lambda\,n\,I_{p\times p})^{-1} X⊤YX^{\top}Y, and Y=Xw+εY=Xw+\varepsilon, where ε\varepsilon is the vector of noise terms in the original data. Hence

When we plug this back into the risk formula rλ(X)r_{\lambda}(X), and use that w,εw,\varepsilon are conditionally independent given XX, we see that the cross-term involving w,εw,\varepsilon cancels. The risk simplifies to

Now using that the components of ww and ε\varepsilon are each uncorrelated conditional on XX, we obtain the further simplification

Introducing Σ^=n−1X⊤X\widehat{\Sigma}=n^{-1}X^{\top}X and γp=p/n\gamma_{p}=p/n, and splitting the last term in two by using X⊤X=X⊤X+λ n Ip×p−λ n Ip×pX^{\top}X=X^{\top}X+\lambda\,n\,I_{p\times p}-\lambda\,n\,I_{p\times p} this yields

For the particular choice λ∗=γpα−2\lambda^{*}=\gamma_{p}\alpha^{-2}, we obtain the claimed formula rλ∗(X)r_{\lambda*}(X). Next, we show the convergence of rλ(X)r_{\lambda}(X) for arbitrary fixed λ\lambda. First, by assumption we have γp→γ\gamma_{p}\to\gamma. Therefore, it is enough to show the almost sure convergence of the two functionals:

The convergence of the first one follows directly from the theorem of Ledoit and Péché (2011), given in (5). The second is shown later in the proof of Lemma 7.4 in Section 7.1.4. In that section it is assumed that the eigenvalues of Σ\Sigma are bounded away from 0 an infinity; but one can check that in the proof of Lemma 7.4 only the upper bound is used, and that holds in our case. Therefore the risk rλ(X)r_{\lambda}(X) converges almost surely for each λ\lambda.

Next we find the fomulas for the limits of the two functionals. The limit of p−1tr⁡(Σ(Σ^+λIp×p)−1)p^{-1}\operatorname{tr}\left(\Sigma\left(\widehat{\Sigma}+\lambda I_{p\times p}\right)^{-1}\right) equals κ(λ)=γ−1(1/[λv(−λ)]−1)\kappa(\lambda)=\gamma^{-1}(1/[\lambda v(-\lambda)]-1) by (5). In the proof of Lemma 7.4 in Section 7.1.4, it is shown that the limit of p−1tr⁡(Σ(Σ^+λIp×p)−2)p^{-1}\operatorname{tr}\left(\Sigma\left(\widehat{\Sigma}+\lambda I_{p\times p}\right)^{-2}\right) is −κ′(λ)=[v(−λ)−λv′(−λ)]/[γ(λv(−λ))2]-\kappa^{\prime}(\lambda)=[v(-\lambda)-\lambda v^{\prime}(-\lambda)]/[\gamma(\lambda v(-\lambda))^{2}].

Simplified expression for RλR_{\lambda}: Putting together the results above, we obtain (with v=v(−λ),v′=v′(−λ)v=v(-\lambda),v^{\prime}=v^{\prime}(-\lambda)) the desired claim:

Second part: Convergence: First, we note that for λp∗=γpα−2\lambda_{p}^{*}=\gamma_{p}\alpha^{-2}, the finite sample risk equals by (14)

Introduce the function kp(λ,X)=1ptr⁡(Σ(Σ^+λIp×p)−1)k_{p}(\lambda,X)=\frac{1}{p}\operatorname{tr}\left(\Sigma\left(\widehat{\Sigma}+\lambda I_{p\times p}\right)^{-1}\right). We need to show kp(λp∗,X)→κ(λ∗)k_{p}(\lambda_{p}^{*},X)\to\kappa(\lambda^{*}). First, we notice that λp∗→λ∗\lambda_{p}^{*}\to\lambda^{*}, and kp(λ,X)→κ(λ)k_{p}(\lambda,X)\to\kappa(\lambda) almost surely. Second, we verify the equicontinuity of kpk_{p} as a function of λ\lambda, by proving the stronger claim that the derivatives of kpk_{p} are uniformly bounded:

Therefore, by the equicontinuity of the family kp(λ,X)k_{p}(\lambda,X) as a function of λ\lambda, we obtain kp(λp∗,X)→κ(λ∗)k_{p}(\lambda_{p}^{*},X)\to\kappa(\lambda^{*}). Further, the explicit form of rλp∗r_{\lambda_{p}^{*}} shows that the limit equals 1+γκ(λ∗)=1/(λ∗v(−λ∗))1+\gamma\kappa(\lambda^{*})=1/(\lambda^{*}v(-\lambda^{*})) by (5), as desired.

Optimality of λ∗\lambda^{*}: The limiting risk RλR_{\lambda} is the same if we assume Gaussian observations. In this case, the finite sample Bayes-optimal choice for λp\lambda_{p} is λp∗=γpα−2\lambda_{p}^{*}=\gamma_{p}\alpha^{-2}. We will use the following classical lemma to conclude that the limit of the minimizers λp∗\lambda_{p}^{*} is the minimizer of the limit.

Let fn(x):I→If_{n}(x):\mathcal{I}\to\mathcal{I} be an equicontinuous family of functions on an interval I\mathcal{I}, converging pointwise to a continuous function, fn(x)→f(x)f_{n}(x)\to f(x). Suppose yny_{n} is a minimizer of fnf_{n} on I\mathcal{I}, and yn→yy_{n}\to y. Then yy is a minimizer of ff.

Since yny_{n} is a minimizer of fnf_{n}, we have

for all x∈Ix\in\mathcal{I}. But fn(yn)=fn(yn)−fn(y)+fn(y)−f(y)+f(y)f_{n}(y_{n})=f_{n}(y_{n})-f_{n}(y)+f_{n}(y)-f(y)+f(y). As n→∞n\to\infty, fn(yn)−fn(y)→0f_{n}(y_{n})-f_{n}(y)\to 0 by the convergence of yn→yy_{n}\to y and by the equicontinuity of the family {fn}\{f_{n}\}; and fn(x)−f(x)→0f_{n}(x)-f(x)\to 0 for all xx by the convergence of fn→ff_{n}\to f. Therefore, taking the limit as n→∞n\to\infty in (15), we obtain f(y)≤f(x)f(y)\leq f(x) for any x∈Ix\in\mathcal{I}, showing that yy is a minimizer of ff. ∎

We use the notation rλ,p(X)=rλ(X)r_{\lambda,p}(X)=r_{\lambda}(X) for the risk, showing that it depends on pp. Fix an arbitrary sequence of XX matrices on the event having probability one where rλ,p(X)→Rλr_{\lambda,p}(X)\to R_{\lambda}. By an argument similar to the one given above, the sequence of functions fp(λ)=rλ,p(X)f_{p}(\lambda)=r_{\lambda,p}(X) equicontinuous in λ\lambda on the set λ≥0\lambda\geq 0. Since fp(λ)f_{p}(\lambda) converges to RλR_{\lambda} for each λ>0\lambda>0, and λp∗\lambda_{p}^{*} is a sequence of minimizers of fp(λ)f_{p}(\lambda) that converges to λ∗\lambda^{*}, by Lemma 6.1 λ∗\lambda^{*} is a minimizer of RλR_{\lambda}.

2 The Risk of Ridge Regression with Identity Covariance

From Theorem 2.1 it follows that the risk equals the limit rλ(X)r_{\lambda}(X) (14). Since Σ=I\Sigma=I this simplifies to

By the Marchenko-Pastur theorem, Eq. (3), it follows that p−1tr⁡((Σ^+λIp×p)−1)p^{-1}\operatorname{tr}\left(\left(\widehat{\Sigma}+\lambda I_{p\times p}\right)^{-1}\right) →mI(−λ;γ)\to m_{I}(-\lambda;\gamma) is defined in (7).

In the proof of Lemma 7.4 in Section 7.1.4, it is shown that p−1tr⁡((Σ^+λIp×p)−2)p^{-1}\operatorname{tr}\left(\left(\widehat{\Sigma}+\lambda I_{p\times p}\right)^{-2}\right) →−κ′(λ)\to-\kappa^{\prime}(\lambda). For an identity covariance matrix κ(λ)=mI(−λ;γ)\kappa(\lambda)=m_{I}(-\lambda;\gamma) by definition of κ(λ)\kappa(\lambda). Therefore, the limit of the second term equals mI′(−λ;γ)m^{\prime}_{I}(-\lambda;\gamma). We obtain the desired formula: Rλ=1+γmI(−λ;γ)+λ(λα2−γ)mI′(−λ;γ)R_{\lambda}=1+\gamma m_{I}(-\lambda;\gamma)+\lambda\left(\lambda\alpha^{2}-\gamma\right)m^{\prime}_{I}(-\lambda;\gamma). For λ∗=γα−2\lambda^{*}=\gamma\alpha^{-2}, we obtain R∗=1+γmI(−λ∗;γ)R^{*}=1+\gamma m_{I}(-\lambda^{*};\gamma). It is a matter of simple algebra to verify the formula (8) for the risk.

3 Proof of strong-signal limit of ridge

We will first show the results for the strong-signal limit. We start by verifying the following lemma.

Suppose the limit population eigenvalue distribution HH has support contained in a compact set bounded away from 0. Let v(z)v(z) be the companion Stieltjes transform of the ESD. Then

If γ<1\gamma<1, lim⁡λ↓0λv(−λ)=1−γ\lim_{\lambda\downarrow 0}\lambda v(-\lambda)=1-\gamma.

If γ>1\gamma>1, lim⁡λ↓0v(−λ)=v(0)\lim_{\lambda\downarrow 0}v(-\lambda)=v(0).

Let F‾\underline{F} be the ESD of the companion matrix n−1XX⊤n^{-1}XX^{\top}. It is related to FF via F‾=(1−γ)δ0+γF\underline{F}=(1-\gamma)\delta_{0}+\gamma F. It is well known (e.g., Bai and Silverstein, 2010, Chapter 6), that for HH whose support is contained in a compact set bounded away from 0, the following hold for FF and F‾\underline{F}: if γ<1\gamma<1, then FF has support contained in a compact set bounded away from 0, and F‾\underline{F} has a point mass of 1−γ1-\gamma at 0; while if γ>1\gamma>1, then F‾\underline{F} has support contained in a compact set bounded away from 0, and FF has a point mass of 1−γ−11-\gamma^{-1} at 0.

If γ<1\gamma<1, we let YY be distributed according to FF. Since Y>c>0Y>c>0 for some cc, we have by the dominated convergence theorem

Since λv(−λ)=1−γ+γλm(−λ)\lambda v(-\lambda)=1-\gamma+\gamma\lambda m(-\lambda), this shows lim⁡λ↓0λv(−λ)=1−γ\lim_{\lambda\downarrow 0}\lambda v(-\lambda)=1-\gamma.

Finally, for γ=1\gamma=1, the Silverstein equation (12) is equivalent to

Consequently, using the formula for the optimal risk from Theorem 2.1, we have for γ<1\gamma<1, lim⁡α2→∞R∗(H,α2,γ)=(1−γ)−1\lim_{\alpha^{2}\to\infty}R^{*}(H,\alpha^{2},\gamma)=(1-\gamma)^{-1}. For γ>1\gamma>1,

The explicit formula for R∗(α2,1)R^{*}(\alpha^{2},1) is obtained by plugging in the expression (7) into the formula for the optimal risk.

Proofs for Regularized Discriminant Analysis

We will first outline the high-level steps to prove our main result for classification, Theorem 3.1. We break down the proof into several lemmas, whose proof is deferred to later sections. These lemmas are then put together to prove the theorem in the final part of the proof outline.

We start with the well-known finite-sample formula for the expected test error of an arbitrary linear classifier hw,b(x)=sign⁡(w⋅x+b)h_{w,b}(x)=\operatorname{sign}(w\cdot x+b) in the Gaussian model (2), conditional on the weight parameters w,bw,b and the means μ±1\mu_{\pm 1}:

In RDA the weight vector is w^λ=(Σ^c+λIp×p)−1δ^ \hat{w}_{\lambda}=\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1}\hat{\delta}\, and the offset is b^=δ^⊤(Σ^c+λIp×p)−1μ^\hat{b}=\hat{\delta}^{\top}\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1}\hat{\mu}. The first simplification we notice is that b^→a.s.0\hat{b}\to_{a.s.}0.

Under the conditions of Theorem 3.1, we have b^→a.s.0\hat{b}\to_{a.s.}0.

Lemma 7.1 is proved in Section 7.1.1. Since the denominator in the error rate (16) converges almost surely to a fixed, strictly positive constant (see Lemmas 7.4 and 7.5), this will allow us to use the following simpler formula - that does not involve b^\hat{b} - in evaluating the limit of the error rate.

Recall that μ−1=μˉ−δ\mu_{-1}=\bar{\mu}-\delta, μ+1=μˉ+δ\mu_{+1}=\bar{\mu}+\delta. The second simplification we notice is that w^λ⊤μˉ→a.s.0\hat{w}_{\lambda}^{\top}\bar{\mu}\to_{a.s.}0.

Under the conditions of Theorem 3.1, we have w^λ⊤μˉ→a.s.0\hat{w}_{\lambda}^{\top}\bar{\mu}\to_{a.s.}0.

Lemma 7.2 is proved in Section 7.1.2. By the same argument as above, this Lemma allows us to use the following even simpler formula - that does not involve μˉ\bar{\mu} - in evaluating the limit of the error rate:

To show the convergence of Φ(−w^λ⊤δ/w^λ⊤Σw^λ)\smash{\Phi\left(-\hat{w}_{\lambda}^{\top}\delta/\sqrt{\hat{w}_{\lambda}^{\top}\Sigma\hat{w}_{\lambda}}\right)}, we argue that the linear and quadratic forms involving w^λ\hat{w}_{\lambda} concentrate around their means, and then apply random matrix results to find the limits of those means. We start with the numerator.

We have the limit w^λ⊤δ→a.s.α2m(−λ)\hat{w}_{\lambda}^{\top}\delta\rightarrow_{a.s.}\alpha^{2}m(-\lambda), where m(z)m(z) is the Stieltjes transform of the limit empirical eigenvalue distribution FF of the covariance matrix Σ^c\widehat{\Sigma}_{c}.

Lemma 7.3 is proved in Section 7.1.3. To prove the convergence of the denominator, we decompose it as:

where M:=(Σ^c+λIp×p)−1Σ(Σ^c+λIp×p)−1M:=\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1}\Sigma\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1} and

Lemma 7.4 is proved in Section 7.1.4, using Ledoit and Péché (2011)’s result and a derivative trick similar to that employed in a similar context by El Karoui and Kösters (2011); Rubio et al. (2012); Zhang et al. (2013). Finally, the last statement that we need is:

where vv the companion Stieltjes transform of the ESD of the covariance matrix, defined in (4).

Lemma 7.5 is proved in Section 7.1.5, as an application of the results of Hachem et al. (2008) and Chen et al. (2011). With all these results, we can now prove Theorem 3.1.

By the decomposition (19) and Lemmas 7.4 and 7.5, we have the convergence

By Lemma 7.5, the second term is strictly positive. Therefore, combining with Lemma 7.3 and the continuous mapping theorem, we have

Denote by Θ\Theta the parameter on the right hand side. After algebraic simplification, we obtain that Θ\Theta has exactly the form stated in the theorem for the margin of RDA. To finish the proof, we show that the error rate is indeed determined by Θ\Theta. From (20) and the continuous mapping theorem, recalling the error rate Err⁡2(w)\operatorname{Err}_{2}\left(w\right) from (18), we have Err⁡2(w^λ)→a.s.Φ(−Θ).\operatorname{Err}_{2}\left(\hat{w}_{\lambda}\right)\to_{a.s.}\Phi(-\Theta).

From Lemma 7.2 and the definition of the error rate Err⁡1(w)\operatorname{Err}_{1}\left(w\right) from (17), we can move from Err⁡2\operatorname{Err}_{2} to Err⁡1\operatorname{Err}_{1}: Err⁡2(w^λ)−Err⁡1(w^λ)→a.s.0.\operatorname{Err}_{2}\left(\hat{w}_{\lambda}\right)-\operatorname{Err}_{1}\left(\hat{w}_{\lambda}\right)\to_{a.s.}0.

Finally, from Lemma 7.1 and the definition of the error rate Err⁡0(w)\operatorname{Err}_{0}\left(w\right) in Equation (16), we can discard the offset b^\smash{\hat{b}}, and move from Err⁡1\operatorname{Err}_{1} to Err⁡0\operatorname{Err}_{0}: Err⁡1(w^λ)−Err⁡0(w^λ,b^)→a.s.0.\operatorname{Err}_{1}\left(\hat{w}_{\lambda}\right)-\operatorname{Err}_{0}\left(\hat{w}_{\lambda},\hat{b}\right)\to_{a.s.}0.

The last three statements imply that Err⁡0(w^λ,b^)→a.s.Φ(−Θ)\smash{\operatorname{Err}_{0}\left(\hat{w}_{\lambda},\hat{b}\right)\to_{a.s.}\Phi(-\Theta)}, which finishes the proof of Theorem 3.1. ∎

In the proofs of the lemmas we will use the following well-known statement repeatedly:

Lemma 7.6 requires a small proof, which is provided in Section 7.1.6. The rest of this section contains the proofs of the lemmas.

We start by conditioning on the random variables μˉ,δ\bar{\mu},\delta, or equivalently on μ±1\mu_{\pm 1}. Conditional on μˉ,δ\bar{\mu},\delta, we have that μ^+1∼N(μ+1,2Σ/n)\hat{\mu}_{+1}\sim\mathcal{N}(\mu_{+1},2\Sigma/n), independently of μ^−1∼N(μ−1,2Σ/n)\hat{\mu}_{-1}\sim\mathcal{N}(\mu_{-1},2\Sigma/n). Therefore, δ^∼N(δ, Σ/n)\hat{\delta}\sim\mathcal{N}\left(\delta,\,\Sigma/n\right), and independently μ^∼N(μˉ, Σ/n)\hat{\mu}\sim\mathcal{N}\left(\bar{\mu},\,\Sigma/n\right). Further - still conditionally on μˉ,δ\bar{\mu},\delta - it holds that Σ^c\widehat{\Sigma}_{c} and μ^±1\hat{\mu}_{\pm 1} are independent by Gaussianity. This shows that conditionally on μˉ,δ\bar{\mu},\delta, the random variables Σ^c,μ^,δ^\widehat{\Sigma}_{c},\hat{\mu},\hat{\delta} are independent.

Crucially, this representation has the same form regardless of the value of δ\delta, μˉ\bar{\mu}, therefore the random variables Z,WZ,W are unconditionally independent of δ, μˉ, Σ^c\delta,\,\bar{\mu},\,\widehat{\Sigma}_{c}. The unconditional indepdendence of δ,μˉ,Σ^c,Z,W\delta,\bar{\mu},\widehat{\Sigma}_{c},Z,W will lead to convenient simplifications.

We decompose b^\hat{b} according to (21) into the four terms that arise from expanding δ^,μ^\hat{\delta},\hat{\mu}:

where L=(Σ^c+λIp×p)−1L=\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1} and

The proof proceeds by showing that each of the TiT_{i} converge to zero.

The first term: T1T_{1}. Let us denote l=Lμˉl=L\bar{\mu}. Then by the independence and the zero-mean property of the coordinates of δ\delta

The second term: T2T_{2}. This term differs from T1T_{1} because n−1/2Zn^{-1/2}Z replaces δ\delta. To show the convergence T1→a.s.0T_{1}\to_{a.s.}0 we only used the properties of the first four moments of δ\delta. The moments of n−1/2Zn^{-1/2}Z scale in the same way with pp as the moments of δ\delta. Therefore, the same proof shows T2→a.s.0T_{2}\to_{a.s.}0.

The last two terms: T3T_{3} and T4T_{4}. The convergence of these terms follows directly from a well-known lemma, which we cite from Couillet and Debbah (2011):

While this lemma was originally stated for complex vectors, it holds verbatim for real vectors as well. The lemma applied with xn=δx_{n}=\delta, yn=n−1/2Wy_{n}=n^{-1/2}W and An=LΣ1/2A_{n}=L\Sigma^{1/2} shows convergence of T3→a.s.0T_{3}\to_{a.s.}0; and similarly it shows T4→a.s.0T_{4}\to_{a.s.}0. This finishes the proof of Lemma 7.1.

1.2 Proof of Lemma 7.2

This follows from the proof of Lemma 7.2 by noting w^λ⊤μˉ=δ^⊤Lμˉ=T1+T2\hat{w}_{\lambda}^{\top}\bar{\mu}=\hat{\delta}^{\top}L\bar{\mu}=T_{1}+T_{2}, where L=(Σ^c+λIp×p)−1L=\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1}, and with TiT_{i} from Equation (25).

1.3 Proof of Lemma 7.3

We will analyze the two terms separately, and show that the second term converges to 0.

Let Σ^c\widehat{\Sigma}_{c} be the centered and rescaled covariance matrix used in RDA. Then

Under the conditions of Theorem 3.1, the limit ESD of Σ^c\widehat{\Sigma}_{c} equals, with probability 1, the limit ESD FF of sample covariance matrices Σ^=n−1Σ1/2V⊤VΣ1/2\widehat{\Sigma}=n^{-1}\Sigma^{1/2}V^{\top}V\Sigma^{1/2}, where VV is n×pn\times p with i.i.d. entries of mean 0 and variance 1. Therefore centering the covariance does not change the limit.

Let uiu_{i} be the centered data points, ui=xi−μ+1u_{i}=x_{i}-\mu_{+1} for the positive training examples, and ui=xi−μ−1u_{i}=x_{i}-\mu_{-1} for the negative training examples. The uiu_{i} have mean 0 and covariance matrix Σ\Sigma. Let further ν^+1=μ^+1−μ+1\hat{\nu}_{+1}=\hat{\mu}_{+1}-\mu_{+1} be the centered mean of the positive training examples; and define ν^−1=μ^−1−μ−1\hat{\nu}_{-1}=\hat{\mu}_{-1}-\mu_{-1} analogously. We observe that

where VV is the n×pn\times p matrix with each row equal to Σ−1/2ui\Sigma^{-1/2}u_{i}, which are i.i.d. Gaussian vectors with i.i.d. entries of mean 0 and variance 1. Also, PP is the projection matrix P=Ip×p−2n−1(e+1e+1⊤+e−1e−1⊤)P=I_{p\times p}-2n^{-1}(e_{+1}e_{+1}^{\top}+e_{-1}e_{-1}^{\top}), where the vectors e±1e_{\pm 1} are the indicator vectors of the training examples with labels ±1\pm 1. Recalling that Σ^=n−1Σ1/2V⊤VΣ1/2\widehat{\Sigma}=n^{-1}\Sigma^{1/2}V^{\top}V\Sigma^{1/2} is the uncentered, 1/n1/n-normalized covariance matrix, the difference between Σ^\widehat{\Sigma} and Σ^c\widehat{\Sigma}_{c} is

It is easy to check that the two error terms Γ1\Gamma_{1} and Γ2\Gamma_{2} are small. Specifically, we can verify that the Frobenius norm ∥Γ1∥Fr2→0\|\Gamma_{1}\|_{\text{Fr}}^{2}\to 0. Therefore, By Corollary A.41 in Bai and Silverstein (2010) it follows that Γ1\Gamma_{1} can be ignored when computing the limit ESD. Further, Ip×p−PI_{p\times p}-P is of rank at most two by the definition of PP. Therefore, by Theorem A.44 in Bai and Silverstein (2010), Γ2\Gamma_{2} does not affect the limit ESD. Putting these together, it follows that Σ^c\widehat{\Sigma}_{c} has the same ESD as Σ^\widehat{\Sigma}; the latter exists due to the Marchenko-Pastur theorem given in Equation (3). Therefore, the ESD of Σ^c\widehat{\Sigma}_{c} converges, with probability 1, to FF. This finishes the first claim in the Lemma.

Claim 2 then follows immediately by the properties of weak convergence of probability measures, because the Stieltjes transform is a bounded continuous functional of a probability distribution.

Putting everything together, we have shown that the first term converges almost surely to α2m(−λ)\alpha^{2}m(-\lambda).

The second term in (26) converges to zero: Using the decomposition (21) from the proof of Lemma 7.1 in Section 7.1.1, and the notation L=(Σ^c+λIp×p)−1L=\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1} we can write ε2:=δ⊤(Σ^c+λIp×p)−1(δ^−δ)=1nδ⊤LΣ1/2Z.\varepsilon_{2}:=\delta^{\top}\left(\widehat{\Sigma}_{c}+\lambda I_{p\times p}\right)^{-1}\left(\hat{\delta}-\delta\right)=\frac{1}{\sqrt{n}}\delta^{\top}L\Sigma^{1/2}Z.

This has the same distribution as T3=n−1/2δ⊤LΣ1/2WT_{3}=n^{-1/2}\delta^{\top}L\Sigma^{1/2}W, because Z,WZ,W are identically distributed, independently of δ,Σ^c\delta,\widehat{\Sigma}_{c}. In Lemma 7.1, we showed T3→a.s.0T_{3}\to_{a.s.}0, so ε2→a.s.0\varepsilon_{2}\rightarrow_{a.s.}0. ∎

1.4 Proof of Lemma 7.4

Let f1,f2,…f_{1},f_{2},\ldots be analytic on the domain DD, satisfying ∣fn(z)∣≤M|f_{n}(z)|\leq M for every nn and zz in DD. Suppose that there is an analytic function ff on DD such that fn(z)→f(z)f_{n}(z)\to f(z) for all z∈Dz\in D. Then it also holds that fn′(z)→f′(z)f_{n}^{\prime}(z)\to f^{\prime}(z) for all z∈Dz\in D.

Accordingly, consider two general p×pp\times p positive definite matrices D,ED,E and introduce the function fp(λ;D,E)=1ptr⁡(D(E+λIp×p)−1).f_{p}(\lambda;D,E)=\frac{1}{p}\operatorname{tr}\left(D\left(E+\lambda I_{p\times p}\right)^{-1}\right). Note that the derivative of ff with respect to λ\lambda is fp′(λ;D,E)=−1ptr⁡(D(E+λIp×p)−2).f_{p}^{\prime}(\lambda;D,E)=-\frac{1}{p}\operatorname{tr}\left(D\left(E+\lambda I_{p\times p}\right)^{-2}\right).

for all λ∈S:={u+iv:v≠0\mbox,orv=0,u>0}\lambda\in\mathcal{S}:=\{u+iv:v\neq 0\mbox{, or }v=0,u>0\}.

Next we check the conditions for applying Vitali’s theorem, Lemma 7.8. By inspection, the function fp(λ;Σ,Σ^c)f_{p}(\lambda;\Sigma,\widehat{\Sigma}_{c}) is an analytic function of λ\lambda on S\mathcal{S} with derivative

Furthermore, fp(λ;Σ,Σ^c)f_{p}(\lambda;\Sigma,\widehat{\Sigma}_{c}) is bounded in absolute value: ∣fp(λ;Σ,Σ^c)∣≤∥Σ∥2λ≤Bλ.|f_{p}(\lambda;\Sigma,\widehat{\Sigma}_{c})|\leq\frac{\|\Sigma\|_{2}}{\lambda}\leq\frac{B}{\lambda}.

1.5 Proof of Lemma 7.5

A convenient form for the limit is obtained in Chen et al. (2011). Their convergence result holds in probability, which is weaker than what we need; this explains why we also need the results of Hachem et al. (2008). Chen et al. (2011) consider sequences of problems of the form vi∼iidN(μp,Σp)v_{i}\sim_{iid}\mathcal{N}(\mu_{p},\Sigma_{p}), where Σp\Sigma_{p} is a sequence of covariance matrices that obeys the same conditions we assumed in the statement of Theorem 3.1, and the μp\mu_{p} are arbitrary fixed vectors. They form the sample covariance matrix Sn=(n−1)−1∑i=1n(vi−vˉ)(vi−vˉ)⊤S_{n}={(n-1)}^{-1}\sum_{i=1}^{n}(v_{i}-\bar{v})(v_{i}-\bar{v})^{\top}, where vˉ=n−1∑i=1nvi\bar{v}=n^{-1}\sum_{i=1}^{n}v_{i}. In addition to the above conditions, they also assume the additional condition n∣p/n−γ∣→0\sqrt{n}|p/n-\gamma|\to 0. Then their result states:

Under the above conditions, we have the convergence in probability

where Θ2(λ,γ)\Theta_{2}(\lambda,\gamma) is defined in the statement of Theorem 1 of Chen et al. (2011), on pp 1348

Lemma 7.9 is stated for the usual centered covariance matrix SnS_{n}. In Lemma 7.5, the covariance matrix of interest is Σ^c=(n−2)−1Σ1/2V⊤PVΣ1/2\widehat{\Sigma}_{c}=(n-2)^{-1}\Sigma^{1/2}V^{\top}PV\Sigma^{1/2}, where PP is the projection matrix P=Ip×p−2n−1(e+1e+1⊤+e−1e−1⊤)P=I_{p\times p}-2n^{-1}(e_{+1}e_{+1}^{\top}+e_{-1}e_{-1}^{\top}). Similarly to what we already argued several times in this paper (e.g. in Lemma 7.7), the two covariance matrices have identical limit ESD. Therefore Lemma 7.9 applies to our setting. Combining this with Lemma 1 in Hachem et al. (2008), we have the convergence:

Next, we notice by the definition of vv in (4) that 1−γ+γλm(−λ)=λv(λ)1-\gamma+\gamma\lambda m(-\lambda)=\lambda v(\lambda), as well as 1−λm(−λ)=γ−1(1−λv(−λ))1-\lambda m(-\lambda)=\gamma^{-1}(1-\lambda v(-\lambda)); and by taking derivatives m(−λ)−λm′(−λ)=γ−1(v(−λ)−λv′(−λ))m(-\lambda)-\lambda m^{\prime}(-\lambda)=\gamma^{-1}(v(-\lambda)-\lambda v^{\prime}(-\lambda)). We rewrite the limit Θ2\Theta_{2} in terms of vv:

1.6 Proof of Lemma 7.6

We will use the following Trace Lemma quoted from Bai and Silverstein (2010).

for some constant CqC_{q} that only depends on qq.

2 Proof of Theorem 3.2: Unequal sampling

We observe n+1n_{+1} samples with label yi=1y_{i}=1, and n−1n_{-1} samples with label yi=−1y_{i}=-1. We consider a general regularized classifier sign⁡(f^λ(x))\operatorname{sign}(\hat{f}_{\lambda}(x)), where f^λ(x)=x⊤w^λ+b^\hat{f}_{\lambda}(x)=x^{\top}\hat{w}_{\lambda}+\hat{b}, and w^λ=(Σ^c+λIp×p)−1δ^,    b^=−μ^⊤w^λ+c.\hat{w}_{\lambda}=(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\hat{\delta},\,\,\,\,\hat{b}=-\hat{\mu}^{\top}\hat{w}_{\lambda}+c.

As usual, we have δ^=(μ^+1−μ^−1)/2\hat{\delta}=(\hat{\mu}_{+1}-\hat{\mu}_{-1})/2, μ^=(μ^+1+μ^−1)/2\hat{\mu}=(\hat{\mu}_{+1}+\hat{\mu}_{-1})/2 and μ^±1=∑{i:yi=±1}xi/n±1\hat{\mu}_{\pm 1}=\sum_{\left\{i:y_{i}=\pm 1\right\}}x_{i}/n_{\pm 1}. The centered sample covariance matrix Σ^c\widehat{\Sigma}_{c} retains its original definition.

We evaluate the limits of the linear and quadratic forms in the error rate, arising when we replace ww and bb by w^\hat{w} and b^\hat{b}, respectively. We assume that the same regularity conditions as in Theorem 3.1 hold, with the additional requirement that the ratios p/n±1p/n_{\pm 1} each converge to positive constants: p/n±1→γ±1>0p/n_{\pm 1}\to\gamma_{\pm 1}>0. For two independent pp-dimensional standard normal random variables Z±1Z_{\pm 1}, which are also independent of δ,μˉ\delta,\bar{\mu}, we have the stochastic representation

The limit of b^=−μ^⊤w^λ+c\hat{b}=-\hat{\mu}^{\top}\hat{w}_{\lambda}+c: To evaluate this limit, we expand the inner product −μ^⊤w^λ-\hat{\mu}^{\top}\hat{w}_{\lambda} using the stochastic representation of δ^\hat{\delta}. As in the proof of Theorem 3.1, most terms in the expansion tend to 0 due to independence. Denote by An≈BnA_{n}\approx B_{n} that two random variables are asymptotically almost surely equivalent, i.e. ∣An−Bn∣→a.s.0|A_{n}-B_{n}|\rightarrow_{a.s.}0. We have by arguments similar to those in Theorem 3.1 that

The limit of μ±1⊤w^λ\mu_{\pm 1}^{\top}\hat{w}_{\lambda}: We write μ1⊤w^λ=(μˉ+δ)⊤(Σ^c+λIp×p)−1δ^\mu_{1}^{\top}\hat{w}_{\lambda}=(\bar{\mu}+\delta)^{\top}(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\hat{\delta}, and μ1⊤w^λ≈δ⊤(Σ^c+λIp×p)−1δ≈α2m(−λ)\mu_{1}^{\top}\hat{w}_{\lambda}\approx\delta^{\top}(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\delta\approx\alpha^{2}m(-\lambda). Similarly μ−1⊤w^λ≈−α2m(−λ)\mu_{-1}^{\top}\hat{w}_{\lambda}\approx-\alpha^{2}m(-\lambda).

The limit of w^λ⊤Σw^λ\hat{w}_{\lambda}^{\top}\Sigma\hat{w}_{\lambda}: On expanding this expression using the stochastic representation, the cross-terms vanish asymptotically. Denoting M=(Σ^c+λIp×p)−1Σ(Σ^c+λIp×p)−1M=(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}\Sigma(\widehat{\Sigma}_{c}+\lambda I_{p\times p})^{-1}, we obtain

Putting everything together: Using the above formulas, we see that as claimed in Eq. 11, Err0(w^λ,b^)→a.s.UErr_{0}\left(\hat{w}_{\lambda},\hat{b}\right)\to_{a.s.}U:

3 Proof of Corollary 3.3

From Theorem 3.1, the limit error rate is Φ(−Θ)\Phi(-\Theta), where Θ=α2m(−λ)/α2 r(λ)+γq(λ)\Theta=\alpha^{2}m(-\lambda)/\sqrt{\alpha^{2}\,r(\lambda)+\gamma q(\lambda)}, and

The quantity mI′(−λ;γ)m^{\prime}_{I}(-\lambda;\gamma) can be expressed in terms of mIm_{I} by differentiating the Marchenko-Pastur equation: mI(z;γ)=1/(1−z−γ−γzmI(z;γ))m_{I}(z;\gamma)=1/(1-z-\gamma-\gamma zm_{I}(z;\gamma)). We get m′=m2(1+γm)/(1−γzm2)m^{\prime}=m^{2}(1+\gamma m)/(1-\gamma zm^{2}), which leads to the claimed expression for Θ\Theta. For γ=1\gamma=1 we get the required formula from Eq. (7) after some calculations.

4 Note on the Ledoit-Peche result (5)

Ledoit and Péché (2011) prove (5) in their Lemma 2. Our notation differs from theirs: γ\gamma here is equal to their γ−1\gamma^{-1} (because the role of n,pn,p is reversed); Σ^\widehat{\Sigma} here is SNS_{N}, and −λ-\lambda here corresponds to zz. Their limit is given in terms of mm, but simplifies to

5 Proof of Theorem 3.5

We will use the representation of the margin from theorem 3.1. To evaluate the necessary limits, it is helpful to represent the Stieltjes transforms and their derivatives as expectations with respect to the ESD. Thus, let YY be a random variable distributed according to the ESD FF, and let Y‾\underline{Y} be a random variable distribued according to the companion ESD F‾\underline{F}. Then mm, vv are the Stieltjes transforms of Y,Y‾Y,\underline{Y}, respectively. Hence

Differentiating the formula for the companion Stieltjes transform, we see λ2v′(−λ)=1+γ(λ2m′(−λ)−1)\lambda^{2}v^{\prime}(-\lambda)=1+\gamma\left(\lambda^{2}m^{\prime}(-\lambda)-1\right). Hence,

Finally, we evaluate the limit of λ2(v′(−λ)v2(−λ)−1)\lambda^{2}\left(\frac{v^{\prime}(-\lambda)}{v^{2}(-\lambda)}-1\right). Noting that λv\lambda v tends to 1, it is enough to find the limit of λ4(v′(−λ)−v2(−λ))\lambda^{4}(v^{\prime}(-\lambda)-v^{2}(-\lambda)). We compute

6 Proof of Corollary 3.6

This upper bound is achieved for any H=w1δk1+w2δk2H=w_{1}\delta_{k_{1}}+w_{2}\delta_{k_{2}}. It is now easy to check that there exists a unique set of weights wiw_{i} such that a distribution of the above form has unit mean, so that it belongs to H(k1,k2)\mathcal{H}(k_{1},k_{2}); and those are the weights given in the corollary.