Manuscript Offprint
arXiv:2611.01512Abstention Spends Its Budget on Local Label Variance More Than on Novelty: Auditing Conformal Calibration and Selective Prediction under Molecular Scaffold Shift
ABSTRACT
Selective prediction with split conformal calibration is an attractive post-hoc fix for the translation gap in molecular property prediction: abstain on the least reliable compounds, and the retained set should become trustworthy without retraining. The implicit hope is that abstention concentrates on out-of-distribution chemistry. We audit this recipe for a gradient-boosted fingerprint model on one regression (lipophilicity) and one imbalanced classification (BBBP) endpoint under a Bemis–Murcko scaffold split, holding the fitted model and the evaluation molecules fixed while varying only the calibration fold, over 18 replicates. (i) On lipophilicity, whether conformal calibration restores coverage depends on where the calibration fold comes from: calibrating on held-out molecules from the training scaffolds falls below nominal (PICP 0.841 at a target of 0.90), while calibrating on novel-scaffold molecules recovers it (0.904); on BBBP, coverage stays above nominal in every regime. (ii) For split conformalized quantile regression the conformal correction is a constant, so ranking by interval width is ranking by the base model's quantile width; conformalization does not change what is abstained on. (iii) The abstention score (CQR width on lipophilicity; effectively ensemble variance on BBBP) tracks local label variance more than chemical novelty: controlling for local label variance largely explains away the novelty association (partial Spearman 0.067 and 0.047). (iv) At the pre-specified operating point and across an exploratory sweep of 20 budget-threshold settings, gating on interval width or ensemble variance never improves hit precision over ranking by point prediction; a plain novelty gate shows small, uncorrected gains at the smallest budgets. (v) In an exploratory analysis, exact conformal selection with Benjamini–Hochberg exceeds its false discovery rate target at every level under training-scaffold calibration (FDR 0.303 at ) and is statistically consistent with it under novel-scaffold calibration; its contribution is a data-driven batch size with an error guarantee rather than a better ranking. In these experiments, conformalization earns its keep through guarantees whose validity hinges on calibration provenance, not by choosing what to abstain on.
Keywords Conformal prediction · Selective prediction · Uncertainty quantification · Distribution shift · Scaffold split · Molecular property prediction · Drug discovery
1 Introduction
In design–make–test–learn loops, a property predictor that is accurate on a random split but silently overconfident on a new chemical series spends scarce assay budget on wrong predictions it presents as certain. Uncertainty quantification is the standard response [1, 2], and split conformal prediction [3–6] is especially attractive: it wraps any fitted model, requires no retraining, and delivers a finite-sample, distribution-free coverage guarantee under exchangeability. Paired with selective (reject-option) prediction [7, 8], it promises a decision-aware operating point: abstain on the least reliable fraction and the retained set becomes trustworthy. The implicit hope is that abstention concentrates on out-of-distribution chemistry—novel scaffolds a model should not be confident about.
We audit that hope in a controlled setting. On the same fitted model and the same evaluation molecules, we contrast calibration on held-out molecules from the training scaffolds with calibration on molecules from novel scaffolds, which is exchangeable with the evaluation set. We then ask what the abstention signal selects, whether abstaining improves fixed-budget hit finding, and where conformal guarantees do pay off. We find:
(i) Coverage depends on calibration provenance. On lipophilicity, training-scaffold calibration falls below nominal under scaffold shift, while novel-scaffold calibration recovers it, on identical models and molecules; on BBBP, coverage stays above nominal in every regime (§4.1).
(ii) Conformalization does not change the abstention ranking. For split CQR the calibrated interval is the base quantile interval widened by a constant (Remark 1), so width-based abstention inherits the base model's ranking (§4.2).
(iii) The ranking tracks local label variance more than novelty. Its association with novelty is largely explained away by local label variance, a quantity that mixes measurement noise with structure-activity heterogeneity and itself rises with novelty (§4.2).
(iv) Uncertainty gates do not beat point-prediction ranking at fixed budget. At the pre-specified operating point and across an exploratory sweep, width and ensemble-variance gates are never better and usually significantly worse; a novelty gate is better only at the smallest budgets (§4.3).
(v) FDR control in conformal selection depends on calibration provenance (exploratory). Exact conformal selection [9] exceeds its target at every level under training-scaffold calibration and is consistent with it under novel-scaffold calibration (§4.4).
Findings (i) and (v) confirm, in a controlled comparison, what exchangeability predicts and what drift studies on toxicity data have reported [10]; findings (ii)–(iv) concern what abstention actually selects. The scope is one model family, two endpoints and one scaffold split (§5).
Uncertainty, calibration and selective prediction. Selective prediction trades coverage for risk via a reject option [7, 8]. Ensembles are a strong uncertainty baseline [20]; uncertainty is often decomposed into aleatoric and epistemic parts [21]; calibration is typically measured with ECE [22, 23] and degrades under dataset shift [24]. Molecular UQ benchmarks [1, 2] find no uniformly dominant method, and similarity to the training set has long been known to predict QSAR accuracy [25].
Selection with error control. Conformal selection [9] turns conformal -values into a candidate list with Benjamini–Hochberg [26] false discovery rate (FDR) control, which matches the assay-batch decision more directly than marginal coverage; weighted conformal -values extend it to covariate shift [27].
Molecular shift and label heterogeneity. Scaffold splits [28, 29] and time splits [30] emulate prospective deployment. Activity cliffs—structurally similar molecules with very different properties [31]—are a known failure mode of molecular ML [32] and one source of the local label heterogeneity we measure.
3 Setup
Data and model. Lipophilicity (, regression, label s.d. 1.20) and BBBP (, classification, positive rate 0.76) from MoleculeNet [29], canonicalized and deduplicated by SMILES. Features are 2048-bit ECFP4 [33] plus ten RDKit [34] descriptors. The base predictor is LightGBM [35]: a mean model, two quantile models at levels and for CQR, and three bootstrap-bagged members for an ensemble-variance baseline.
Split and calibration regimes. A Bemis–Murcko scaffold split [28] assigns scaffold groups, largest first (ties, including all singleton scaffolds, broken by row order in the deduplicated dataset), to a pool holding 70% of the molecules; this split is deterministic and identical in every replicate. Because the pool absorbs every multi-molecule scaffold group, all remaining molecules (1260 for lipophilicity, 593 for BBBP) have scaffolds that occur only once in the dataset; this is our notion of novel chemistry. In each replicate a random 15% of the pool is held out as CAL, which shares scaffolds with training, and the model is fit on the rest (FIT); the novel remainder is split uniformly at random into CAL (34%) and EVAL (lipophilicity: , , , ; 0 FIT–EVAL scaffold overlap). Regime A calibrates on CAL, which is not exchangeable with EVAL. Regime B calibrates on CAL, which is exchangeable with EVAL given the remainder, so split-conformal coverage and the conformal-selection FDR guarantee hold exactly in B; it is an oracle in that it requires labels on novel-scaffold molecules. A random split with the same block sizes is an in-distribution control. Replicates thus re-draw CAL, the CAL/EVAL assignment and the model seeds within one fixed scaffold split (mean Jaccard overlap of EVAL sets across replicate pairs: 0.49 for lipophilicity), so all intervals are conditional on that split.
Conformal procedures. We use split CQR [11] for regression and randomized APS [12] for classification at level . For CQR the calibration scores are , is their -th smallest value, and . Our APS implementation replaces an empty prediction set with the top class, which adds coverage (Appendix C).
Remark 1 (Width ordering under split CQR). , and does not depend on . Hence any rule that ranks or thresholds test molecules by at a quantile of the test widths selects exactly the same molecules as the same rule applied to the uncalibrated quantile width . The conformal step changes coverage, not the ordering.
The same holds for our covariate-shift-weighted variant, which reweights calibration scores by a domain-classifier density ratio [15] but replaces the test-point weight with the largest calibration weight (a heuristic, not a bound), so that remains a scalar; the exact construction of Tibshirani et al. [15] has an -dependent and could re-rank. For BBBP, prediction sets contain one or two labels and 83% of EVAL molecules receive a single label in regime A, so the abstention score—set size with ties broken by ensemble variance—is effectively the bagged-ensemble variance (Spearman 0.982 with it).
Covariates and metrics. For each EVAL molecule we record molecular novelty 1 – max Tanimoto (ECFP4) to any FIT molecule; scaffold novelty, the same on Murcko scaffolds; local label variance, the (population) variance of labels among its highest-Tanimoto FIT neighbours; and the realized error (, or misclassification for BBBP). The enrichment of an abstained set for a covariate is the fraction of abstained molecules in the covariate's top quartile divided by 0.25; for BBBP errors it is the abstained misclassification rate divided by the overall rate. For regression we report PICP and MPIW (empirical coverage and mean width of the intervals) and RMSE; for classification, coverage, ECE (ten equal-mass bins), Brier score and NLL.
Decision protocol. A hit is a label at or above , the 80th percentile of FIT labels (0.2% of EVAL labels equal ). With an assay budget (a fraction of EVAL), a gate removes the top fraction of EVAL by its score (width, ensemble variance or novelty) and the remaining molecules are ranked by point prediction and the top selected; NAIVE ranks all molecules by . Conformal selection [9] tests the null with the clipped score ( exceeding the label range) and the randomized -values
where and count calibration nulls () with and , respectively, and then applies Benjamini–Hochberg at level ; this controls FDR at when calibration and test points are exchangeable [9]. The count is monotone in , so the selected set consists largely of the top- molecules by point prediction for a data-dependent , with the randomization reordering molecules whose counts tie. We estimate FDR as the replicate mean of the false discovery proportion, with FDP := 0 for an empty selection (the quantity BH controls).
Statistics and pre-specification. The primary analyses (; 18 replicates; split fractions; ; abstention budgets % with top-quartile thresholds; assay budget 15%; hit quantile 0.80; FDR level 0.2) were fixed in the configuration of the original 18-replicate experiments (SHA-256 prefix 926171a32b97), which predates all additional analyses. The abstention fraction and the model hyperparameters were fixed in the original code but are not part of the hash. The additional analyses—exact conformal selection, the FDR levels 0.1 and 0.3, the budget-threshold sweep, the novelty gate, the uncalibrated-width control and the diagnostics in Appendices C and E—were added later and are exploratory. Intervals are 95% percentile-bootstrap intervals over replicates (9 replicates for the sweep), policy comparisons are paired by replicate, and none is corrected for multiple comparisons.
Table 1: Coverage and calibration under scaffold shift (; mean over 18 replicates, 95% bootstrap interval). Lipophilicity falls below the 0.90 target only under training-scaffold calibration (A). BBBP coverage is inflated by the non-empty-set rule of our APS implementation (unforced values in Appendix C). Coverage depends on the calibration regime; ECE, Brier and NLL are properties of the fitted model and are shared across regimes.
| Lipophilicity (regression; CQR) | |||
|---|---|---|---|
| Split / calibration | PICP | MPIW | RMSE |
| random (control) | 0.905 [0.897, 0.912] | 2.81 | 0.658 |
| scaffold, A (train-side) | 0.841 [0.831, 0.849] | 2.67 | 0.784 |
| scaffold, B (novel-scaffold) | 0.904 [0.894, 0.913] | 3.08 | 0.784 |
| BBBP (classification; APS) | ||||||
|---|---|---|---|---|---|---|
| Split / calibration | Coverage | Cov. (minority) | |C| | ECE | Brier | NLL |
| random (control) | 0.930 [0.924, 0.937] | 0.787 | 1.10 | 0.075 | 0.091 | 0.479 |
| scaffold, A (train-side) | 0.968 [0.963, 0.972] | 0.909 | 1.17 | 0.046 | 0.065 | 0.235 |
| scaffold, B (novel-scaffold) | 0.952 [0.948, 0.957] | 0.866 | 1.10 | 0.046 | 0.065 | 0.235 |
4 Results
4.1 Coverage under shift depends on calibration provenance
On lipophilicity, calibration on training-scaffold molecules (A) falls below nominal: PICP 0.841 [0.831, 0.849] against a target of 0.90. Calibration on novel-scaffold molecules (B) is at nominal, 0.904 [0.894, 0.913], on the same model and molecules, and so is the random-split control (0.905 [0.897, 0.912]; Table 1). The coverage guarantee does not apply in A, where calibration and test points are not exchangeable; varying only the calibration fold attributes the shortfall to it. The gap persists across the sweep (Figure 1a): at nominal 0.95/0.90/0.80, regime A attains 0.905/0.836/0.736 and regime B 0.952/0.902/0.804. (A Gaussian miscalibration-area summary ranks A ahead of B; Appendix F explains why we do not use it.)
BBBP behaves differently: all three BBBP settings exceed 0.90 (random 0.930 [0.924, 0.937], A 0.968 [0.963, 0.972], B 0.952 [0.948, 0.957]). In the exchangeable settings this is almost entirely the non-empty-set rule (it accounts for 81% and 97% of the excess; unforced coverage 0.906 and 0.901). In A the rule accounts for only 34% of the excess and unforced coverage is still 0.945 (Appendix C), an empirical outcome without a guarantee. ECE and the proper scores also improve under the scaffold split (ECE 0.075→0.046; Brier 0.091→0.065; NLL 0.479→0.235), alongside a shift in class balance (EVAL positive rate 0.76 in the random split vs. 0.82 under the scaffold split). Marginal APS under-covers the minority (non-penetrant) class even in the exchangeable random control (0.787), so the under-coverage itself is a property of marginal APS; its size follows overall coverage and therefore the calibration fold (0.866 in B, 0.909 in A; paired difference 0.043 [0.025, 0.061]). Class-conditional calibration raises B's minority coverage to 0.942 at the cost of larger sets (1.10 → 1.19; Appendix D).
4.2 What does the abstention signal select? Local label variance more than novelty
By Remark 1, the lipophilicity abstention score is the base model's quantile width: abstaining on the top 20% by conformal width and by uncalibrated quantile width selects identical batches in every replicate (maximum absolute precision difference 0). For BBBP the score is effectively ensemble variance (§3).
In regime A (Figure 2; Appendix B) the score tracks local label variance more than chemical novelty: Spearman is 0.309 vs. 0.184 on lipophilicity and 0.528 vs. 0.158 on BBBP (scaffold novelty: 0.165 and 0.190). Controlling for local label variance largely explains away the novelty association—partial 0.067 [0.055, 0.077] and 0.047 [0.026, 0.068], reduced but still above zero—whereas the variance association survives controlling for novelty (0.254 and 0.497). A 10% abstention budget is accordingly enriched for high-variance molecules (1.73× and 2.59× over random) more than for novel ones (1.25× and 1.33×). The abstained set is also enriched for realized error (1.65× and 4.83×), but error does not follow the same pattern: on lipophilicity it is associated more with novelty ( 0.220) than with local label variance (0.156), and the width-error association is only partly explained by local label variance (partial 0.113 vs. raw 0.157), so on lipophilicity the score under-weights a signal that matters for error. On BBBP the pattern reverses: error is associated with local label variance (0.263) far more than with novelty (0.041).

Figure 1: Coverage depends on calibration provenance. (a) Realized vs. nominal coverage on lipophilicity under the scaffold split (9 replicates; the base quantile models are fixed at levels 0.05/0.95 and only the conformal level varies): training-scaffold calibration (A) falls below nominal at every level, novel-scaffold calibration (B) tracks it. (b) Coverage at by split and regime (95% bootstrap intervals); BBBP values include the non-empty-set rule.


(c) Raw vs. partial correlation
Figure 2: The abstention score follows local label variance more than novelty (regime A). (a,b) Enrichment of the abstained set relative to random abstention (1.0) for molecular novelty, local label variance and realized error across abstention budgets; on BBBP (b) the score is effectively ensemble variance. (c) Raw and partial Spearman correlation of the score with molecular novelty and with local label variance; controlling for variance largely removes the novelty association, not vice versa. Error bars: 95% bootstrap intervals over replicates.
Two caveats bound this interpretation. First, local label variance is not identified assay noise: variance among distinct neighbours mixes measurement noise with structure-activity variation and activity cliffs [31, 32], the data contain no replicate measurements [cf. noise ceilings in molecular datasets, 36], and the proxy (replicate mean 0.856) exceeds the EVAL mean squared error (0.615), so it cannot show that error is noise-dominated (Appendix E). Second, local label variance itself rises with novelty ( 0.426 on lipophilicity), because novel molecules have less similar neighbours, so the partial correlations cannot fully separate label heterogeneity from novelty-induced neighbourhood sparsity. We therefore read the score as an estimate of local label dispersion in the training data rather than as a novelty estimate.
4.3 Decision cost: uncertainty gates do not beat point-prediction ranking
At the primary operating point ( of EVAL, i.e. 124 compounds; ), ranking by point prediction attains precision 0.615 [0.601, 0.628] against a hit base rate of 0.218. No gate improves on it (Table 2, Figure 3a). The paired uplift is for conformal width and, identically by Remark 1, for
Table 2: Fixed-budget hit finding on lipophilicity (regime A, of EVAL, gates drop the top 20% by their score; mean and paired 95% bootstrap interval over 18 replicates; hit base rate 0.218). The three width rows are identical by construction (Remark 1).
| Policy (select top- by point prediction among retained) | Precision | Paired uplift vs. NAIVE |
|---|---|---|
| point prediction, no UQ (NAIVE) | 0.615 [0.601, 0.628] | — |
| abstain: CQR width (conformal) | 0.591 [0.575, 0.607] | -0.024 [-0.035, -0.015] |
| abstain: quantile width (uncalibrated) | 0.591 [0.575, 0.607] | -0.024 [-0.035, -0.015] |
| abstain: shift-weighted CQR width | 0.591 [0.575, 0.607] | -0.024 [-0.035, -0.015] |
| abstain: ensemble variance | 0.590 [0.577, 0.603] | -0.025 [-0.034, -0.015] |
| abstain: novelty (1 – max Tanimoto) | 0.607 [0.593, 0.622] | -0.008 [-0.017, +0.001] |
| rank by conformal lower bound | 0.444 [0.432, 0.457] | -0.171 [-0.185, -0.156] |


Figure 3: Uncertainty gates never beat point-prediction ranking; an exploratory novelty gate helps only at the smallest budgets. (a) Paired precision uplift over NAIVE at the primary operating point (95% bootstrap intervals; ranking by the conformal lower bound, -0.171, is omitted for scale). (b–d) Mean paired uplift across assay budgets (rows) and abstained fractions (columns) for the CQR-width, novelty and ensemble-variance gates; bold values have 95% intervals that exclude zero (not corrected for multiple comparisons).
the uncalibrated quantile width; -0.025 [-0.034, -0.015] for ensemble variance; and -0.008 [-0.017, 0.001] for a novelty gate, which is indistinguishable from NAIVE here. Ranking by the conformal lower bound is far worse (-0.171 [-0.185, -0.156]).
The exploratory sweep (Figure 3b–d) covers 20 settings per gate (5 budgets × 4 abstention fractions). Width and ensemble-variance gates are never significantly better than NAIVE and are significantly worse in 16 and 16 of the 20 settings, respectively. The novelty gate is significantly better in 3 settings (2 at and 1 at ; at its mean uplift ranges from +0.018 to +0.034 across abstention fractions) and significantly worse in 10 settings with larger budgets or heavier abstention. With 60 uncorrected comparisons and small effects, we treat this as a hypothesis. The top of the point-prediction ranking suggests a mechanism: at , the top-ranked molecules include 22% from the top novelty quartile (vs. 25% overall), and those novel molecules are hits less often than the rest of the batch (precision 0.579 vs. 0.732), consistent with Sheridan et al. [25]; removing them helps only while the batch is small.
Table 3: Exact conformal selection [9] on lipophilicity with p-values from Eq. (1). FDR is the replicate mean of FDP with FDP := 0 for empty selections (95% bootstrap interval); precision is pooled over all selected compounds; “Top-k by ” is the pooled precision of point-prediction ranking at the same batch sizes; “Overlap” is the mean fraction of selected compounds among that top-k (18 replicates).
| Calibration | q | FDR (mean FDP) | Empty | # sel. mean (median) | Prec. (pooled) | Top-k by | Overlap |
|---|---|---|---|---|---|---|---|
| A (train-side) | 0.1 | 0.298 [0.180, 0.448] | 28% | 16.1 (12.5) | 0.707 | 0.714 | 0.71 |
| A (train-side) | 0.2 | 0.303 [0.243, 0.355] | 6% | 44.8 (46.5) | 0.677 | 0.677 | 0.89 |
| A (train-side) | 0.3 | 0.358 [0.335, 0.380] | 0% | 91.8 (91.0) | 0.639 | 0.639 | 0.99 |
| B (novel-scaffold) | 0.1 | 0.139 [0.000, 0.306] | 67% | 0.7 (0.0) | 0.538 | 0.769 | 0.28 |
| B (novel-scaffold) | 0.2 | 0.165 [0.082, 0.252] | 33% | 15.9 (5.5) | 0.661 | 0.657 | 0.83 |
| B (novel-scaffold) | 0.3 | 0.302 [0.230, 0.368] | 17% | 72.2 (61.0) | 0.600 | 0.603 | 1.00 |

Figure 4: FDR control depends on calibration provenance. (a) Realized FDR of exact conformal selection against the target level ; the dashed line is FDR = . (b) Mean number of true hits selected. 95% bootstrap intervals over replicates.
4.4 Where conformalization pays off: FDR-controlled selection
Conformal selection offers a guarantee for the screening decision itself. Under novel-scaffold calibration (B), where its assumptions hold, the realized FDR is statistically consistent with the target at every level (Table 3, Figure 4): 0.139 [0.000, 0.306], 0.165 [0.082, 0.252] and 0.302 [0.230, 0.368] at , 0.2, 0.3 (at , 67% of replicates select nothing). Under training-scaffold calibration (A) it exceeds the target at every level, with intervals excluding : 0.298 [0.180, 0.448], 0.303 [0.243, 0.355] and 0.358 [0.335, 0.380]. The paired A–B difference is significant at 1 of the three levels (0.138 [0.025, 0.245] at ). The mechanism mirrors the coverage shortfall of §4.1: CAL molecules share scaffolds with the training set, so the model is more accurate on them than on novel chemistry, too few calibration nulls receive high predictions, and the -values of novel test molecules come out too small.
Conformal selection contributes a stopping rule, not a better ranking. Because the count in its -values is monotone in the point prediction, the selected set overlaps heavily with the top- molecules by (mean overlap 0.83 in B at ; the rest reflects randomization among tied counts), and its pooled precision (0.661) is close to that of point-prediction ranking at the same (0.657). Its value is a data-driven batch size with an error guarantee—in B at , 15.9 compounds on average (median 5.5, maximum 80)—and it requires labels on 428 novel-scaffold molecules. A more conservative variant we used initially (Appendix G) has a mean FDP under A of 0.186 [0.115, 0.257] at , consistent with the target, at the cost of selecting nothing in 39% of replicates.
5 Discussion
What conformal prediction buys here. Conformalization provides guarantees—marginal coverage, FDR on a selected batch—whose validity is a property of the calibration data, not of the model. Calibrating on held-out molecules from the training scaffolds, the cheapest option available to a team, is not exchangeable with new chemistry: on lipophilicity both nominal targets are missed there, coverage (§4.1) and FDR (§4.4), while BBBP coverage stays above nominal, though without a guarantee. With calibration that is exchangeable with the screened chemistry, conformal selection yields a batch whose FDR is consistent with the target, but the batch is small and variable, and its precision matches point-prediction ranking at the same size. What conformalization does not do is decide what to abstain on: for split CQR that ranking is the base model's, and here it follows local label dispersion more than novelty, while the only gate that ever improved hit precision was an exploratory novelty gate at the smallest budgets.
Reporting recommendations. (1) State the calibration regime alongside any coverage or FDR claim. (2) Distinguish the base model's uncertainty ranking from the conformal calibration step, and report the uncalibrated control. (3) For selection procedures, report the empty-selection frequency, the FDP convention, and point-prediction precision at the same batch size. (4) Do not attribute abstention to measurement noise without replicate measurements. (5) Evaluate abstention against point-prediction ranking at fixed budget, across budgets, and against a plain novelty gate.
Limitations. We study one model family (gradient boosting on fingerprints) with a weak epistemic baseline (three bagged members; stochastic-gradient-boosting ensembles are a stronger option [37]); tree ensembles may represent distance from the training data poorly, and a message-passing network or deep ensemble [20, 38, 39] could behave differently. All results are conditional on one deterministic scaffold split of two MoleculeNet endpoints; shift is simulated rather than prospective [30], and EVAL contains only singleton scaffolds. We do not test other deployable calibration choices—a scaffold-held-out fold from the training pool, exact weighted conformal prediction with an -dependent [15], or weighted conformal selection [27]—which are the natural remedies for the regime-A failures. Local label variance is related to novelty and only loosely bounds irreducible noise. The BBBP results include the non-empty-set rule. Decision and selection experiments use the regression endpoint only, the sweep and the additional analyses are exploratory and uncorrected for multiple comparisons, and -nearest-neighbour ties make the local-variance statistics weakly platform-dependent (Appendix A).
6 Conclusion
Holding the model and evaluation molecules fixed and varying only the calibration fold separates what conformal prediction guarantees from what it is often assumed to do. In our experiments with a gradient-boosted fingerprint model under scaffold shift, coverage on the regression endpoint and FDR in conformal selection tracked calibration provenance; the abstention ranking was the base model's and followed local label variance more than novelty; and no uncertainty-based gate beat ranking by point prediction at a fixed assay budget. Conformal guarantees were useful only when the calibration data resembled the screened chemistry, which here required labels on novel-scaffold molecules.
Reproducibility statement
All experiments are in a single notebook executed on Modal in a pinned environment (Python 3.13, RDKit 2026.03.6, LightGBM 4.6.0, NumPy 2.1.3, pandas 2.2.3, scikit-learn 1.6.1, SciPy 1.16.3) with OpenMP threads fixed to two; tables, figures and in-text numbers are generated from its outputs by a script, and cached per-molecule predictions are retained so that follow-up analyses need no retraining (Appendix A). Code, configuration, results and cached predictions: https://github.com/arnavsriva/conformal-abstention-scaffold-shift.
References
[1] Lior Hirschfeld, Kyle Swanson, Kevin Yang, Regina Barzilay, and Connor W. Coley. Uncertainty quantification using neural networks for molecular property prediction. Journal of Chemical Information and Modeling, 60(8): 3770–3780, 2020.
[2] Gabriele Scalia, Colin A. Grambow, Barbara Pernici, Yi-Pei Li, and William H. Green. Evaluating scalable uncertainty estimation methods for deep learning-based molecular property prediction. Journal of Chemical Information and Modeling, 60(6):2697–2717, 2020.
[3] Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, 2005.
[4] Harris Papadopoulos, Kostas Proedrou, Volodya Vovk, and Alex Gammerman. Inductive confidence machines for regression. In European Conference on Machine Learning (ECML), pages 345–356, 2002.
[5] Jing Lei, Max G'Sell, Alessandro Rinaldo, Ryan J. Tibshirani, and Larry Wasserman. Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111, 2018.
[6] Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023.
[7] Ran El-Yaniv and Yair Wiener. On the foundations of noise-free selective classification. Journal of Machine Learning Research, 11:1605–1641, 2010.
[8] Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
[9] Ying Jin and Emmanuel J. Candès. Selection by prediction with conformal p-values. Journal of Machine Learning Research, 24(244):1–41, 2023.
[10] Andrea Morger, Marina Garcia de Lomana, Ulf Norinder, Fredrik Svensson, Johannes Kirchmair, Miriam Mathea, and Andrea Volkamer. Studying and mitigating the effects of data drifts on ML model performance at the example of chemical toxicity data. Scientific Reports, 12:7244, 2022.
[11] Yaniv Romano, Evan Patterson, and Emmanuel Candès. Conformalized quantile regression. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
[12] Yaniv Romano, Matteo Sesia, and Emmanuel Candès. Classification with valid and adaptive coverage. In Advances in Neural Information Processing Systems (NeurIPS), 2020.
[13] Anastasios N. Angelopoulos, Stephen Bates, Michael Jordan, and Jitendra Malik. Uncertainty sets for image classifiers using conformal prediction. In International Conference on Learning Representations (ICLR), 2021.
[14] Vladimir Vovk. Conditional validity of inductive conformal predictors. In Asian Conference on Machine Learning (ACML), pages 475–490, 2012.
[15] Ryan J. Tibshirani, Rina Foygel Barber, Emmanuel Candès, and Aaditya Ramdas. Conformal prediction under covariate shift. In Advances in Neural Information Processing Systems (NeurIPS), 2019.
[16] Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2):816–845, 2023.
[17] Ulf Norinder, Lars Carlsson, Scott Boyer, and Martin Eklund. Introducing conformal prediction in predictive modeling. A transparent and flexible alternative to applicability domain determination. Journal of Chemical Information and Modeling, 54(6):1596–1603, 2014.
[18] Clara Fannjiang, Stephen Bates, Anastasios N. Angelopoulos, Jennifer Listgarten, and Michael I. Jordan. Conformal prediction under feedback covariate shift for biomolecular design. Proceedings of the National Academy of Sciences, 119(43):e2204569119, 2022.
[19] Siddhartha Laghuvarapu, Zhen Lin, and Jimeng Sun. CoDrug: Conformal drug property prediction with density estimation under covariate shift. In Advances in Neural Information Processing Systems, volume 36, 2023.
[20] Balaji Lakshminarayanan, Alexander Pritzel, and Charles Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In Advances in Neural Information Processing Systems, volume 30, 2017.
[21] Alex Kendall and Yarin Gal. What uncertainties do we need in Bayesian deep learning for computer vision? In Advances in Neural Information Processing Systems, volume 30, 2017.
[22] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In International Conference on Machine Learning (ICML), pages 1321–1330, 2017.
[23] Jeremy Nixon, Michael W. Dusenberry, Linchuan Zhang, Ghassen Jerfel, and Dustin Tran. Measuring calibration in deep learning. In CVPR Workshops, 2019.
[24] Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, D. Sculley, Sebastian Nowozin, Joshua V. Dillon, Balaji Lakshminarayanan, and Jasper Snoek. Can you trust your model's uncertainty? Evaluating predictive uncertainty under dataset shift. In Advances in Neural Information Processing Systems, volume 32, 2019.
[25] Robert P. Sheridan, Bradley P. Feuston, Vladimir N. Maiorov, and Simon K. Kearsley. Similarity to molecules in the training set is a good discriminator for prediction accuracy in QSAR. Journal of Chemical Information and Computer Sciences, 44:1912–1928, 2004.
[26] Yoav Benjamini and Yosef Hochberg. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal Statistical Society: Series B, 57(1):289–300, 1995.
[27] Ying Jin and Emmanuel J. Candès. Model-free selective inference under covariate shift via weighted conformal p-values. Biometrika, 113(1), 2026. arXiv:2307.09291.
[28] Guy W. Bemis and Mark A. Murcko. The properties of known drugs. 1. molecular frameworks. Journal of Medicinal Chemistry, 39(15):2887–2893, 1996.
[29] Zhenqin Wu, Bharath Ramsundar, Evan N. Feinberg, Joseph Gomes, Caleb Geniesse, Aneesh S. Pappu, Karl Leswing, and Vijay Pande. MoleculeNet: a benchmark for molecular machine learning. Chemical Science, 9(2): 513–530, 2018.
[30] Robert P. Sheridan. Time-split cross-validation as a method for estimating the goodness of prospective prediction. Journal of Chemical Information and Modeling, 53(4):783–790, 2013.
[31] Dagmar Stumpfe and Jürgen Bajorath. Exploring activity cliffs in medicinal chemistry. Journal of Medicinal Chemistry, 55(7):2932–2942, 2012.
[32] Derek van Tilborg, Alisa Alenicheva, and Francesca Grisoni. Exposing the limitations of molecular machine learning with activity cliffs. Journal of Chemical Information and Modeling, 62(23):5938–5951, 2022.
[33] David Rogers and Mathew Hahn. Extended-connectivity fingerprints. Journal of Chemical Information and Modeling, 50(5):742–754, 2010.
[34] Greg Landrum et al. RDKit: Open-source cheminformatics. https://www.rdkit.org, 2026. Version 2026.03.6.
[35] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
[36] Daniel Crusius, Flaviu Cipcigan, and Philip C. Biggin. Are we fitting data or noise? Analysing the predictive power of commonly used datasets in drug-, materials-, and molecular-discovery. Faraday Discussions, 256: 304–321, 2025.
[37] Andrey Malinin, Liudmila Prokhorenkova, and Aleksei Ustimenko. Uncertainty in gradient boosting via ensembles. In International Conference on Learning Representations (ICLR), 2021.
[38] Kevin Yang, Kyle Swanson, Wengong Jin, Connor Coley, Philipp Eiden, Hua Gao, Angel Guzman-Perez, Timothy Hopper, Brian Kelley, Miriam Mathea, et al. Analyzing learned molecular representations for property prediction. Journal of Chemical Information and Modeling, 59(8):3370–3388, 2019.
[39] Esther Heid, Kevin P. Greenman, Yunsie Chung, Shih-Cheng Li, David E. Graff, Florence H. Vermeire, Haoyang Wu, William H. Green, and Charles J. McGill. Chemprop: A machine learning package for chemical property prediction. Journal of Chemical Information and Modeling, 64(1):9–17, 2024.
A Configuration and reproducibility
The hashed configuration (SHA-256 prefix 926171a32b97) (the replicate count was raised to 18 after a three-replicate smoke test) fixes ; 18 replicates; base seed 20260812; the pool fraction 0.70 (largest scaffold groups first), 0.15 of the pool and 0.34 of the remainder; ECFP radius 2 with 2048 bits; neighbours; abstention budgets with a top-quartile novelty threshold; assay budget 0.15; hit quantile 0.80; FDR level 0.2; and the sweep . Not in the hash: the abstention fraction and the LightGBM settings (400 trees, learning rate 0.05, 31 leaves, min. child samples 10, subsample 0.8, column subsample 0.6; three members fit on bootstrap resamples, since re-seeding alone gives near-zero ensemble variance), both fixed in the original code; and all additional analyses (3). In the sweep, predictions are cached independently of , so the base quantile models stay at levels 0.05/0.95 and only the conformal level varies.
Execution and determinism. Models were trained once on Modal (2 OpenMP threads); every reported output comes from a later Modal execution that re-ran all analysis cells from those cached predictions, with the final code. The coverage, correlation, fixed-budget and initial-variant statistics also match an independent execution in a different environment (Google Colab, two vCPUs) to three decimals; the additional analyses come from the Modal executions only, and the diagnostics of Appendices C and E were computed once. Re-running the analysis cells on a different machine exposes one platform dependence: the local-label-variance neighbours are chosen with an unstable sort over Tanimoto similarities, which have many exact ties, so ties at the -th neighbour are broken in a CPU-dependent way. Between two machines, replicate-mean correlations differed by at most and enrichments by at most 0.020; all other results computed with the same code on both machines were identical. A stable sort removes this dependence.
B Correlation statistics
Table 4: Spearman and partial Spearman (rank-residualized) correlations among the abstention score (width), the per-molecule covariates and realized error in regime A (mean and 95% bootstrap interval over 18 replicates). For BBBP the score is effectively ensemble variance and the error is misclassification.
| Statistic (regime A) | Lipophilicity | BBBP |
|---|---|---|
| ρ(width, molecular novelty) | +0.184 [+0.173, +0.194] | +0.158 [+0.139, +0.176] |
| ρ(width, scaffold novelty) | +0.165 [+0.154, +0.175] | +0.190 [+0.174, +0.206] |
| ρ(width, local label variance) | +0.309 [+0.295, +0.323] | +0.528 [+0.514, +0.543] |
| ρ(width, |y − ŷ| or error) | +0.157 [+0.147, +0.167] | +0.377 [+0.363, +0.390] |
| partial ρ(width, novelty | variance) | +0.067 [+0.055, +0.077] | +0.047 [+0.026, +0.068] |
| partial ρ(width, variance | novelty) | +0.254 [+0.238, +0.270] | +0.497 [+0.483, +0.512] |
| ρ(error, molecular novelty) | +0.220 [+0.209, +0.233] | +0.041 [+0.018, +0.065] |
| ρ(error, local label variance) | +0.156 [+0.145, +0.167] | +0.263 [+0.244, +0.281] |
| ρ(local label variance, novelty) | +0.426 [+0.415, +0.437] | +0.218 [+0.205, +0.229] |
| partial ρ(width, error | variance) | +0.113 [+0.103, +0.121] | +0.156 [+0.143, +0.170] |
| partial ρ(width, error | novelty) | +0.121 [+0.112, +0.130] | +0.183 [+0.173, +0.194] |
C APS with and without the non-empty-set rule
Our APS implementation adds the top class to any prediction set that would otherwise be empty. Table 5 compares coverage with and without this rule on BBBP, using identical randomization. Without it, coverage in the exchangeable settings is close to nominal (random control 0.906 [0.894, 0.917], regime B 0.901 [0.889, 0.914]), whereas regime A remains above nominal (0.945 [0.934, 0.956]) without a guarantee. Minority-class coverage without the rule is 0.771, 0.891 and 0.834 for the random control, A and B.
Table 5: BBBP coverage at α=0.10 with (“forced”) and without (“unforced”) the non-empty-set rule (mean over 18 replicates), the fraction of empty unforced sets, and the positive-class rate of EVAL.
| Split / calibration | Coverage | Cov. (minority) | Empty sets (unforced) | EVAL positive rate | ||
|---|---|---|---|---|---|---|
| forced | unforced | forced | unforced | |||
| random (control) | 0.930 | 0.906 | 0.787 | 0.771 | 2.6% | 0.76 |
| scaffold, A (train-side) | 0.968 | 0.945 | 0.909 | 0.891 | 2.3% | 0.82 |
| scaffold, B (novel-scaffold) | 0.952 | 0.901 | 0.866 | 0.834 | 5.3% | 0.82 |
D Class-conditional (Mondrian) calibration on BBBP
Table 6: Marginal vs. class-conditional APS on BBBP (nominal 0.90; mean over 18 replicates; includes the non-empty-set rule). Class-conditional calibration raises minority coverage at the cost of larger sets. APS is randomized: the regime-A marginal values coincide with Table 1, while the regime-B values use different random draws and differ from it in the third decimal.
| Calibration | Quantile | Coverage | Cov. (minority) | Cov. (majority) | |C| |
|---|---|---|---|---|---|
| A (train-side) | marginal | 0.968 | 0.909 | 0.981 | 1.17 |
| A (train-side) | class-conditional | 0.961 | 0.969 | 0.960 | 1.34 |
| B (novel-scaffold) | marginal | 0.951 | 0.865 | 0.970 | 1.10 |
| B (novel-scaffold) | class-conditional | 0.962 | 0.942 | 0.967 | 1.19 |
E Local label variance only loosely bounds irreducible noise
On lipophilicity, the EVAL mean squared error is 0.615 [0.601, 0.628] and the mean local label variance over the k=10 nearest FIT neighbours is 0.856 [0.848, 0.863] (replicate means; ratio of means 1.39, and the proxy exceeds the MSE in every replicate, minimum ratio 1.31). Treating local label variance as an upper bound on irreducible noise assumes that the neighbours’ labels differ only through noise and smooth structure–activity variation; label variance over distinct molecules also reflects activity cliffs and reducible structure–activity gradients, and the data are deduplicated by canonical SMILES, so no replicate measurements enter. The quantity is therefore a loose, heuristic bound, and we interpret it as local label heterogeneity.
F Miscalibration area
We initially reported a regression miscalibration area: the mean absolute difference between nominal and empirical coverage over 19 levels of Gaussian intervals , with derived from the conformal interval. On lipophilicity it is 0.119 (random), 0.034 (A) and 0.081 (B), ranking the valid regime B worse than A. The metric assumes Gaussian intervals centred on , which CQR intervals are not, and scores levels other than the target; we therefore report the conformal calibration curve across (Figure 1a) instead.
G The conformal-selection variant used initially
We initially used , with the number of calibration nulls, the null and hits . These -values are pointwise no smaller than those of a Jin–Candès construction with the same null, but the finite-sample FDR theorem of Jin and Candès [9] is stated for the latter, so we do not claim it for the variant. Under training-scaffold calibration at the variant selected nothing in 39% of replicates; its mean FDP (with FDP := 0 for empty selections) was 0.186 [0.115, 0.257], and conditional on a non-empty selection its precision was 0.695 and its FDP 0.305 over 45.9 compounds; the unconditional precision, which averages empty selections in as zero, is 0.425. Under novel-scaffold calibration the variant selected nothing in 94% of replicates.