Preprint
Machine Learning

Confident Learning: Estimating Uncertainty in Dataset Labels

Curtis G. Northcutt(Massachusetts Institute of Technology), Lu Jiang(Google (United States)), Isaac L. Chuang(Massachusetts Institute of Technology)
April 14, 2021Journal of Artificial Intelligence Research1,141 citations

1.1k

Citations

152

Influential Citations

Journal of Artificial Intelligence Research

Venue

2021

Year

Abstract

Learning exists in the context of data, yet notions of confidence typically focus on model predictions, not label quality. Confident learning (CL) is an alternative approach which focuses instead on label quality by characterizing and identifying label errors in datasets, based on the principles of pruning noisy data, counting with probabilistic thresholds to estimate noise, and ranking examples to train with confidence. Whereas numerous studies have developed these principles independently, here, we combine them, building on the assumption of a class-conditional noise process to directly estimate the joint distribution between noisy (given) labels and uncorrupted (unknown) labels. This results in a generalized CL which is provably consistent and experimentally performant. We present sufficient conditions where CL exactly finds label errors, and show CL performance exceeding seven recent competitive approaches for learning with noisy labels on the CIFAR dataset. Uniquely, the CL framework is not coupled to a specific data modality or model (e.g., we use CL to find several label errors in the presumed error-free MNIST dataset and improve sentiment classification on text data in Amazon Reviews). We also employ CL on ImageNet to quantify ontological class overlap (e.g., estimating 645 missile images are mislabeled as their parent class projectile), and moderately increase model accuracy (e.g., for ResNet) by cleaning data prior to training. These results are replicable using the open-source cleanlab release.

Analysis

Why This Paper Matters

In machine learning, confidence is typically associated with model predictions, but the quality of the training labels themselves is often overlooked. Confident learning (CL) flips this perspective by treating label errors as a first-class problem, offering a principled way to estimate uncertainty in dataset labels. This matters because noisy labels are pervasive in real-world datasets and can severely degrade model performance, yet practitioners rarely have tools to systematically identify and correct them.

The paper's significance is amplified by its generality: CL is not tied to a specific data modality or model architecture. The authors demonstrate its effectiveness on image data (CIFAR, MNIST, ImageNet) and text data (Amazon Reviews), showing that the same framework can uncover label errors across domains. This universality makes CL a valuable addition to the data-centric AI toolbox, aligning with the growing emphasis on data quality over model-centric improvements.

Moreover, the release of the open-source cleanlab library ensures that the research is immediately actionable for practitioners. By providing a replicable and accessible implementation, the authors bridge the gap between theoretical advances and practical dataset debugging, potentially influencing how both researchers and industry teams approach data curation.

Technical Contributions

  • Confident Learning Framework: A novel approach that combines three principles—pruning noisy data, counting with probabilistic thresholds to estimate noise, and ranking examples to train with confidence—into a unified framework.
  • Class-Conditional Noise Model: CL directly estimates the joint distribution between noisy (given) labels and uncorrupted (unknown) labels under a class-conditional noise assumption, enabling provable consistency.
  • Theoretical Guarantees: The paper provides sufficient conditions under which CL exactly identifies label errors and proves the consistency of the generalized CL estimator.
  • Modality and Model Agnosticism: CL is designed to work with any data type and any model, as demonstrated on image and text datasets.
  • Open-Source Implementation: The cleanlab release makes the method accessible and replicable for the community.

Results

On the CIFAR dataset, CL outperforms seven recent competitive approaches for learning with noisy labels, showcasing its effectiveness in a standard benchmark. The authors also apply CL to MNIST, a dataset presumed to be error-free, and find several label errors, highlighting the ubiquity of label noise even in curated datasets. On Amazon Reviews, CL improves sentiment classification by cleaning the text data. For ImageNet, CL quantifies ontological class overlap, estimating that 645 missile images are mislabeled as their parent class projectile, and demonstrates that cleaning data prior to training moderately increases model accuracy (e.g., for ResNet). These results underscore CL's practical utility across diverse scenarios.

Significance

The introduction of confident learning represents a shift toward data-centric AI, where the focus extends beyond model architecture to the quality of the data itself. By providing a theoretically grounded and empirically validated method for label error detection, CL empowers practitioners to audit and improve their datasets, leading to more robust and reliable models. The open-source cleanlab library further accelerates adoption, making label quality assessment a standard part of the machine learning pipeline. As datasets continue to grow in size and complexity, tools like CL will become increasingly essential for maintaining data integrity and model performance.