Abstract
Conformal Prediction (CP) provides rigorous distribution-free coverage guarantees, ensuring that prediction sets contain the true label with a user-defined probability. However, when multiple valid conformal models are available, selecting the smallest set for a specific input—a process known as pointwise selection—typically invalidates the coverage guarantee due to selection bias. This paper introduces a framework based on algorithmic stability to address this challenge. By ensuring the selection mechanism is stable, we can quantify the necessary inflation of the error rate to maintain statistical validity. We propose several algorithms, including MinSE for optimal stable selection and AdaCOMA for online settings, demonstrating that pointwise selection can significantly improve prediction precision without sacrificing coverage.
Introduction
Conformal Prediction has become a cornerstone of uncertainty quantification because it offers a simple yet powerful guarantee: for a chosen error rate $\alpha$, the resulting prediction set $C(X)$ satisfies $P(Y \in C(X)) \ge 1 - \alpha$. This guarantee holds regardless of the underlying data distribution or the predictive model used, provided the data is exchangeable.
In practice, practitioners often have access to multiple non-conformity scores or different models (e.g., different architectures, hyperparameters, or training subsets). A natural goal is to select the most precise—i.e., the smallest—prediction set for any given input $X$. However, this "pointwise" selection introduces a dependency between the selection rule and the calibration data. If one simply picks the smallest set among several valid candidates for a specific individual, the resulting coverage often drops below $1 - \alpha$. This paper provides a theoretical and algorithmic framework to make such selections valid.
The Stability Framework for Selection
The core innovation of this work is the application of algorithmic stability to the problem of conformal selection. Stability, a concept frequently used in differential privacy and generalization theory, measures how much the output of an algorithm changes when its input is slightly perturbed.
Stable Selection Rules
The authors prove that if a selection mechanism is sufficiently stable, the coverage gap introduced by selection can be bounded. By slightly "inflating" the error rate (making the individual sets slightly larger), the system can compensate for the selection bias. This allows for a selection rule that adapts to the specific input $X$ while maintaining the global coverage guarantee.
MinSE: Minimum Stable Expectation
The primary algorithm introduced is MinSE, a randomized selection mechanism formulated as a linear program. MinSE assigns selection probabilities to different models to minimize the expected size of the chosen set, subject to a stability constraint. The authors demonstrate that MinSE is optimal among all stable selection rules, providing the tightest possible sets for a given stability level.
For practical implementation, the paper introduces two variants:
- AdaMinSE: An adaptive version that automatically tunes stability parameters, removing the need for manual hyperparameter optimization.
- Recal (Recalibration): Specifically designed for split conformal prediction, this method uses an auxiliary dataset to calculate "effective ranks." This allows for valid coverage without the conservative overhead of general stability bounds, leading to even tighter intervals.
Online and Sequential Selection
Beyond batch settings, the paper addresses the online setting where data arrives sequentially and distributions may shift over time. The authors introduce AdaCOMA, which integrates stability-based selection with existing model aggregation techniques like COMA. This allows the system to switch between models in real-time to adapt to changing data dynamics while preserving valid coverage throughout the sequence.
Experimental Evaluation
The framework was evaluated across synthetic and real-world datasets, including regression tasks (Abalone, California Housing, Bike Sharing) and time-series data (ELEC electricity pricing).
Key Findings
- Efficiency Gains: In heterogeneous environments—where different models excel in different regions of the feature space—the stability-based approach significantly reduced average prediction set sizes compared to picking a single "best-on-average" model.
- Online Precision: On the ELEC dataset, AdaCOMA reduced the average interval length from 0.69 to 0.31 compared to standard baselines, a massive improvement in precision while maintaining the $90\%$ coverage target.
- Tightness: The authors show that their stability-based coverage bounds are "tight," meaning they cannot be further improved without making more restrictive assumptions about the data distribution.
Discussion and Limitations
While the stability framework enables powerful pointwise adaptation, it is most beneficial in heterogeneous settings. If one model is strictly superior across the entire feature space, the stability constraint may introduce a slight overhead, resulting in slightly larger sets than the single best model. Additionally, the "Recal" method requires a data split for proxy calculations, which may be a constraint in small-sample regimes. Finally, while MinSE is computationally efficient, the requirement to solve a linear program for every prediction may pose challenges for ultra-high-frequency real-time applications.
Conclusion
This work bridges the gap between model selection and conformal validity. By leveraging algorithmic stability, it is possible to move beyond global model selection and embrace pointwise adaptation. This ensures that uncertainty quantification is not only statistically valid but also as precise as possible for every individual data point.
Summary updated