Bayes classifier cannot be learned from noisy responses with unknown noise rates

Soham Bakshi, Subha Maity · DOI

Introduction

In the field of supervised learning, the quality of a model is fundamentally limited by the quality of its training data. In real-world applications—ranging from medical imaging to crowdsourced datasets—labels are frequently "noisy," meaning the recorded category ($Y'$) may not reflect the true underlying category ($Y$). While various techniques exist to mitigate the impact of label noise, most require the practitioner to provide an estimate of the noise rate (e.g., the probability that a label is flipped).

This paper presents a sobering "impossibility result" for machine learning: in almost all classification tasks involving noisy labels, it is mathematically impossible to learn the optimal (Bayes) classifier unless the noise rates are known beforehand. The authors demonstrate that this is not a limitation of current algorithms, but a fundamental issue of mathematical identifiability.

The Problem of Identifiability

The core of the authors' argument rests on the concept of identifiability. A statistical model is considered identifiable if there is only one unique set of true parameters that could have generated the observed data. If a model is unidentifiable, multiple different "true" states could result in the exact same noisy observations, making it impossible for any algorithm to distinguish the correct one without additional information.

Through rigorous theoretical proof, the authors show that the Bayes classifier is unidentified in the following scenarios:

  1. Multiclass Problems: Any classification task involving more than two categories.
  2. Imbalanced Binary Problems: Binary classification where the prior probabilities of the classes are not equal (e.g., 70% of the data belongs to class A and 30% to class B).

In these cases, the problem is "ill-posed." Without knowing the noise distribution, an algorithm cannot determine if the patterns it sees in the noisy data are due to the true decision boundary or the noise itself.

The "Balanced Binary" Exception

The paper identifies a singular mathematical "island" where learning remains possible: balanced binary classification. When the true classes are perfectly balanced ($P(Y=0) = P(Y=1) = 0.5$), the inherent symmetry of the problem allows the noise to be factored out. In this specific niche, the true decision boundary can be recovered even if the exact flip rates are unknown.

Methodology: Weighted Empirical Risk Minimization

For the identifiable balanced binary case, the authors develop a new learning framework called Weighted Empirical Risk Minimization (ERM).

Previously, researchers have used "peer loss" functions to handle noise, but these methods can be numerically unstable or even diverge (heading toward negative infinity) when used with common loss functions like cross-entropy. The authors' Weighted ERM approach uses the proportions of the observed noisy labels to weight the loss function. This effectively "cancels out" the noise, providing a more stable and robust path to recovering the true decision boundary compared to existing baselines.

Experimental Validation

The authors validated their theoretical findings using synthetic datasets featuring two-dimensional Gaussian distributions. They compared their Weighted ERM against an Oracle (a model trained on perfectly clean labels) and a Baseline (a model trained on noisy labels without correction).

  • Consistency in Balanced Cases: When the classes were perfectly balanced, the Weighted ERM's accuracy converged to the Oracle's performance as the sample size increased, proving the method's effectiveness in the one identifiable scenario.
  • Failure in Imbalanced Cases: When the classes were imbalanced (e.g., $p=0.35$), a persistent and unbridgeable gap appeared between the Weighted ERM and the Oracle. Regardless of how much data was provided, the model could not recover the true boundary, confirming the theoretical impossibility result.

Conclusion and Practical Implications

The findings of this paper present a significant challenge for practitioners. The authors highlight a "Catch-22": to exploit the one identifiable case (balanced binary), a researcher must first know that their true labels are balanced. However, if the only available data is noisy, verifying the balance of the underlying true labels is often impossible.

For the machine learning community, the takeaway is clear: if a dataset is imbalanced or multiclass, estimating noise rates is not just a helpful step for optimization—it is a mathematical necessity. Practitioners should prioritize obtaining a small "gold-standard" subset of validated labels to estimate these rates before attempting to train on large-scale noisy datasets.

Summary updated

BibTeX
@misc{bakshi2023bayes,
  author = {Soham Bakshi and Subha Maity},
  title = {{Bayes classifier cannot be learned from noisy responses with unknown noise rates}},
  year = {2023},
  eprint = {2304.06574},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.06574},
}
Figure