A Large Dimensional Analysis of Least Squares Support Vector Machines

Zhenyu Liao, Romain Couillet

I Introduction

In the past two decades, due to their surprising classification capability and simple implementation, kernel support vector machine (SVM) and its variants have been used in a wide variety of classification applications, such as face detection , handwritten digit recognition , and text categorization . In all aforementioned applications, the dimension of data pp and their number nn are large: in the hundreds and even thousands. The significance of working in this large n,pn,p regime is even more convincing in the Big Data paradigm today where handling data which are both numerous and large dimensional becomes increasingly common.

As the training of SVMs involves a quadratic programming problem, the computation complexity of SVM training algorithms can be intensive when the number of training examples nn becomes large (at least quadratic with respect to nn). It is thus difficult to deal with large scale problems with traditional SVMs. To cope with this limitation, least squares SVM (LS-SVM, also later referred to as kernel regularized least-squares estimator or kernel ridge regression ) was proposed in , providing a more computationally efficient implementation of the traditional SVMs, by taking equality optimization constraints instead of inequalities, which results in an explicit solution (from a set of linear equations) rather than an implicit one in SVMs. This article is mostly concerned with this particular type of SVMs.

Trained SVMs are strongly data-dependent: the data with generally unknown statistics are passed through a nonlinear kernel function ff and standard optimization methods are used to find the best classifier. All these features make the performance of SVM hardly traceable (at least within the classical finite n,pn,p regime). To understand the mechanism of SVMs, the notion of VC dimension was introduced to provide bounds on the generalization performance of SVM , while a probabilistic interpretation of LS-SVM was discussed in through a Bayesian inference approach. In other related works, connections between LS-SVMs and SVMs were revealed in , and more relationships were shown between SVM-type and other learning methods, e.g., LS-SVMs and extreme learning machines (ELMs) ; SVMs and regularization networks (RNs) , etc. Theoretical analyses on the generalization performance of LS-SVM have been developed, under the conventional asymptotic statistics framework (i.e., assuming n→∞n\to\infty), to obtain optimal convergence rates in . Nonetheless, a proper adaptation to the large n,pn,p setting to address LS-SVM performance for large dimensional datasets (of growing interest today) is still missing.

Similar to classical analysis of asymptotic statistics where n→∞n\to\infty while pp is fixed, where the diversity of the number of data provides convergence through laws of large numbers, working in the large n,pn,p regime by letting in addition p→∞p\to\infty helps exploit the diversity offered by the size of each data vector, providing us with another dimension to guarantee the convergence of some key objects in our analysis, and thus makes the asymptotic analysis of the elusive kernel matrix K={f(xi,xj)}i,j=1n\mathbf{K}=\left\{f\left(\mathbf{x}_{i},\mathbf{x}_{j}\right)\right\}_{i,j=1}^{n} technically more accessible. Recent breakthroughs in random matrix theory have allowed one to overtake the theoretical difficulty posed by the nonlinearity of the aforementioned kernel function ff and thus make an in-depth analysis of LS-SVM possible in the large n,pn,p regime. These tools were notably used to assess the performance of the popular Ng-Weiss-Jordan kernel spectral clustering methods for large datasets , in the analysis of graphed-based semi-supervised learning or for the development of novel kernel subspace clustering methods .

Similar to these works, in this article, we provide a performance analysis of LS-SVM, in the regime of n,p→∞n,p\to\infty and p/n→cˉ0∈(0,∞)p/n\to\bar{c}_{0}\in(0,\infty), under the assumption of a two-class Gaussian mixture model of means μ1,μ2\bm{\mu}_{1},\bm{\mu}_{2} and covariance matrices C1,C2\mathbf{C}_{1},\mathbf{C}_{2} for the input data. The Gaussian assumption may seem artificial to the practitioners, but reveals first insights into how SVM-type methods deal with the information in means and covariances from a more quantitative point of view. Besides, the early investigations have revealed that the behavior of some machine learning methods under Gaussian or deterministic practical input datasets are a close match, despite the obvious non-Gaussianity of the latter.

Our main finding is that, as in , in the large n,pn,p regime and under suitable conditions on the input statistics, a non-trivial asymptotic classification error rate (i.e., neither 0 nor 1) can be obtained and the decision function of LS-SVM converges to a Gaussian random variable whose mean and variance depend on the statistics of the two different classes as well as on the behavior of the kernel function ff evaluated at 2tr⁡(n1C1+n2C2)/(np)2\operatorname{{\rm tr}}(n_{1}\mathbf{C}_{1}+n_{2}\mathbf{C}_{2})/(np), with n1n_{1} and n2n_{2} the number of instances in each class. This brings novel insights into some key issues of SVM-type methods such as kernel function selection and parameter optimization (see for example and the references therein), as far as large dimensional data are concerned. More importantly, we confirm through simulations that our theoretical findings closely match the performance obtained on the MNIST and the Fashion-MNIST datasets , which conveys a strong applicative motivation for this work.

In the remainder of the article, we provide a rigorous statement of our main results. The problem of LS-SVM is discussed in Section II and our model and main results presented in Section III, while all proofs are deferred to the appendices in the Supplementary Material. In Section IV, attention will be paid on some special cases that are more analytically tractable. Section V concludes the paper by summarizing the main results and outlining future research directions.

Reproducibility: Python 3 codes to reproduce the results in this article are available at https://github.com/Zhenyu-LIAO/RMT4LSSVM.

Notations: Boldface lowercase (uppercase) characters stand for vectors (matrices), and scalars non-boldface respectively. 1n\mathbf{1}_{n} is the column vector of ones of size nn, 0n\mathbf{0}_{n} the column vector of zeros, and In\mathbf{I}_{n} the n×nn\times n identity matrix. The notation (⋅)T(\cdot)^{{\sf T}} denotes the transpose operator. The norm ∥⋅∥\|\cdot\| is the Euclidean norm for vectors and the operator norm for matrices. The notation P(⋅){\rm P}(\cdot) denotes the probability measure of a random variable. The notation →d\overset{d}{\to} denotes convergence in distribution and →a.s.\overset{\rm{a.s.}}{\to} almost sure convergence, respectively. The operator D(v)=D{va}a=1k\mathcal{D}(\mathbf{v})=\mathcal{D}\{v_{a}\}_{a=1}^{k} is the diagonal matrix having va,…,vkv_{a},\ldots,v_{k} as its ordered diagonal elements. We denote {va}a=1k\{v_{a}\}_{a=1}^{k} a column vector with aa-th entry (or block entry) vav_{a} (which may be a vector), while {Vab}a,b=1k\{V_{ab}\}_{a,b=1}^{k} denotes a square matrix with entry (or block-entry) (a,b)(a,b) given by VabV_{ab} (which may be a matrix).

II Problem statement

Least squares support vector machines (LS-SVMs) are a modification of the standard SVM introduced in to overcome the drawbacks of SVM related to computational efficiency. The optimization problem has half the number of parameters and benefits from solving a linear system of equations instead of a quadratic programming problem as in standard SVM and is thus more practical for large dimensional learning tasks. In this article, we will focus on a binary classification problem using LS-SVM as described in the following paragraph.

where γ>0\gamma>0 is a penalty factor that weights the structural risk ∥w∥2\|\mathbf{w}\|^{2} against the empirical one 1n∑i=1nei2\frac{1}{n}\sum_{i=1}^{n}e_{i}^{2}.

with S=K+nγIn\mathbf{S}={\mathbf{K}}+\frac{n}{\gamma}{\bf I}_{n} and K≜{φ(xi)Tφ(xj)}i,j=1n\mathbf{K}\triangleq\left\{\bm{\varphi}(\mathbf{x}_{i})^{{\sf T}}\bm{\varphi}(\mathbf{x}_{j})\right\}_{i,j=1}^{n} referred to as the kernel matrix .

Given α\bm{\alpha} and bb, a new datum x\mathbf{x} is then classified into class C1\mathcal{C}_{1} or C2\mathcal{C}_{2} depending on the value of the following decision function

Some commonly used kernel functions are the Gaussian radial basis (RGB) kernel f(x)=exp⁡(−x2σ2)f(x)=\exp\left(-\frac{x}{2\sigma^{2}}\right) with σ>0\sigma>0 and the polynomial kernel f(x)=∑i=0daixif(x)=\sum_{i=0}^{d}{a_{i}x^{i}} with d≥1d\geq 1.

In the rest of this article, we will focus on the performance of LS-SVM, in the large n,pn,p regime, by studying the asymptotic behavior of the decision function g(x)g(\mathbf{x}) defined in (3), in a binary classification problem with some statistical properties of the data, the model of which will be specified in the next section.

III Main results

Evaluating the performance of LS-SVM is made difficult by the heavily data-driven aspect of the method. In this article, we assume that all xi\mathbf{x}_{i}’s are extracted from a Gaussian mixture, thereby allowing for a thorough theoretical analysis.

As the μa{\bm{\mu}}_{a}’s and Ca{\mathbf{C}}_{a}’s scale with pp, to avoid asymptotic trivial misclassification rates (i.e., neither or 11 in the limit of n,p→∞n,p\to\infty), we shall (as in ) technically place ourselves under the following controlled growth rate assumption:

As n→∞n\to\infty, for a∈{1,2}a\in\{1,2\}, the following conditions hold.

Data scaling: pn≜c0→cˉ0>0\frac{p}{n}\triangleq c_{0}\to\bar{c}_{0}>0.

Class scaling: nan≜ca→cˉa>0\frac{n_{a}}{n}\triangleq c_{a}\to\bar{c}_{a}>0.

Mean scaling: ∥μ2−μ1∥=O(1)\|\bm{\mu}_{2}-\bm{\mu}_{1}\|=O(1).

Covariance scaling: ∥Ca∥=O(1)\|\mathbf{C}_{a}\|=O(1) and tr⁡(C2−C1)=O(p)\operatorname{{\rm tr}}(\mathbf{C}_{2}-\mathbf{C}_{1})=O(\sqrt{p}).

for C∘≜n1nC1+n2nC2\mathbf{C}^{\circ}\triangleq\frac{n_{1}}{n}\mathbf{C}_{1}+\frac{n_{2}}{n}\mathbf{C}_{2}, 2ptr⁡C∘→τ>0\frac{2}{p}\operatorname{{\rm tr}}\mathbf{C}^{\circ}\to\tau>0 as n,p→∞n,p\to\infty.

From a practical aspect, where pp and nn are fixed quantities, the dual condition n→∞n\to\infty and pn→cˉ0>0\frac{p}{n}\to\bar{c}_{0}>0 must be understood as requesting that both pp and nn be large and such that the ratio pn\frac{p}{n} is sufficiently distinct from and ∞\infty.As a matter of fact, as our results will demonstrate, the case where pn→cˉ0=0\frac{p}{n}\to\bar{c}_{0}=0 is also valid as an extension by continuity through cˉ0→0\bar{c}_{0}\to 0.

Aside from the last assumption, stated here mostly for technical convenience, it can be shown that the growth rate demanded in Assumption 1 is rate-optimal in the sense that an oracle Neyman–Pearson hypothesis testing procedure (with known μa\bm{\mu}_{a} and Ca\mathbf{C}_{a}) is (in general) ineffective at any smaller distance rates (so that the misclassification rate will constantly be 11), as discussed in the following remark.

Assume that both ∥Ca∥\|\mathbf{C}_{a}\| and ∥Ca−1∥\|\mathbf{C}_{a}^{-1}\| are of order O(1)O(1) and let x\mathbf{x} be a vector belonging to class C1\mathcal{C}_{1}, i.e., x∼N(μ1,C1)\mathbf{x}\sim\mathcal{N}(\bm{\mu}_{1},\mathbf{C}_{1}). Then, for perfectly known means μ1,μ2\bm{\mu}_{1},\bm{\mu}_{2} and covariances C1,C2\mathbf{C}_{1},\mathbf{C}_{2}, the Neyman–Pearson test for x\mathbf{x} to belong to C1\mathcal{C}_{1} consists in the following comparison,

where we denote Δμ≜μ1−μ2\Delta\bm{\mu}\triangleq\bm{\mu}_{1}-\bm{\mu}_{2}, ω≜1p(x−μ1)\bm{\omega}\triangleq\frac{1}{\sqrt{p}}(\mathbf{x}-\bm{\mu}_{1}) and thus ω∼N(0,C1/p)\bm{\omega}\sim\mathcal{N}(0,\mathbf{C}_{1}/p). To explore the difference in means Δμ\Delta\bm{\mu} we take C1=C2=C\mathbf{C}_{1}=\mathbf{C}_{2}=\mathbf{C} and by Lyapunov’s CLT [33, Theorem 27.3] we have, as p→∞p\to\infty,

where t^∼N(1pΔμTC−1Δμ,2pΔμTC−1Δμ)\hat{t}\sim\mathcal{N}\left(\frac{1}{p}\Delta\bm{\mu}^{{\sf T}}\mathbf{C}^{-1}\Delta\bm{\mu},\frac{2}{p}\Delta\bm{\mu}^{{\sf T}}\mathbf{C}^{-1}\Delta\bm{\mu}\right).

For a non-trivial classification rate, the mean of t^\hat{t} must scale with pp at least at the same rate as its standard deviation and thus, since ∥Ca−1∥=O(1)\|\mathbf{C}_{a}^{-1}\|=O(1), this implies that ∥Δμ∥\|\bm{\Delta\mu}\| be at least of order O(1)O(1). Similar analysis can be performed to obtain the rate ∥C1−C2∥=O(1/p)\|\mathbf{C}_{1}-\mathbf{C}_{2}\|=O(1/\sqrt{p}) and consequently tr⁡(C2−C1)=O(p)\operatorname{{\rm tr}}(\mathbf{C}_{2}-\mathbf{C}_{1})=O(\sqrt{p}). We refer the readers to for more discussions in this respect.

A key observation, also made in , is that, as a consequence of Assumption 1, for all pairs i≠ji\neq j,

and the convergence is even uniform across all i≠ji\neq j. This remark is the crux of all subsequent results (note that, surprisingly at first, it states that all data are essentially at the same distance from one another, irrespective of classes, and that the matrix K\mathbf{K} defined in (4) has all its entries essentially equal “in the limit” due to the the high dimensional nature of the data; this can be seen as a manifestation of the “curse of dimensionality” with respect to the Euclidean distance in high-dimensional space).

The function ff defining the kernel matrix K\mathbf{K} in (4) shall be requested to satisfy the following assumption:

The function ff is a three-times differentiable function in a neighborhood of τ\tau.

The objective of this article is to assess the performance of LS-SVM, under the setting of Assumptions 1 and 2, by studying the asymptotic behavior of the decision function g(x)g(\mathbf{x}) defined in (3). Following the work of and , under our basic settings, the convergence in (5) makes it possible to linearize the kernel matrix K\mathbf{K} around the matrix f(τ)1n1nTf(\tau)\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}, and thus the intractable nonlinear kernel matrix K\mathbf{K} can be asymptotically linearized in the large n,pn,p regime. As such, since the decision function g(x)g(\mathbf{x}) is explicitly defined as a function of K\mathbf{K} (through α\bm{\alpha} and bb as defined in (2)), one can work out an asymptotic linearization of g(x)g(\mathbf{x}) as a function of the kernel function ff and the statistics of the data. This analysis, presented in detail in Appendix A of the Supplementary Material, allows one to reveal the relationship between the performance of LS-SVM and the kernel function ff as well as the given learning task, for Gaussian input data as n,p→∞n,p\to\infty, as presented in the following subsection.

III-B Asymptotic behavior of the decision function g​(𝐱)𝑔𝐱g(\mathbf{x})

Before going into our main results, a few notations need to be introduced. In the remainder of the article, we shall use the following deterministic and random elements notations:

Under Assumptions 1 and 2, following up , one can approximate the kernel matrix K\mathbf{K} by K^\hat{\mathbf{K}} in such a way that

with K^=−2f′(τ)(M+VVT)+(f(0)−f(τ)+τf′(τ))In\hat{\mathbf{K}}=-2f^{\prime}(\tau)(\mathbf{M}+\mathbf{V}\mathbf{V}^{{\sf T}})+\left(f(0)-f(\tau)+\tau f^{\prime}(\tau)\right)\mathbf{I}_{n} for some matrices M\mathbf{M} and V\mathbf{V}, where M\mathbf{M} is a standard random matrix model (of operator norm O(1)O(1)) and VVT\mathbf{V}\mathbf{V}^{{\sf T}} a small rank matrix (of operator norm O(n)O(n)), which depends both on P,Ω,ψ\mathbf{P},\bm{\Omega},\bm{\psi} and on the class statistics μ1,μ2\bm{\mu}_{1},\bm{\mu}_{2} and C1,C2\mathbf{C}_{1},\mathbf{C}_{2}. The same analysis is applied to the vector k(x)\mathbf{k}(\mathbf{x}) by similarly defining the following random variables for a new datum x∈Ca\mathbf{x}\in\mathcal{C}_{a}, a∈{1,2}a\in\{1,2\}:

Based on the (operator norm) approximation K≈K^\mathbf{K}\approx\hat{\mathbf{K}}, a Taylor expansion is then performed on S−1=(K+nIn/γ)−1\mathbf{S}^{-1}=\left({\mathbf{K}}+n\mathbf{I}_{n}/\gamma\right)^{-1} to obtain an (asymptotic) approximation of S−1\mathbf{S}^{-1}, and subsequently on α\bm{\alpha} and bb which depend explicitly on S−1\mathbf{S}^{-1}. At last, plugging these results into (3), one finds the main technical result of this article as follows.

Let Assumptions 1 and 2 hold, and g(x)g(\mathbf{x}) be defined by (3). Then, as n,p→∞n,p\to\infty, n(g(x)−g^(x))→a.s.0n(g({\bf x})-\hat{g}(\mathbf{x}))\overset{\rm{a.s.}}{\to}0, where

Leaving the proof to Appendix A in the Supplementary Material, Theorem 1 tells us that the decision function g(x)g(\mathbf{x}) has an asymptotic equivalent g^(x)\hat{g}(\mathbf{x}) that consists of three parts:

the deterministic term c2−c1c_{2}-c_{1} of order O(1)O(1) that depends on the number of instances in each class of the training set, which essentially comes from the term 1nTy/n\mathbf{1}_{n}^{{\sf T}}\mathbf{y}/n in bb;

the “informative” term containing D\mathfrak{D}, also of order O(n−1)O(n^{-1}), which features the deterministic differences between the two classes.

From Theorem 1, under the basic settings of Assumption 1, for Gaussian data x∈Ca{\bf x}\in\mathcal{C}_{a}, a∈{1,2}a\in\{1,2\}, we can show that g^(x)\hat{g}(\mathbf{x}) (and therefore g(x)g(\mathbf{x})) converges to a random Gaussian variable the mean and variance of which are given in the following theorem. The proof is deferred to Appendix B.

Under the setting of Theorem 1, n(g(x)−Ga)→d0n(g({\bf x})-G_{a})\overset{d}{\to}0, where

Theorem 2 is our main practical result as it allows one to evaluate the large n,pn,p performance of LS-SVM for Gaussian data. While dwelling on the implications of Theorem 1 and 2, several remarks and discussions are in order.

From Theorem 1, under the key Assumption 1, both the random noise P\mathfrak{P} and the deterministic “informative” term D\mathfrak{D} are of order O(n−1)O(n^{-1}), which means that the decision function g(x)=c2−c1+O(n−1)g(\mathbf{x})=c_{2}-c_{1}+O(n^{-1}). This result somehow contradicts the classical decision criterion proposed in , based on the sign of g(x)g(\mathbf{x}), i.e., x\mathbf{x} is associated to class C1\mathcal{C}_{1} if g(x)<0g({\mathbf{x}})<0 and to class C2\mathcal{C}_{2} otherwise. When c1≠c2c_{1}\neq c_{2}, this would lead to an asymptotic classification of all new data x\mathbf{x}’s in the same class as n→∞n\to\infty. Practically speaking, this means for n,pn,p large that the decision function g(x)g(\mathbf{x}) of a new datum x\mathbf{x} lies (sufficiently) away from ( being the classically considered threshold), so that the sign of g(x)g(\mathbf{x}) is constantly positive (in the case of cˉ2>cˉ1\bar{c}_{2}>\bar{c}_{1}) or negative (in the case of cˉ2<cˉ1\bar{c}_{2}<\bar{c}_{1}). As such, all new data will be trivially classified into the same class. Instead, a first result of Theorem 1 is that the decision threshold ξ\xi should be taken as ξ=ξn=c2−c1+O(n−1)\xi=\xi_{n}=c_{2}-c_{1}+O(n^{-1}) for imbalanced classification problem.

The conclusion of Remark 2 was in fact already known since the work of who reached the same conclusion through a Bayesian inference analysis, for all finite n,pn,p. From their Bayesian perspective, the term c2−c1c_{2}-c_{1} appears in the “bias term” bb under the form of prior class probabilities P(y=−1){\rm P}(y=-1), P(y=1){\rm P}(y=1) and allows for adjusting classification problems with different prior class probabilities in the training and test sets. This idea of a (static) bias term correction has also been applied in in order to improve the validation set performance. Here we confirm the problem of imbalanced datasets in Remark 2 by Figure 1 with c1=1/4c_{1}=1/4 and c2=3/4c_{2}=3/4, where the histograms of g(x)g(\mathbf{x}) for x∈C1\mathbf{x}\in\mathcal{C}_{1} and C2\mathcal{C}_{2} center somewhere close to c2−c1=0.5c_{2}-c_{1}=0.5, thus resulting in a trivial classification by assigning all new data to C2\mathcal{C}_{2} if one takes ξ=0\xi=0 because P(g(x)<ξ∣x∈C1)→0{\rm P}(g(\mathbf{x})<\xi\mid\mathbf{x}\in\mathcal{C}_{1})\to 0 and P(g(x)>ξ∣x∈C2)→1{\rm P}(g(\mathbf{x})>\xi\mid\mathbf{x}\in\mathcal{C}_{2})\to 1 as n,p→∞n,p\to\infty (the convergence being in fact an equality for finite n,pn,p in this particular figure).

An alternative to alleviate this imbalance issue is to normalize the label vector y\mathbf{y}. From the proof of Theorem 1 in Appendix A we see the term c2−c1c_{2}-c_{1} is due to the fact that in bb one has 1nTy/n=c2−c1≠0\mathbf{1}_{n}^{{\sf T}}\mathbf{y}/n=c_{2}-c_{1}\neq 0. Thus, one may normalize the labels yiy_{i} as yi∗=−1/c1y^{*}_{i}=-1/c_{1} if xi∈C1\mathbf{x}_{i}\in\mathcal{C}_{1} and yi∗=1/c2y^{*}_{i}=1/c_{2} if xi∈C2\mathbf{x}_{i}\in\mathcal{C}_{2}, so that the relation 1nTy∗=0\mathbf{1}_{n}^{{\sf T}}\mathbf{y}^{*}=0 is satisfied. This formulation is also referred to as the Fisher’s targets: {−n/n1,n/n2}\{-n/n_{1},n/n_{2}\} in the context of kernel fisher discriminant analysis . With the aforementioned normalized labels y∗\mathbf{y}^{*}, we have the following lemma that reveals the connection between the corresponding decision function g∗(x)g^{*}(\mathbf{x}) and g(x)g(\mathbf{x}).

Let g(x)g(\mathbf{x}) be defined by (3) and g∗(x)g^{*}(\mathbf{x}) be defined as g∗(x)=(α∗)Tk(x)+b∗g^{*}(\mathbf{x})=(\bm{\alpha}^{*})^{{\sf T}}\mathbf{k}(\mathbf{x})+b^{*}, with (α∗,b∗)(\bm{\alpha}^{*},b^{*}) given by (2) for y∗\mathbf{y}^{*} in the place of y\mathbf{y}, where yi∗=−1/c1y^{*}_{i}=-1/c_{1} if xi∈C1\mathbf{x}_{i}\in\mathcal{C}_{1} and yi∗=1/c2y^{*}_{i}=1/c_{2} if xi∈C2\mathbf{x}_{i}\in\mathcal{C}_{2}. Then,

with ϖ=(S−1−S−11n1nTS−11nTS−11n)k(x)+S−11n1nTS−11n\bm{\varpi}=\left(\mathbf{S}^{-1}-\frac{\mathbf{S}^{-1}\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}}{\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}\mathbf{1}_{n}}\right)\mathbf{k}(\mathbf{x})+\frac{\mathbf{S}^{-1}\mathbf{1}_{n}}{\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}\mathbf{1}_{n}}. Besides, note that 1nTϖ=1\mathbf{1}_{n}^{{\sf T}}\bm{\varpi}=1. We thus have

As a consequence of Lemma 1, instead of Theorem 2 for standard labels y\mathbf{y}, one would have the following corollary for the corresponding Gaussian approximation of g∗(x)g^{*}(\mathbf{x}) when normalized labels y∗\mathbf{y}^{*} are used.

Under the setting of Theorem 1, and with g∗(x)g^{*}(\mathbf{x}) defined in Lemma 1, n(g∗(x)−Ga∗)→d0n(g^{*}({\bf x})-G^{*}_{a})\overset{d}{\to}0, where

and D\mathfrak{D} is defined by (8), V1a,V2a\mathcal{V}_{1}^{a},\mathcal{V}_{2}^{a} and V3a\mathcal{V}_{3}^{a} as in Theorem 2.

Figure 2 illustrates this result in the same settings as Figure 1. Compared to Figure 1, one can observe that in Figure 2 both histograms are now centered close to (at distance O(n−1)O(n^{-1}) from zero) instead of c2−c1=1/2c_{2}-c_{1}=1/2. Still, even in the case where normalized labels y∗\mathbf{y}^{*} are used as observed in Figure 2 (where the histograms cross at about −0.004≈1/n-0.004\approx 1/n), taking ξ=0\xi=0 as a decision threshold may not be an appropriate choice, as E1∗≠−E2∗{\rm E}^{*}_{1}\neq-{\rm E}^{*}_{2}.

As a direct result of Theorem 1 and Remark 2, note in (6) that g^(x)−(c2−c1)\hat{g}(\mathbf{x})-\left(c_{2}-c_{1}\right) is proportional to the hyperparameter γ\gamma, which indicates that, rather surprisingly, the tuning of γ\gamma is (asymptotically) of no importance when n,p→∞n,p\to\infty since it does not alter the classification statistics when one uses the sign of g(x)−(c2−c1)g(\mathbf{x})-\left(c_{2}-c_{1}\right) for the decision.This remark is only valid only under Assumption 1 and γ=O(1)\gamma=O(1), i.e., γ\gamma is considered to remain a constant as n,p→∞n,p\to\infty. Recall that this is in sharp contrast with where γ=O(n)\gamma=O(\sqrt{n}) (or O(n)O(n), depending on the problem) is claimed optimal in the large nn only regime. From Remark 1 on the growth rate optimality reached by LS-SVM, we see here that γ=O(1)\gamma=O(1) is rate-optimal under the present large n,pn,p setting; yet we believe that more elaborate kernels (such as those explored in ) may allow for improved performances (not in the rate but in the constants), possibly for different scales of γ\gamma. This intuition will be explored in future investigations.

Letting Q(x)=12π∫x∞exp⁡(−t2/2)dtQ(x)=\frac{1}{2\pi}\int_{x}^{\infty}\exp\left(-t^{2}/2\right)dt, from Theorem 2 and Corollary 1, we now have the following immediate corollary for the (asymptotic) classification error rate.

Under the setting of Theorem 1, for a threshold ξn\xi_{n} possibly depending on nn, as n→∞n\to\infty,

with Ea{\rm E}_{a} and Vara{\rm Var}_{a} given in Theorem 2.

Obviously, Corollary 2 is only meaningful when ξn=c2−c1+O(n−1)\xi_{n}=c_{2}-c_{1}+O(n^{-1}) as recalled earlier. Besides, it is clear from Lemma 1 and Corollary 1 that P(g(x)>ξn ∣ x∈Ca)=P(g∗(x)>ξn−(c2−c1) ∣ x∈Ca){\rm P}(g(\mathbf{x})>\xi_{n}~{}|~{}\mathbf{x}\in\mathcal{C}_{a})={\rm P}(g^{*}(\mathbf{x})>\xi_{n}-(c_{2}-c_{1})~{}|~{}\mathbf{x}\in\mathcal{C}_{a}), so that Corollary 2 extends naturally to g∗(x)g^{*}(\mathbf{x}) when normalized labels y∗\mathbf{y}^{*} are applied.

Corollary 2 allows one to compute the asymptotic misclassification rate as a function of Ea,Vara\rm{E}_{a},\rm{Var}_{a} and the threshold ξn\xi_{n}. Combined with Theorem 2, one may note the significance of a proper choice of the kernel function ff. For instance, if f′(τ)=0f^{\prime}(\tau)=0, the term μ2−μ1\bm{\mu}_{2}-\bm{\mu}_{1} vanishes from the mean and variance of GaG_{a}, meaning that the classification of LS-SVM will not rely (at least asymptotically and under Assumption 1) on the differences in means of the two classes. Figure 3 corroborates this finding with the same theoretical Gaussian approximations G1G_{1} and G2G_{2} in subfigures (a) and (b). When ∥μ2−μ1∥2\|\bm{\mu}_{2}-\bm{\mu}_{1}\|^{2} varies from in (a) to 1818 in (b), the distribution of g(x)g(\mathbf{x}), and in particular, the overlap between two classes, remain almost the same in (a) and (b).

More traceable special cases and discussions on the choice of kernel function ff will be given in the next section.

IV Special cases and further discussions

Following the discussion at the end of Section III, if f′(τ)=0f^{\prime}(\tau)=0, the information about the statistical means of the two different classes is lost and will not help perform the classification. Nonetheless, we find that, rather surprisingly, if one further assumes tr⁡C1=tr⁡C2+o(p)\operatorname{{\rm tr}}\mathbf{C}_{1}=\operatorname{{\rm tr}}\mathbf{C}_{2}+o(\sqrt{p}) (which is beyond the minimum “distance” rate in Assumption 1), using a kernel ff that satisfies f′(τ)=0f^{\prime}(\tau)=0 results in Vara=0{\rm Var}_{a}=0 while Ea{\rm E}_{a} may remain non-zero, thereby ensuring a vanishing misclassification rate (as long as f′′(τ)≠0f^{\prime\prime}(\tau)\neq 0). Intuitively speaking, the kernels with f′(τ)=0f^{\prime}(\tau)=0 play an important role in extracting the information of “shape” of both classes, making the classification extremely accurate even in cases that are deemed impossible to classify according to Remark 1. This phenomenon was also remarked in and deeply investigated in . Figure 4 substantiates this finding for μ1=μ2\bm{\mu}_{1}=\bm{\mu}_{2}, C1=Ip{\bf C}_{1}={\bf I}_{p} and {C2}i,j=.4∣i−j∣\{{\bf C}_{2}\}_{i,j}=.4^{\mid i-j\mid}, for which tr⁡C1=tr⁡C2=p\operatorname{{\rm tr}}\mathbf{C}_{1}=\operatorname{{\rm tr}}\mathbf{C}_{2}=p. We observe a rapid drop of the classification error as f′(τ)f^{\prime}(\tau) gets close to .

From Theorem 2 and Corollary 1, one observes that ∣E1−E2∣|{\rm E}_{1}-{\rm E}_{2}| is always proportional to the “informative” term D\mathfrak{D} and should, for fixed Vara{\rm Var}_{a}, be made as large as possible to avoid the overlap of g(x)g(\mathbf{x}) for x\mathbf{x} from different classes. Since Vara{\rm Var}_{a} does not depend on the signs of f′(τ)f^{\prime}(\tau) and f′′(τ)f^{\prime\prime}(\tau), it is easily deduced that, to achieve optimal classification performance, one needs to choose the kernel function ff such that f(τ)>0,f′(τ)<0f(\tau)>0,f^{\prime}(\tau)<0 and f′′(τ)>0f^{\prime\prime}(\tau)>0.

Incidentally, the condition in Remark 4 is naturally satisfied for Gaussian kernel f(x)=exp⁡(−x/(2σ2))f(x)=\exp\left(-x/(2\sigma^{2})\right) for any σ\sigma, meaning that, even without specific tuning of the kernel parameter σ\sigma through cross validation or other techniques, LS-SVM is expected to perform rather well with a Gaussian kernel (as shown in Figure 5), which is not always the case for polynomial kernels. This especially entails, for a second-order polynomial kernel given by f(x)=a2x2+a1x+a0f(x)=a_{2}x^{2}+a_{1}x+a_{0}, that attention should be paid to meeting the aforementioned condition when tuning the kernel parameters a2,a1a_{2},a_{1} and a0a_{0}. Figure 6 attests of this remark with Gaussian input data. A rapid increase in classification error rate can be observed both in theory and in practice as soon as the condition f′(τ)<0,f′′(τ)>0f^{\prime}(\tau)<0,f^{\prime\prime}(\tau)>0 is no longer satisfied.

Note also from both Figure 4 and Figure 5 that, when n,pn,p are doubled (from 2048,5122048,512 to 4 096,1 0244\,096,1\,024 in Figure 4 and from 256,512256,512 to 512,1 024512,1\,024 in Figure 5), the empirical error becomes closer to the theoretical one, which confirms the asymptotic result as n,p→∞n,p\to\infty.

Clearly, for practical use, one needs to know in advance the value of τ\tau before training so that the kernel ff can be properly chosen during the training step. The estimation of τ\tau is possible, in the large n,pn,p regime, with the following lemma.

Under Assumptions 1 and 2, as n→∞n\to\infty,

with xˉ≜1n∑i=1nxi\bar{\mathbf{x}}\triangleq\frac{1}{n}\sum_{i=1}^{n}{\mathbf{x}_{i}}.

with κ=4np(μ2−μ1)T(−c2∑xi∈C1ωi+c1∑xj∈C2ωj)\kappa=\frac{4}{n\sqrt{p}}(\bm{\mu}_{2}-\bm{\mu}_{1})^{{\sf T}}\left(-c_{2}\sum_{\mathbf{x}_{i}\in\mathcal{C}_{1}}\bm{\omega}_{i}+c_{1}\sum_{\mathbf{x}_{j}\in\mathcal{C}_{2}}\bm{\omega}_{j}\right) and ωˉ=1n∑i=1nωi\bar{\bm{\omega}}=\frac{1}{n}\sum_{i=1}^{n}\bm{\omega}_{i}.

According to Assumption 1 we have 2c1c2p∥μ2−μ1∥2=O(n−1)\frac{2c_{1}c_{2}}{p}\|\bm{\mu}_{2}-\bm{\mu}_{1}\|^{2}=O(n^{-1}). The term κ\kappa is a linear combination of independent zero-mean Gaussian variables and thus κ∼N(0,Var[κ])\kappa\sim\mathcal{N}(0,{\rm Var}[\kappa]) with Var[κ]=16c1c2np2(μ2−μ1)T(c2C1+c1C2)(μ2−μ1)=O(n−3){\rm Var}[\kappa]=\frac{16c_{1}c_{2}}{np^{2}}(\bm{\mu}_{2}-\bm{\mu}_{1})^{{\sf T}}\left(c_{2}\mathbf{C}_{1}+c_{1}\mathbf{C}_{2}\right)(\bm{\mu}_{2}-\bm{\mu}_{1})=O(n^{-3}). We thus deduce from Chebyshev’s inequality and Borel-Cantelli lemma that κ→a.s.0\kappa\overset{\rm{a.s.}}{\to}0.

We then work on the last term 2n∑i=1n∥ωi−ωˉ∥2\frac{2}{n}\sum_{i=1}^{n}\|\bm{\omega}_{i}-\bar{\bm{\omega}}\|^{2} as

Since ωˉ∼N(0,C∘/np)\bar{\bm{\omega}}\sim\mathcal{N}(\mathbf{0},\mathbf{C}^{\circ}/np), we deduce that ∥ωˉ∥2→a.s.0\|\bar{\bm{\omega}}\|^{2}\overset{\rm{a.s.}}{\to}0. Ultimately by the strong law of large numbers, the term 2n∑i=1n∥ωi∥2→a.s.τ\frac{2}{n}\sum_{i=1}^{n}\|\bm{\omega}_{i}\|^{2}\overset{\rm{a.s.}}{\to}\tau, which concludes the proof. ∎

IV-B Some limiting cases

When ∥μ2−μ1∥2\|\bm{\mu}_{2}-\bm{\mu}_{1}\|^{2} is largely dominant over (tr⁡(C2−C1))2/p(\operatorname{{\rm tr}}({\bf C}_{2}-{\bf C}_{1}))^{2}/p and tr⁡((C2−C1)2)/p\operatorname{{\rm tr}}((\mathbf{C}_{2}-\mathbf{C}_{1})^{2})/p, from Theorem 2, both Ea−(c2−c1)\rm{E}_{a}-(c_{2}-c_{1}) and Vara\sqrt{\rm{Var}_{a}} are (approximately) proportional to f′(τ)f^{\prime}(\tau), which eventually makes the choice of the kernel irrelevant (as long as f′(τ)≠0f^{\prime}(\tau)\neq 0). This result also holds true for Ea∗\rm{E}_{a}^{*} and Vara∗\sqrt{\rm{Var}_{a}^{*}} when normalized labels y∗\mathbf{y}^{*} are applied, as a result of Lemma 1.

Note that, different from both V1\mathcal{V}_{1} and V2\mathcal{V}_{2}, V3\mathcal{V}_{3} is a function of c0c_{0} as it can be rewritten as

which indicates that the variance of g(x)g(\mathbf{x}) grows as c0c_{0} becomes large. This result is easily understood since, with pp fixed, a small c0c_{0} means a larger nn, and with more training samples, one may “gain” more information of the two different classes, which reduces the “uncertainty” of the classifier. When n→∞n\to\infty with a fixed pp, we have c0→0c_{0}\to 0 and the LS-SVM is considered “well-trained” and its performance can be described with Theorem 2 by taking V3=0\mathcal{V}_{3}=0. However, it is worthy noting that the misclassification rate may not be even in this case, since V1\mathcal{V}_{1} and V2\mathcal{V}_{2} may differ from , which indicated the theoretical limitation of LS-SVM in separating high dimensional Gaussian vectors. On the contrary, when c0→∞c_{0}\to\infty, with few training data, LS-SVM does not sample sufficiently the high dimensional space of the x\mathbf{x}’s, thus resulting in a classifier with arbitrarily large variance (for fixed means). Moreover, since the term V3a\mathcal{V}_{3}^{a} is proportional to n−1n^{-1}, we see that for f′(τ)f^{\prime}(\tau) away from zero and fixed large pp, as nn grows large, the two Gaussians G1G_{1} and G2G_{2} in Theorem 2 separate from each other at a rate of n−12n^{-\frac{1}{2}}, the overlapping section of the Gaussian tails then provides the misclassification rate via Corollary 2. Figure 7 confirms this result with pp fixed to 256256 while nn varies from 88 to 8 1928\,192.

As revealed in Remark 2, the ratio c1/c2c_{1}/c_{2} plays a significant role in the performance of classification. A natural question arises: what happens when one class is strongly dominant over the other? Take the case of c1→0,c2→1c_{1}\to 0,c_{2}\to 1. From Corollary 1, one has E1∗→−γD\rm{E}_{1}^{*}\to-\gamma\mathfrak{D}, E2∗→0\rm{E}_{2}^{*}\to 0 and V3a→∞\mathcal{V}_{3}^{a}\to\infty because of c1→0c_{1}\to 0 in the denominator, which then makes the ratio Ea∗Vara∗\frac{\rm{E}_{a}^{*}}{\sqrt{\rm{Var}_{a}^{*}}} (and thus Ea−(c2−c1)Vara\frac{\rm{E}_{a}-(c_{2}-c_{1})}{\sqrt{\rm{Var}_{a}}}) go to zero, resulting in a poorly-performing LS-SVM. The same occurs when c1→1c_{1}\to 1 and c2→0c_{2}\to 0. Figure 8 collaborates this remark with c1=1/32c_{1}=1/32 in subfigure (a) and 1/21/2 in (b). Note that in subfigure (a), even with a smartly chosen threshold ξ\xi, LS-SVM is impossible to perform as well as in the case c1=c2c_{1}=c_{2}, as a result of the significant overlap between the two histograms.

IV-C Applying to real-world datasets

When the classification performance of real-world datasets is concerned, our theory may be limited by: i) the fact that it is an asymptotic result and allows for an estimation error of order O(n−12)O(n^{-\frac{1}{2}}) between theory and practice and ii) the strong Gaussian assumption for the input data.

However, when applied to real-world datasets, here to the popular MNIST and Fashion-MNIST datasets, our asymptotic results, which are theoretically only applicable for Gaussian data, show an unexpectedly similar behavior. Here we consider a two-class classification problem with a training set of n=256n=256 vectorized images of size p=784p=784 randomly selected from the MNIST and Fashion-MNIST datasets (numbers 88 and 99 in both cases as an example). Then a test set of ntest=256n_{\rm test}=256 is used to evaluate the classification performance. Means and covariances are empirically obtained from the full set of 11 80011\,800 MNIST images (5 8515\,851 images of number 88 and 5 9495\,949 of number 99) and of 11 80011\,800 Fashion-MNIST images (5 8515\,851 images of number 88 and 5 9495\,949 of number 99), respectively. Despite the obvious non-Gaussianity as well as the clearly different nature of the input data (from the two datasets), the distribution of g(x)g(\mathbf{x}) is still surprisingly close to its Gaussian approximation computed from Theorem 2, as shown in Figure 9 and 10 for MNIST and Fashion-MNIST, respectively. In both cases we plot the results from (a) raw images as well as (b) when Gaussian white noise is artificially added to the image vectors.

In Figure 11 we plot the misclassification rate as a function of the decision threshold ξ\xi for MNIST and Fashion-MNIST data (number 88 and 99). We observe that although derived from a Gaussian mixture model, the conclusion from Remark 2, Lemma 1 and Corollary 1 that the decision threshold should approximately be c2−c1c_{2}-c_{1} rather than approximately holds true in both cases.

In Figure 12 and 13 we evaluated the performance of LS-SVM on the MNIST and Fashion-MNIST datasets (with and without noise) as a function of the kernel parameter σ\sigma of Gaussian kernel f(x)=exp⁡(−x/2σ2)f(x)=\exp(-x/2\sigma^{2}). Surprisingly, compared to Figure 5, we face the situation where there is little difference in the performance of LS-SVM as soon as σ2\sigma^{2} is away from , which likely comes from the fact that the difference in means μ2−μ1\bm{\mu}_{2}-\bm{\mu}_{1} is so large that it becomes predominant over the influence of covariances as mentioned in the first paragraph of Section IV-B. This argument is numerically sustained by Table I. The gap between theory and practice observed as σ2→0\sigma^{2}\to 0 is likely a result of the finite n,pn,p (as in Figure 5) rather than of the Gaussian assumption of the input data, since we observe a similar behavior even when Gaussian white noise is added.

V Concluding remarks

In this work, through a performance analysis of LS-SVM for large dimensional data, we reveal the significance of balanced dataset with c1=c2c_{1}=c_{2}, as well as the interplay between the pivotal kernel function ff and the statistical structure of the data. The normalized labels yi∗∈{−1/c1,1/c2}y^{*}_{i}\in\{-1/c_{1},1/c_{2}\} are proposed to mitigate the damage of c2−c1c_{2}-c_{1} in the decision function. We prove the irrelevance of γ\gamma when it is considered to remain constant in the large n,pn,p regime; however, this argument is not guaranteed to hold true when γ\gamma scales with n,pn,p. Our theoretical results, even though built upon the assumption of Gaussian data, provide similar results when tested on real-world large dimensional datasets, which offers a possible application despite the strong Gaussian assumption in the general context of large scale supervised learning.

The major difference of the present work compared to other theoretical analyses (for example ) is that, by studying the rather simple problem of a two-class Gaussian mixture separation with comparably large instance number and data dimension, together with sufficiently smooth kernel function ff and regularization parameter γ\gamma of order O(1)O(1), we deduce explicit results for the output of LS-SVM which surprisingly coincide with observations on some large dimensional real-world datasets (including MNIST and beyond) and therefore allowing for novel insights into the behavior of LS-SVM for large dimensional datasets. Of interest to future work is the remark that, unlike in the work of where, in the large nn alone asymptotics, γ\gamma is best scaled large with nn, in the present large pp, large nn setting, where we demonstrate rate-optimality of LS-SVM for γ=O(1)\gamma=O(1). This apparent paradox could be deciphered through the analysis of more advanced (normalized inner product) kernels of the type f(xiTxj/p)f(\mathbf{x}_{i}^{\sf T}\mathbf{x}_{j}/\sqrt{p}), studied notably in , for which we believe that other scalings for γ\gamma would be optimal; it is also importantly believed that such kernels could lead to improved performances (not in rate, as those are already optimal in the present setting, but possibly in absolute performance). These technically more involved considerations are left for future investigations.

The extension of the present work to the asymptotic performance analysis of the classical SVM requires more efforts since, there, the decision function g(x)g(\mathbf{x}) depends implicitly (through the solution to a quadratic programming problem) rather than explicitly on the underlying kernel matrix K\mathbf{K}. Additional technical tools are thus required to cope with this dependence structure.

The link between LS-SVM and extreme learning machine (ELM) was brought to light in and the performance analysis of ELM in large dimension has been investigated in the recent article . Together with these works, we have the possibility to identify the tight but subtle relation between the kernel function and the activation function in the context of some simple structured neural networks. This is notably of interest when the datasets are so large that computing K\mathbf{K} and the decision function g(x)g(\mathbf{x}) becomes prohibitive, a problem largely alleviated by neural networks with controllable number of neurons. This link also generally opens up a possible direction of research into the complex neural networks realm.

References

Appendix A Proof of Theorem 1

Our key interest here is on the decision function of LS-SVM: g(x)=αTk(x)+bg(\mathbf{x})=\bm{\alpha}^{{\sf T}}\mathbf{k}(\mathbf{x})+b with (α,b)(\bm{\alpha},b) given by

and S−1=(K+nγIn)−1\mathbf{S}^{-1}=\left({\mathbf{K}}+\frac{n}{\gamma}\mathbf{I}_{n}\right)^{-1}.

Before going into the detailed proof, as we will frequently deal with random variables evolving as n,pn,p grow large, we shall use the extension of the O(⋅)O(\cdot) notation introduced in : for a random variable x≡xnx\equiv x_{n} and un≥0u_{n}\geq 0, we write x=O(un)x=O(u_{n}) if for any η>0\eta>0 and D>0D>0, we have nDP(x≥nηun)→0n^{D}{\rm P}(x\geq n^{\eta}u_{n})\to 0. Note that under Assumption 1 it is equivalent to use either O(un)O(u_{n}) or O(up)O(u_{p}) since n,pn,p scales linearly. In the following we shall use constantly O(un)O(u_{n}) for simplicity.

When multidimensional objects are concerned, v=O(un)\mathbf{v}=O(u_{n}) means the maximum entry of a vector (or a diagonal matrix) v\mathbf{v} in absolute value is of order O(un)O(u_{n}) and M=O(un)\mathbf{M}=O(u_{n}) means that the operator norm of M\mathbf{M} is of order O(un)O(u_{n}). We refer the reader to for more discussions on these practical definitions.

Under the growth rate settings of Assumption 1, from , the approximation of the kernel matrix K\mathbf{K} is given by

with β=f(0)−f(τ)+τf′(τ)\beta=f(0)-f(\tau)+\tau f^{\prime}(\tau) and A=An+An+A1\mathbf{A}=\mathbf{A}_{n}+\mathbf{A}_{\sqrt{n}}+\mathbf{A}_{1}, An=−f(τ)2f′(τ)1n1nT\mathbf{A}_{n}=-\frac{f(\tau)}{2f^{\prime}(\tau)}\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}} and An\mathbf{A}_{\sqrt{n}}, A1\mathbf{A}_{1} given by (18) and (A) at the top of next page, where we denote

We start with the term S−1\mathbf{S}^{-1}. The terms of leading order in K\mathbf{K}, i.e.,−2f′(τ)An-2f^{\prime}(\tau)\mathbf{A}_{n} and nγIn\frac{n}{\gamma}\mathbf{I}_{n} are both of operator norm O(n)O(n). Therefore a Taylor expansion can be performed as

with L=(f(τ)1n1nTn+Inγ)−1\mathbf{L}=\left(f(\tau)\frac{\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}}{n}+\frac{\mathbf{I}_{n}}{\gamma}\right)^{-1} of order O(1)O(1) and Q=2f′(τ)n2(A1+PΩTΩP+2f′(τ)nAnLAn)\mathbf{Q}=\frac{2f^{\prime}(\tau)}{n^{2}}\left(\mathbf{A}_{1}+\mathbf{P}\bm{\Omega}^{{\sf T}}\bm{\Omega}\mathbf{P}+\frac{2f^{\prime}(\tau)}{n}\mathbf{A}_{\sqrt{n}}\mathbf{L}\mathbf{A}_{\sqrt{n}}\right).

With the Sherman-Morrison formula we are able to compute explicitly L\mathbf{L} as

Writing L\mathbf{L} as a linear combination of In\mathbf{I}_{n} and P\mathbf{P} is useful when computing L1n\mathbf{L}\mathbf{1}_{n} or 1nTL\mathbf{1}_{n}^{{\sf T}}\mathbf{L}, because by the definition of P=In−1n1nTn\mathbf{P}=\mathbf{I}_{n}-\frac{\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}}{n}, we have 1nTP=P1n=0\mathbf{1}_{n}^{{\sf T}}\mathbf{P}=\mathbf{P}\mathbf{1}_{n}=\mathbf{0}.

We shall start with the term 1nTS−1\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}, since it is the basis of several other terms appearing in α\bm{\alpha} and bb,

since 1nTL=γ1+γf(τ)1nT\mathbf{1}_{n}^{{\sf T}}\mathbf{L}=\frac{\gamma}{1+\gamma f(\tau)}\mathbf{1}_{n}^{{\sf T}}.

With 1nTS−1\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1} at hand, we next obtain,

The inverse of 1nTS−11n\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}\mathbf{1}_{n} can consequently be computed using a Taylor expansion around its leading order, allowing an error term of O(n−32)O(n^{-\frac{3}{2}}) as

and similarly the following approximation of bb as

which gives the asymptotic approximation of bb.

Moving to α\bm{\alpha}, note from (13) that L−γ1+γf(τ)1n1nTn=γP\mathbf{L}-\frac{\gamma}{1+\gamma f(\tau)}\frac{\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}}{n}=\gamma\mathbf{P}, and we can thus rewrite:

At this point, for α=S−1(In−1n1nTS−11nTS−11n)y\bm{\alpha}=\mathbf{S}^{-1}\left(\mathbf{I}_{n}-\frac{\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}}{\mathbf{1}_{n}^{{\sf T}}\mathbf{S}^{-1}\mathbf{1}_{n}}\right)\mathbf{y}, we have

Here again, we use 1nTL=γ1+γf(τ)1nT\mathbf{1}_{n}^{{\sf T}}\mathbf{L}=\frac{\gamma}{1+\gamma f(\tau)}\mathbf{1}_{n}^{{\sf T}} and L−γ1+γf(τ)1n1nTn=γP\mathbf{L}-\frac{\gamma}{1+\gamma f(\tau)}\frac{\mathbf{1}_{n}\mathbf{1}_{n}^{{\sf T}}}{n}=\gamma\mathbf{P}, to eventually get

Note here the absence of a term of order O(n−3/2)O(n^{-3/2}) in the expression of α\bm{\alpha} since PAnP=0\mathbf{P}\mathbf{A}_{\sqrt{n}}\mathbf{P}=0 from (18).

We shall now work on the vector k(x)\mathbf{k}(\mathbf{x}) for a new datum x\mathbf{x}, following the same analysis as in for the kernel matrix K\mathbf{K}, assuming that x∼N(μa,Ca)\mathbf{x}\sim\mathcal{N}(\bm{\mu}_{a},\mathbf{C}_{a}) and recalling the random variables definitions,

we show that the jj-th entry of k(x)\mathbf{k}(\mathbf{x}) can be written as

At this point, note that the term of order O(n−12)O(n^{-\frac{1}{2}}) in the final object g(x)=αTk(x)+bg(\mathbf{x})=\bm{\alpha}^{{\sf T}}\mathbf{k}(\mathbf{x})+b disappears because in both (17) and (23) the term of order O(n−1/2)O(n^{-1/2}) is 2γpc1c2f′(τ)(t2−t1)\frac{2\gamma}{\sqrt{p}}c_{1}c_{2}f^{\prime}(\tau)(t_{2}-t_{1}) but of opposite signs. Also, we see that the leading term c2−c1c_{2}-c_{1} in bb will remain in g(x)g(\mathbf{x}) as stated in Remark 2.

This result, together with (23), completes the analysis of the term αTk(x)\bm{\alpha}^{{\sf T}}\mathbf{k}(\mathbf{x}). Combining (23)-(24) with (17) we conclude the proof of Theorem 1.

Appendix B Proof of Theorem 2

This section is dedicated to the proof of the central limit theorem for

with the shortcut cx=−2c1c22c_{\mathbf{x}}=-2c_{1}c_{2}^{2} for x∈C1\mathbf{x}\in\mathcal{C}_{1} and cx=2c12c2c_{\mathbf{x}}=2c_{1}^{2}c_{2} for x∈C2\mathbf{x}\in\mathcal{C}_{2}, and P,D\mathfrak{P},\mathfrak{D} as defined in (7) and (8).

Our objective is to show that for a∈{1,2}a\in\{1,2\}, n(g^(x)−Ga)→d0n(\hat{g}(\mathbf{x})-G_{a})\overset{d}{\to}0 with

where Ea{\rm E}_{a} and Vara{\rm Var}_{a} are given in Theorem 2. We recall that x=μa+pωx\mathbf{x}=\bm{\mu}_{a}+\sqrt{p}\bm{\omega}_{\mathbf{x}} with ωx∼N(0,Ca/p)\bm{\omega}_{\mathbf{x}}\sim\mathcal{N}(0,\mathbf{C}_{a}/p).

Letting zx\mathbf{z}_{\mathbf{x}} such that ωx=Ca1/2zx/p\bm{\omega}_{\mathbf{x}}=\mathbf{C}_{a}^{1/2}\mathbf{z}_{\mathbf{x}}/\sqrt{p}, we have zx∼N(0,In)\mathbf{z}_{\mathbf{x}}\sim\mathcal{N}(\mathbf{0},\mathbf{I}_{n}) and we can rewrite g^(x)\hat{g}(\mathbf{x}) in the following quadratic form (of zx\mathbf{z}_{\mathbf{x}}) as

We begin by estimating the expectation and the variance

We shall rewrite Ω\bm{\Omega} into two blocks as:

and with Py=y−(c2−c1)1n\mathbf{P}\mathbf{y}=\mathbf{y}-(c_{2}-c_{1})\mathbf{1}_{n}, we deduce

Since Zi1ni∼N(0,niIni)\mathbf{Z}_{i}\mathbf{1}_{n_{i}}\sim\mathcal{N}(\mathbf{0},n_{i}\mathbf{I}_{n_{i}}), by applying the trace lemma [39, Lemma B.26] we get

for any fixed ϵ\epsilon with ρ=4nc12c22p2(tr⁡C1Cac1+tr⁡C2Cac2)\rho=\frac{4nc_{1}^{2}c_{2}^{2}}{p^{2}}\left(\frac{\operatorname{{\rm tr}}\mathbf{C}_{1}\mathbf{C}_{a}}{c_{1}}+\frac{\operatorname{{\rm tr}}\mathbf{C}_{2}\mathbf{C}_{a}}{c_{2}}\right) and write