Uncertainty quantification is crucial in safety-critical systems where decisions must be made under uncertainty. Conformal prediction (CP) is a powerful, principled technique for this: instead of outputting a single point prediction, it generates a prediction set mathematically guaranteed to contain the true label with a user-specified probability (e.g., 90%).
While recent "online" CP methods can handle arbitrary, non-i.i.d. data streams—such as adversarial distribution shifts—they almost universally rely on a full feedback assumption. This means they assume the system observes the true ground-truth label at every time step, regardless of the model's prediction. This paper introduces a novel online conformal prediction method designed for a more realistic and challenging partial feedback (or "semi-bandit") setting.
The Challenge of Partial Feedback
In many real-world, human-in-the-loop systems, feedback is partial. Consider a medical diagnosis system: if a doctor selects a diagnosis from a shortlist provided by an AI, and the true diagnosis isn't on that list, the AI doesn't immediately know what the correct answer was. It only knows that its prediction set missed.
This paper tackles this exact gap: achieving guaranteed online conformal prediction under adversarial data streams when the true label is only revealed if it lies inside the constructed prediction set.
Formulating CP as an Adversarial Bandit
To solve this, the authors formulate online conformal prediction as an adversarial multi-armed bandit problem.
The methodology relies on several key innovations:
- Arms as Thresholds: The continuous space of CP thresholds is discretized into $K$ candidate thresholds. Each threshold dictates the size of the prediction set and is treated as an "arm" the learner can pull.
- Custom Loss Function: The authors design a loss function that heavily penalizes miscoverage (missing the true label) while applying a lighter penalty for inefficiency (making the prediction set unnecessarily large).
- Regret-to-Coverage Conversion: A core theoretical contribution is proving that if a bandit algorithm achieves sublinear "regret" (a standard bandit metric), the excess miscoverage rate of the conformal predictor will vanish over time. This explicit mathematical link means any future advancements in adversarial bandit algorithms can be directly imported to improve conformal prediction.
Building on a classic adversarial bandit algorithm called EXP3.P, the authors propose EXP3.P-CP-UNLOCK, which introduces two critical mechanisms for the CP setting:
- The "Unlocking" Mechanism (Monotonicity is Free Feedback): In a standard bandit problem, you only get feedback on the arm you pulled. However, CP sets are nested (monotonic). If a small prediction set successfully covers the true label, any larger prediction set would have also covered it.
EXP3.P-CP-UNLOCKexploits this rule to "unlock" and update multiple arms simultaneously from a single observation, drastically speeding up learning. - Pseudo-gains for Self-Correction: When the model misses the label (and thus doesn't see the ground truth), the algorithm uses "pseudo-gains" to safely encourage the model to pick larger, more conservative sets in future rounds. The AI learns to calibrate its own uncertainty by "casting a wider net" next time, even without ground-truth correction.
Experimental Validation
The authors evaluated their methods on classification and regression tasks under both i.i.d. and distribution-shifted setups:
- Classification (ImageNet): Using a pre-trained ResNet-18 on 1,000 classes, they tested an i.i.d. stream and an adversarial score shift stream (where model probabilities are artificially flattened over time).
- Regression (UCI Airfoil): They tested an i.i.d. stream and a covariate shift stream where the input distribution abruptly changes partway through.
Key Results:
* Target Coverage Achieved: EXP3.P-CP-UNLOCK successfully approached target coverage levels (e.g., 85% for ImageNet, 90% for Airfoil) under both i.i.d. and adversarial/covariate shift settings.
* Balanced Efficiency: Compared to prior semi-bandit methods, the proposed approach avoids massive over-coverage, keeping prediction sets reasonably sized.
* Competitive with Oracles: Even restricted to partial feedback, the method performs competitively with baselines that "cheat" by seeing full feedback every round, requiring only a modest increase in prediction set size to maintain safety guarantees.
* Theoretical Guarantees: The authors mathematically prove that the coverage shortfall decays at a rate of $\mathcal{O}(\sqrt{K \ln K / T})$, ensuring long-term reliability.
Conclusion and Future Directions
This work successfully bridges adversarial bandit learning and online conformal prediction to handle realistic partial-feedback environments. By exploiting the nested structure of conformal sets, the method extracts maximum value from limited feedback.
A current limitation is that the algorithm learns a global threshold strategy rather than leveraging the specific context (the input features) of the current round to dynamically adjust the threshold. Extending both the algorithm and its theoretical analysis to contextual semi-bandit settings—allowing the model to output smaller sets for "easy" inputs and larger sets for "hard" inputs on the fly—remains a highly promising direction for future work.
Summary updated