Loss-Controlling Calibration with Asymptotic Guarantees
Authors: Di Wang, Yujin Li, Junzhi Shi, Pingping Wang, Shuo Zhuang, Hongyue Li
Organizations: School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China · Tianjin Key Laboratory of Brain-inspired Intelligence Technology, School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China · School of Electrical and Electronic Engineering, Shandong University of Technology, Zibo 255000, China · Qingdao Academy of Chinese Medical Science, Shandong University of Traditional Chinese Medicine, Qingdao, Shandong 266112, China · School of Computer Science and Information Engineering, Hefei University of Technology, Hefei 230009, China
We propose a learning framework for calibrating predictive models to perform loss-controlling prediction, which extends our proposed conformal loss-controlling prediction framework to more general settings. In contrast to existing methods, the predictors built by the proposed approach are not restricted to set-valued predictors, and the loss function can be any measurable function without requiring monotonicity assumptions. The approach is a natural extension of conformal loss-controlling prediction, since it reduces to the latter when the predictors are set-valued with the nesting property and the losses are monotone. The loss-controlling guarantee of the proposed framework is established in the asymptotic setting and is empirically verified in selective regression and high-impact weather forecasting, demonstrating its effectiveness for the domains requiring general loss-controlling prediction.
Figures & tables
Dataset
Examples
Dimensionality
Source
abalone
4177
8
UCI
bank8fh
8192
8
Delve
bank8fm
8192
8
Delve
bank8nh
8192
8
Delve
bank8nm
8192
8
Delve
boston
506
13
UCI
Table 1: Datasets for Single-Target Regression
Figure 1: Frequencies of the prediction losses being greater than α vs. δ=0.1,0.15,0.2 on test data for selective single-target regression. The first row and the second row correspond to RF and ERT respectively. Different columns represent different α . The bars are all near or below δ , indicating the controlling guarantee of LCC empirically.
Figure 2: Miscoverage of selective predictions vs. δ=0.1,0.15,0.2 on test data for selective single-target regression. The first row and the second row correspond to RF and ERT respectively. Different columns represent different α . Tuning α and δ can change Miscoverage, which indicates the trade-off between loss level and informational efficiency.
Figure 3: Frequencies of the prediction losses being greater than α for different δ and α on test data of HighTemp and LowTemp datasets. All bars being near or below the preset δ confirms the controlling guarantee of LCC empirically.
Figure 4: Distributions of the prediction losses for different δ and α on test data of HighTemp and LowTemp datasets. The losses are controlled by α and δ properly to achieve the empirical validity in Figure 3.
Figure 5: Distributions of normalized sizes for different δ and α on test data of HighTemp and LowTemp datasets. The predictions have reasonable sizes for both U-Net and nDNN for high-impact weather forecasting.
Prediction sets provide a means of quantifying the uncertainty in predictive tasks. Using held out calibration data, conformal prediction and risk control can produce prediction sets that exhibit statistically valid error control in a computationally efficient manner. However, in the standard formulations, the error is only controlled on average over many possible calibration datasets of fixed size. In this paper, we extend the control to remain valid with high probability over a cumulatively growing calibration dataset at any time point. We derive such guarantees using quantile-based arguments and illustrate the applicability of the proposed framework to settings involving distribution shift. We further show that our guarantees are asymptotically tight, in the sense that the risks converge to the target level from below, and that the rate of our correction cannot be improved. Finally, we demonstrate the practical performance of our methods through both simulations and real-world numerical examples.
Bror Hultberg, Dave Zachariah, Antônio H. Ribeiro
Division of Systems and Control, Department of Information Technology, Uppsala University, Sweden · Science for Life Laboratory, Uppsala, Sweden
Calibration evidence for a predictive controller need not remain valid when operating-context frequencies change. We develop an audit and certification procedure for a declared family of context-density shifts, with a frozen predictor/controller and unchanged conditional outcome law. Coverage requires calibrated tests to span density-weighted selected-plan sensitivities. A residual Gram matrix yields the minimum augmentation rank and an optimal test budget for uncovered L2 geometry. This optimum need not minimize bias over probability-feasible conditional means. For finite contexts, an asymmetric absolute-loss dual and directional linear programs enclose the continuous worst-shift feasible bias. Intersecting simultaneous moment intervals with the conditional-mean domain gives a further certificate and a linear program for selecting an operating shift after validation. In a designed 240-context study, two spectral directions remove at least 80.8% of the feasible worst-case bias. For a separate misspecified logistic forecaster, matched sensitivity and generic corrections reduce expected cost by 2.590% and 3.239%, with the generic method winning all 200 refits. On 100,000 new episodes, both corrections certify absolute evaluation bias below the illustrative tolerance 0.04 throughout a declared shift interval, while the base certifies no shift. This outcome is highly predictable under the known synthetic law used for design. The probability-feasible certificate does not improve on the moment rectangle in this sample. The contribution is reusable evaluation and audit capability with explicit geometric and statistical limits, rather than recalibration superiority. Evidence uses synthetic finite contexts, known frequencies and committed plans; evaluation bias, oracle regret, constraint risk and feedback deployment remain distinct.
Victor M. Preciado
Department of Electrical and Systems Engineering · Department of Computer and Information Science
Conformal risk control (CRC) provides distribution-free guarantees for controlling the expected loss at a user-specified level. Existing theory typically assumes that the loss decreases monotonically with a tuning parameter that governs the size of the prediction set. However, this assumption is often violated in practice, where losses may behave non-monotonically due to competing objectives such as coverage and efficiency. In this paper, we study CRC under non-monotone loss functions when the tuning parameter is selected from a finite grid, a setting commonly arising in thresholding and discretized decision rules. Revisiting a known counterexample, we show that the validity of CRC without monotonicity depends critically on the relationship between the calibration sample size and the grid resolution. In particular, reliable risk control can still be achieved when the calibration sample is sufficiently large relative to the grid size. We establish a finite-sample guarantee for bounded losses over a grid of size m, showing that the excess risk above the target level α scales on the order of log(m)/n, where n is the calibration sample size. A matching lower bound demonstrates that this rate is sharp for the CRC selection rule under the same population-safe endpoint condition. We also derive refined guarantees under additional structural conditions, including Lipschitz continuity and monotonicity, and extend the analysis to settings with distribution shift via importance weighting. Numerical experiments on synthetic multilabel classification and real object detection data illustrate the practical implications of non-monotonicity. Methods that explicitly account for finite-sample uncertainty achieve more stable risk control than approaches based on monotonicity transformations, while maintaining competitive prediction set sizes.
Tareq Aldirawi, Yun Li, Wenge Guo
Department of Mathematical Sciences, New Jersey Institute of Technology, Newark, NJ, USA