TL;DR
When machine learning models encounter unknown distribution shifts in production, their uncertainty estimates often break down, leading to systematically undercovered hard samples. This paper introduces Audited Conformal Prediction (ACP), a method that trains a lightweight auxiliary "audit model" on a small target dataset to predict legacy model failures. By embedding this auditor into a conformal prediction framework, ACP delivers robust conditional coverage guarantees and tighter prediction sets without needing to retrain the complex underlying model.
What Problem Does This Paper Address?
Deploying machine learning models in dynamic, real-world environments is notoriously tricky because data distributions shift over time (e.g., evolving fraud tactics or changing medical imaging equipment). While we can use conformal prediction to generate prediction sets with mathematical guarantees—such as ensuring the true label is included 90% of the time—standard methods only guarantee marginal coverage. This means the model might achieve 90% accuracy on average by being 100% accurate on easy, in-distribution samples while completely failing (0% accuracy) on new, shifted samples.
To fix this, we ideally want conditional coverage (valid guarantees for every specific type of input). However, achieving this under an unknown distribution shift typically requires retraining the entire model on fresh data. When fresh labeled data is scarce and the original model is highly complex, full retraining leads to overfitting and massive, uninformative prediction sets. ACP addresses this gap by efficiently utilizing limited target data to fix uncertainty estimates post-hoc.
Methods
The core philosophy of ACP is that predicting when a model will fail is much easier than relearning the entire classification task.
Instead of altering the complex "legacy" model, ACP splits a small labeled dataset from the new target distribution into two halves:
- Train an Auditor: The first half is used to train a binary classification model (the auditor). The auditor takes the input features—along with legacy model signals like logits, softmax entropy, and embedding-space distances—and learns to predict whether the legacy model's top prediction will be correct or incorrect.
- Conformal Calibration: The second half of the data is used to calibrate the prediction sets.
The authors propose two primary ways to integrate the auditor's predictions into conformal prediction:
- ACP with Marginal Coverage (ACP-MC): The auditor's failure probabilities are used to adjust and refine the legacy model's output distribution, which is then passed to a standard split conformal framework.
- ACP with Audited Conditional Coverage (ACP-ACC): The feature space is partitioned into bins based on the auditor's confidence scores. ACP then applies an augmented quantile regression over these bins to provide explicit group-conditional coverage guarantees.
Datasets
The authors evaluated ACP against several competitive baselines using both synthetic and real-world datasets:
- Synthetic Data: Designed to simulate various shifts, including concept shift (where intrinsic label noise increases based on certain coordinates), covariate shift, and homogeneous label noise.
- Camelyon17 (WILDS Benchmark): A binary tumor classification task using histopathological images, where domain shift naturally occurs because data is collected from different hospitals with varying patient populations and staining techniques.
- CIFAR-10 & CIFAR-10-C: The classic image dataset mixed with corrupted versions (specifically contrast corruptions at maximum severity) to simulate out-of-distribution deployment.
Key Insights and Ideas
- Dimension Reduction via Reliability: The audit model maps a high-dimensional, complex feature space down to a single scalar representing the probability of legacy model correctness. This scalar acts as an ideal, low-dimensional proxy for grouping similar instances during conditional calibration.
- Information Recycling: The auditor doesn't just look at raw features; it acts as a meta-model by consuming the legacy model's internal confidence patterns (e.g., top-two probability margins, penultimate-layer embeddings). This allows it to be highly accurate even when trained on very few samples.
- Retraining is Often Overkill: In many distribution shift scenarios (like localized label noise), the optimal decision boundaries don't actually change. Retraining a flexible model from scratch on limited data introduces unnecessary variance and dangerous overconfidence, whereas auditing preserves the stable parts of the legacy model.
Key Results
The experiments demonstrated that ACP variants consistently outperform standard conformal prediction and temperature scaling (AdaTS) under distribution shifts.
As shown in Figure 2, when evaluated on a 5-class synthetic dataset across varying calibration sample sizes:
- Standard CP and AdaTS suffer from severe conditional undercoverage, dropping to near 40% coverage on hard samples despite maintaining a nominal 90% marginal coverage.
- Full Retraining manages to improve coverage on hard samples but suffers from massive variance when data is scarce, producing overly conservative, bloated prediction sets across all samples.
- ACP variants (ACP-MC, ACP-ACC, ACP-AEC) successfully lift the conditional coverage of hard samples up to or near the target 90% threshold. Crucially, they do this adaptively—allocating larger prediction sets to hard samples and keeping sets small and efficient for easy samples.
Limitations and Future Work
While powerful, ACP has a few notable limitations:
- Data Splitting Penalty: Because the target dataset must be split to train the auditor and perform calibration separately, the method can be data-hungry in extremely low-data regimes.
- Auditor Dependency: The practical boost in conditional coverage is inherently bounded by the quality of the audit model. If the shift is so malicious that the auditor cannot find a signal, the conditional coverage improvements will degrade toward standard marginal coverage.
Future Directions: The authors point toward developing more data-efficient variations using cross-conformal or jackknife+ methods to eliminate the data-splitting penalty, as well as extending ACP to online or streaming settings where distribution shifts evolve continuously in real time.
Summary updated