Overview
This paper introduces a novel method to estimate the Bayes risk—the minimum possible error rate for any classifier—using only a finite set of labeled data. By analyzing how the error rate of a $k$-nearest neighbor ($k$-NN) classifier scales with sample size through a truncated asymptotic expansion, the authors demonstrate how to "extrapolate" the optimal performance limit without needing to know the underlying probability distributions.
The Problem: Finding the "Gold Standard"
In machine learning, the Bayes risk ($R_B$) represents the lowest error rate theoretically achievable for a given classification problem. Knowing $R_B$ is incredibly useful: it tells a researcher whether their current model is nearly perfect or if there is significant room for improvement.
However, calculating $R_B$ usually requires knowing the exact probability distributions of the data, which are almost never available in real-world scenarios. While $k$-NN classifiers are known to approach the Bayes risk as the number of samples ($m$) goes to infinity, real-world datasets are strictly finite. Previous methods to estimate $R_B$ from finite samples were often imprecise or converged too slowly. This paper seeks a more accurate way to estimate this theoretical limit using the limited data actually on hand.
Methods
The methodology hinges on the finite-sample risk ($R_m$) of $k$-NN classifiers. The authors utilize a recently discovered asymptotic expansion that describes how $R_m$ converges to the infinite-sample limit ($R_\infty$):
$$R_m \approx R_\infty(k) + \sum_{j=2}^{N} c_j m^{-j/n}$$
Where:
- $m$ is the number of samples.
- $n$ is the dimensionality of the feature vectors.
- $c_j$ are coefficients related to the underlying (but unknown) distributions.
The Estimation Algorithm: 1. Ensemble Creation: Take a large pool of labeled data and create multiple smaller "reference samples" of varying sizes ($m_i$) by sampling with replacement. 2. Empirical Testing: For each sample size $m_i$, estimate the average error rate ($\hat{R}_{m_i}$) using a $k$-NN classifier on an independent test set. 3. Curve Fitting: Use a least-squares fit to find the coefficients ($R_\infty, c_2, \dots, c_N$) that best match the observed error rates across different values of $m$. 4. Bounding the Bayes Risk: Once $R_\infty(k)$ is estimated, use established inequalities (such as those from Cover, Hart, and Devroye) to place an upper and lower bound on the true Bayes risk $R_B$.
Key Insights
- The "Rate of Failure" is Informative: The core insight is that the way a classifier's performance degrades as you reduce the training data follows a predictable mathematical curve. By measuring this degradation, you can work backward to find the "perfect" performance at infinite data.
- Dimensionality Matters: The expansion includes the term $m^{-j/n}$. As the dimensionality ($n$) increases, convergence slows down, meaning more data or higher-order terms ($N$) are required to achieve an accurate fit.
- Smoothness Assumption: The method assumes the underlying probability densities are "smooth" (differentiable). This critical requirement allows the asymptotic expansion to hold true.
Experimental Validation and Results
The authors evaluated their method on two types of problems: a synthetic two-class problem using Gaussian densities (where the true $R_B \approx 0.15865$ is known), and a natural dataset of Landsat multispectral satellite imagery.
- High Accuracy on Synthetic Data: For the Gaussian problem, the method produced estimates of $R_B$ that were remarkably close to the mathematical ground truth. For instance, at $k=63$, the estimate was $0.156 \pm 0.004$, nearly perfectly capturing the true value.
- Stability in Real Data: On the satellite imagery, the estimate for $R_\infty(1)$ remained stable even as the order of the expansion ($N$) increased, eventually yielding a Bayes risk estimate of $R_B = 0.0568 \pm 0.0190$.
- Practical Efficiency: This approach allows researchers to estimate the theoretical limit of their feature set without having to collect an infinite amount of data or perform exhaustive, computationally expensive architecture searches.
Limitations and Future Work
While powerful, the method has limitations. The validity of the expansion relies on the probability densities having bounded partial derivatives; if the data distributions have sharp "cliffs" or are highly non-smooth, the expansion might fail. Additionally, the authors noted that at very high orders of expansion ($N=6$) on real data, the fit began to dissolve due to overfitting the empirical noise in the error estimates.
Future directions include exploring more complex classification problems and incorporating principles of optimal experimental design to choose sample sizes ($m_i$) more effectively, further improving the efficiency of the estimate.
Summary updated