Introduction
Conformal Prediction (CP) has emerged as a robust framework for providing uncertainty estimates with rigorous coverage guarantees. By relying on the exchangeability of data, CP ensures that prediction sets contain the true label with a user-specified probability. However, many modern CP methods involve hyperparameters or tunable components—such as the penalty term in Regularized Adaptive Prediction Sets (RAPS) or temperature in scaling methods—that require optimization.
Standard protocols mandate a strict split between a "tuning" set and a "calibration" set to maintain validity. In many high-stakes, data-scarce domains like medical imaging, this split is often impractical. This paper investigates the "tuning bias" that arises when the same dataset is reused for both parameter tuning and calibration, establishing a formal Parametric Scaling Law to characterize this phenomenon.
The Problem of Data Reuse
When the same data is used to tune parameters and then to calibrate the conformal scores, the exchangeability assumption is violated. This leads to a "coverage gap" (CovGap), where the empirical coverage on new data falls short of the target level.
As shown in Figure 1, methods with low parameter complexity, such as Temperature Scaling (TS), exhibit negligible bias. In contrast, high-complexity methods like Vector Scaling (VS) or fine-tuned Conformal Training (ConfTr) show significant coverage degradation when data is reused.
Theoretical Framework and the Scaling Law
The authors formulate parameter tuning as a constrained Empirical Risk Minimization (ERM) problem. Using tools from statistical learning theory, including VC-dimension and empirical process theory, they derive upper bounds for the tuning bias.
The central contribution is the Parametric Scaling Law, which posits that the tuning bias follows a relationship of $O(\sqrt{d/n})$, where $d$ represents the dimension of the parameter space and $n$ is the number of calibration samples.
Figure 4 empirically validates this law. The left panel demonstrates that as the number of tunable parameters increases, the coverage gap grows. Conversely, the right panel shows that increasing the size of the calibration set helps mitigate this bias, even when data is reused.
Key Insights and Mitigation
- Complexity Matters: For simple methods (e.g., 1-parameter Temperature Scaling), data reuse is practically safe. The bias only becomes problematic as the parameter space expands.
- Order-Preserving Regularization: To allow data reuse in complex models, the authors propose "Order-Preserving" (OP) constraints. These constraints ensure that tuning does not alter the relative ranking of class probabilities, which significantly stabilizes the conformal scores.
- Empirical Success: On ImageNet, applying an OP constraint to the ConfTr method reduced the tuning bias from a prohibitive 21.68% to a manageable 0.40%, effectively enabling data reuse for sophisticated training-based CP.
Conclusion
This work provides both a theoretical foundation and practical guidelines for managing data reuse in conformal prediction. By understanding the scaling relationship between parameter complexity and sample size, researchers can determine when a data split is strictly necessary and when algorithmic constraints like order-preservation can substitute for additional data. Future work may focus on tightening these bounds for specific score functions to provide even more precise bias corrections.
Summary updated