arXiv:2609.38112stat.MLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.38112

ReCIRC: Rectified Conformal Risk Control

Bruno Marcondes e Resende, Helton Graziadei, Thiago Rodrigo Ramos, Rafael Izbicki

Abstract

Many applications of black-box predictive models require controlling task-relevant error rates, such as missed lesion pixels in segmentation or missed labels in multilabel classification. Conformal risk control (CRC; Angelopoulos et al. 2024) gives distribution-free guarantees for such losses, but it calibrates a single threshold shared by all inputs. Because conditional risk varies with the input, this marginal guarantee often overprotects easy cases and underprotects hard ones. We propose ReCIRC (Rectified Conformal Risk Control), which inverts each input's estimated local risk curve to reparameterize the calibrated threshold as a risk budget a representing a common target conditional risk, and then applies CRC unchanged to the resulting family. ReCIRC retains CRC's finite-sample marginal guarantee regardless of the accuracy of the estimated curves, while accurate curves yield approximate conditional risk control and, under additional conditions, asymptotically exact conditional risk control; they also support a risk-calibration diagnostic. Across three synthetic and five real-data settings spanning segmentation, multilabel and multiclass classification, and regression, ReCIRC attained the lowest average worst-group risk and mean positive group excess in every setting, while maintaining marginal risk close to the target, whereas changes in prediction size were application-dependent.

Keywords: conformal prediction; conformal risk control; distribution-free inference; conditional risk control; adaptive calibration

*Gratefully acknowledges support from FAPESP (grant 2025/04853-5)

†^{\dagger}Gratefully acknowledges support from FAPESP (grant 2026/21108-4)

‡^{\ddagger}Gratefully acknowledges support from CNPq (grants 305065/2023-8 and 403458/2025-0) and FAPESP (grants 2023/07068-1 and 2025/24620-5).

1 Introduction

Black-box predictive models are now embedded in many consequential scientific and clinical workflows (Wang et al. 2023, Topol 2019); examples include segmentation networks that delineate polyps in colonoscopy images, multilabel and hierarchical classifiers, and open-domain question-answering systems (Fan et al. 2020, Lin et al. 2014, Deng et al. 2009, Kwiatkowski et al. 2019). In these applications, point predictions alone are not enough. Practitioners need guarantees that errors of specific, task-relevant kinds, such as missed lesion pixels, missed labels, semantically distant predictions, occur at a controlled rate.

Conformal prediction provides such guarantees for the miscoverage of prediction sets: wrapped around any predictive model, it produces sets that contain the true response with a prescribed probability, without assumptions on the data-generating distribution beyond exchangeability (Vovk et al. 2005, Lei et al. 2018, Angelopoulos & Bates 2023). Conformal risk control (CRC; Angelopoulos et al. 2024) extends this idea from miscoverage to arbitrary bounded losses that shrink as predictions become more protective: given a family of decision rules {fλ:λ∈Λ}\{f_\lambda : \lambda \in \Lambda\} ordered so that larger λ\lambda yields a smaller loss ℓ(fλ(x),y)\ell(f_\lambda(x), y), CRC calibrates a data-driven threshold λ^\widehat{\lambda} such that the expected loss of f_\widehat{\lambda} on a new covariate-response pair (X,Y)(X, Y) is at most a target level α\alpha. This covers, among others, the false-negative rate of segmentation masks and label sets, graph-distance losses in hierarchical classification, and F1-based losses in question answering.

Despite its generality, CRC calibrates a single global parameter shared by every input. The core difficulty is that a raw threshold is not a risk scale: the conditional risk R(λ∣x)=E{ℓ(fλ(X),Y)∣X=x}R(\lambda \mid x) = \mathbb{E}\{\ell(f_\lambda(X), Y) \mid X = x\} typically varies with xx, so the same λ\lambda that yields nearly zero conditional risk on easy inputs can leave hard inputs far above the target level. Because the guarantee averages over the covariate distribution, it can overprotect easy inputs while leaving difficult inputs above the target.

To address this limitation, we propose risk rectification. The idea is to keep the CRC calibration step untouched but change the parameter on which it operates: instead of calibrating the raw threshold λ\lambda, we first convert the original family into a new family indexed by a risk budget a, obtained by inverting each input's local risk curve. In the oracle version, the same value of a has the same interpretation at every input x: it is the desired conditional expected loss. In practice, the local risk curves are estimated, and ordinary CRC is applied to the resulting reparameterized family to ensure distribution-free guarantees. We call the resulting framework ReCIRC (Rectified Conformal Risk Control). The CRC guarantee does not require the estimated risk curves to be correct: poor estimates can reduce local adaptivity, but they cannot invalidate finite-sample marginal risk control. Accurate estimates, in turn, make the calibrated budget an approximately common conditional-risk scale, and we provide a graphical goodness-of-fit diagnostic that targets exactly this property.

Figure 1 illustrates this phenomenon in the polyp-segmentation experiment. For each image, the false-negative rate (FNR) is the fraction of ground-truth polyp pixels omitted from the predicted mask; the conditional FNR shown in each difficulty bin is the average of this fraction over the images in that bin. Global CRC concentrates these missed pixels among difficult inputs, whereas ReCIRC keeps the conditional FNR closer to the target across difficulty levels.

Paper Outline. Section 2 reviews CRC; Sections 3 and 4 present ReCIRC and its guarantees; and Section 5 evaluates the method. Algorithms, proofs, and worked examples appear in the appendices.

Same global target: α=0.10\alpha = 0.10

Figure

Easy examples

Hard examples

Figure

Figure

Figure 1: Flattening the risk curve. Conditional false-negative rate (FNR) by difficulty in the polyp-segmentation experiment (Section 5; target α=0.10\alpha = 0.10). Global CRC's FNR rises sharply on difficult images, whereas ReCIRC keeps it near the target. Curves show means and 95% confidence intervals over 20 repetitions; images illustrate the easiest and hardest bins.

References (58)