Overfitting or perfect fitting? Risk bounds for classification and regression rules that interpolate
Mikhail Belkin, Daniel Hsu, Partha Mitra
Introduction
The central problem of supervised inference is to predict labels of unseen data points from a set of labeled training data. The literature on this subject is vast, ranging from classical parametric and non-parametric statistics to more recent machine learning methods, such as kernel machines , boosting , random forests , and deep neural networks . There is a wealth of theoretical analyses for these methods based on a spectrum of techniques including non-parametric estimation , capacity control such as VC-dimension or Rademacher complexity , and regularization theory . In nearly all of these results, theoretical analysis of generalization requires “what you see is what you get” setup, where prediction performance on unseen test data is close to the performance on the training data, achieved by carefully managing the bias-variance trade-off. Furthermore, it is widely accepted in the literature that interpolation has poor statistical properties and should be dismissed out-of-hand. For example, in their book on non-parametric statistics, Györfi et al. [25, page 21] say that a certain procedure “may lead to a function which interpolates the data and hence is not a reasonable estimate”.
Yet, this is not how many modern machine learning methods are used in practice. For instance, the best practice for training deep neural networks is to first perfectly fit the training data . The resulting (zero training loss) neural networks after this first step can already have good performance on test data . Similar observations about models that perfectly fit training data have been made for other machine learning methods, including boosting , random forests , and kernel machines . These methods return good classifiers even when the training data have high levels of label noise .
An important effort to show that fitting the training data exactly can under certain conditions be theoretically justified is the margins theory for boosting and other margin-based methods . However, this theory lacks explanatory power for the performance of classifiers that perfectly fit noisy labels, when it is known that no margin is present in the data . Moreover, margins theory does not apply to regression and to functions (for regression or classification) that interpolate the data in the classical sense .
In this paper, we identify the challenge of providing a rigorous understanding of generalization in machine learning models that interpolate training data. We take first steps towards such a theory by proposing and analyzing interpolating methods for classification and regression with non-trivial risk and consistency guarantees.
Many existing forms of generalization analyses face significant analytical and conceptual barriers to being able to explain the success of interpolating methods.
Existing capacity-based bounds (e.g., VC dimension, fat-shattering dimension, Rademacher complexity) for empirical risk minimization do not give useful risk bounds for functions with zero empirical risk whenever there is non-negligible label noise. This is because function classes rich enough to perfectly fit noisy training labels generally have capacity measures that grow quickly with the number of training data, at least with the existing notions of capacity . Note that since the training risk is zero for the functions of interest, the generalization bound must bound their true risk, as it equals the generalization gap (difference between the true and empirical risk). Whether such capacity-based generalization bounds exist is open for debate.
Generalization analyses based on algorithmic stability control the difference between the true risk and the training risk, assuming bounded sensitivity of an algorithm’s output to small changes in training data. Like standard uses of capacity-based bounds, these approaches are not well-suited to settings when training risk is identically zero but true risk is non-zero.
Many analyses are available for regularization approaches to statistical inverse problems, ranging from Tikhonov regularization to early stopping . To obtain a risk bound, these analyses require the regularization parameter (or some analogous quantity) to approach zero as the number of data tends to infinity. However, to get (the minimum norm) interpolation, we need while is fixed, causing the bounds to diverge.
There is an extensive literature on local prediction rules in non-parametric statistics . Nearly all of these analyses require local smoothing (to explicitly balance bias and variance) and thus do not apply to interpolation. (Two exceptions are discussed below.)
Recently, Wyner et al. proposed a thought-provoking explanation for the performance of AdaBoost and random forests in the interpolation regime, based on ideas related to “self-averaging” and localization. However, a theoretical basis for these ideas is not developed in their work.
The analyses of the nearest neighbor rule and Hilbert kernel regression estimate are not based on bounding generalization gap, the difference between the true risk and the empirical risk. Rather, the true risk is analyzed directly by exploiting locality properties of the prediction rules. In particular, the prediction at a point depends primarily or entirely on the values of the function at nearby points. This inductive bias favors functions where local information in a neighborhood can be aggregated to give an accurate representation of the underlying regression function.
What we do.
Our approach to understanding the generalization properties of interpolation methods is to understand and isolate the key properties of local classification, particularly the nearest neighbor rule. First, we construct and analyze an interpolating function based on multivariate triangulation and linear interpolation on each simplex (Section 3), which results in a geometrically intuitive and theoretically tractable prediction rule. Like nearest neighbor, this method is not statistically consistent, but, unlike nearest neighbor, its asymptotic risk approaches the Bayes risk as the dimension becomes large, even when the Bayes risk is far from zero—a kind of “blessing of dimensionality”This does not remove the usual curse of dimensionality, which is similar to the standard analyses of -NN and other non-parametric methods.. Moreover, under an additional margin condition the difference between the Bayes risk and our classifier is exponentially small in the dimension.
A similar finding holds for regression, as the method is nearly consistent when the dimension is high.
Next, we propose a weighted & interpolated nearest neighbor (wiNN) scheme based on singular weight functions (Section 4). The resulting function is somewhat less natural than that obtained by simplicial interpolation, but like the Hilbert kernel regression estimate, the prediction rule is statistically consistent in any dimension. Interestingly, conditions on the weights to ensure consistency become less restrictive in higher dimension—another “blessing of dimensionality”. Our analysis provides the first known non-asymptotic rates of convergence to the Bayes risk for an interpolated predictor, as well as tighter bounds under margin conditions for classification. In fact, the rate achieved by wiNN regression is statistically optimal under a standard minimax settingAn earlier version of this article paper contained a bound with a worse rate of convergence based on a loose analysis. The subsequent work found that a different Nadaraya-Watson kernel regression estimate (with a singular kernel) could achieve the optimal convergence rate; this inspired us to seek a tighter analysis of our wiNN scheme..
Our results also suggest an explanation for the phenomenon of adversarial examples , which are seemingly ubiquitous in modern machine learning. In Section 5, we argue that interpolation inevitably results in adversarial examples in the presence of any amount of label noise. When these schemes are consistent or nearly consistent, the set of adversarial examples (where the interpolating classifier disagrees with the Bayes optimal) has small measure but is asymptotically dense. Our analysis is consistent with the empirical observations that such examples are difficult to find by random sampling , but are easily discovered using targeted optimization procedures, such as Projected Gradient Descent .
Finally, we discuss the difference between direct and inverse interpolation schemes; and make some connections to kernel machines, and random forests in (Section 6).
All proofs are given in Appendix A. We informally discuss some connections to graph-based semi-supervised learning in Appendix B.
Preliminaries
In this paper, we analyze two interpolating schemes, one based on triangulating and constructing the simplicial interpolant for the data, and another, based on weighted nearest neighbors with singular weight function.
2 Smoothness, margin, and regularity conditions
Below we list some standard conditions needed for further development.
For all in the support of ,
There exist and such that
The regularity condition from Audibert and Tsybakov is not very restrictive. For example, if , then and .
In what follows, we mostly assume uniform marginal distribution over a certain domain. This is done for the sake of simplicity and is not an essential condition. For example, in every statement the uniform measure can be substituted (with a potential change of constants) by an arbitrary measure with density bounded from below.
Interpolating scheme based on multivariate triangulation
In this section, we describe and analyze an interpolating scheme based on multivariate triangulation. Our main interest in this scheme is in its natural geometric properties and the risk bounds for regression and classification which compare favorably to those of the original nearest neighbor rule (despite the fact that neither is statistically consistent in general).
The predictions of the plug-in classifier based on simplicial interpolation are qualitatively very different from those of the nearest neighbor rule. This is true even when restricting attention to a single simplex. Suppose, for example, that for all , so the Bayes classifier predicts for all in the simplex. On the other hand, due to label noise, we may have some . Suppose in fact that only , while for all . In this scenario (depicted in Figure 1 for ), the nearest neighbor rule (erroneously) predicts on a larger fraction of the simplex than the plug-in classifier based on . The difference can be striking in high dimensions: for nearest neighbor versus for simplicial interpolation in -dimensional version of Figure 1. This provides an intuition why, in contrast to the nearest neighbor rule, simplicial interpolation can yield to classifiers that are nearly optimal in high dimensions.
One consequence of Proposition 3.1 for is that if is contained in two adjacent simplices (that share a -dimensional face), then it does not matter which simplex is used to define ; the value of is the same in any case. Geometrically, we see that the restriction of the interpolating linear function to a face of the simplex coincides with the interpolating linear function constructed on a sub-simplex formed by that face. Therefore, we deduce that is a piecewise linear and continuous interpolation of the data on .
We note that our prediction rule requires only locating the vertices of the simplex containing a given point, rather than the considerably harder problem of constructing a full triangulation. In fact, locating the containing simplex in a Delaunay triangulation reduces to solving polynomial-size linear programs ; in contrast, computing the full Delaunay triangulation has complexity exponential in the (intrinsic) dimension .
2 Mean squared error
In general, each may deviate from its conditional mean by a non-negligible amount, and hence any function that interpolates the training data is “fitting noise”. Nevertheless, in high dimension, the mean squared error of such a function will be quite close to that of the (optimal) conditional mean function.
3 Classification risk
We now analyze the statistical risk of the plug-in classifier based on , given by
We first state an easy consequence of Corollary 3.3 using known properties of plug-in classifiers.
Under the same conditions as Corollary 3.3,
When the conditional mean function satisfies a margin condition, the in Corollary 3.4 can be replaced with a quantity that is exponentially small in , as we show next.
Both Corollary 3.4 and Theorem 3.5 show that the risk of can be very close to the Bayes risk in high dimensions, thus exhibiting a certain “blessing of dimensionality". This stands in contrast to the nearest neighbor rule, whose asymptotic risk does not diminish with the dimension and is bounded by twice the Bayes risk, .
Interpolating nearest neighbor schemes
In this section, we describe a weighted nearest neighbor scheme that, like the -nearest neighbor rule, interpolates the training data, but is similar to the classical (unweighted) -nearest neighbor rule in terms of other properties, including convergence and consistency. (The classical -nearest neighbor rule is not generally an interpolating method except when .)
In what follows, we investigate the properties of interpolating schemes of this type.
We will need two key observations for the analyses of these algorithms.
The second key point is that is an interpolating scheme, provided that has a singularity when . Indeed, it is easily seen that if , then . Extending continuously to the data points yields a weighted & interpolated nearest neighbor (wiNN) scheme.
Concretely, we will consider that diverge near as or , .
The denominator in the argument of is not strictly necessary, but it allows for convenient normalization in view of the conditional independence of -nearest neighbors given . Note that the weights depend on the sample and are thus data-adaptive.
Although are unbounded for singular weight functions, concentration only requires certain bounded moments. Geometrically, the volume of the region around the singularity needs to be small enough. For radial weight functions that we consider, this condition is more easily satisfied in high dimension. Indeed, the volume around the singularity becomes exponentially small in high dimension.
Our wiNN schemes are related to Nadaraya-Watson kernel regression . The use of singular kernels in the context of interpolation was originally proposed by Shepard ; they do not appear to be commonly used in machine learning and statistics, perhaps due to a view that interpolating schemes are unlikely to generalize or even be consistent; the non-adaptive Hilbert kernel regression estimate (essentially, and ) is the only exception we know of.
2 Mean squared error
Let be a wiNN scheme with singular weight function . Assume the following conditions:
satisfies the -smoothness for some and .
for some .
Let , and assume . For any , let be the distance from to its st nearest neighbor among . Then
The bound in Theorem 4.3 is stated in terms of the expected distance to the st nearest neighbor raised to the power; this is typically bounded by . Choosing leads to a convergence rate of , which is minimax optimal.
3 Classification risk
We now analyze the statistical risk of the plug-in classifier based on .
As in Section 3.3, we obtain the following easy consequence of Theorem 4.3 using known properties of plug-in classifiers.
Under the same conditions as Theorem 4.3,
Choosing leads to a convergence rate of .
We now give a more direct analysis, largely based on that of Chaudhuri and Dasgupta for the standard -nearest neighbor rule, that leads to improved rates under favorable conditions.
For , define the effective interiors of the two classes by
Points away from the boundary, i.e., in or for , are likely to have nearest neighbors in or , respectively, so that interpolating their labels yields accurate predictions.
Let be a wiNN scheme with singular weight function , and let be the corresponding plug-in classifier. Fix any and . Then
While Theorem 4.5 is quite general, the values of quantities involved can be non-trivial to express in terms of . The following corollary leads to explicit rates under certain conditions.
satisfies the -smoothness and -margin conditions for some , , , .
for some .
Let , and assume
For consistency, we set , and in the bound, we plug-in and . This leads to a convergence rate of .
The factor in the final term in Corollary 4.6 results from an application of Chebyshev inequality. Under additional moment conditions, which are satisfied for certain functions (e.g., ) with better-behaved singularity at zero than , it can be replaced by . Additionally, while the condition is convenient for analysis, it is sufficient to assume that approaches infinity no faster than .
Ubiquity of adversarial examples in interpolated learning
The recently observed phenomenon of adversarial examples in modern machine learning has drawn a significant degree of interest. It turns out that by introducing a small perturbation to the features of a correctly classified example (e.g., by changing an image in a visually imperceptible way or even by modifying a single pixel ) it is nearly always possible to induce neural networks to mis-classify a given input in a seemingly arbitrary and often bewildering way.
We will now discuss how our analyses, showing that Bayes optimality is compatible with interpolating the data, provide a possible mechanism for these adversarial examples to arise. Indeed, such examples are seemingly unavoidable in interpolated learning and, thus, in much of the modern practice. As we show below, any interpolating inferential procedure must have abundant adversarial examples in the presence of any amount of label noise. In particular, in consistent on nearly consistent schemes, like those considered in this paper, while the predictor agrees with the Bayes classifier on the bulk of the probability distribution, every “incorrectly labeled” training example (i.e., an example whose label is different from the output of the Bayes optimal classifier) has a small “basin of attraction” with every point in the basin misclassified by the predictor. The total probability mass of these “adversarial” basins is negligible given enough training data, so that a probability of misclassifying a randomly chosen point is low. However, assuming non-zero label noise, the union of these adversarial basins asymptotically is a dense subset of the support for the underlying probability measure and hence there are misclassified examples in every open set. This is indeed consistent with the extensive empirical evidence for neural networks. While their output is observed to be robust to random feature noise , adversarial examples turn out to be quite difficult to avoid and can be easily found by targeted optimization methods such as PCG . We conjecture that it may be a general property or perhaps a weakness of interpolating methods, as some non-interpolating local classification rules can be robust against certain forms of adversarial examples .
Let be the set of points at which disagrees with the Bayes optimal classifier ; in other words, is the set of “adversarial examples” for . Consistency of implies that, with probability one, or, equivalently, . On the other hand, the following result shows that the sets are asymptotically dense in , so that there is an adversarial example arbitrarily close to any .
Let be the training data used to construct . Fix a finite -cover of with respect to the Euclidean distance. Since is interpolating and is never zero nor one, for every , there is a non-zero probability (over the outcome of the label ) that ; in this case, the training point is an adversarial example for . By choosing large enough, we can ensure that with probability at least over the random draw of the training data, every element of the cover is within distance of at least one adversarial example, upon which every point in is within distance (by triangle inequality) of the same. ∎
A similar argument for regression shows that while an interpolating may converge to in , it is generally impossible for it to converge in unless there is no label noise. An even more striking result is that for the Hilbert scheme of Devroye et al., the regression estimator almost surely does not converge at any fixed point, even for the simple case of a constant function corrupted by label noise . This means that with increasing sample size , at any given point misclassification will occur an infinite number of times with probability one. We expect similar behavior to hold for the interpolation schemes presented in this paper.
Discussion and connections
In this paper, we considered two types of algorithms, one based on simplicial interpolation and another based on interpolation by weighted nearest neighbor schemes. It may be useful to think of nearest neighbor schemes as direct methods, not requiring optimization, while our simplicial scheme is a simple example of an inverse method, using (local) matrix inversion to fit the data. Most popular machine learning methods, such as kernel machines, neural networks, and boosting, are inverse schemes. While nearest neighbor and Nadaraya-Watson methods often show adequate performance, they are rarely best-performing algorithms in practice. We conjecture that the simplicial interpolation scheme may provide insights into the properties of interpolating kernel machines and neural networks.
To provide some evidence for this line of thought, we show that in one dimension simplicial interpolation is indeed a special case of interpolating kernel machine. We will briefly sketch the argument without going into the details. Consider the space of real-valued functions with the norm . This space is a reproducing kernel Hilbert Space corresponding to the Laplace kernel . It can be seen that as the minimum norm interpolant is simply linear interpolation between adjacent points on the line. Note that this is the same as our simplicial interpolating method.
Finally, we note that while kernel machines (which can be viewed as two-layer neural networks) are much more theoretically tractable than general neural networks, none of the current theory applies in the interpolated regime in the presence of label noise . We hope that simplicial interpolation can shed light on their properties and lead to better understanding of modern inferential methods.
Acknowledgements
We would like to thank Raef Bassily, Luis Rademacher, Sasha Rakhlin, and Yusu Wang for conversations and valuable comments. We acknowledge funding from NSF. DH acknowledges support from NSF grants CCF-1740833 and DMR-1534910. PPM acknowledges support from the Crick-Clay Professorship (CSHL) and H N Mahabala Chair (IITM). This work grew out of discussions originating at the Simons Institute for the Theory of Computing in 2017, and we thank the Institute for the hospitality. PPM and MB thank ICTS (Bangalore) for their hospitality at the 2017 workshop on Statistical Physics Methods in Machine Learning.
References
Appendix A Proofs
A.2 Proof of Theorem 3.2
Throughout we condition on , and write
For the first term, observe that if , then and hence .
We now consider the second term, conditional on and . Let . Since , its barycentric coordinates in are distributed as . Let and for . Also, let be the conditional variance function. By the smoothness assumptions, we have
by Jensen’s inequality and the bound on . For the second term, we have
by the bound on . Therefore
The conclusion follows by taking expectation with respect to and . ∎
A.3 Proof of Corollary 3.3
Recall that is supported uniformly on a convex polytope, and that is the convex hull of . Consider the probability mass outside of . This quantity has been intensely studied in the context of stochastic geometry [see 37, for a review]. The following exemplifies the kind of result one may expect.
Next we consider , the maximum diameter of any simplex in the triangulation (defined in Theorem 3.2). For many natural triangulation schemes, we expect as . This is indeed the case with Delaunay triangulation, in which the edges of each simplex in are obtained by connecting the centroids of neighboring cells in the Voronoi tessellation for the given point set .
Consider the Voronoi tessellation corresponding to the set . The Voronoi cell corresponding to is defined simply as , the set of points closest to than any other . It is easy to see that each Voronoi cell is a convex set. Moreover, the distance from to any in its corresponding cell cannot exceed , as the set is -dense for . The edges of Delaunay triangulation connect the centroids of neighboring elements of Voronoi tessellation and thus are bounded by by the triangle inequality. The diameter of the simplex is the length of the longest edge, so the claim is proved. ∎
vanish as . This follows by applying Theorem A.1 and Lemma A.2. ∎
A.4 Proof of Theorem 3.5
The proof of Theorem 3.5 relies on the following tail bound.
for some absolute constants (which may depend on but not nor ).
Recall that has the same distribution as , where are independent Gamma random variables, each with unit shape and scale parameters. Let . Then, by Proposition 3.1,
Set , so we obtain
which is of the form for and .
Now, we prove the right tail bound for under the assumption that . Fix any , and let denote be the number of ’s in . If , then we have
If , then by the summation property of the Gamma distribution, the conditional distribution of given is the same as that of , where and are independent Gamma random variables with unit scale, has shape parameter , and has shape parameter . The moment generating function for is
Since , the minimizer of the moment generating function is achieved at . So
where is the binary relative entropy. Therefore, using Equation 1 and Equation 2,
where .
To put Equation 3 into the desired form, first observe that
Moreover, by a standard coupling argument, if is a binomial random variable with trials and success probability , then
where the second-to-last inequality uses the assumption , and the last inequality uses a standard Chernoff bound for binomial random variables. Therefore, combining Equation 3, Equation 4, and Equation 5,
Therefore, it is sufficient to prove our bound for the union of the simplices contained entirely within in the interior of one class. Moreover, since our bound is preserved under taking unions of sets, it is sufficient to prove the bound for the interior of a single simplex.
Let be the training examples defining one such simplex . Without loss of generality we can assume that for all (the analysis for is the same). Conditional on , the random vector is uniformly distributed in . Therefore, the barycentric coordinates of within are distributed as . Since is independent of , it follows that is independent of . Therefore, by Lemma A.3, we have
for some absolute constants (depending only on ). Since is Lipschitz on the class interior, we have for any ,
Since the above argument holds for any simplex contained entirely within a class interior, we conclude
A.5 Proof of Theorem 4.5
Following Chaudhuri and Dasgupta (and in particular, the proof of their Theorem 5), we bound the probability of the event by the sum of probabilities of three events:
the st nearest neighbor of is more than distance from ;
and yet .
by a multiplicative Chernoff bound; here denotes the st nearest neighbor of .
Now assume . To bound the probability of , we consider the following sampling process for relative to :
Pick from the marginal distribution of the st nearest neighbor of .
Pick points independently from restricted to .
For each , independently pick the label from the corresponding conditional distribution with mean .
The distance from to its st nearest neighbor is determined in the first step of this process, from the choice of . The nearest neighbors of are the points picked in the second step; their corresponding labels are .
Suppose without loss of generality that . It suffices to prove that, conditional on the event ,
Observe that by definition of and the assumption ,
for each . Define for . Since are iid, the following bound holds by Chebyshev’s inequality:
The conclusion follows now from the definition of . ∎
A.6 Proof of Corollary 4.6
First, we bound . Let , and fix any . By assumption, , so . Consequently,
Next, we bound . Pick any . If , then by the smoothness condition,
Hence for all . Similarly, if , then
which implies for all . Since for all , we conclude that
The claim now follows by using the -margin condition.
Finally, we bound . Fix any and (so ). Then
The proof of Corollary 4.6 follows by combining the bounds on and from Lemma A.4 with Theorem 4.5.
A.7 Proof of Theorem 4.3
Fix . As in the proof of Theorem 4.5, we sample as follows:
Pick from the marginal distribution of the st nearest neighbor of .
Pick points independently from restricted to .
For each , independently pick the label from the corresponding conditional distribution with mean .
The distance from to its st nearest neighbor is determined in the first step of this process, from the choice of . The nearest neighbors of are the points picked in the second step; their corresponding labels are , so the regression estimate at is , where
Define and for . Then
where the last inequality follows from A.5 (below). Combining (6) and (7) concludes the proof. ∎
Fix , and consider the sampling process for in the proof of Theorem 4.3 to define
Appendix B Interpolating kernel regression and semi-supervised learning
In this section we make some informal observations and notes on kernel regression in Reproducing Kernel Hilbert Space and semi-supervised learning. Full and rigorous exploration of these theoretically rich and practically significant topics is well beyond the scope of this paper and, likely, requires new theoretical insights. Still, we feel that some comments and observations may be of interest and could help connect our treatment of interpolation to other related ideas.
We start by discussing a simple setting already mentioned in Section 6. Consider the space of real-valued functions with the norm defined as
This space is a reproducing kernel Hilbert Space corresponding to the Laplace kernel . We can now define the minimum norm interpolant as
It is well-known that the can be written as a linear combination of kernel functions:
The coefficient can be obtained by solving a system of linear equations given by .
It is however not necessary to solve this system to find the interpolating solution. Minimizing the norm directly, from the calculus of variations it follows that satisfies the following differential equation:
This equation should be solved in each interval separately (here, assuming ). The boundary conditions and uniquely determine the solution of this second order ODE inside the interval.
Importantly, note that as , the solution tends to a linear interpolation between the sample points, since the differential equation becomes , i.e., in each interval with the line passing through the samples at the ends of the interval. This observation connects RKHS interpolation in one dimension to simplicial interpolation analyzed in some detail in this paper. Higher dimensional RKHS kernel interpolation is significantly harder to analyze but some insight may be gained by considering a special case below.
B.2 Connections to semi-supervised learning
We will now discuss a discrete version of (9) on a graph and its connection to semi-supervised learning. We do not attempt any theoretical analyses of these methods here. Let be a (potentially weighted) graph with vertices . Let be its adjacency matrix and the corresponding graph Laplacian. We can now consider the (finite-dimensional) space of functions defined on the vertices of the graph . The following definition of the norm is the discrete analogue of (8):
This norm defines a finite dimensional RKHS on the vertices of the graph . In the semi-supervised setting, where some of the vertices, have labels , the interpolation problem becomes almost the same as before
Considering as a vector, we see that the analogue of the differential equation in (9) is the system of linear equations
The set of linear equations determining the minimum norm interpolating solution on the unlabelled points can be recast into a somewhat more intuitive form:
Here is the set of neighbors of (i.e., nodes connected to by edges of the graph) and is the weighted degree of the th vertex.
The classifier for semi-supervised classification can be obtained by thresholding . This provides a graph-based interpolated semi-supervised learning algorithm similar to label propagation or interpolated graph regularization . Indeed, when , this scheme becomes label propagation. Interestingly, and consistently with the main story of this paper, it has been observed empirically in various works including the references above that interpolated semi-supervised learning typically provides optimal or near-optimal results compared to regularization.
If the graph corresponded to a (unweighted) hypercubic lattice in -dimensions, then the degree of each vertex is . Thus, the interpolating solution has the property that at each unlabeled vertex, the inferred label value is proportional to the average of the assigned labels in the neighboring vertices. This is reminiscent of the interpolated nearest neighbor algorithms discussed in this paper.
While the solution of these equations generally depends on the structure of the neighborhood graph, there is a particularly simple case for which a closed form solution is easily obtained. This corresponds to the fully connected (unweighted) graph. The fully connected graph can be viewed as a local model for high-dimensional data. Similarly, it is used in the physics literature to mimic an infinite dimensional lattice.
It is easy to see with the above assumptions that the semi-supervised learning algorithm described above recovers the Bayes classifier when . Since each unlabeled vertex is equivalent, the solution does not depend on . Thus, the minimum norm interpolating solution is constant on all the unlabeled points and is given by
The value of the interpolating regression function in this example is a constant and is independent of the number of unlabeled points. The plug-in classifier output is given at every site by . Notice, as in , the classifier output does not depend on .
If and is large, then is therefore with high probability, and for one recovers the Bayes classifier. Using Hoeffding’s inequality for the Binomially distributed , the excess risk is exponentially small: