Hard Samples, Bad Labels: Robust Loss Functions That Know When to Back Off
Nicholas Pellegrino, David Szczecina, Paul Fieguth
TL;DR
This paper tackles pervasive label noise in supervised learning by introducing two robust loss functions, Blurry Loss and Piecewise-zero Loss, that down-weight or ignore samples likely to be mislabeled. The authors formalize the problem, situate their approach within existing label-error detection frameworks (CL and AUM), and provide a comprehensive empirical evaluation against standard and state-of-the-art robust losses. Across multiple datasets and corruption regimes (including non-uniform real-world noise), BL and PZ consistently improve label-error detection performance (measured by F1 and Balanced Accuracy), aided by a loss scheduling strategy that preserves learning on clean data. The results suggest these losses offer practical, broadly applicable tools for data curation and robust model training in the presence of label imperfections, with implications for improved data quality and reliability in real-world AI systems.
Abstract
Incorrectly labelled training data are frustratingly ubiquitous in both benchmark and specially curated datasets. Such mislabelling clearly adversely affects the performance and generalizability of models trained through supervised learning on the associated datasets. Frameworks for detecting label errors typically require well-trained / well-generalized models; however, at the same time most frameworks rely on training these models on corrupt data, which clearly has the effect of reducing model generalizability and subsequent effectiveness in error detection -- unless a training scheme robust to label errors is employed. We evaluate two novel loss functions, Blurry Loss and Piecewise-zero Loss, that enhance robustness to label errors by de-weighting or disregarding difficult-to-classify samples, which are likely to be erroneous. These loss functions leverage the idea that mislabelled examples are typically more difficult to classify and should contribute less to the learning signal. Comprehensive experiments on a variety of artificially corrupted datasets demonstrate that the proposed loss functions outperform state-of-the-art robust loss functions in nearly all cases, achieving superior F1 scores for error detection. Further analyses through ablation studies offer insights to confirm these loss functions' broad applicability to cases of both uniform and non-uniform corruption, and with different label error detection frameworks. By using these robust loss functions, machine learning practitioners can more effectively identify, prune, or correct errors in their training data.
