To understand deep learning we need to understand kernel learning

Mikhail Belkin, Siyuan Ma, Soumik Mandal

Introduction

In recent years we have seen impressive progress in supervised learning due, in particular, to deep neural architectures. These networks employ large numbers of parameters, often exceeding the size of training data by several orders of magnitude [CPC16]. This over-parametrization allows for convergence to global optima, where the training error is zero or nearly zero. Yet these “overfittedWe use overfitting as a purely technical term to refer to zero classification error as opposed to interpolation which has zero regression error.” or even interpolated networks still generalize well to test data, a situation which seems difficult to reconcile with available theoretical analyses (as observed, e.g., in [ZBH+16] or, much earlier, in [Bre95]). There have been a number of recent efforts to understand generalization and overfitting in deep networks including [BFT17, LPRS17, PKL+17].

In this paper we make the case that progress on understanding deep learning is unlikely to move forward until similar phenomena in classical kernel machines are recognized and understood. Kernel machines can be viewed as linear regression in infinite dimensional Reproducing Kernel Hilbert spaces (RKHS), which correspond to positive-definite kernel functions, such as Gaussian or Laplacian kernels. They can also be interpreted as two-layer neural networks with a fixed first layer. As such, they are far more amenable to theoretical analysis than arbitrary deep networks. Yet, despite numerous observations in the literature that very small values of regularization parameters (or even direct minimum norm solutions) often result in optimal performance [SSSSC11, TBRS13, ZBH+16, GOSS16, RCR17], the systematic nature of near-optimality of kernel classifiers trained to have zero classification error or zero regression error has not been recognized. We note that margin-based analyses, such as those proposed to analyze overfitting in boosting [SFBL98], do not easily explain performance of interpolated classifiers in the presence of label noise, as sample complexity must scale linearly with the number of data points. We would like to point out an insightful (but seemingly little noticed) recent paper [WOBM17] which proposed an alternative explanation for the success of Adaboost, much closer to our discussion here.

Below we will show that most bounds for smooth kernels will, indeed, diverge with increasing data. On the other hand, empirical evidence shows consistent and robust generalization performance of “overfitted" and interpolated classifiers even for high label noise levels.

We will discuss these and other related issues in detail, providing both theoretical results and empirical data. The contribution of this paper are as follows:

Empirical properties of overfitted and interpolated kernel classifiers. 1. The phenomenon of strong generalization performance of “overfitted"/interpolated classifiers is not unique to deep networks. We demonstrate experimentally that kernel classifiers that have zero classification or regression error on the training data, still perform well on test. We use six real-world datasets (Section 3) as well as two synthetic datasets (Section 4) to demonstrate the ubiquity of this behavior. Additionally, we observe that regularization by early stopping provides at most a minor improvement to classifier performance. 2. It was recently observed in [ZBH+16] that ReLU networks trained with SGD easily fit standard datasets with random labels, requiring only about three times as many epochs as for fitting the original labels. Thus the fitting capacity of ReLU network function space reachable by a small number of SGD steps is very high. In Section 5 we demonstrate very similar behavior exhibited by (non-smooth) Laplacian (exponential) kernels, which are easily able to fit random labels. In contrast, as expected from the theoretical considerations of fat shattering dimension [Bel18], it is far more computationally difficult to fit random labels using Gaussian kernels. However, we observe that the actual test performance of interpolated Gaussian and Laplacian kernel classifiers on real and synthetic data is very similar, and remains similar even with added label noise.

Theoretical results and the supporting experimental evidence. In Section 4 we show theoretically that performance of interpolated kernel classifiers cannot be explained by the existing generalization bounds available for kernel learning. Specifically, we prove lower bounds on the RKHS norms of overfitted solutions for smooth kernels, showing that they must increase nearly exponentially with the data size. Since most available generalization bounds depend polynomially on the norm of the solution, this result implies divergence of most bounds as data goes to infinity. Moreover, to the best of our knowledge, none of the existing bounds (including potential logarithmic bounds) apply to interpolated (zero regression loss) classifiers.

Note that we need an assumption that the loss of the Bayes optimal classifier (the label noise) is non-zero. While it is usually believed that most real data have some level of label noise, it is not usually possible to ascertain this is the case. We address this issue in two ways by analyzing (1) synthetic datasets with a known level of label noise (2) real-world datasets with additional random label noise. In both cases we see that empirical test performance of interpolated kernel classifiers decays at slightly below the noise level, as it would, if the classifiers were nearly optimal. This finding holds even for very high levels of label noise. We thus conclude that the existing bounds are unlikely to provide insight into the generalization performance of kernel classifiers. Moreover, since the empirical risk is zero, any potential non-trivial bound for the generalization gap, aiming to describe noisy data, must have tight constants to produce a value between the (non-zero) Bayes risk and 11. To the best of our knowledge, no examples of such bounds exist.

We will now discuss some important points, conclusions and conjectures based on the combination of theoretical and experimental results presented in this paper. Parallels between deep and shallow architectures in performance of overfitted classifiers. There is extensive empirical evidence, including the experiments in our paper, that “overfitted" kernel classifiers demonstrate strong performance on a range of datasets. Moreover, in Section 3 we see that introducing regularization (by early stopping) provides at most a modest improvement to the classification accuracy. Our findings parallel those for deep networks discussed in [ZBH+16]. Considering that kernel methods can be viewed as a special case of two-layer neural network architectures, we conclude that deep network structure, as such, is unlikely to play a significant role in this surprising phenomenon. Existing bounds for kernels lack explanatory power in overfitted regimes. Our experimental results show that kernel classifiers demonstrate nearly optimal performance even when the label noise is known to be significant. On the other hand, the existing bounds for overfitted/interpolated kernel methods diverge with increasing data size in the presence of label noise. We believe that a new theory of kernel methods, not dependent on norm-based concentration bounds, is needed to understand this behavior.

At this point we know of few candidates for such a theory. A notable (and, to the best of our knowledge, the only) example is 11-nearest neighbor classifier, with expected loss that can be bounded asymptotically by twice the Bayes risk [CH67], while its empirical loss (both classification and regression) is identically zero. We conjecture that similar ideas are needed to analyze kernel methods and, potentially, deep learning. Generalization and optimization. We observe that smooth Gaussian kernels and non-smooth Laplacian kernels have very different optimization properties. We show experimentally that (less smooth) Laplacian kernels easily fit standard datasets with random labels, requiring only about twice the number of epochs needed to fit the original labels (a finding that closely parallels results recently reported for ReLU neural networks in [ZBH+16]). In contrast (as suggested by the theoretical considerations of fat shattering dimension in [Bel18]) optimization by gradient descent is far more computationally demanding for (smooth) Gaussian kernels. On the other hand, test performance of kernel classifiers is very similar for Laplacian and Gaussian kernels, even with added label noise. Thus the generalization performance of classifiers appear to be related to the structural properties of the kernels (e.g., their radial structure) rather than their properties with respect to the optimization methods, such as SGD. Implicit regularization and loss functions. One proposed explanation for the performance of deep networks is the idea of implicit regularization introduced by methods such as early stopping in gradient descent [YRC07, RWY14, NTS14, CARR16]. These approaches suggest trading off some accuracy on the training data by limiting the amount of computation, to get better performance on the unseen test data. It can be shown [YRC07] that for kernel methods early stopping for gradient descent is effectively equivalent to traditional regularization methods, such as Tikhonov regularization.

As interpolated kernel methods fit the labels exactly (at or close to numerical precision), implicit regularization, viewed as a trade-off between train and test performance, cannot provide an explanation for their generalization performance. While overfitted (zero classification loss) classifiers can, in principle, be taking advantage of regularization by introducing regression loss not reflected in the classification error (cf. [SFBL98]), we see (Section 3,4) that their performance does not significantly differ from that for interpolated classifiers for which margin-based explanations to not apply.

Another interesting point is that any strictly convex loss function leads to the same interpolated solution. Thus, it is unlikely that the choice of loss function relates to the generalization properties of classifiersIt has been long noticed that performance of kernel classifiers does not significantly depend on the choice of loss functions. For example, kernel SVM performs very similarly to kernel least square regression [ZP04]..

Since deep networks are also trained to fit the data exactly, the similarity to kernel methods suggests that implicit regularization or the specifics of the loss function used in training, are not the basis of their generalization properties. Inductive bias and minimum norm solutions. While the notions of regularization and inductive bias are frequently used interchangeably in the literature, we feel it would be useful to draw a distinction between regularization which introduces a bias on the training data and inductive bias, which gives preferences to certain functions without affecting their output on the training data.

While interpolated methods fit the data exactly and thus produce no regularization, minimum RKHS norm interpolating solutions introduce inductive bias by choosing functions with special properties. Note that infinitely many RKHS functions are capable of interpolating the dataIndeed, the space of RKHS interpolating functions is dense in the space of all functions in L2L^{2}!. However, the Representer Theorem [Aro50] ensures that the minimum norm interpolant is a linear combination of kernel functions supported on data points {K(x1,),,K(xn,)}\{K({\boldsymbol{x}}_{1},\cdot),\ldots,K({\boldsymbol{x}}_{n},\cdot)\}. As we observe from the empirical results, these solutions have special generalization properties, which cannot be expected from arbitrary interpolants. While we do not yet understand how this inductive bias leads to strong generalization properties of kernel interpolants, they are obviously related to the structural properties of kernel functions and their RKHS. It is instructive to compare this setting to 1-NN classifier. While no guarantee can be given for piece-wise constant interpolating functions in general, the specific piece-wise constant function chosen by 1-NN has certain optimality properties, guaranteeing the generalization error of at most twice the Bayes risk [CH67].

It is well-known that gradient descent (and, in fact, SGD) for any strictly convex loss, initialized at (or any point other point within the span of {K(x1,),,K(xn,)}\{K({\boldsymbol{x}}_{1},\cdot),\ldots,K({\boldsymbol{x}}_{n},\cdot)\}), converges to the minimum norm solution, which is the unique interpolant for the data within the span of the kernels functions. On the other hand, it can be easily verifiedThe component of the initialization vector orthogonal to the span does not change with the iterative updates. that GD/SGD initialized outside of the span of {K(x1,),,K(xn,)}\{K({\boldsymbol{x}}_{1},\cdot),\ldots,K({\boldsymbol{x}}_{n},\cdot)\} cannot converge to the minimum RKHS norm solution. Thus the inductive bias corresponding to SGD with initialization at zero, is consistent with that of the minimum norm solution.

This view also provides a natural link to the phenomenon observed in AdaBoost training, where the test error improves even after the classification error on train reached zero [SFBL98]. If we believe that the minimum norm solution (or the related maximum margin solution) has special properties, iterative optimization should progressively improve the classifier, regardless of the training set performance. Furthermore, based on this reasoning, generalizations bounds that connect empirical and expected error are unlikely to be helpful.

Unfortunately, we do not have an analogue of the Representer Theorem for deep networks. Also, despite a number of recent attempts (see, e.g., [NBMS17]), it is not clear how best to construct a norm for deep networks similar to the RKHS norm for kernels. Still, it appears likely that similarly to kernels, the structure of neural networks in combination with algorithms, such as SGD, introduce an inductive biasWe conjecture that fully connected neural networks have inductive biases similar to those of kernel methods. On the other hand, convolutional networks seem to have strong inductive biases tuned to vision problems, which can be used even in the absence of labeled data [UVL17]. .

We see that kernel machines have a unique analytical advantage over other powerful non-linear techniques such as boosting and deep neural networks as their minimum norm solutions can be computed analytically and analyzed using a broad range of mathematical analytic techniques. Additionally, at least for smaller data, these solutions can be computed using the classical direct methods for solving systems of linear equations. We argue that kernel machines provide a natural analytical and experimental platform for understanding inference in modern machine learning.

A remark on the importance of accelerated algorithms, hardware and SGD. Finally, we note that the experiments shown in this paper, particularly fitting noisy labels with Gaussian kernels, would be difficult to conduct without fast kernel training algorithms (we used EigenPro-SGD [MB17], which provided 10-40x acceleration over the standard SGD/Pegasos [SSSSC11]) combined with modern GPU hardware. By a remarkably serendipitous coincidence, small mini-batch SGD can be shown to be exceptionally effective (nearly O(n)O(n) more effective than full gradient descent) for interpolated classifiers [MBB17].

To summarize, in this paper we demonstrate significant parallels between the properties of deep neural networks and the classical kernel methods trained in the “modern” overfitted regime. Note that kernel methods can be viewed as a special type of two-layer neural networks with a fixed first layer. Thus, we argue that more complex deep networks are unlikely to be amenable to analysis unless simpler and analytically more tractable kernel methods are better understood. Since the existing bounds seem to provide little explanatory power for their generalization performance, new insights and mathematical analyses are needed.

Setup

Here fH\|f\|_{\mathcal{H}} is the RKHS norm of ff. From the classical representer theorem [Aro50] it follows that ff^{*} exists (as long as no two data points xix_{i} and xjx_{j} have the same features but different labels). Moreover, ff^{*} can be written explicitly as

The fact that matrix KK is invertible follows directly from the positive definite property of the kernel. It is easy to verify that indeed f(xi)=yif({\boldsymbol{x}}_{i})=y_{i} and hence the function ff^{*} defined by Eq. 2 interpolates the data.

We also recall that the RKHS norm of an arbitrary function of the form f()=αiK(xi,)f(\cdot)=\sum\alpha_{i}K({\boldsymbol{x}}_{i},\cdot) can be easily computed as

In this paper we will primarily use the popular smooth Gaussian kernel K(x,z)=exp(xz22σ2)K({\boldsymbol{x}},{\boldsymbol{z}})=\exp{\left(-\frac{\|{\boldsymbol{x}}-{\boldsymbol{z}}\|^{2}}{2\sigma^{2}}\right)} as well as non-smooth Laplacian (exponential) kernel K(x,z)=exp(xzσ)K({\boldsymbol{x}},{\boldsymbol{z}})=\exp{\left(-\frac{\|{\boldsymbol{x}}-{\boldsymbol{z}}\|}{\sigma}\right)}. We will use both direct linear systems solvers and iterative methods.

In this paper we will refer to classifiers as interpolated if their square loss on the training error is zero or close to zero. We will call classifiers overfitted if the same holds for classification loss (for the theoretical bounds we will additionally require a small fixed margin on the training data). Notice that while interpolation implies overfitting, the converse does not hold.

Generalization Performance of Overfitted/Interpolating Classifiers

\dagger All methods achieve 0.0%0.0\% classification error on training set. \ddagger We use subsampled dataset to reduce the computational complexity and to avoid numerically unstable direct solution.

In this section we establish empirically that interpolating kernel methods provide strong performance on a range of standard datasets (see Appendix A for dataset descriptions) both in terms of regression and classification. To construct kernel classifiers we use iterative EigenPro-SGD method [MB17], which is an accelerated version of SGD in the kernel space (cf. Pegasos [SSSSC11]). This provides a highly efficient implementation of kernel methods and, additionally, a setting parallel to neural net training using SGD. Our experimental results are summarized in Fig. 1 (see Appendix B for full numerical results including the classification accuracy on the training set).

We see that as the number of epochs increases, training square loss (mse) approaches zeroThe training classification error (not shown), is similarly small. After 20 epochs of EigenPro it is zero for all datasets, except for 20 Newsgoups with Gaussian/Laplace kernels and HINT-S with Gaussian kernel (see Appendix B).. On the other hand, the test error, both regression (mse) and classification (ce) remains very stable and, in most cases (in all cases for Laplacian kernels), keeps decreasing and then stabilizes. We thus observe that early stopping regularization [YRC07, RWY14] provides a small or no benefit in terms of either classification or regression error.

For comparison, we also show the performance of interpolating solutions given by Eq. 2 and solved using direct methods. As expected, direct solutions always provide a highly accurate interpolation for the training data with the error in most cases close to numerical precision. Remarkably, we see that in all cases performance of the interpolated solution on test is either optimal or close to optimal both in terms of both regression and classification error.

Performance of overfitted/interpolated kernel classifiers closely parallels behaviors of deep networks noted in [ZBH+16] which fit the data exactly (only the classification error is reported there, other references also report MSE [CCSL16, HLWvdM16, SEG+17, BFT17]). We note that observations of unexpectedly strong performance of overfitted classifiers have been made before. For example, in kernel methods it has been observed on multiple occasions that very small values of regularization parameters frequently lead to optimal performance [SSSSC11, TBRS13]. Similar observations were also made for Adaboost and Random Forests [SFBL98] (see [WOBM17] for a recent and quite different take on that). However, we have not seen recognition or systematic exploration of this (apparently ubiquitous) phenomenon for kernel methods, and, more generally, in connection to interpolated classifiers and generalization with respect to the square loss.

In the next section we examine in detail why the existing margin bounds are not likely to provide insight into the generalization properties of classifiers in overfitted and interpolated regimes.

Existing Bounds Provide No Guarantees for Interpolated Kernel Classifiers

In this section we discuss theoretical considerations related to generalization bounds for kernel classification and regression corresponding to smooth kernels. We also provide further supporting experimental evidence. Our main theoretical result shows that the norm of overfitted kernels classifiers increases nearly exponentially with the data size as long as the error of the Bayes optimal classifier (the label noise) is non-zero. Most of the available generalizations bounds depend at most polynomially on the RKHS norm, and hence diverge to infinity as data size increases and none apply to interpolated classifiers. On the other hand, we will see that the empirical performance of interpolated classifiers remains nearly optimal, even with added label noise.

We will say that hHh\in\mathcal{H} tt-overfits the data, if it achieves zero classification loss, and, additionally, iyih(xi)>t>0\forall_{i}y_{i}h({\boldsymbol{x}}_{i})>t>0 for at least a fixed portion of the training data. This condition is necessary as zero classification loss classifiers with arbitrarily small norm can be obtained by simply scaling any interpolating solution. The margin condition is far weaker than interpolation, which requires h(xi)=yih({\boldsymbol{x}}_{i})=y_{i} for all data points.

We now provide a lower bound on the function norm of tt-overfitted classifiers in RKHS corresponding to Gaussian kernelsThe results also apply to other classes of smooth kernels, such as inverse multi-quadrics..

Let (xi,yi),i=1,,n({\boldsymbol{x}}_{i},y_{i}),i=1,\ldots,n be data sampled from PP on Ω×{1,1}\Omega\times\{-1,1\}. Assume that yy is not a deterministic function of xx on a subset of non-zero measure. Then, with high probability, any hh that tt-overfits the data, satisfies

for some constants A,B>0A,B>0 depending on tt.

Let BR={fH,fH<R}HB_{R}=\{f\in\mathcal{H},\|f\|_{\mathcal{H}}<R\}\subset\mathcal{H} be a ball of radius RR in the RKHS H\mathcal{H}. We will prove that with high probability BRB_{R} contains no functions that tt-overfit the data, unless RR is large, which will imply our result.

Let ll be the hinge loss with margin tt: l(f(x),y)=(tyf(x))+l(f({\boldsymbol{x}}),y)=(t-yf({\boldsymbol{x}}))_{+}. Let Vγ(BR)V_{\gamma}(B_{R}) be the fat shattering dimension of the function space BRB_{R} with the parameter γ\gamma. By the classical results on fat shattering dimension (see,e.g.,[AB09]) C1,C2>0\exists{C_{1},C_{2}>0} such that with high probability fBR\forall_{f\in B_{R}}:

Suppose now that a function hBRh\in B_{R} tt-overfits the data. Then 1nil(h(xi),yi)=0\frac{1}{n}\sum_{i}l(h({\boldsymbol{x}}_{i}),y_{i})=0 and hence

Thus the ball BRB_{R} with high probability contains no function that tt-overfits the data unless

On the other hand, [Bel18] gives a bound on the VγV_{\gamma} dimension of the form Vγ(BR)<O(logd(Rγ))V_{\gamma}(B_{R})<O\left(\log^{d}\left(\frac{R}{\gamma}\right)\right). Expressing RR in terms of Vγ(BR)V_{\gamma}(B_{R}), we see that BRB_{R} with high probability contains no function that tt-overfits the data unless RR is at least AeBn1/dAe^{B\,n^{1/d}} for some A,B>0A,B>0. That completes the proof. ∎

Remark. The bound in Eq. 1 applies to any tt-overfitted classifier, independently of the algorithm or loss function.

We will now briefly discuss the bounds available for kernel methods. Most of the available bounds for kernel methods (see, e.g., [SC08, RCR15]) are of the following (general) form:

Note that the regularization bounds, such as those for Tikhonov regularization, are also of similar form as the choice of the regularization parameter implies an upper bound on the RKHS norm. We see that our super-polynomial lower bound on the norm fH\|f\|_{\mathcal{H}} in Theorem 1 implies that the right hand of this inequality diverges to infinity for any overfitted classifiers, making the bound trivial. There are some bounds logarithmic in the norm, such as the bound for the fat shattering in [Bel18] (used above) and eigenvalue-dependent bounds, which are potentially logarithmic, e.g., Theorem 13 of [GK17]. However, as all of these bounds include a non-zero accuracy parameter, they do not apply to interpolated classifiers. Moreover, to account for the experiments with high label noise (below), any potential bound must have tight constants. We do not know of any complexity-based bounds with this property. It is not clear such bounds exist.

We study synthetic datasets, where the noise level is known a priori, showing that overfitted and interpolated classifiers consistently achieve error close to that of the Bayes optimal classifier, even for high noise levels.

By adding label noise to real-world datasets we can guarantee non-zero Bayes risk. However, as we will see, performance of overfitted/interpolated kernel methods decays at or below the noise level, as it would for the Bayes optimal classifier.

We show that (as expected) for “low noise” synthetic and real datasets, adding small amounts of label noise leads to dramatic increases in the norms of overfitted solutions but only slight decreases in accuracy. For “high noise” datasets, adding label noise makes little difference for the norm but a similar decrease in classifier accuracy, consistent with the noise level.

We first need the following (easily proved) proposition.

Let PP be a multiclass probability distribution on Ω×{1,,k}\Omega\times\{1,\ldots,k\}. Let PϵP_{\epsilon} be the same distribution with the ϵ\epsilon fraction of the labels flipped at random with equal probability. Then the following holds: 1. The Bayes optimal classifier cc^{*} for PϵP_{\epsilon} is the same as the Bayes optimal classifier for PP. 2. The error rate (010-1 loss)

Remark. Note that adding label noise to a probability distribution increases the error rate of the optimal classifier by at most ϵ\epsilon. In particular, when k=2k=2 and PP has no label noise, the Bayes risk of PϵP_{\epsilon} is simply ϵ/2\epsilon/2. In addition, the loss of the Bayes optimal classifier is linear in ϵ\epsilon.

A note on the experimental setting. In the experimental results in this section we only use (smooth) Gaussian kernels to provide a setting consistent with Theorem 1. Overfitted classifiers are trained to have zero classification error using EigenProWe stop iteration when classification error reaches zero.. Interpolated classifiers are constructed by solving Eq. 2 directlyAs interpolated classifiers are constructed by solving a poorly conditioned system of equation, the reported norm should be taken as a lower bound on the actual norm..

In Fig. 2, we show classification error rates for Gaussian kernel with a fixed kernel parameter. We compare classifiers constructed to overfit the data by driving the classification error to zero iteratively (using EigenPro) to the direct numerical interpolating solution. We see that, as expected for linearly separable data, an overfitted solution achieves optimal

accuracy with a small norm. The interpolated solution has a larger norm yet performs identically. On the other hand adding just 1%1\% label noise increases the norm by more than an order of magnitude. However both overfitted and interpolated kernel classifiers still perform at 1%1\%, the Bayes optimal level. Increasing the label noise to 10%10\% shows a similar pattern, although the classifiers become slightly less accurate than the Bayes optimal. We see that there is little connection between the solution norm and the classifier performance. Additionally, we observe that the norm of either solution increases quickly with the number of data points, a finding consistent with Theorem 1.

Synthetic dataset 2: Non-separable classes. Consider the same setting as above, except that the Gaussian classes are moved within two standard deviations of each other (right figure). The classes are no longer separable, with the optimal classifier error of approximately 15.9%15.9\%.

Since the setting is already noisy, we expect that adding additional label noise should have little effect on the norm. This, indeed, is the case: See Fig 3 (bottom left panel). We note that the accuracy of the interpolated classifier is consistently within 5%5\% of the Bayes optimal, even with the added label noise.

Real data + noise. We consider two real-data multiclass datasets (MNIST and TIMIT). MNIST labels are arguably close to a deterministic function of the features, as most (but not all) digit images are easily recognizable. On the other hand, phonetic classification task in TIMIT seem to be significantly more uncertain and inherently noisier.

This is reflected in the state-of-the-art error rates, less than 0.3%0.3\% for (10-class) MNIST [WZZ+13] and over 30%30\% for (48-class) TIMIT [MGL+17]. While the true Bayes risk for real data cannot be ascertained, we can ensure that it is non-zero by adding label noise.

Consistently with the expectations, adding even 1%1\% label noise significantly increases the norm of overfitted/interpolated solutions norm for “clean” MNIST, while even additional 10%10\% noise makes only marginal difference for “noisy” TIMIT (Fig. 4). On the other hand, the test performance on either dataset decays gracefully with the amount of noise, as it would for optimal classifiers (according to Eq. 4).

High label noise Bayes risk comparison. In Fig. 5 we show performance of Gaussian and Laplacian kernels for different levels of added label noise for Synthetic-2 and MNIST datasets. We see that interpolated kernel classifiers perform well and closely track the Bayes riskAs we do not know the true Bayes risk for MNIST, we use a lower bound by simply assuming it is zero. The “true” Bayes risk is likely slightly higher than our curve. even for very high levels of label noise. There is minimal deterioration as the level of label noise increases. Even at 80%80\% label corruption they perform well above chance. Consistently with our observations above, there is very little difference in performance between interpolated and overfitted classifiers. This graph illustrates the difficulty of constructing a non-trivial generalization bound for these noisy regimes, which would have to provide values in the narrow band between the Bayes risk and the risk of a random guess.

Fitting noise: Laplacian and Gaussian kernels, connections to ReLU Networks

Laplacian kernels and ReLU networks. We will now point out some interesting similarities between Laplacian kernel machines and ReLU networks. In [ZBH+16] the authors showed that ReLU neural networks are easily capable of fitting labels randomly assigned to the original features, needing only about three times as many iterations of SGD as for the original labels. In Table 2 we demonstrate a very similar finding for Laplacian kernels. We see that the number of epochs needed to fit random labels is no more than twice that for the original labels. Thus, SGD-type methods with Laplacian kernel have very high computational reach, similar to that of ReLU networks. We note that Laplacian kernels are non-smooth, with a discontinuity of the derivative reminiscent of that for ReLU units. We conjecture that optimization performance is controlled by the type of non-smoothness.

Laplacian and Gaussian kernels. On the other hand, training Gaussian kernels to fit noise is far more computationally intensive (see Table. 2), as suggested by the bounds on fat shattering dimension for smooth kernels [Bel18]. As we see from the table, Gaussian kernels also require many more epochs to fit the original labels. On the other hand, overfitted/interpolated Gaussian and Laplacian kernels show very similar classification and regression performance on test data (Section 3). That similarity persists even with added label noise, see Fig. 6. Hence it appears that the generalization properties of these classifiers are not related to the specifics of the optimization.

We conjecture that the radial structure of these two kernels plays a key role in ensuring strong classification performance.

A note on computational efficiency. In our experiments EigenPro traced a very similar optimization path to SGD/Pegasos while providing 10X-40X acceleration in terms of the number of epochs (with about 15% overhead). When combined with Laplacian kernels, optimal performance is consistently achieved in under 1010 epochs. We believe that methods using Laplacian kernels hold significant promise for future work on scaling to very large data.

Acknowledgements

We thank Raef Bassily, Daniel Hsu and Partha Mitra for numerous discussions, insightful questions and comments. We thank Like Hui for preprocessing the 20 Newsgroups dataset. We used a Titan Xp GPU provided by Nvidia. We are grateful to NSF for financial support.

References

Appendix A Experimental Setup

Computing Resource. All experiments were run on a single workstation equipped with 128GB main memory, two Intel Xeon(R) E5-2620 processors, and one Nvidia GTX Titan Xp (Pascal) GPU.

Datasets. The table on the right summarizes the datasets used in experiments. We map multiclass labels to multiple binary labels (e.g. one label of cc classes to one cc-length binary vector). For image datasets including MNIST [LBBH98], CIFAR-10 [KH09], and SVHN [NWC+11], color images are first transformed to grayscale images. We then rescale the range of each feature to $$. For HINT-S [HYWW13] and TIMIT [GLF+93], we normalize each feature by z-score. To efficiently fit the 20 Newsgroups [Lan95] dataset with kernel regression, we transform its sparse feature vector (bag of words) into dense feature vector by summing up the corresponding embeddings of the words from [PSM14].

Hyperparameters. For consistent comparison, all iterative methods use mini-batch of size m=256m=256. The EigenPro preconditioner in [MB17] is constructed using the top k=160k=160 eigenvectors of a subsampled training set of size M=5000M=5000 (or the training set when its size is less than 5000).

Kernel Bandwidth Selection. For each dataset, we select the bandwidth σ\sigma for Gaussian kernel k(x,y)=exp(xy22σ2)k(x,y)=\exp(-\frac{\left\lVert x-y\right\rVert^{2}}{2\sigma^{2}}) and Laplace kernel k(x,y)=exp(xyσ)k(x,y)=\exp(-\frac{\left\lVert x-y\right\rVert}{\sigma}) through cross-validation on a small subsampled dataset. The final bandwidths used for all datasets are listed in the table on the right side.

Appendix B Detailed experimental results

Below in Tables 3,4,5 we provide exact detailed numerical results for the graphs given in Section 3. In Table 6 and 7 test classification errors have been compared among different training data size and different methods with 0% and 10% added label noise respectively. Fig. 7 shows this comparison. Fig. 8 shows results with different bandwidths. Three settings for bandwidth have been considered: 50%, 100% and 200% of the bandwidth selected for optimal performance (different for Gaussian and Laplacian kernels).