Peer Loss Functions: Learning from Noisy Labels without Knowing Noise Rates

Yang Liu, Hongyi Guo

Abstract

Standard supervised learning relies on the assumption of clean ground-truth labels. However, real-world datasets often contain significant label noise, which typically requires practitioners to estimate noise rates to achieve robustness. This paper introduces Peer Loss, a novel family of loss functions that enables effective training on noisy datasets without prior knowledge of noise parameters. By incorporating a "peer" term that penalizes agreement with random labels, Peer Loss implicitly cancels out bias and recovers the optimal classifier as if it were trained on clean data.

Introduction

In supervised learning, Empirical Risk Minimization (ERM) often fails when training labels are corrupted. Standard models tend to overfit this noise, leading to poor generalization. While noise-robust solutions exist, they usually require the noise rate—the probability of a label being flipped—to be specified or estimated. Such estimation is difficult without a clean "gold standard" dataset. Peer Loss addresses this by providing a "plug-and-play" objective that is robust to asymmetric noise without requiring any prior knowledge of noise statistics.

Methodology: The Peer Loss Framework

The authors draw inspiration from Peer Prediction, a game-theoretic mechanism used to elicit truthful information from agents when no ground truth is available to verify their answers.

The Peer Loss Formula

The core mechanism involves subtracting a "peer" term from the standard loss. For a sample $(x_n, \tilde{y}_n)$, the Peer Loss is defined as: $$\ell_{peer}(f(x_n), \tilde{y}_n) = \ell(f(x_n), \tilde{y}_n) - \ell(f(x_{n1}), \tilde{y}_{n2})$$

The first term is the standard loss (e.g., Cross-Entropy). The second term calculates the loss of the model on a random instance $x_{n1}$ using a random label $\tilde{y}_{n2}$ drawn from the dataset.

Conceptual mapping between Peer Prediction and Peer Loss.

Theoretical Foundation

The peer term acts as a regularizer that prevents the model from simply memorizing the noisy label distribution. Mathematically, the expected Peer Loss on noisy data is an affine transformation of the loss on clean data. Consequently, the model that minimizes Peer Loss on a noisy dataset is identical to the one that would minimize standard loss on a clean dataset. For imbalanced classes, an $\alpha$-weighted Peer Loss is introduced to account for different class priors.

Experimental Evaluation

The approach was validated across multiple benchmarks, including 10 UCI datasets with synthetic noise (10% to 40%) and the CIFAR-10 image classification task.

Key Results

  • Stability and Overfitting Prevention: Unlike standard Cross-Entropy, which often sees accuracy peak and then decline as the model overfits noise, Peer Loss maintains stable performance throughout the training process.
  • Performance Benchmarks: Peer Loss consistently matched or outperformed state-of-the-art methods like DMI and Symmetric Loss. Notably, it often surpassed "Surrogate Loss" methods even when those baselines were provided with the true noise rates.
  • High Noise Robustness: On the Twonorm dataset with 40% noise, Peer Loss maintained an accuracy of 97.3%. On CIFAR-10 with 20% noise, it achieved 87.72% accuracy, outperforming standard Cross-Entropy (86.67%).
Accuracy during testing for various loss functions, demonstrating the stability of Peer Loss against overfitting.

Discussion and Future Work

Peer Loss represents a significant shift from complex noise-transition matrix estimation toward simpler, invariant loss functions. Its primary strength lies in Implicit Noise Encoding: by using random peer samples, the model naturally learns the noise distribution and learns to ignore it.

However, current theoretical guarantees assume homogeneous noise (class-conditional noise). Future research is needed to extend Peer Loss to instance-dependent noise, where "harder" examples are more likely to be mislabeled. Additionally, while the $\alpha$-weighted version handles class imbalance, it introduces a hyperparameter that requires tuning on a noisy validation set.

Conclusion

Peer Loss provides a robust, easy-to-implement solution for learning from noisy labels. By leveraging the principles of peer prediction, it removes the need for explicit noise rate estimation, making it a powerful tool for real-world applications where clean data is scarce.

Summary updated

BibTeX
@inproceedings{liu2020peer,
  author = {Yang Liu and Hongyi Guo},
  title = {{Peer Loss Functions: Learning from Noisy Labels without Knowing Noise Rates}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
}
Figure