Robust Conformal Prediction Using Privileged Information

Shai Feldman, Yaniv Romano

Introduction

Machine learning models are increasingly deployed in high-stakes domains such as medical diagnosis and financial forecasting. In these critical applications, quantifying the uncertainty of a prediction is just as important as the prediction itself. Conformal Prediction (CP) has emerged as the gold standard for this task, generating prediction sets guaranteed to contain the true outcome with a user-specified probability (e.g., 90%).

However, standard CP relies heavily on the "i.i.d. assumption"—the premise that training and test data are drawn from the exact same distribution. In practice, training data is frequently corrupted by non-random missing labels or noisy features collected under varying conditions. This corruption induces a distribution shift. Naively applying CP to such corrupted data voids its theoretical guarantees, often resulting in "under-coverage," where the true answer falls outside the prediction set more often than promised.

This paper introduces Privileged Conformal Prediction (PCP), a novel framework that leverages "privileged information" (PI)—extra data available only during training—to correct for these corruptions and restore mathematically guaranteed uncertainty sets at test time.

The Role of Privileged Information

Privileged Information consists of additional features ($Z$) that explain the mechanism behind the data corruption but are unavailable during inference. For instance, in a medical dataset, PI might include a specific doctor's years of experience or the specific sensor model used. This information is present in historical training records but absent when diagnosing a new patient at a different clinic.

The authors treat the corruption as a covariate shift problem, where the PI acts as a confounding variable. If the features and labels $(X, Y)$ are independent of the corruption indicator given $Z$, the principles of weighted conformal prediction can be adapted to correct the shift.

Privileged Conformal Prediction (PCP)

The core challenge PCP addresses is the absence of PI at test time. Traditional Weighted Conformal Prediction (WCP) requires knowing the distribution shift at inference to appropriately weight the samples. Without test-time PI, computing these weights directly is impossible.

PCP circumvents this limitation through a clever, conservative approach:

  1. Weighting: The method estimates the probability of corruption conditioned on the available PI during the calibration phase.
  2. Thresholding: Instead of computing a single global threshold, PCP calculates a potential non-conformity threshold for every calibration point as if it were the test point.
  3. Quantile Selection: It then selects a specific quantile of these individual thresholds to establish a "safe" boundary that guarantees coverage even without knowing the test-time PI.

To improve statistical efficiency when data is scarce, the authors also introduce LOO-PCP, a variant based on leave-one-out (jackknife+) logic. Furthermore, while the naive PCP algorithm operates in $O(n^2)$ time relative to the number of calibration samples, the authors provide an optimized version that reduces this to linear $O(n)$ complexity.

Experimental Validation

The researchers evaluated PCP across a diverse array of tasks and datasets:

  • Tabular Regression: Tested on six real-world datasets (including Facebook, Bio, and House) with artificially introduced missing responses.
  • Causal Inference: Applied to the IHDP and Twins datasets, where the inherent "corruption" is the fundamental problem of causal inference: only one potential outcome (treated or control) is ever observed for an individual.
  • Image Classification: Evaluated on CIFAR-10N (featuring real-world noisy labels from human annotators) and CIFAR-10C (containing artificial corruptions like blur or snow).

Key Findings

  • Guaranteed Coverage: Across all experiments, PCP was the only practical method that consistently maintained the target 90% coverage rate. In contrast, naive CP often degraded to 70-80% coverage under distribution shift.
  • High Efficiency: PCP avoids the pitfalls of naive "two-stage" approaches that attempt to predict the missing PI first. Predicting PI introduces compounding uncertainty, leading to unhelpfully large prediction sets. PCP, however, remains highly informative. In causal inference tasks, PCP produced uncertainty intervals nearly as tight as an "infeasible" oracle that had access to the missing PI.
  • Robustness to Real-World Noise: On datasets like CIFAR-10N, PCP successfully navigated human-generated label noise, providing reliable prediction sets even when human annotators disagreed.

Limitations and Future Directions

While PCP offers a robust solution to corrupted training data, it comes with certain limitations. First, the theoretical guarantees strictly rely on knowing the true ratio of clean-to-corrupted data. Although empirical results show that estimating these weights works well in practice, the formal theory for estimated weights remains an open research area.

Second, PCP is fundamentally dependent on the quality of the Privileged Information. If the provided PI does not adequately explain the corruption mechanism—violating the conditional independence assumption—the coverage guarantees may be compromised. Despite these constraints, PCP represents a significant step forward in building reliable, uncertainty-aware machine learning systems for imperfect, real-world data.

Summary updated

BibTeX
@inproceedings{feldman2024robust,
  author = {Shai Feldman and Yaniv Romano},
  title = {{Robust Conformal Prediction Using Privileged Information}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=kkmPe0rzY1},
}
Figure