Fast Rates for a kNN Classifier Robust to Unknown Asymmetric Label Noise

Henry W. J. Reeve, Ata Kabán

Abstract

In many practical machine learning scenarios, training labels are corrupted by noise. Asymmetric label noise, where flip probabilities depend on the true class, is particularly challenging when those probabilities are unknown. This paper establishes a theoretical foundation for a Robust k-Nearest Neighbor (kNN) classifier, proving it achieves minimax optimal convergence rates—matching the "fast rates" of noise-free settings—even without prior knowledge of noise levels.

Introduction

Label noise is a pervasive issue in supervised learning, arising from human error, sensor limitations, or inherent ambiguity. A particularly realistic model is asymmetric label noise, where the probability of a label being flipped depends on its ground-truth class. For instance, in a medical diagnosis task, a "healthy" patient might be mislabeled as "sick" more or less frequently than a "sick" patient is mislabeled as "healthy."

While many existing robust algorithms require the noise proportions ($p_0$ and $p_1$) to be known beforehand, this is rarely the case in practice. Previous theoretical results suggested that unknown noise might limit learning to "slow" rates ($n^{-1/2}$). This work, presented at ICML 2019, demonstrates that we can indeed achieve "fast" rates by leveraging a Robust kNN framework.

The Inconsistency of Standard kNN

The primary hurdle with asymmetric noise is that it shifts the decision boundary. A standard kNN classifier estimates the conditional probability of a class based on local neighbors. Under asymmetric noise, this estimate converges to a "corrupted" regression function, $\eta_{corr}(x)$, rather than the true regression function, $\eta(x)$.

Figure 1: Comparison of the true regression function $\eta(x)$ and the corrupted function $\eta_{corr}(x)$ under asymmetric noise. The standard decision threshold at 0.5 leads to a biased boundary.

As illustrated in Figure 1, the point where $\eta_{corr}(x) = 0.5$ does not coincide with the point where $\eta(x) = 0.5$. In this example, the true boundary is near $x=0.33$, but the noisy boundary is shifted significantly to $x \approx 0.78$. Consequently, a standard kNN classifier will remain inconsistent, converging to the wrong decision boundary regardless of the amount of training data available.

The Robust kNN Framework

To overcome this inconsistency, the authors analyze a three-step "plug-in" approach:

  1. Estimate the Corrupted Function: Compute $\hat{\eta}_{corr}(x)$ using standard kNN regression on the noisy training data.
  2. Estimate Noise Proportions: Under the "range assumption"—which posits that there exist regions in the feature space where the true class probability is 0 or 1—the noise proportions $p_0$ and $p_1$ can be estimated by finding the minimum and maximum values of the corrupted function $\eta_{corr}$.
  3. De-noise the Boundary: Use the estimated $\hat{p}_0$ and $\hat{p}_1$ to adjust the decision threshold. Instead of classifying based on whether $\hat{\eta}_{corr}(x) > 0.5$, the algorithm uses a corrected threshold that accounts for the asymmetric bias.

Key Theoretical Results

The core contribution of this work is the mathematical proof that this Robust kNN classifier is not only consistent but also achieves minimax optimal convergence rates.

Fast Learning Rates

The authors prove that the convergence rate of the Robust kNN is approximately $n^{-\frac{\lambda(\alpha+1)}{2\lambda+1}}$, where $\lambda$ represents the smoothness of the regression function and $\alpha$ is the Tsybakov margin exponent. Remarkably, this rate matches the optimal rate achievable in a completely noise-free environment (up to a logarithmic factor). This implies that, theoretically, unknown asymmetric noise does not fundamentally degrade the learning efficiency, provided the range assumption holds.

Novel Extrema Estimation

A significant technical innovation in the paper is the method for estimating the extrema (maximum and minimum) of a regression function using kNN. Traditional methods often require strong assumptions about the function's curvature (e.g., Hessian-based conditions). The authors' kNN-based estimator requires only smoothness, making it more flexible and potentially applicable to other fields like randomized optimization or other noise-estimation tasks.

Limitations and Assumptions

While the theoretical results are strong, they rely on two key conditions:

  • The Range Assumption: The method assumes that the "clean" classes are perfectly separable in at least some small regions of the feature space. If the classes are intrinsically overlapping everywhere, estimating $p_0$ and $p_1$ via extrema becomes significantly more difficult.
  • Parameter Tuning: The optimal number of neighbors $k$ depends on the underlying smoothness of the data distribution, which is typically unknown and must be estimated via cross-validation in practice.

Conclusion

This research provides a rigorous theoretical justification for Robust kNN methods. By proving that minimax optimal "fast" rates are attainable even with unknown asymmetric label noise, the authors bridge the gap between empirical success and theoretical understanding. Their work highlights that with clever estimation of noise proportions, the biases of corrupted data can be effectively neutralized.

Summary updated

BibTeX
@inproceedings{reeve2019fast,
  author = {Henry W. J. Reeve and Ata Kabán},
  title = {{Fast Rates for a kNN Classifier Robust to Unknown Asymmetric Label Noise}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure