Adaptive conformal classification with noisy labels

Matteo Sesia, Y. X. Rachel Wang, Xin Tong

TL;DR

Standard conformal prediction provides rigorous "coverage guarantees" for machine learning models, but it assumes your calibration data is perfectly labeled. This paper introduces new adaptive methods that account for random label noise, producing smaller, more informative prediction sets while maintaining the mathematical guarantees that make conformal inference so valuable.

What Problem Does This Paper Address?

In many real-world scenarios, we don't have access to a perfectly "clean" dataset. We often rely on lower-quality labels from crowdsourcing platforms (like Amazon Mechanical Turk) or datasets where labels have been intentionally blurred to protect user privacy.

Conformal Prediction (CP) is a popular framework used to wrap around any "black-box" model (like a deep neural network) to produce a prediction set rather than a single point estimate. For example, instead of just saying "this image is a cat," a conformal predictor might say "I am 90% sure this image is either a cat or a dog."

The catch? Standard CP assumes the data used to calibrate these sets is perfectly labeled. If the calibration labels are "contaminated" (noisy), the resulting prediction sets often become either dangerously small (failing to cover the true label) or—more commonly—unnecessarily large and "conservative," making them useless for practical decision-making. This paper provides a way to fix that.

Methods

The authors propose a framework that "de-biases" the calibration process. Their approach involves three main components:

  1. Characterizing Coverage Inflation: They mathematically define a "coverage inflation factor" ($\Delta_k$). This factor quantifies exactly how much the label noise pushes the conformal threshold away from where it should be.
  2. The Linear Contamination Model: They assume a model where the observed (noisy) label is a linear mixture of the true labels. This is represented by a transition matrix $M$, which describes the probability of a true label $Y$ being recorded as a noisy label $\tilde{Y}$.
  3. Adaptive Calibration Algorithms:
    • Algorithm 1 (Known Noise): If you know the noise process (e.g., in differential privacy applications), this algorithm uses a "plug-in" estimate to adjust the threshold and cancel out the noise-induced error.
  4. Algorithm 2 (Bounded Noise): If you don't know the exact noise but have a "confidence region" for it, this version provides a more robust, albeit slightly more conservative, threshold.
  5. Adaptive+: An "optimistic" hybrid version that adaptively chooses between the standard and adaptive thresholds to produce the smallest possible valid prediction set.

Datasets

The authors validated their methods using:

  • Synthetic Data: They generated various classification tasks using Gaussian mixtures and logistic models to test the limits of the algorithms under different noise strengths ($\epsilon$).
  • CIFAR-10H: This is a variation of the famous CIFAR-10 image dataset. While the original has "ground truth" labels, CIFAR-10H contains labels provided by ~50 human annotators per image. Because humans disagree, these labels are naturally noisy (matching the ground truth only about 95.4% of the time).

Key Insights and Ideas

  • Noise makes CP "Pessimistic": A key "aha" moment in the paper is the proof that under many common noise conditions, standard conformal prediction doesn't just fail—it becomes overly conservative. It sees the noise as "uncertainty" and inflates the prediction sets to compensate, even when the underlying model is actually quite accurate.
  • Actionable De-biasing: The authors show that you don't need to know the inner workings of the classifier or the data distribution. As long as you can estimate the noise process (the matrix $M$), you can mathematically "subtract" the bias from the calibration threshold.
  • Small Clean Samples Go a Long Way: The paper demonstrates that you only need a very small amount of "clean" data to estimate the noise parameters effectively. Once the noise process is estimated, you can use a massive amount of "noisy" data to calibrate the model with high precision.

Key Results

The experiments show a clear advantage for the adaptive methods:

  • Efficiency: On the CIFAR-10H dataset, the Adaptive+ method produced significantly smaller prediction sets than the standard approach while still hitting the 90% coverage target. As the number of calibration samples increased, the adaptive sets became even more "tight" and informative (see Figure 1 in the paper).
  • Robustness: Even when the noise model was slightly "mis-specified" (meaning the researchers guessed the wrong type of noise), the adaptive methods still outperformed the standard benchmark, showing they are practical for real-world use where we rarely have perfect models of noise.

Limitations and Future Work

  • The Independence Assumption: The current method relies on the assumption that the label noise is independent of the image features, given the true label ($ \tilde{Y} \perp X | Y $). In some cases, certain "hard" images might be more likely to be mislabeled than "easy" ones, which would violate this assumption.
  • Extension to Regression: This paper focuses on classification (categorical labels). The authors note that extending these adaptive "de-biasing" ideas to regression (continuous values) is a promising area for future research.
  • Computational Cost: While the algorithms are efficient, estimating the noise matrix $M$ using bootstrap methods adds a layer of complexity compared to standard "split-conformal" prediction.

Summary updated

BibTeX
@article{sesia2024adaptive,
  author = {Matteo Sesia and Y. X. Rachel Wang and Xin Tong},
  title = {{Adaptive conformal classification with noisy labels}},
  journal = {Journal of the Royal Statistical Society Series B (Statistical Methodology)},
  year = {2024},
  doi = {10.1093/jrsssb/qkae114},
}
Figure