arXiv:2611.12662cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12662

Certify, Report, or Refuse: Harm-Constrained Conformal Prediction for Clinical Actions

Zhiyuan Li, Lequan Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Routing a melanoma case to routine follow-up is a serious action error that diagnostic coverage alone does not rule out. We present Harm-Constrained Risk-Optimal Conformal Prediction (HC-ROCP), a training-free framework that uses frozen classifier probabilities and adds a harm penalty when choosing prediction sets and actions. We test the resulting policies on disjoint calibration splits with multiplicity adjustment. HC-ROCP certifies supported claims, reports descriptive fallback policies, and refuses unsupported subgroup claims. We evaluate these outputs retrospectively on COVID-19 radiographs, ISIC 2019 dermoscopy, and EyePACS-to-APTOS retinopathy transfer. Across ten calibration seeds, HC-ROCP reduces COVID-19 severe-action errors from the exact risk-optimal baseline's 4.68% to 0.54%. At a 5% budget, global claims are certified for COVID-19 and ISIC, but the rare squamous-cell-carcinoma claim is refused. At 1%, all settings receive descriptive reports. For each budget, we also report the minimum severe-case count needed to pass the global harm gate with zero errors, providing a starting point for further data collection.

Keywords: conformal prediction, conformal risk control, clinical decision support, medical imaging

Data and Code Availability We use publicly available medical-imaging benchmarks: COVID-19 chest radiographs (Chowdhury et al., 2020; Rahman et al., 2021), ISIC 2019 skin-lesion images (Codella et al., 2019; Tschandl et al., 2018; Hernández-Pérez et al., 2024), and an EyePACS-to-APTOS diabetic-retinopathy transfer split (EyePACS and California Healthcare Foundation, 2015; Asia Pa-

cific Tele-Ophthalmology Society (APTOS), 2019). Instructions for obtaining and preprocessing the datasets, together with the complete code implementation, are available at https://github.com/LZYEIL/HC-ROCP.

Institutional Review Board (IRB) This work does not require IRB approval as we analyze existing publicly available datasets.

1. Introduction

Medical-image classifiers can inform decisions about routine follow-up, further testing, or specialist referral. A serious error occurs when a severe condition receives an inappropriate action, such as routing melanoma to routine follow-up. Conformal prediction provides sets of possible diagnoses with marginal label-coverage guarantees (Vovk et al., 2005; Shafer and Vovk, 2008). Risk-Optimal Conformal Prediction (ROCP) uses these sets to choose downstream actions under a robust loss criterion (Wang and Dobriban, 2026).

Neither label coverage nor average loss directly controls how often a severe case receives a harmful action. A set may contain the true diagnosis even when the selected action is harmful, and low average loss can conceal errors concentrated in a rare severe class. Low observed error also needs enough data to support a population-level claim. In our ISIC study, for example, zero errors among 42 squamous-cell-carcinoma cases are insufficient to certify an error rate below 5% under our multiplicity correction. We therefore assess severe-action errors separately and test which global and subgroup claims the calibration data support.

Risk-controlling prediction sets, conformal risk control, and learn-then-test provide tools for evaluat-

† Corresponding author.

© 2026 Z. Li & L. Yu.

ing prespecified risks (Bates et al., 2021; Angelopoulos et al., 2024a, 2025). We use these tools to connect two tasks: constructing policies that target severe-action errors and auditing the evidence for their coverage and harm claims. The audit supports three reporting decisions: certify a supported claim, report a descriptive fallback policy, or refuse an unsupported subgroup claim.

We introduce Harm-Constrained Risk-Optimal Conformal Prediction (HC-ROCP), a framework based on frozen classifier probabilities. We extend ROCP's objective with a penalty for harmful actions, weighted by the predicted probability of a severe label. Varying this penalty and the coverage parameter produces a finite family of policies. Separate calibration splits test their coverage and harm rates with multiplicity adjustment. These tests determine the selected policy's global evidence label and which subgroup claims are supported. Figure 1 shows an actual output. Section 3 explains these labels before introducing the optimization.

We evaluate the method retrospectively in three imaging settings. On COVID-19, severe-action error is roughly ninefold lower than exact ROCP across ten calibration seeds, at higher modeled loss. ISIC tests whether aggregate evidence also supports a rare-subgroup claim. EyePACS-to-APTOS examines recalibration after a domain shift with few severe cases. No setting certifies at 1%. We vary the budget to identify which claims can pass and calculate the severe-case counts needed even with zero observed errors.

The paper makes three contributions:

  • We extend ROCP with a penalty for prespecified severe-action errors, targeting them during the construction of prediction sets and actions (Section 4).

  • We jointly test coverage and harm when selecting a policy, report descriptive fallbacks, and withhold unsupported subgroup claims (Sections 4.3 and 5).

  • We measure how subgroup size and candidate multiplicity affect certification, and how costs and referral options change the available policies (Section 7).

Figure

Reference diagnosis: MEL Set: {MEL, SCC} Modeled action: urgent specialist pathway Policy: expected-risk (descriptive) MEL subgroup: insufficient evidence

Figure 1: An ISIC melanoma case and the output of HC-ROCP. This MEL case receives an urgent action, a descriptive policy label, and refusal of the MEL subgroup claim at δ=1%\delta = 1\%.

References (33)