Manuscript Offprint
arXiv:2610.25349Predicted Class Correction: Conformal Thresholds for Classes with No Calibration Data
Abstract
Class-conditional conformal prediction calibrates a separate score threshold for every class and therefore requires labelled calibration examples of every class. In long-tailed deployments these examples are precisely what is missing, as most rare classes are consumed by training and are left with few or no held-out examples. Existing class-conditional methods are then either undefined for such a class or fall back to the shared marginal threshold. We ask whether the per-class correction can instead be predicted from descriptors of the class that require no labels at all. We propose Predicted Class Correction (PCC), which regresses the offset between the per-class and the marginal conformal quantile on geometric descriptors of the classifier head, shrinks the prediction by a scalar selected on the labelled classes, and refits a single marginal offset. The descriptors are functions of the model's weights, so a class with zero calibration examples still receives a threshold specific to it, and only one scalar is calibrated, so split conformal's marginal guarantee is retained on the label space it is calibrated on (Prop. 2). On ImageNet, PCC improves worst-class coverage on such classes by 0.058 [0.006, 0.110] at matched average set size, 42% of an oracle that observes the test labels. Of eight baselines run on the same splits, six change the statistic by exactly zero and the best reaches 0.016 with an interval containing zero, so PCC is the only one whose improvement is distinguishable from none; two of the eight are undefined on all 300 classes. The improvement persists with only 100 labelled classes out of 1000. A second finding concerns how such methods are evaluated. Worst-class coverage becomes unmeasurable before it becomes unachievable: below roughly 35 test examples per class no improvement can be demonstrated even for an oracle given the test labels, so a null result there is a property of the evaluation set rather than of the method. Most classes of both long-tailed benchmarks sit below it, and restricting evaluation above it recovers a significant improvement on
held out,
its three nearest rows in the head

radio
cassette player
tape player
loudspeaker
from the head weights
threshold

coverage of class 754, radio
Figure 1. A class with no calibration example still receives a threshold of its own. ImageNet class 754 is held out, so : every classwise method either leaves it undefined or hands it the shared marginal threshold. Its descriptor is read from the classifier head, whose three nearest rows to it are other audio equipment, and the fitted regression turns that geometry into an offset. The threshold moves from to 0.9812 and coverage of the class from 0.658 to 0.750, against 0.803 for an oracle given the test labels. The class shown is the held-out class with the lowest coverage under the marginal threshold, fixed by that rule before any image was looked at.
Pl@ntNet-300K, where the effect had appeared absent.
1. Introduction
A prediction set replaces one fallible prediction with a short list that is likely to contain the true label. Conformal prediction turns any trained classifier into such a procedure, with a finite-sample coverage guarantee and no assumptions on the data distribution [1, 39, 46].
The guarantee that comes for free is marginal: aver-
Corresponding author.
aged over all inputs, the set contains the true label with probability at least . Since marginal coverage is a prevalence-weighted average of the class-conditional coverages, it is dominated by the frequent classes, and a single shared threshold systematically under-covers the hard and rare ones, and coverage conditional on every input is unattainable in finite samples without further assumptions [4, 27]. In biodiversity monitoring and in diagnosis the rare classes are often the ones that matter most, so the label a user most needs to see is the one the set most often omits. Recovering per-class control requires calibrating a separate threshold for each class, which is what classwise conformal prediction [38, 45, 46] and its successors [11, 12, 41] do.
Those methods all require labelled calibration examples of the class whose threshold they are setting. In long-tailed deployments [47] most rare classes are consumed by model training, which, as Ding et al. [12] note, leaves them with “few or zero holdout examples to use for calibrating uncertainty quantification methods.” The zero case is common: the median class has three held-out examples on Pl@ntNet-300K [16] and two on iNaturalist-2018 [44]. What existing methods do with such a class is summarised in Tab. S1 of the supplementary material. CLASSWISE CP and RC3P return an infinite threshold, so the set becomes the entire label space; CLUSTERED CP falls back to the shared marginal threshold; and the kernel-weighted method of Ding et al. [12] embeds each class by its own calibration scores, so classes with none collapse to a single point and share one threshold. None of this is unreasonable, since with no labelled example of a class there is nothing to condition on.
Objective. Something about a class is nevertheless known without any of its labels. A trained classifier already places every class somewhere in its output geometry: the row of the classifier head that scores class y has a norm and a bias, and it sits at some set of distances from the rows of competing classes. Crowded rows correspond to classes that are easily confused and therefore hard to cover. These quantities are available for a class with zero calibration examples, since they are determined by the model's parameters and do not involve any sample. Our goal is to use them to assign such a class a threshold that is specific to it, while keeping the marginal coverage guarantee that split conformal prediction provides. Figure 1 shows one such class.
Our approach. Predicted Class Correction (PCC) proceeds in three steps (Algorithm 1). On the classes that do have calibration data we observe the offset between the per-class conformal quantile and the marginal one, and fit a ridge regression of on the descriptors . We then apply the fitted regression to every class, including those with no data, and shrink its output by a factor chosen on the labelled classes only. Finally we refit one scalar offset so that marginal coverage returns to its target. The shrinkage step does substantial work here, since worst-class coverage is governed by the largest error in the predicted offset, which its average error does not control, so applying the raw prediction at full strength is harmful (Tab. 2).
Summary of findings. We evaluate on ImageNet [37], two long-tailed datasets [16, 44], three backbones, four score functions and 15 corruption types [22], for a total of 412 configurations. (i) On ImageNet classes with zero calibration examples, PCC improves worst-class coverage by 0.058 [0.006, 0.110] at matched average set size and is the only one of nine methods whose interval excludes zero; six of the eight baselines change the statistic by exactly zero (Tab. 1). (ii) Few classes need to be labelled for this to work: holding out 90% of classes, which leaves 100 labelled classes out of 1000, still yields 0.052 with a confidence interval excluding zero, and our protocol's floor is labelled classes for p descriptors (Figure 2b). (iii) Below roughly 35 evaluation examples per class, an oracle that observes the test labels cannot improve worst-class coverage either, so what disappears there is the room to improve and not the ability to take it (Figure 2a). This one axis accounts for all four settings in which the method initially appeared to fail, and restricting evaluation above the threshold recovers a significant improvement on Pl@ntNet-300K, though not on iNaturalist-2018.
All of these embeddings are built from the labelled calibration scores of the class being embedded. A class with none therefore has no position of its own, and the fall-backs differ only in where it is placed: at the extreme of the range, in a null cluster, or at an infinite threshold. Descriptors read from the classifier’s weights have no such gap, which is the difference Tab. 1 measures.
Conformal score functions. Normalised and locally adaptive conformal prediction estimate a per-instance difficulty from the features and rescale the score by it [27, 28], the per-instance analogue of a per-class correction. A parallel line designs the score itself to trade set size against conditional coverage, including APS [36], RAPS [2] and SAPS [25], all of which appear in Tab. S4.
Prevalence as the source of the correction. A second family leaves the per-class quantile alone and reshapes the score using class frequency. Ding et al. [12] divide the softmax probability by an estimate of the class prior, which is optimal for macro-coverage among procedures of a given expected set size, and blend the classwise and marginal quantiles with a user-chosen weight. Liu et al. [29] add a rank-dependent penalty to the scores of head classes, with a smooth reweighting in their sTACP variant, and prove a smaller head-tail coverage gap. Both remain defined for a class with no calibration examples, and both draw their per-class signal from one scalar. Prevalence alone is significantly worse than geometry (Tab. 2) and is beaten by a random projection of the same dimension (Tab. 1).
Group-conditional coverage. A third family asks for coverage conditional on group membership instead of per class. Bairaktari et al. [3] give the general form, allowing overlapping and fractional groups defined jointly on covariates and labels, and Gibbs et al. [18] give conditional guarantees over any finite-dimensional class of covariate shifts or groups. Groups drawn in descriptor space would trade a per-class claim for a guarantee about neighbourhoods, which we return to in Sec. 5.
Conformal prediction under distribution shift. Coverage can be restored under covariate shift by importance-weighting the calibration scores [43], under label shift with a known or estimated class prior [35], in general by weighting the calibration scores [5], or over time by adapting the miscoverage level from observed errors [17]. All need a density ratio, a prior or online label feedback, which our setting does not provide, so we read our corrupted-input experiment as a stress test and make no coverage claim there (Sec. L).
Long-tailed recognition. Reweighting and logit adjustment improve accuracy under class imbalance [6, 9, 32], as does retraining the classifier head separately from the representation [26], and fine-grained biodiversity datasets have made the regime concrete [16, 44]. Our concern is complementary and post-hoc: given whatever classifier such methods produce, how should its prediction sets be calibrated for the classes that training consumed. The same separation holds for conformal training [14, 42], which differentiates through the conformal predictor while fitting the model: the scores improve, but a class-conditional guarantee still needs calibration examples of that class afterwards.
3. Predicted Class Correction
3.1. Setup
Let be calibration pairs and a test pair, all exchangeable, with labels in , and use split (inductive) conformal prediction [28, 33]. A conformal score is larger when a pair conforms less; we use , the LAC score of Sadinle et al. [38], and report APS [36], RAPS [2] and SAPS [25] in Tab. S4. Write for the number of calibration examples of class , and let
be the marginal conformal quantile. For a set-valued procedure C we write
(2)
so W is the worst-class coverage this paper reports. Class-wise conformal prediction replaces by a per-class quantile computed from the examples of class y; equivalently it applies a per-class offset
which is positive for classes that need a looser threshold. When , and hence are undefined.
Held-out classes. We study the zero-example case directly. A fraction of classes is designated as held out and all of their calibration rows are deleted, so that is exactly zero for them. Results are then reported in two tables that are never averaged together, one for the classes that kept their data and one for the held-out classes, since a method that wins on the held-out classes by sacrificing the others has not solved the problem and a single pooled number would conceal that.
Choice of intervention. A natural alternative is to improve itself, by a better model, better probability calibration [20], or aggregation over transformed copies of the input [40]. Any such change reshapes the score for every class at once, while class-conditional coverage is set by where each class’s threshold falls in its own score distribution. Reducing the spread of per-class coverage therefore needs a degree of freedom per class, which supplies and a score-level change does not; Sec. O measures this.
Matched set size. Coverage can always be bought with larger sets, so comparing coverage at unmatched set size compares nothing. Writing for the sets induced by an offset vector , every method we report is shifted by the scalar
for a common target size . We call the matched offset, and every comparison in Sec. 4 is read at it. Solving Equation (4) on the calibration rows instead, so that no test input enters the matching, gives the same +0.058 to four decimals (Sec. V). Dhillon et al. [10] characterise the expected size as a function of the threshold; the factor it needs to translate score measure into label measure has no closed form for LAC, which is why Equation (4) is solved numerically.
3.2. Calibration-label-free class descriptors
For a linear classifier head with weight rows and biases , we form a descriptor vector , , from
-
and , the scale and offset of the class logit;
-
cosine distances from to its nearest competing rows for , the distance to the nearest row, the spread of that neighbourhood, and the cosine distance to the mean row, all of which measure how crowded the class is;
-
log of the class's row count in the score dump: proportional to its training count on ImageNet, and its calibration-split size on the long-tailed sets.
Row norms are known to track class frequency under imbalanced training [26], and the arrangement of the rows is the structure studied under neural collapse [34]. The eight geometric features are functions of the model's parameters alone, so they are defined for a class with no examples of any kind and carry no sampling noise. Prevalence is counted from the training labels, which are available whenever the model is; the descriptors are free of calibration labels, though not of labels altogether. No result depends on it: removing prevalence costs 0.011 in worst-class coverage without reaching significance (p = 0.30), while prevalence alone is significantly worse than the full set (Tab. 2). The feature that most closely resembles the regression target is held out, so no reported number can be attributed to it.
3.3. The correction
Step 1: regress. On the classes with at least calibration examples, a count fixed in advance, we observe from Equation (3) and fit a ridge regression [23] to predict it from . There is no network and no training loop: is a closed-form fit over at most points with features, which costs milliseconds (Tab. S19).
Step 2: shrink. The raw prediction is applied with a scalar ,
with chosen over a fixed grid by maximising worst-class coverage at matched size on the labelled classes only,
where is the empirical version of Equation (2) restricted to . The restriction matters, because choosing with help from the held-out classes would let a free parameter manufacture the very result the held-out table is meant to test, and it would void Proposition 2.
Shrinkage is what makes the method usable, and Proposition 1 says why; Fig. S1 shows the fit it is applied to. Worst-class coverage is controlled by the largest error in the offsets, a quantity mean squared error does not bound, so a predictor with a respectable can still be harmful at full strength: costs 0.584 relative to the selected , while recovers the marginal threshold exactly (Tab. 2).
Proposition 1 (Worst-class coverage is a sup-norm functional). Let and suppose each is L-Lipschitz. For any two offset vectors with matched versions from Equation (4),
Proof. , so by Lipschitzness every obeys
Two functions of that agree pointwise to within have minima that agree to within , and Equation (2) is such a minimum.
Taking to be the oracle offsets bounds our worst-class coverage below by the oracle's, less L times the sup-norm error. The bound is in the sup norm, and a ridge fit controls a mean, so a single badly predicted class can cost as much as many well predicted ones save. Shrinking controls that sup norm, but the sup norm is not what selects : swept over the grid it is smallest at while worst-class coverage peaks at 0.1, and the bound is two orders of magnitude
Algorithm 1 Predicted Class Correction
Require: score , level , target size , grid , count
Require: disjoint calibration rows ; labelled classes ; descriptors
1: marginal conformal quantile (1) on
2: for with do
3: observed offset (3)
4: end for
5: ridge fit of on over those classes
6: , on only
7: for every including
8: conformal quantile of , minus residual (8)
9: return
looser than the gap it bounds (Sec. Z). What limits instead is the global downshift Equation (4) must apply to pay for a wider correction, which reaches at and which this bound does not see.
Accuracy required of . We have no theory saying when predicts well, and the method works exactly as far as the regression does; a quadratic or kernel head does not change that (Sec. S). Across our three datasets the two line up monotonically. The cross-validated error of is 0.036 on ImageNet, 0.072 on Pl@ntNet-300K and 0.127 on iNaturalist-2018, against worst-class improvements of 0.058, 0.019 and 0.000. Because Equation (6) can return , a poor regression is abstained from, which is what happens on iNaturalist-2018 in every split (Sec. 4.3).
Step 3: recalibrate. Finally one scalar is refit, on labelled-class rows only, so that marginal coverage returns to . Write for the corrected score and let
(8)
a residual relative to . The prediction set is
(9)
and is by construction the conformal quantile of on , so Equation (9) is exactly the split conformal set for , with entering the threshold once.
3.4. Data splitting
Every quantity above is estimated, so it matters which rows and which classes each one may see. Classes are partitioned into labelled and held-out, and independently the rows of every class into a calibration and an evaluation part; Tab. S12 in the supplementary states the combination each quantity is fitted on. Two invariants hold throughout: nothing is fitted on evaluation rows, and nothing is fitted on a held-out class. The numbers reported for held-out classes are therefore free of selection effects from , and , while those for labelled classes are not, which is the second reason the two tables are kept apart.
3.5. Coverage guarantee
Let and be disjoint sets of calibration rows, of sizes and .
Proposition 2 (Marginal coverage is preserved). Let and be exchangeable, and let be any function of and of . Let be given by Equation (8), so that is the conformal quantile at level of the shifted scores . Then .
Proof sketch. Define . Since is a function of alone, and is computed from the model's weights and does not involve these calibration rows, is a fixed score function with respect to the sample. Exchangeability is closed under applying a fixed map pointwise, so are exchangeable and the standard split conformal argument applies verbatim to . By Equation (8) the threshold is that argument's quantile, so membership in is exactly the event it bounds. Full proof in Sec. A.
The proposition holds because only one degree of freedom is calibrated on ; may be arbitrarily complex, since it merely redefines the score.
Reuse of calibration rows. The premise names two disjoint row sets. Table 1 provides them, since PCC-split holds a quarter of the calibration rows back for alone; the sweeps that follow do not, so there and are dependent and the proposition does not apply to them as stated. The cost is measured: at the thresholds as emitted over ten ImageNet splits, PCC covers 0.8994 where the marginal threshold covers 0.9012 on the same rows, a deficit of 0.0018 and roughly twenty times the finite-sample slack . The split variant removes it, and at this protocol the two agree on worst-class coverage to four decimals (Sec. P).
Scope of the claim. Proposition 2 covers the distribution the recalibration rows are drawn from. Since is fit on labelled-class rows, it does not reach a test point whose class has , and no procedure can make it: such a class contributes no row to calibrate with. What we claim there is empirical, and and are chosen on the labelled label space, which is why the two tables are kept apart (Sec. B).
4. Experiments
Protocol. Unless stated otherwise we use ImageNet-1k [37] scores from a SimCLRv2 encoder with a linear probe
| Method | Δ worst-class | Undefined |
|---|---|---|
| STANDARD | +0.000 [ 0.000, 0.000] | 0/300 |
| CLASSWISE | +0.000 [ 0.000, 0.000] | 300/300 |
| CLUSTERED | +0.000 [ 0.000, 0.000] | 0/300 |
| RC3P | +0.000 [ 0.000, 0.000] | 300/300 |
| FUZZY, quantile | +0.000 [ 0.000, 0.000] | 0/300 |
| FUZZY, rarity | +0.000 [-0.000, +0.001] | 0/300 |
| FUZZY, random | +0.016 [-0.009, +0.040] | 0/300 |
| INTERP-Q | +0.000 [ 0.000, 0.000] | 0/300 |
| PCC (ours) | +0.058 [+0.006, +0.110] | 0/300 |
| Oracle ceiling | +0.140 | — |
Table 1. Classes with zero calibration examples. STANDARD [46], CLASSWISE [38], CLUSTERED [11], RC3P [41], and FUZZY and INTERP-Q [12]. Change in worst-class coverage over the marginal threshold, at matched average set size (1.221 for every row), on 300 held-out ImageNet classes, five splits at the protocol of Sec. 4. PCC is in the split variant of Sec. 3.5, so the row carrying the headline is the one Proposition 2 covers; the reuse variant gives the same figure to four decimals (Sec. P), as does solving the size match on calibration rows rather than evaluation rows (Sec. V). PCC is the only method whose interval excludes zero. “Undefined” counts classes a method could not give a threshold to, before the pre-registered fallback. Baseline numbers come from their released code, and for FUZZY CP the kernel bandwidth is swept with the best kept, which favours the baseline; the winning bandwidth is not stable across splits.
[7], descriptors from a supervised ResNet-50 head [21] so that is exogenous to the scoring model, , of classes held out with all of their calibration rows deleted, , and five random splits. Intervals are confidence intervals over splits, and every comparison is at matched average set size (Sec. 3.1).
Metrics. Tab. S2 in the supplementary defines every quantity. The headline statistic is worst-class coverage, since one badly covered class is what a class-conditional guarantee is meant to prevent. It can only be estimated when classes have enough evaluation examples, so we fix a threshold of 30 per class in advance: above it we report per-class worst coverage (regime A), below it a prevalence-binned surrogate (regime B). Every result states its regime, and Sec. 4.3 shows why that matters.
Oracle ceiling. To give the numbers a scale we report an oracle that observes the test labels, forms the exact per-class offset, then selects its own shrinkage. It is unattainable and is not a method; it says how much of the available room a method took. Percentages of it are ratios of averages: the ceiling moves by 0.10 between splits, so the fraction taken ranges from to (Sec. F).
| Ablation | Δ vs. full | Holm | |
|---|---|---|---|
| λ = 0 (no correction) | +0.032 | 1.30 | ✓ |
| λ = 1 (unshrunk) | +0.584 | 3.99 | ✓ |
| distance descriptors only | +0.039 | 1.49 | ✓ |
| prevalence descriptor only | +0.032 | 1.30 | ✓ |
| without prevalence | +0.011 | 0.33 | — |
| n* rule replaced | +0.000 | — | — |
| no marginal recalibration | +0.000 | — | — |
Table 2. Ablations on ImageNet at , ten splits. Positive means the full method is better. is Cohen's paired effect size [8]; the last column marks Holm-corrected significance at 0.05 [24]. The last two rows are identical to the full method at matched set size by construction (Sec. I).
4.1. Classes with no calibration examples
PCC improves worst-class coverage on the held-out classes by 0.058 [0.006, 0.110], of the oracle ceiling, and is the only entry of nine whose interval excludes zero (Tab. 1): at this protocol the question is not which method gains most but which gains anything. A group-conditional baseline on the same descriptors — -means on , one conformal quantile per cluster — reaches , with a paired difference of : what the regression buys over a grouping is unresolved at this depth (Sec. C). Percentile and CVaR summaries of the same tail are in Sec. Y.
Two of the zeros are not measurements: CLASSWISE CP and RC3P return an infinite threshold for all 300 classes, so their entry records the pre-registered fallback. The other six are measurements, and INTERP-Q is the instructive one: it caps an undefined classwise quantile at one, so a held-out class receives the widest threshold in the label space and the others pay for it once size is matched back down. Swept over its interpolation weight, it selects zero on every split, at which point it is STANDARD CP.
Prevalence is a weak signal here. FUZZY CP reaches 0.000 with its rarity projection and 0.016 with a random one, so widening thresholds for data-poor classes in an arbitrary direction already buys more than prevalence does; our own ablation agrees, since prevalence-only descriptors drive to zero in all ten splits (Tab. 2). The descriptors of Sec. 3.2 buy 3.6 times what a random direction buys.
The gain is paid for. On the first split the correction lifts the worst class from 0.658 to 0.691 and moves macro-coverage from 0.904 to 0.900, but because set size is fixed, of classes gain coverage while lose a mean of 0.004 (Fig. S2 and Tab. S10).
4.2. Ablations
Shrinkage carries the method. Both endpoints of the grid are significantly worse than the selected interior value, and the unshrunk correction costs 0.584 in worst-class coverage (Tab. 2). Among descriptors, distances alone and prevalence alone are both significantly worse than the full set, while removing prevalence is not , so the geometry carries the signal.
The last two rows are exactly zero because a constant added to every threshold is cancelled exactly by the size-matching shift, and marginal recalibration is such a constant. At the thresholds as emitted it moves marginal coverage from 0.8963 to 0.8989 against a target of 0.900, at a cost of 0.31 in set size. Sec. I gives that view in full.
4.3. The role of evaluation depth
Applied without modification, PCC fails on two long-tailed datasets and two additional backbones. All four lie on one axis, with a second cause beneath it for one, and finding the axis meant discarding two explanations we had held. Calibration depth is not the cause. Capping calibration examples inside ImageNet gives a dose-response from 0.033 at ten per class to 0.060 at one hundred, with every interval excluding zero (Tab. S4), and ten per class is far thinner than the settings that fail. Descriptors endogenous to the scoring model are not the cause either: replacing each backbone's own head with a fixed exogenous one leaves every interval containing zero (Sec. J).
How much evaluation data each dataset actually has is Figure 2a. On ImageNet every class carries about 1168 examples; on Pl@ntNet-300K the median class has three and on iNaturalist-2018 two, so 83% and 97% of their classes respectively fall below the threshold at which we report a per-class estimate at all. Figure 2b caps the number of evaluation examples per class inside ImageNet instead. The effect is monotone and its interval crosses zero between 35 and 75. More importantly the oracle ceiling collapses on the same axis, reaching zero by three examples per class, where even a method holding the test labels could not improve worst-class coverage. The axis predicts the four failures quantitatively: the additional backbones sit at 35 and measure 0.017, which is what the sweep gives at 35; Pl@ntNet-300K sits at three and iNaturalist-2018 at two, where the sweep is at or below zero.
That explanation is falsifiable, and restricting evaluation to classes above the threshold confirms it on Pl@ntNet-300K. Of its 1081 classes, 98 have at least 75 evaluation examples and 34 of those are held out; over that label space the improvement is 0.019 [0.010, 0.028], five splits of five. At the weaker threshold of 35 it does not reach significance, 0.020 [-0.011, 0.052], which is what Figure 2b predicts at the edge of measurability. The apparent failure was an artefact of measurement, and the price of removing it is that the claim covers under a tenth of the label space (Tab. S7).
iNaturalist-2018 stays at zero even after restriction, and there the cause is different. is selected as 0 in every split, so the method returns the marginal threshold untouched. The shrinkage curve is not flat, which would mean is degenerate; it decreases monotonically, so carries signal that points the wrong way. The regression is correspondingly poor, with cross-validated error 0.127 against 0.036 on ImageNet. Eight times as many classes in a descriptor space of the same dimension is the obvious explanation and richer descriptors the obvious remedy, but we have tested neither (Sec. K). What shrinkage delivers here is that a worse regression costs nothing, because the method detects that it cannot help and abstains.
4.4. Amount of supervision required
Sweeping the held-out fraction from 10% to 90%, the effect peaks at 50% with 0.080, or 62% of the ceiling, and remains significant at 90%, where only 100 classes retain labels, at 0.052 [0.007, 0.098] (Figure 2b). Four of the five points exclude zero; the exception is 10%, where only 100 classes are held out so the worst-class statistic over them is noisier and the room is smaller. We refuse to fit on fewer than labelled classes, eleven here. Ridge is defined below that, since the penalty makes the system solvable; we decline it because there the fit follows the penalty rather than the data.
4.5. Score functions and miscoverage level
The correction survives every score but is strongest with LAC and attenuates for the adaptive ones (Tab. S4), plausibly because APS, RAPS and SAPS already reshape the score using rank or cumulative mass, absorbing part of the class-difficulty signal captures. At the effect is exactly zero, consistent with the offsets becoming indistinguishable from noise in the extreme tail.
PAS [12] appears because it is the other published construction that stays defined at . It does not remove the need for a per-class correction, though the reading is not a clean win either: our improvement on PAS scores is 0.066 with an interval containing zero, while the ceiling rises to 0.234, so PAS opens more room than LAC and we take a smaller share of it.
Corrupted inputs. Calibrating on clean images and evaluating on ImageNet-C [22], over 15 corruptions at two severities, breaks exchangeability, so we make no coverage claim here and neither can any method compared. At contrast severity 5, marginal coverage is 0.053 and 75.7% of test points receive an empty set. Pooled over the 90 conditions PCC gives 0.003 [0.001, 0.005], an order of magnitude below the clean setting (Sec. L).
Computational cost. PCC trains nothing: a closed-form ridge fit over at most K points with features, on descriptors read from the weights, so no images, gradients or GPU are involved (Sec. U).
(a) available evaluation data

(b) evaluation depth
(c) amount of supervision

Figure 2. (a) Evaluation examples available per class, sorted, for the three datasets. The dashed line is the 30-example threshold below which a per-class coverage estimate is withheld (Tab. S2); 83% of Pl@ntNet-300K classes and 97% of iNaturalist-2018 classes fall below it, against none of ImageNet's. (b) Capping evaluation examples per class inside one dataset with everything else fixed: below roughly 35 the oracle ceiling itself falls to zero, so no method, including one that observes the test labels, can be shown to improve worst-class coverage. The settings where PCC appeared to fail sit at 35 (additional backbones), 3 (Pl@ntNet-300K) and 2 (iNaturalist-2018). (c) Sweeping how many classes have no calibration data at all; the x-values correspond to 900, 700, 500, 300 and 100 labelled classes out of 1000. Bars are 95% confidence intervals over five splits.
5. Discussion
A per-class conformal correction can be predicted from calibration-label-free descriptors and applied to classes with no calibration examples at all. On ImageNet it takes 42% of an oracle ceiling there and is the only one of nine methods whose improvement is distinguishable from none, two of the eight baselines being undefined for all such classes, and it needs labels for as few as a tenth of the classes. Marginal coverage is preserved because a single scalar is calibrated (Proposition 2).
Limitations. The claim at is empirical, for the reason Sec. 3.3 gives. Our zero-calibration classes are made by deleting the calibration rows of well-represented ones, so the head row supplying was fitted with their training data, and the improvement rests entirely on that row: perturbed outward by the magnitude Pl@ntNet-300K's rare classes actually exhibit, it falls to -0.014 (Sec. T). Real rare rows do differ measurably, though neither long-tailed outcome tracks that difference. And reads a linear classifier head, which a model scoring by embedding similarity does not have. The improvement attenuates for adaptive scores and disappears at . Transfer across architectures remains untested, since the additional backbones leave 35 evaluation examples per class, which Figure 2a places below the depth at which anything is detectable. Five splits is what ImageNet's validation set supports at this depth, and a grouping of the same descriptors reaches +0.054, which this evaluation cannot separate from PCC (Sec. C). The depth at which the ceiling collapses was measured on one dataset at one . Finally, every table uses a random per-class subsample of the score dump, adopted for memory reasons (Sec. Q); sweeping it over a factor of three moves the improvement by less than the interval of any single setting, so the headline is not an artefact of it, but we cannot say what happens on the full dump.
Evaluating class-conditional coverage. The observation we expect to outlast this method is that worst-class coverage becomes unmeasurable before it becomes unachievable, in the sense that the evaluation set runs out of power before the method runs out of room. Below roughly 35 evaluation examples per class the oracle ceiling is zero, so a null result on such a slice says little about the method that produced it, and Figure 2a shows how much of each long-tailed benchmark sits there. Published comparisons on them may report a property of the evaluation set where they intend a difference between methods. We state the measurability regime beside every number, and three of our own explanations were discarded before we understood this (Sec. 4.3).
Future work. The most direct next step is a larger evaluation set for the rare classes themselves, since the restriction in Tab. S7 keeps under a tenth of the label space. A second question is why carries signal on Pl@ntNet-300K and not on iNaturalist-2018; both fit from under eighty measurable classes, so the label space is not the axis (Secs. K and S). The most interesting direction is a formal statement to replace the empirical one. No procedure can bound coverage for an individual class with , but group-conditional conformal prediction can bound it for a neighbourhood of classes, and the framework of Bairaktari et al. [3] accepts overlapping, fractional groups defined jointly on covariates and labels, which is the shape our descriptors have. Groups drawn in -space would give a guarantee about regions of the classifier's output geometry: weaker than a per-class statement, and much stronger than none.
References
[1] Anastasios N. Angelopoulos and Stephen Bates. Conformal prediction: A gentle introduction. Foundations and Trends in Machine Learning, 16(4):494–591, 2023. 1, 11
[2] Anastasios N. Angelopoulos, Stephen Bates, Jitendra Malik, and Michael I. Jordan. Uncertainty sets for image classifiers using conformal prediction. In ICLR, 2021. arXiv:2009.14193. 3, 14
[3] Konstantina Bairaktari, Jiayun Wu, and Zhiwei Steven Wu. Kandinsky conformal prediction: Beyond class-and covariate-conditional coverage. In ICML, 2025. arXiv:2502.17264. 3, 9
[4] Rina Foygel Barber, Emmanuel J. Candès, Aaditya Ramdas, and Ryan J. Tibshirani. The limits of distribution-free conditional predictive inference. Information and Inference: A Journal of the IMA, 10(2):455–482, 2021. 2
[5] 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. 3
[6] Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Arechiga, and Tengyu Ma. Learning imbalanced datasets with label-distribution-aware margin loss. In NeurIPS, 2019. arXiv:1906.07413. 3
[7] Ting Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi, and Geoffrey Hinton. Big self-supervised models are strong semi-supervised learners. In NeurIPS, pages 22243–22255, 2020. 6
[8] Jacob Cohen. Statistical Power Analysis for the Behavioral Sciences. Lawrence Erlbaum Associates, Hillsdale, NJ, 2nd edition, 1988. 6
[9] Yin Cui, Menglin Jia, Tsung-Yi Lin, Yang Song, and Serge Belongie. Class-balanced loss based on effective number of samples. In CVPR, pages 9260–9269, 2019. 3
[10] Guneet S. Dhillon, George Deligiannidis, and Tom Rainforth. On the expected size of conformal prediction sets. In AISTATS, pages 1549–1557, 2024. arXiv:2306.07254. 4
[11] Tiffany Ding, Anastasios N. Angelopoulos, Stephen Bates, Michael I. Jordan, and Ryan J. Tibshirani. Class-conditional conformal prediction with many classes. In NeurIPS, pages 64555–64576, 2023. arXiv:2306.09335. 2, 6, 12
[12] Tiffany Ding, Jean-Baptiste Fermanian, and Joseph Salmon. Conformal prediction for long-tailed classification. In ICLR, 2026. arXiv:2507.06867. 2, 3, 6, 7, 12, 13, 14
[13] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is
worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021. 14
[14] Bat-Sheva Einbinder, Yaniv Romano, Matteo Sesia, and Yanfei Zhou. Training uncertainty-aware classifiers with conformalized deep learning. In NeurIPS, 2022. 3
[15] Adam Fisch, Tal Schuster, Tommi Jaakkola, and Regina Barzilay. Few-shot conformal prediction with auxiliary tasks. In ICML, 2021. arXiv:2102.08898. 2
[16] Camille Garcin, Alexis Joly, Pierre Bonnet, Antoine Affouard, Jean-Christophe Lombardo, Mathias Chouet, Maximilien Servajean, Titouan Lorieul, and Joseph Salmon. Pl@ntnet-300k: A plant image dataset with high label ambiguity and a long-tailed distribution. In NeurIPS Datasets and Benchmarks Track, 2021. 2, 3
[17] Isaac Gibbs and Emmanuel J. Candes. Adaptive conformal inference under distribution shift. In NeurIPS, pages 1660–1672, 2021. 3
[18] Isaac Gibbs, John J. Cherian, and Emmanuel J. Candès. Conformal prediction with conditional guarantees. Journal of the Royal Statistical Society Series B: Statistical Methodology, 87(4):1100–1126, 2025. 3
[19] Leying Guan and Robert Tibshirani. Prediction and outlier detection in classification problems. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(2): 524–546, 2022. 2
[20] Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In ICML, 2017. arXiv:1706.04599. 3
[21] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016. 6, 14
[22] Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. In ICLR, 2019. 2, 7
[23] Arthur E. Hoerl and Robert W. Kennard. Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1):55–67, 1970. 4
[24] Sture Holm. A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2):65–70, 1979. 6
[25] Jianguo Huang, Huajun Xi, Linjun Zhang, Huaxiu Yao, Yue Qiu, and Hongxin Wei. Conformal prediction for deep classifier via label ranking. In Int. Conf. Mach. Learn., pages 20331–20347, 2024. arXiv:2310.06430. 3, 14
[26] Bingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan, Albert Gordo, Jiashi Feng, and Yannis Kalantidis. Decoupling representation and classifier for long-tailed recognition. In ICLR, 2020. arXiv:1910.09217. 3, 4
[27] Jing Lei and Larry Wasserman. Distribution-free prediction bands for non-parametric regression. Journal of the Royal Statistical Society: Series B, 76(1):71–96, 2014. 2, 3
[28] 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. 3
[29] Shuqi Liu, Jianguo Huang, and Luke Ong. Conformal prediction meets long-tail classification. In AAAI, pages 23828–23836, 2026. arXiv:2508.11345. 3, 12, 22
[30] Zhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer, Trevor Darrell, and Saining Xie. A convnet for the 2020s. In CVPR, pages 11976–11986, 2022. 14
[31] Tuve Löfström, Henrik Boström, Henrik Linusson, and Ulf Johansson. Bias reduction through conditional conformal prediction. Intelligent Data Analysis, 19(6):1355–1375, 2015. 2
[32] Aditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain, Andreas Veit, and Sanjiv Kumar. Long-tail learning via logit adjustment. In ICLR, 2021. 3
[33] Harris Papadopoulos, Kostas Proedrou, Volodya Vovk, and Alex Gammerman. Inductive confidence machines for regression. In Machine Learning: ECML 2002, pages 345–356. Springer, 2002. 3
[34] Vardan Papyan, X. Y. Han, and David L. Donoho. Prevalence of neural collapse during the terminal phase of deep learning training. Proceedings of the National Academy of Sciences, 117(40):24652–24663, 2020. 4
[35] Aleksandr Podkopaev and Aaditya Ramdas. Distribution-free uncertainty quantification for classification under label shift. In Conference on Uncertainty in Artificial Intelligence (UAI), 2021. arXiv:2103.03323. 3
[36] Yaniv Romano, Matteo Sesia, and Emmanuel J. Candès. Classification with valid and adaptive coverage. In NeurIPS, pages 3581–3591, 2020. 3, 14
[37] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. Imagenet large scale visual recognition challenge. IJCV, 115(3):211–252, 2015. 2, 5
[38] Mauricio Sadinle, Jing Lei, and Larry Wasserman. Least ambiguous set-valued classifiers with bounded error levels. Journal of the American Statistical Association, 114(525):223–234, 2019. arXiv:1609.00451. 2, 3, 6, 12, 14
[39] Glenn Shafer and Vladimir Vovk. A tutorial on conformal prediction. Journal of Machine Learning Research, 9:371–421, 2008. arXiv:0706.3188. 1
[40] Divya Shanmugam, Davis Blalock, Guha Balakrishnan, and John Guttag. Better aggregation in test-time augmentation. In ICCV, 2021. arXiv:2011.11156. 3, 16
[41] Yuanjie Shi, Subhankar Ghosh, Taha Belkhouja, Janardhan Rao Doppa, and Yan Yan. Conformal prediction for class-wise coverage via augmented label rank calibration. In NeurIPS, 2024. arXiv:2406.06818. 2, 6, 12
[42] David Stutz, Krishnamurthy Dvijotham, Ali Taylan Cemgil, and Arnaud Doucet. Learning optimal conformal classifiers. In ICLR, 2022. 3
[43] Ryan J. Tibshirani, Rina Foygel Barber, Emmanuel J. Candes, and Aaditya Ramdas. Conformal prediction under covariate shift. In NeurIPS, pages 2530–2540, 2019. 3
[44] Grant Van Horn, Oisin Mac Aodha, Yang Song, Yin Cui, Chen Sun, Alex Shepard, Hartwig Adam, Pietro Perona, and Serge Belongie. The inaturalist species classification and detection dataset. In CVPR, pages 8769–8778, 2018. 2, 3
[45] Vladimir Vovk. Conditional validity of inductive conformal predictors. In Asian Conference on Machine Learning (ACML), 2012. arXiv:1209.2673. 2
[46] Vladimir Vovk, Alexander Gammerman, and Glenn Shafer. Algorithmic Learning in a Random World. Springer, New York, 2005. 1, 2, 6, 11, 12
[47] Yifan Zhang, Bingyi Kang, Bryan Hooi, Shuicheng Yan, and Jiashi Feng. Deep long-tailed learning: A survey. IEEE TPAMI, 45(9):10795–10816, 2023. 2
Supplementary Material
Numbers carrying a letter or an S refer to this part: Sec. A and Tab. S1 are here. Plain numbers refer to the main paper above, whose sections, figures, tables and propositions are numbered from one.
A. Proof of the marginal coverage guarantee
Write for the corrected score, and recall from Sec. 3.4 that is built from and from the rows , while is computed from the disjoint rows .
Step 1: is a fixed function. is a function of the classifier's weights, and , and are functions of . None of them reads or the test point. Conditionally on , therefore, is a deterministic map , fixed before any of the rows that will be used to calibrate are seen. All statements below are conditional on ; since the bound obtained is uniform in it, the unconditional bound follows by averaging.
Step 2: exchangeability survives. If is exchangeable and is a fixed measurable map, then is exchangeable, because for any permutation the vector is the image under the same product map of a vector equal in distribution to . Applying this with for and gives that is exchangeable.
Step 3: the split conformal bound. For exchangeable real random variables and the empirical quantile of at level , the standard argument [1, 46] gives . Take .
Step 4: the event is set membership. The recalibration scalar is defined as , so exactly. By Eq. 9, , which is the event Step 3 bounds.
Stating as a residual matters here rather than being a matter of taste. Had been the quantile itself while the prediction set still added , the threshold would have been and would enter twice; the bound would still hold, since the set only grows, but the procedure would no longer be the one the implementation runs, whose scalar solves for marginal coverage on top of the corrected thresholds and takes the value 0.0023 on the primary configuration.
What the proof does not give. Only one scalar is calibrated on , so may be arbitrarily complex without affecting the argument; but for the same reason the conclusion is a statement about the marginal distribution alone. Nothing here bounds for any particular , and for a class with no such bound is available to any procedure. The disjointness in Step 1 is also load-bearing: an earlier version of our code selected over all classes including the held-out ones, which does not merely bias an estimate but removes the premise, and it moved the reported effect from 0.3 to 0.5 on the diagnostic we caught it with.
B. What the guarantee covers, and what it cannot
Two claims run through this paper and they cover different things. Confusing them would let a reader hear something we do not say, so they are separated here.
(A) Marginal validity. Prop. 2 bounds from below by , where the probability is over the joint draw of the recalibration rows and the test point, and the premise is that the two are exchangeable. The scalar is fit on rows of the labelled classes, so the distribution the guarantee is stated over is the one those rows are drawn from. A test point belonging to a class with is not exchangeable with them — that class contributes no row — and the bound does not reach it. This is not a gap in the proof but a limit on what any procedure can promise: a class that supplies no calibration example cannot enter the exchangeability argument that a distribution-free bound is built from.
(B) Empirical improvement at . What we claim for those classes is measured, not proved: worst-class coverage at matched average set size, reported in Tab. 1 over five splits with confidence intervals. Everything in Sec. 4 about held-out classes is of this kind. We do not claim, and the reader should not read, that PCC guarantees class-conditional coverage for a class it has never seen a label of.
The flow, and which parts (A) touches. Calibration rows of the labelled classes are partitioned into and . Everything data-dependent except is estimated on : , the observed offsets, , and . For that covers both quantities Eq. 6 optimises over, not just the grid: the worst-class statistic it maximises and the size-matching shift it is read at are both computed on rows of the labelled classes. Scoring on evaluation rows instead would not be deployable, since a deployed system has no evaluation labels. Only reads , and only enters (A). The evaluation rows and the held-out classes enter neither; they are read once, at the end, to report (B). Table S12 states this per quantity.
Why the construction is a stress test and not a deployment. No deployment labels a class “held out”. One calibrates on whatever labelled data exists and the guarantee covers the population that data came from, which under-represents exactly the rare classes one cares about. Deleting the calibration rows of chosen classes makes that under-representation total and therefore visible: it is the worst case of a condition real deployments meet partially. It also means the classes we test on were trained with abundant data, which Sec. T measures the consequence of.
C. What each method gives a class with no data
Table S1 lists the per-class threshold rules compared in this paper and what each one produces when . Three of them stay defined there without per-class labels, and Sec. 4.1 reports what that is worth.
| Method | built from | If |
|---|---|---|
| STANDARD [46] | shared quantile | shared |
| CLASSWISE [38] | own quantile | |
| CLUSTERED [11] | cluster quantile | shared |
| RC3P [41] | quantile + rank | |
| FUZZY [12] | kernel weights | shared |
| PAS [12] | shared quantile | shared |
| INTERP-Q [12] | blend of the two | capped |
| TACP [29] | head penalty | by group |
| PCC (ours) | predicted |
Table S1. Methods that give a class its own conformal threshold. All of them target at least marginal coverage; the columns that separate them are what happens to a class with no labelled calibration examples, and how specific to that class the threshold it receives can be. Three methods do produce a defined threshold there without per-class labels: PAS reshapes the score using prevalence, INTERP-Q caps the undefined classwise quantile at one before blending, and TACP penalises the score of head classes, which gives one degree of freedom per prevalence group instead of one per class. Behaviours were obtained by running the authors’ released implementations on the same held-out classes, except for TACP, whose authors release no code; Tab. 1 reports the coverage that results.
A group-conditional baseline on the same descriptors. None of the published rows above reads , so none of them isolates what the regression contributes. The baseline that does is the obvious one: -means on the standardised descriptors, one conformal quantile per cluster calibrated from that cluster’s labelled members, and a held-out class inheriting its cluster’s quantile. It is defined at for the same reason PCC is — cluster membership is read from the weights — and it goes through the identical size matching and statistics, so the two are directly comparable.
Over the five splits of the primary configuration it reaches +0.054 [-0.004, +0.112] against PCC’s +0.058 [+0.006, +0.110], and the paired difference is +0.004 [-0.014, +0.022]. Only PCC’s interval excludes zero, but the two methods are not separated by this experiment, and we report it that way rather than as a win.
Two asymmetries run in the baseline’s favour and should be stated with the number. Its cluster count is swept over and the best is kept on the statistic it is then scored by, which is the same courtesy Tab. 1 extends to extscFuzzy CP’s bandwidth; PCC’s is 0.10 on every split and is selected on the labelled classes alone, never on the classes it is scored on. And the winning is unstable — 100, 10, 50, 20, 20 across the five splits — so the baseline as deployed, with fixed in advance, would do worse than the number above. What the comparison establishes is that at this evaluation depth a grouping in -space captures most of what the regression on captures, and that separating them needs more evaluation rows per class than ImageNet’s validation set provides — the same limit Sec. K runs into from the other direction.
D. Evaluation metrics
Table S2 defines every quantity reported in the paper. The two regimes are the part that matters: above a median of 30 evaluation examples per class we report per-class worst coverage, and below it a prevalence-binned surrogate, with the threshold fixed before any run (Sec. E).
| Metric | Definition |
|---|---|
| Worst-class (A) | |
| Bin-worst (B) | , prevalence bins |
| worst | worst-class minus marginal |
| Below target | |
| SSCV | , strata |
| Worst-slab | |
| Set size | |
| Empty rate |
Table S2. Evaluation metrics. is the empirical coverage of class , and regimes A and B are the per-class and prevalence-binned cases. is the set of test indices with label and the number of test points. Bins and strata are pooled groups, used where a per-class estimate is too noisy to report: prevalence bins require 200 test rows each and set-size strata 30. The empty-set rate is included because an average set size below one is only possible when a substantial share of test points receive nothing, a regime in which coverage and set size both merely look low.
E. Pre-registration and the fallback policy
Two documents were frozen before any experiment in this paper was run, and both are in the released repository. We summarise what they fix, because several of the choices would otherwise look like decisions made after seeing results.
Measurability thresholds. A survey of the score dumps, not of our memory, recorded the median number of evaluation examples per class: 1168 on ImageNet, 100 on CIFAR-100, 3 on Pl@ntNet-300K and 2 on iNaturalist-2018. With two examples a class's coverage can only be 0, or 1, so a minimum over 8142 such classes is almost surely 0 for every procedure including the oracle, and differences between methods in that column carry no information. The rule fixed in advance is therefore a median of at least 30 evaluation examples per class for per-class statistics (regime A) and at least 200 pooled evaluation rows per prevalence bin otherwise (regime B). Below the threshold, per-class statistics are still computed but are written under a withheld_unmeasurable key and may not enter a table or decide a verdict. The same rule was later applied to selection as well as to reporting, which was an omission we found on 2026-08-15 and fixed.
Behaviour of each baseline at . What each baseline emits for a class with no calibration examples was written down before its released code was read: an infinite threshold for classwise CP and for RC3P, a fall-back to the marginal threshold for Clustered CP through its null cluster, and a kernel-weighted quantile over labelled classes for the method of Ding et al. [12]. All four predictions were then confirmed against the code. The fall-back policy applied to an infinite threshold, namely substituting , was fixed at the same time; it is what produces the zeros in Tab. 1, and Sec. 4.1 says so in the text so that a zero is not read as a measurement.
Changes made after seeing results. Three, all recorded. The oracle ceiling was redefined from the unshrunk to the shrunk per-class quantile after PCC exceeded the unshrunk version, for the reason given in Sec. F. The calibration fraction was raised from 0.50 to 0.70 after two points of the calibration-depth sweep turned out not to be binding on a thin slice. The ablation was extended from five splits to ten after it missed Holm-corrected significance at five ( against a threshold of 0.0083); it passes at ten, and we report the number of splits for every table.
F. The oracle ceiling, shrunk and unshrunk
The ceiling reported in the main text is the best shrinkage of a perfect per-class offset: we form from the test labels and then select for it exactly as the method does. An earlier version used the unshrunk per-class quantiles, and PCC exceeded it — which is how we learned that the unshrunk version is not a bound. It is applied to a perfect offset, and is harmful for worst-class coverage (Tab. 2).
Across all 228 configurations of the main sweep the two definitions agree in 194 cases, because the oracle's own shrinkage selects there; on the primary ImageNet arm they coincide at , so the correction does not move that headline number. Where they differ, they differ by a lot, and always in the same direction. Table S3 lists the five largest gaps: the unshrunk "ceiling" falls as low as , far below the marginal threshold it is supposed to bound from above.
| Configuration | Shrunk | Unshrunk | |
|---|---|---|---|
| C_comp_competitors_s1 | +0.0487 | -0.6571 | 0.10 |
| H_heldout_ho0p5_s2 | +0.1928 | -0.4605 | 0.70 |
| C_comp_competitors_s2 | +0.1569 | -0.4902 | 0.70 |
| H_heldout_ho0p7_s2 | +0.0667 | -0.5733 | 0.70 |
| H_heldout_ho0p9_s2 | +0.1579 | -0.4605 | 0.70 |
Table S3. The five configurations where the two ceiling definitions differ most. A quantity that can sit 0.65 below the marginal threshold it is meant to bound is not a ceiling; the shrunk version cannot be exceeded by PCC by construction, since PCC optimises the same over a worse .
G. Score functions, miscoverage level and calibration depth
Table S4 sweeps the three axes Sec. 4.5 and Sec. 4.3 report. The improvement survives every score and is strongest with LAC; it attenuates for the adaptive ones, is zero at , and rises with calibration depth over a range where the oracle ceiling is flat, which is what makes the last block a statement about the method rather than about the ceiling.
H. Ablations
Tab. 2 is the evidence for Sec. 4.2. Each row removes one component over ten ImageNet splits at , and a positive value means the full method is better than the ablated one.
I. Why recalibration is invisible at matched size
Let be the thresholds a variant emits and let be the target average set size. The matched comparison reports each variant at , where solves . Adding a constant to every threshold replaces by and hence by , leaving unchanged, so the matched thresholds are identical. Marginal recalibration adds exactly such a constant, and so does the rule when it substitutes one global value, which is why both ablations must read
| Axis | Setting | Δ worst-class | % ceiling |
|---|---|---|---|
| Score | LAC [38] | +0.058 [+0.006, +0.110] | 42 |
| PAS [12] | +0.066 [-0.017, +0.149] | 28 | |
| SAPS [25] | +0.031 [-0.019, +0.081] | 24 | |
| APS [36] | +0.022 [+0.004, +0.040] | 15 | |
| RAPS [2] | +0.010 [-0.009, +0.029] | 10 | |
| α | 0.10 | +0.058 [+0.006, +0.110] | 42 |
| 0.05 | +0.040 [-0.008, +0.088] | 39 | |
| 0.01 | +0.000 [ 0.000, 0.000] | 0 | |
| Cal. depth | 10/class | +0.033 [+0.016, +0.050] | 26 |
| 25/class | +0.030 [+0.011, +0.049] | 23 | |
| 50/class | +0.041 [+0.021, +0.061] | 32 | |
| 100/class | +0.060 [+0.032, +0.088] | 46 | |
| 175/class | +0.059 [+0.031, +0.086] | 46 |
Table S4. Score function, miscoverage level and calibration depth on held-out ImageNet classes, five splits, ten for calibration depth. The ceiling is flat across the depth block, 0.128 to 0.132, so the rise there comes from the method and not from a wider ceiling.
0.0000 in Tab. 2. The zero is a property of the comparison and carries no information about the component.
Table S5 gives the view in which the component is visible, namely the thresholds as emitted, over ten ImageNet splits. Recalibration buys 0.0026 of marginal coverage for 0.31 of average set size. Two further readings matter. First, the raw PCC thresholds are far wider than the marginal ones, 2.31 against 1.21, so this view cannot be used to compare methods and exists only to show where marginal validity lives; the size matching in the main tables removes exactly this difference. Second, PCC lands at 0.8989 against a target of 0.900 while the marginal threshold lands at 0.9013 on the same rows. The deficit of 0.0024 is about thirty times the finite-sample slack and is the measured cost of letting , and share calibration rows, as discussed in Sec. 3.5.
| Thresholds as emitted | Marginal cov. | Set size |
|---|---|---|
| Marginal threshold | 0.9013 | 1.21 |
| PCC, no recalibration | 0.8963 | 2.00 |
| PCC, with recalibration | 0.8989 | 2.31 |
| Target | 0.9000 | — |
Table S5. The unmatched view, ten ImageNet splits, . Recalibration moves marginal coverage towards the target and costs set size. The matched comparison used everywhere else cancels this shift by construction.
J. Additional backbones, endogenous and exogenous descriptors
We hypothesised that the two additional backbones failed because each was given its own classifier head as , making the descriptors endogenous to the model that produced the scores. Table S6 refutes it: with a fixed ResNet-50 head instead — whose weights correlate 0.001 element-wise with each model's own head, so it is genuinely exogenous — every interval still contains zero.
The reason is visible in the last column. All six arms have 35 evaluation examples per class, because ImageNet's validation split provides only 50 per class in total and some must go to calibration. Fig. 2a places 35 below the depth at which any effect is detectable, so these experiments are inconclusive rather than negative. Settling the question needs an evaluation set larger than the validation split.
| Backbone | φ | Δ worst-class |
|---|---|---|
| ConvNeXt-T [30] | own | +0.000 [-0.000, +0.000] |
| fixed | +0.011 [-0.017, +0.040] | |
| ResNet-50 [21] | own | +0.017 [-0.005, +0.040] |
| fixed | +0.006 [-0.005, +0.017] | |
| ViT-B/16 [13] | own | -0.029 [-0.072, +0.015] |
| fixed | -0.011 [-0.066, +0.043] |
Table S6. Both descriptor arms on three backbones, five splits. “own” uses each model’s own classifier head, “fixed” the ResNet-50 head also used for ImageNet. Top-1 accuracies of all three matched published values to four decimal places, which we used as a correctness check on the weight extraction.
K. Long-tailed datasets under a measurability threshold
How many classes actually train . A class trains the regression only if its own offset is observable, which needs calibration rows. That count, not the size of the label space, is what separates the three datasets. ImageNet supplies 700 of its 700 labelled classes; Pl@ntNet-300K supplies 75 of 757 and iNaturalist-2018 79 of 5699. Both long-tailed sets therefore fit nine coefficients from fewer than eighty observations, an order of magnitude below ImageNet, despite having more classes in total: a long tail spends the dump on classes too thin to measure a for, so raising lowers the number of usable regression targets rather than raising it. The cross-validated errors of 0.036, 0.072 and 0.127 track that count.
This also says what does not separate Pl@ntNet from iNaturalist. Their fits are built from 75 and 79 classes, the same number for this purpose, yet one yields a significant improvement under the restriction below and the other yields nothing. The difference is downstream of the regres-sion: iNaturalist's oracle ceiling is 0.018, so there is almost nothing to take even with a perfect , and its held-out space is 2443 classes against Pl@ntNet's 324. is not the axis; measurable calibration depth, and the ceiling it leaves, are.
| Dataset | Thr. | Kept | worst-class |
|---|---|---|---|
| Pl@ntNet | 151 | ||
| Pl@ntNet | 98 | ||
| iNat-2018 | 237 | ||
| iNat-2018 | 75 |
Table S7. Restricting evaluation to classes whose slice can support a per-class estimate. Five splits. Pl@ntNet recovers a significant improvement; iNaturalist does not, and there means the method declines to act rather than acting and failing.
The threshold changes the label space, so the row counts matter. On Pl@ntNet-300K the rule keeps 98 of 1081 classes, of which 34 are held out, and the survivors carry a median of 116 calibration and 198 evaluation examples each. At it keeps 151 classes with medians of 69 and 116. The improvement is significant at the stricter threshold and not at the looser one, which is the ordering Fig. 2a predicts, since 35 sits at the edge of measurability while 75 is clear of it.
On iNaturalist-2018 the survivors are not starved either: at the 237 surviving classes hold a median of 40 calibration and 56 evaluation examples. Table S8 gives the shrinkage curve on its labelled classes and explains the zero. The curve decreases monotonically, so is not degenerate; it carries signal, and the signal is wrong. Because the grid contains , the selection step returns the marginal threshold and the method neither helps nor harms. The cross-validated error of is 0.127 here against 0.036 on ImageNet, so the regression is roughly three and a half times worse in a label space eight times larger, fitted in a descriptor space of the same dimension. A richer regression head does not recover it: the quadratic and kernel heads of Sec. S abstain in all five splits here, exactly as the ridge does. Whether richer descriptors would is untested, and is the open question.
| 0 | 0.1 | 0.3 | 0.5 | 1.0 | |
|---|---|---|---|---|---|
| worst | 0.699 | 0.466 | 0.385 | 0.350 | 0.319 |
Table S8. Shrinkage curve on the labelled classes of iNaturalist-2018, mean over five splits, at the threshold. Every positive is worse than none, so the selection step returns . A flat curve would have meant was degenerate; a decreasing one means it is informative and points the wrong way.
L. ImageNet-C, per corruption
Table S9 reports all 15 corruptions at severities 3 and 5, three splits each. Calibration uses clean images and evaluation uses corrupted ones, so exchangeability fails and no method retains a coverage guarantee here, as the corrupted-input experiment of the main paper states.
The empty-set column is the direct evidence of that. It ranges from 0.063 (brightness, severity 3) to 0.757 (contrast, severity 5), and an average set size below 1.0 is only possible when a large share of test points receive nothing. A threshold calibrated on clean images does not give narrow sets on corrupted ones; it abstains. Coverage and set size both merely look “low” in that regime, which is why we added this column.
| Corruption | Sev. | Cov. | Size | Empty | |
|---|---|---|---|---|---|
| brightness | 3 | +0.0200 | 0.841 | 1.345 | 0.063 |
| brightness | 5 | +0.0067 | 0.746 | 1.362 | 0.103 |
| contrast | 3 | -0.0133 | 0.600 | 1.297 | 0.171 |
| contrast | 5 | +0.0000 | 0.053 | 0.317 | 0.757 |
| defocus_blur | 3 | +0.0067 | 0.500 | 1.146 | 0.268 |
| defocus_blur | 5 | +0.0000 | 0.229 | 0.763 | 0.497 |
| elastic_transform | 3 | +0.0000 | 0.706 | 1.355 | 0.112 |
| elastic_transform | 5 | +0.0000 | 0.264 | 1.422 | 0.164 |
| fog | 3 | +0.0133 | 0.629 | 1.345 | 0.143 |
| fog | 5 | +0.0000 | 0.360 | 1.157 | 0.264 |
| frost | 3 | +0.0000 | 0.441 | 1.187 | 0.247 |
| frost | 5 | +0.0000 | 0.331 | 1.095 | 0.305 |
| gaussian_noise | 3 | +0.0067 | 0.509 | 1.266 | 0.201 |
| gaussian_noise | 5 | +0.0000 | 0.096 | 0.636 | 0.545 |
| glass_blur | 3 | +0.0000 | 0.278 | 1.076 | 0.326 |
| glass_blur | 5 | +0.0000 | 0.141 | 0.762 | 0.500 |
| impulse_noise | 3 | +0.0133 | 0.502 | 1.309 | 0.188 |
| impulse_noise | 5 | +0.0000 | 0.113 | 0.674 | 0.523 |
| jpeg_compression | 3 | +0.0200 | 0.772 | 1.372 | 0.085 |
| jpeg_compression | 5 | +0.0067 | 0.522 | 1.309 | 0.184 |
| motion_blur | 3 | +0.0067 | 0.512 | 1.206 | 0.236 |
| motion_blur | 5 | +0.0000 | 0.220 | 0.885 | 0.425 |
| pixelate | 3 | +0.0067 | 0.685 | 1.378 | 0.112 |
| pixelate | 5 | +0.0000 | 0.371 | 1.190 | 0.258 |
| shot_noise | 3 | +0.0000 | 0.470 | 1.244 | 0.213 |
| shot_noise | 5 | +0.0000 | 0.113 | 0.714 | 0.492 |
| snow | 3 | +0.0000 | 0.494 | 1.297 | 0.184 |
| snow | 5 | +0.0000 | 0.262 | 1.002 | 0.349 |
| zoom_blur | 3 | +0.0000 | 0.528 | 1.280 | 0.190 |
| zoom_blur | 5 | +0.0000 | 0.367 | 1.152 | 0.272 |
Table S9. ImageNet-C, per corruption and severity, three splits. worst is the change in worst-class coverage on held-out classes at matched set size. Pooled over all 90 conditions the improvement is +0.003 [+0.001, +0.005].

- labelled class 1 held out
Figure S1. The mechanism, on the primary ImageNet configuration. Every labelled class contributes an observed offset and a predicted one ; held-out classes appear as ticks on the horizontal axis, because the observed coordinate does not exist for them. The regression recovers the direction of the correction and understates its magnitude, and the classes that decide the minimum lie in the dense band near , where the cost is prediction error rather than shrinkage towards the mean. That error is the quantity Prop. 1 bounds, though Sec. Z finds that bound is not what selects .
M. What the regression fits
Which classes enter the fit. A labelled class contributes an observed offset only if it holds at least calibration rows. On the primary ImageNet configuration that threshold never binds: the thinnest labelled class holds 101 rows and the median 177, so all 700 enter. It binds on the long-tailed sets, where the median labelled class holds two, and there the exclusion is the measurability problem of Sec. K rather than a separate design choice. Weighting thin classes by their row count instead of excluding them would therefore change nothing on ImageNet, and on the long-tailed sets would admit a per-class quantile estimated from two observations.
N. Which classes the correction moves
Worst-class coverage is a minimum, and a minimum says nothing about the shape it was taken from. Figure S2 therefore plots the whole sorted curve and Tab. S10 reports the mean change by prevalence quintile, with the fraction of classes that rise and fall. Both come from the first split of the primary configuration, the only one for which we stored the per-class breakdown.
The curve rotates rather than shifting. On the held-out classes the lowest-ranked class rises from 0.658 to 0.691 while the median falls from 0.921 to 0.909, and macro-coverage moves from 0.904 to 0.900. The oracle rotates the same curve further, lifting its worst class to 0.792 and pulling its median to 0.883; what separates the two is how far the rotation goes, not which way. Because the comparison holds average set size fixed, coverage given to the classes that were failing has to come from somewhere, and it comes in thin slices from the classes that had it to spare. Whether that trade is worth making is a decision about the application rather than about the method, which is why we report both the minimum and the average throughout.
Two cautions on reading the fractions in Tab. S10. At the 76 evaluation examples per class of this configuration a single example is 0.013 of coverage, so how many classes register as changed at all depends on evaluation depth as much as on the correction; the mean change of -0.004 is the quantity that survives a change of depth. And the worst class is not the same class before and after, class 754 before the correction and class 663 after, so the two ends of that arrow are not one class being repaired.
Prevalence carries little information here, because ImageNet's held-out classes hold between 693 and 1199 rows in the score dump and are therefore close to balanced. The quintiles are included so that the same table can be read for the long-tailed datasets, where prevalence varies over three orders of magnitude.
| Quintile | Classes | Med. prev. | Mean |
|---|---|---|---|
| 1, frequent | 60 | 1182 | -0.0078 |
| 2 | 60 | 1174 | -0.0033 |
| 3 | 60 | 1169 | -0.0033 |
| 4 | 60 | 1163 | -0.0039 |
| 5, rare | 60 | 1147 | -0.0024 |
Improved 11.3%, worsened 43.3%
Worst class 0.658 → 0.691
Table S10. Change in per-class coverage on the 300 held-out ImageNet classes, by prevalence quintile, at matched average set size. The correction concentrates its effect on the failing classes and pays for it with small reductions spread across the rest.
O. Score-level interventions do not equalise class coverage
Sec. 3.1 argues that improving cannot equalise coverage across classes, because any such change moves every class in the same direction and supplies no per-class degree of freedom. Table S11 is the measurement behind that argument. We built four score functions from the same backbone, the plain softmax and three aggregations over augmented copies of the input [40], and evaluated each with the marginal threshold across two miscoverage levels, three descriptor families and three splits, for 48 configurations.

Figure S2. Class-conditional coverage of every class, sorted, on the primary ImageNet configuration. Rank rather than percentile on the horizontal axis, because worst-class coverage is decided by the leftmost few classes and a linear axis compresses them to nothing. The correction rotates the curve: the tail rises and the classes that had coverage to spare give some back, with the crossing near rank 150 of 300 on the held-out classes. The oracle performs the same rotation further, which is the sense in which it is a ceiling rather than a different kind of method.
The four scores are close to indistinguishable in worst-class coverage. At and matched to within 0.03 in average set size they give 0.534, 0.485, 0.534 and 0.518, so the spread across four quite different score constructions is 0.049, and two of the three augmentation-based scores are worse than the plain softmax. Their macro-coverage and marginal coverage agree to three decimal places. This is what a score-level intervention looks like when the objective is a minimum over classes.
Two honest caveats. The comparison is on one backbone and one dataset, so it supports the structural argument and does not substitute for it. And this configuration has a median of 25 evaluation examples per class, which Sec. 4.3 places below the measurability threshold, so the near-zero effect of PCC in the last column of Tab. S11 is uninformative about PCC. That configuration is in fact the fifth instance of the evaluation-depth pattern we found, and we found it before we understood the pattern, which is part of why the diagnosis in Sec. 4.3 took three attempts.
P. Splitting the calibration rows
Prop. 2 requires the rows used to build and the rows used to calibrate to be disjoint, and the configuration reported throughout Sec. 4 does not provide that: and all read the same calibration rows. We measured the cost of the reuse in Sec. I, where PCC lands 0.0024 of marginal coverage below the marginal threshold on the same rows.
PCC-split is the variant the proposition covers. The calibration rows of each labelled class are divided by a per-class random split; the first part estimates , fits and selects and , and the second part is used for nothing except
| Score | Worst-class | Set size | Macro | Δ PCC |
|---|---|---|---|---|
| Softmax (LAC) | 0.534 | 1.256 | 0.900 | -0.005 |
| Average over augment. | 0.485 | 1.228 | 0.898 | +0.002 |
| Learned aggregation | 0.534 | 1.233 | 0.899 | +0.001 |
| Uncertainty-modulated | 0.518 | 1.230 | 0.900 | -0.003 |
Table S11. Four score functions on the same backbone under the marginal threshold, held-out classes, , three splits. Changing the score leaves worst-class coverage within 0.049 and does not order the scores the way marginal coverage would. The last column reports what PCC adds on top of each, in a configuration whose 25 evaluation examples per class put it below the depth at which the statistic can move (Sec. 4.3).
| Quantity | Rows | Classes |
|---|---|---|
| (1) | calib. | labelled |
| (3) | calib. | labelled, |
| calib. | labelled, | |
| (5) | calib. | labelled |
| calib. | labelled | |
| (9) | calib. | labelled |
| all reported numbers | eval. | both tables |
Table S12. What each estimated quantity may see; the equation numbers are those of the main paper. Evaluation rows and held-out classes are used only for reporting. The default configuration lets , and share the same calibration rows, which is convenient but not what Prop. 2 assumes; PCC-split divides those rows in two and is the variant the proposition covers.
the conformal quantile that gives . Held-out classes and evaluation rows are untouched in both variants, so the comparison isolates the effect of the reuse.
The cost is statistical and falls entirely on . The offset is a single scalar computed from pooled rows, so it needs a large total and not depth within each class: at the two fractions we report it is estimated from roughly 31k and 62k rows, whose conformal slack is and , both two orders of magnitude below the 0.0024 deficit being measured. The regression is the part that pays, since it needs depth per class: the reuse variant fits on 174 calibration examples per class and the two split variants on 131 and 87. Tab. 2 puts the price of that at roughly 0.019 per halving. We report two fractions rather than one so that the choice cannot be read as tuned.
Table S13 reports both arms against the reuse variant over ten paired splits. Satisfying the premise removes the deficit and costs nothing measurable. At a quarter of the calibration rows held back, marginal coverage moves from 0.8994 to 0.9011 against a target of 0.900, and the deficit relative to the marginal threshold on the same rows falls from 0.0018 to zero at four decimal places. Paired split by split the improvement in marginal coverage is +0.00161 with interval , which excludes zero, while the change in worst-class coverage is +0.0048 with interval , which does not.
We expected the split to cost something, since loses a quarter of its calibration depth, and within the resolution of ten splits it does not. The likely reason is visible in Tab. 2: worst-class improvement is flat between 100 and 175 calibration examples per class, and the split moves us from 174 to 131, which is inside that flat region. At half the rows held back, leaving 87 per class, the point estimate does fall back to the reuse level, which is the direction the depth curve predicts.
The recommendation that follows is to use the split variant. It is what Prop. 2 covers, its coverage lands on target rather than below it, and the price at a quarter is not measurable here. Tab. 1 is reported under the split variant for that reason. The remaining tables use reuse, which is what every earlier run used, and the difference is now measured rather than argued: over five paired splits at the protocol of Sec. 4, with the published baselines fitted alongside, the two variants give worst-class improvements that agree to four decimals, a paired difference of . The lower-tail metrics do separate them, by 0.0006 at the fifth percentile, which is the resolution worst-class coverage lacks.
Q. The row budget, and whether the results depend on it
Every table in this paper is computed on a random subsample of 250,000 rows from a score dump of 1,153,051, and the reason is worth stating plainly because it began as a practical one. The full dump is a matrix of float32, which is 4.61 GB, and holding it alongside the score transform and the calibration and evaluation slices exceeds the memory of the machines we ran on.
| Variant | Marg. cov. | Deficit | Δ worst |
|---|---|---|---|
| Reuse | 0.8994 | -0.0018 | +0.0588 |
| Split 25% | 0.9011 | -0.0000 | +0.0636 |
| Split 50% | 0.9003 | -0.0007 | +0.0585 |
| Target | 0.9000 | — | — |
Table S13. PCC-split against reuse, ten paired splits on ImageNet at . “Deficit” is marginal coverage minus that of the marginal threshold measured on the same evaluation rows, so it isolates the optimism from reusing calibration rows rather than the finite-sample slack common to both. worst-class is the matched-size statistic used throughout the paper.
Three properties make the subsample a valid operation rather than a convenience. It is drawn as a fraction within each class rather than as a global cap, which preserves the prevalence structure of the dump; a global cap would equalise the class counts and make the prevalence feature constant, which would in turn make the prevalence ablation vacuous. Because the draw is uniform at random and does not depend on any score or label value, the calibration and test rows remain exchangeable, so Prop. 2 is unaffected. And the depth that remains, about 250 rows per class, exceeds the 84 per class that the pre-registered premise required, by a factor of 2.7.
What the subsample does cost is precision, and the direction of that cost is the part a reader should be able to check rather than take on trust. Both of the depth results in this paper say the cost runs against us: Tab. 2 shows worst-class improvement rising with calibration depth, from 0.033 at ten examples per class to 0.059 at 175, and Fig. 2a shows the measurable effect rising with evaluation depth. A larger budget should therefore give a larger number, which would make 250,000 conservative.
Table S14 sweeps the budget over a factor of three, at five splits each. The prediction above is not what we found, and neither is its opposite. The improvement does not vary detectably with the budget: the three point estimates are 0.058, 0.050 and 0.076, each of them lies inside the confidence intervals of the other two, and the regression of the improvement on log rows gives a slope of +0.013 per e-fold, which five splits cannot distinguish from zero. The middle budget is the lowest of the three, so the sequence is not even monotone.
For the question this section exists to answer, that is a better result than the one we predicted. The row budget was chosen for a practical reason, and the measurement says the choice does not determine the conclusion over the range we can afford to test. The paper's headline is not an artefact of the subsample.
One trend in the table is real and is a consequence of the paper's own argument. The oracle ceiling falls as the budget grows, from 0.140 to about 0.116. Worst-class coverage is a minimum over three hundred classes, and a minimum computed from 76 evaluation examples per class is more extreme than one computed from 228, for the method and for the oracle alike. Deeper evaluation makes the statistic less noisy and therefore less generous, which is the same effect Fig. 2a measures from the other direction.
| Rows | Cal. | Eval. | Δ worst-class | Ceil. |
|---|---|---|---|---|
| 250k | 177 | 76 | +0.058 [+0.006, +0.110] | 0.140 |
| 500k | 354 | 152 | +0.050 [+0.011, +0.089] | 0.105 |
| 750k | 532 | 228 | +0.076 [+0.034, +0.118] | 0.116 |
Table S14. The row budget swept over a factor of three, five splits each, everything else at the primary configuration. No point estimate falls outside the intervals of the other two. The 250k row reproduces the corresponding entry of Fig. 2b to four decimal places, which is the check that the sweep shares the configuration of the rest of the paper.
R. Descriptor choices
The nine features are , , the cosine distance from to its nearest competing row, the mean cosine distance to its nearest rows for , the spread of those distances, the cosine distance to the mean row, and log prevalence. A tenth candidate, the cosine distance to the single nearest row computed at , is the feature closest in construction to the regression target and is held out of the feature set for that reason. All nine are standardised to zero mean and unit variance before the ridge, using the labelled classes' statistics, so nothing depends on their relative scales — and log prevalence differ by an order of magnitude.
Heads that are not linear. A model scoring by embedding similarity has no weight row to read, but it has the object stands in for: a class prototype, whether a normalised centroid or a learned embedding the logit takes an inner product with. Six of the nine features are angular — the nearest-row distance, the three -neighbourhood means, their spread, and the distance to the mean row — and are defined on prototypes unchanged. The two that are not fare worse. A cosine classifier normalises its rows, so is constant by construction, and most such heads carry no bias, which would leave with seven entries and neither of its two scale features. That is arithmetic, not a result: whether the remaining geometry carries enough signal is an empirical question, and we have not run it.
Tab. 2 ablates by feature group. Distances alone and prevalence alone are both significantly worse than the full set, while removing prevalence is not, so the geometric features carry the signal and the one label-derived feature is dispensable. The neighbour counts were fixed in advance and never tuned; enters only through the nearest-row distance and the margin. The cross-validated error of is stable across splits, at 0.0356 to 0.0372 over the five ImageNet splits, and the selected is 0.1 in all five, which is the sense in which the fit is not delicate.
Table S15 varies the three choices a reader is most likely to question, at five splits each. The metric matters and the other two do not. Replacing cosine distances with Euclidean ones costs 0.013 of worst-class improvement and raises the cross-validated error of from 0.036 to 0.040, which is the only arm where the regression measurably degrades. Dropping the head bias and changing the neighbour counts leave both quantities where they were.
Two of those arms return numbers identical to the default at four decimal places, and that is worth explaining rather than presenting as three independent confirmations. Worst-class coverage is a minimum over three hundred classes estimated from about 76 evaluation examples each, so it is a coarse statistic dominated by one badly covered class. The feature sets do differ and so do the fitted regressions, but neither change moves that particular class into or out of a different coverage bucket. The honest reading is that the result is insensitive to these two choices, not that they have no effect on .
| Descriptors | Δ worst-class | CV err. |
|---|---|---|
| Cosine, all | +0.058 [+0.006, +0.110] | 0.036 |
| Euclidean | +0.045 [+0.009, +0.081] | 0.040 |
| No head bias | +0.058 [+0.006, +0.110] | 0.036 |
| +0.058 [+0.006, +0.110] | 0.036 | |
| +0.063 [+0.016, +0.111] | 0.036 |
Table S15. Descriptor choices, five splits each on held-out ImageNet classes. “CV error” is the cross-validated mean squared error of on the labelled classes. The neighbour count held out as the distance reference follows the smallest requested, so each arm withholds its own feature and none is advantaged.
S. The regression head
Sec. 3.3 fits by ridge regression. Whether that linear form is what limits the method is a fair question, and it is sharpest on iNaturalist-2018, where the regression carries no usable signal at all. We replaced the ridge with two closed-form nonlinear heads and changed nothing else: a quadratic head, a ridge over the squares and pairwise products as well as the features, and kernel ridge with an RBF kernel. Both are shrunk, selected and recalibrated by the same procedure as the linear head, so the rows of Tab. S16 are comparable with the rest of the paper. The class floor is checked against the coefficients each head actually fits, which for the quadratic head over features is 54 rather than 9.
The linear head is not the constraint. On ImageNet the quadratic head moves the point estimate by 0.0004 and widens the interval to include zero, beating the linear head on one of the five splits, tying on two and losing on two; its standard deviation across splits is 0.079 against the linear head's 0.059. The kernel head is worse at every width we tried, and at it is worse than applying no correction.
On the long-tailed datasets the reason is visible rather than inferred. Pl@ntNet-300K is where the extra capacity ought to pay, since there is a real effect to find, and there the shrinkage step declines to use the nonlinear predictions: in three of five splits for both nonlinear heads and in none of them for the linear head. On iNaturalist-2018 every head abstains in every split, so what fails at is not the functional form of . The oracle ceiling there is 0.018, and that is the more immediate obstacle.
The direction is the one Prop. 1 describes. Worst-class coverage is controlled by the largest error in the predicted offsets, and a head with more capacity fits the labelled classes more closely without any corresponding control on its worst error over classes it has never seen. Section Z measures that sup-norm error and finds it does not select , so this remains an interpretation rather than a second measurement; what is measured is that the extra capacity buys no point estimate, costs interval width on every dataset, and is declined outright wherever the shrinkage step is free to decline it.
| Data | Head | Δ worst-class | ||
|---|---|---|---|---|
| Image Net | linear | +0.058 [+0.006, +0.110] | 0.10 | 0/5 |
| quadratic | +0.058 [-0.011, +0.128] | 0.20 | 0/5 | |
| kernel | +0.026 [+0.008, +0.045] | 0.32 | 0/5 | |
| γ=0.3 | +0.046 [+0.004, +0.088] | 0.23 | 0/3 | |
| γ=3 | -0.022 [-0.065, +0.021] | 0.27 | 0/3 | |
| Pl@nt Net | linear | +0.019 [+0.010, +0.028] | 0.22 | 0/5 |
| quadratic | +0.014 [-0.009, +0.038] | 0.06 | 3/5 | |
| kernel | +0.009 [-0.005, +0.023] | 0.04 | 3/5 | |
| iNat | all | +0.000 [0.000, 0.000] | 0.00 | 5/5 |
Table S16. Replacing the ridge with a nonlinear head, everything else at the configuration of the corresponding table. Five splits, except the two indented RBF-width rows, which are three and carry their own ceiling of 0.153. Unindented kernel rows use . Oracle ceilings are 0.140 on ImageNet, 0.086 on Pl@ntNet-300K under the 75-example restriction of Tab. S7, and 0.018 on iNaturalist-2018. The last column counts splits in which the shrinkage step declined the prediction entirely.
T. How much the head row has to be worth
Our zero-calibration classes are ImageNet classes whose calibration rows we delete, so the head row supplying was fitted with their training data. A class that is genuinely rare has a row fitted from few examples. Two questions follow: how much does the correction depend on that row, and where do real rare classes sit relative to the classes we tested on.
The second is measurable without retraining, and without the confound that makes the direct test unreadable — in a long-tailed dataset a class with few training examples also has few calibration rows, so its observed offset is noisy too, and a regression of prediction error on class abundance cannot separate a noisy descriptor from a noisy target. Head geometry alone carries no such confound: the head is fitted on the training split while abundance is read off the calibration split, which the head never saw. Table S17 reports it. In models trained on genuinely long-tailed data, the rows of data-poor classes sit further from the mean row than the head classes', not closer, and on Pl@ntNet-300K the relationship is strong. ImageNet is the control and shows nothing, as it must: its classes are balanced by construction, so there is no variation for the measurement to track.
That direction matters, because the obvious perturbation is the wrong one. Shrinking a row towards the mean models a class whose geometry has washed out; the measurement says real rare rows move the other way. We therefore perturb outward, adding isotropic noise scaled to for held-out classes only. In high dimension is nearly orthogonal to , so the distance-to-mean ratio becomes and a measured ratio r reads back as : Pl@ntNet's 1.611 is and iNaturalist's 1.072 is . The realised ratios matched the intended ones to three decimals in every run.
Held-out descriptors are read off the perturbed head while the labelled ones stay on the original, so is selected exactly as in Sec. 4 and the method cannot adapt to the handicap. Two rows of Tab. S18 are checks rather than results: reproduces , and at every , confirming the perturbation never reached the labelled side. An earlier version of this experiment shrank the head in one pass and moved, because is built from distances to competing rows and the held-out rows are among the candidates; that version measured a method partly adapting to its own handicap.
The correction rests on the geometry. It survives at , is indistinguishable from zero by , and by is significantly harmful at with an interval excluding zero. Shrinkage cannot rescue this, because is chosen on the labelled classes whose rows are intact. The lower-tail metrics fall monotonically alongside, so what degrades is the tail as a whole and not one class.
What this does not explain is the long-tailed failures, and we had expected it to. The two datasets sit on opposite sides of the sweep's breakpoint from their outcomes: iNaturalist has the milder perturbation, , where the method still works, yet it abstains entirely; Pl@ntNet has the severe one, , where the sweep says the effect is gone, yet it is where we measure a significant improvement. Head-row geometry is a real sensitivity and not the mechanism behind those results, which Sec. K continues to attribute to regression quality and to a near-zero oracle ceiling. The sweep transfers a magnitude measured on one dataset onto another, and the inversion is the evidence that such a transfer does not carry the explanation with it.
| Data | r | with abundance | |
|---|---|---|---|
| ImageNet, control | 1.04 | 0.28 | -0.09 |
| iNaturalist-2018 | 1.07 | 0.39 | -0.36 |
| Pl@ntNet-300K | 1.61 | 1.26 | -0.88 |
Table S17. Head-row geometry against class abundance. is the ratio of median between the bottom and top deciles of calibration depth, and is the Spearman correlation of with log abundance. ImageNet is the control: its deciles differ by a factor of 1.0 in abundance, so it has almost no variation to track, and it shows none.
| σ | ratio | Δ worst-class | CVaR5% |
|---|---|---|---|
| 0.00 | 1.00 | +0.058 [+0.006, +0.110] | 0.732 |
| 0.39 | 1.07 | +0.049 [+0.000, +0.098] | 0.725 |
| 0.60 | 1.17 | +0.043 [-0.014, +0.099] | 0.718 |
| 1.26 | 1.61 | -0.014 [-0.072, +0.043] | 0.672 |
| 2.00 | 2.24 | -0.069 [-0.127, -0.012] | 0.625 |
Table S18. Held-out head rows perturbed outward by , five splits each, everything else at the primary configuration. and are the magnitudes Tab. S17 measures for iNaturalist-2018 and Pl@ntNet-300K. The oracle ceiling is 0.140 throughout, since the oracle reads the test labels and not . CVaR is the mean coverage of the worst five per cent of classes and falls monotonically with the minimum, so the tail moves as a whole.
U. Runtime
We report the cost of a whole configuration rather than of individual operations, because that is what the run logs measure and it is the number a practitioner cares about. Table S19 gives the median wall-clock time per configuration for each phase of the main experiment. PCC itself adds no training: the descriptors are read from the classifier's weight matrix, is a closed-form ridge fit over at most points with features, and the shrinkage grid evaluates eight thresholds. No images, gradients or GPU are involved at any point after the score dump exists.
The baselines dominate the cost. A configuration that additionally runs the seven baseline entries takes 476 s against 128 s without them, so the comparison costs roughly 350 s per split, or about 2.7 times the whole rest of the pipeline. Most of that is the kernel-weighted variants, which are evaluated at five bandwidths each. The main sweep is 228 configurations and 5.6 hours of CPU time; the additions of Secs. P to R add a further 73 and about 3 hours.
| Phase | Content | Configs | Median |
|---|---|---|---|
| C | baseline comparison | 3 | 481 s |
| D | ImageNet-C | 90 | 21 s |
| E | additional backbones | 30 | 21 s |
| F | evaluation-depth sweep | 25 | 235 s |
| G | long-tailed datasets | 20 | 63 s |
| H | held-out fraction sweep | 25 | 131 s |
| S | score and α sweep | 35 | 127 s |
| Total, 228 configurations | 5.6 h | ||
| Later additions, 184 configurations | 9.5 h | ||
Table S19. Wall-clock cost per configuration, one CPU core, measured from the run reports. Phase D and E are fast because their evaluation slices are small; phase F is slow because each of its five depth caps is run at ten splits.
V. Matching set size without the test set
Eq. 4 solves for the scalar that brings average set size to the target, and that average is taken over the evaluation rows. No labels enter — set size does not need them — but the evaluation inputs do, which makes the comparison transductive. A deployed system sees one test point at a time and has no test-set average to match against, so it could not reproduce the matching, only the thresholds that precede it.
We therefore re-ran the primary configuration with both the target and the shift solved on the calibration slice, columns restricted to the table's classes and every row kept. Restricting rows by label would leave nothing for the held-out table, since a class with no calibration rows is what that table is about; asking instead how many of those classes each calibration row admits is a quantity a deployment can compute. Coverage is still read off the evaluation rows.
The improvement does not depend on the transductive part. Over the same five splits it is +0.058 [0.006, 0.110] either way, agreeing to four decimals, while the shift applied to PCC moves from -0.0019 to -0.0025 and the set size it achieves on the evaluation rows moves from 1.223 to 1.215 — so the change is real and the statistic is simply not sensitive to it, the same coarseness Sec. R describes. The lower tail does register it, at 0.7318 against 0.7308.
One caveat belongs here rather than in a footnote. The oracle's shrinkage is selected on the evaluation slice and this variant does not re-derive that selection, so under calibration matching the oracle optimises one objective and is read under another; its ceiling collapses and we do not report it for this arm. That does not affect what the arm is for: PCC and the marginal threshold are matched the same way as each other, which is what the comparison requires. The oracle is a scale, not a comparator.
W. Every choice the method makes
Table S20 lists every quantity a reader would have to guess otherwise. Two of them are worth a sentence. The shrinkage grid contains 0, which is what lets the method decline to act rather than acting badly, and the entry 1 is included so that the unshrunk correction is always among the candidates and its cost is visible in Tab. 2 rather than assumed. And the target set size is not a free parameter: it is the average set size the marginal threshold itself produces on the labelled calibration rows, so “matched size” means matched to the uncorrected marginal threshold, and nothing is tuned by choosing it.
Nothing in this table was selected on evaluation rows or on held-out classes. The two quantities that are selected at all, and , are selected on the labelled label space, which is why the labelled and held-out tables are reported apart (Sec. 3.4).
| Quantity | Value |
|---|---|
| Shrinkage grid | 0, .05, .1, .2, .3, .5, .7, 1 |
| Ridge penalty | 1.0, fixed, never tuned |
| Descriptor scaling | standardised on fit classes |
| 25, pre-registered | |
| Target size | avg. size of |
| 0.10 unless stated | |
| Held-out fraction | 0.30 unless swept |
| Calib. fraction | 0.70 of row budget |
| Row budget | 250,000, per-class random |
| Splits | seeds 0–4 (0–9 ablations) |
| Neighbour counts | 5, 10, 50, never tuned |
| held out as the distance reference | |
| head | ridge (Sec. S) |
| Recal. slice | 0 reuse, 0.25 split |
Table S20. Every hyperparameter and protocol constant. Values are the code's defaults, which are what produced every number in the paper; the sweeps state their own departures. The ridge penalty is fixed rather than cross-validated, because the fit has at most points and nine features and we would rather report a fixed choice than a tuned one.
X. Reproducibility
All 412 configurations write one JSON report each, containing the resolved configuration, the seed, every metric in Tab. S2 for both tables, the selected and its whole curve, the measurability regime, wall-clock time, the interpreter and package versions, and the git commit of the code that produced it. The pre-registration documents summarised in Sec. E are in the same repository and are dated before the runs.
Two limitations of the comparison should be stated rather than implied. First, baselines are invoked from their authors' released implementations, which we consider the only defensible way to report a baseline's behaviour at , but we have not reproduced their published numbers on their own benchmarks; our claim is about what their code does on our data, not about whether we have implemented their method as they would. Second, TACP [29] is discussed in Sec. 2 and absent from Tab. 1 because its authors release no code and it is evaluated on benchmarks we do not have, so any row we produced would be our own reimplementation held to a lower standard than the rest of the table.
Y. Tail statistics beyond the minimum
Worst-class coverage is one order statistic and inherits the variance of one class, so a reader may reasonably ask what a less extreme summary of the lower tail shows. Table S21 reports five of them on the 300 held-out ImageNet classes. The arms are the ones Tab. 1 compares and are read at the same matched average set size; the coverage vectors are the ones that table is built from, saved from the same run so that the two cannot disagree about the split or the fit.
| Statistic | Marginal | PCC | Oracle | Δ PCC |
|---|---|---|---|---|
| Worst class | 0.6579 | 0.6912 | 0.7922 | +0.0333 |
| 5th percentile | 0.7646 | 0.7662 | 0.8421 | +0.0016 |
| 10th percentile | 0.7992 | 0.8155 | 0.8571 | +0.0163 |
| CVaR5% | 0.7313 | 0.7381 | 0.8230 | +0.0068 |
| CVaR10% | 0.7565 | 0.7630 | 0.8387 | +0.0066 |
| Mean over classes | 0.9039 | 0.8998 | 0.8812 | -0.0041 |
Table S21. Lower-tail statistics of per-class coverage on the held-out classes, seed 0 of the primary configuration under the reuse variant, all arms at matched average set size. is the mean coverage of the worst of classes. This is a single split and therefore carries no interval: it is a diagnostic, and Tab. 1 is the five-split statement.
Two things are visible. The tail moves in the same direction as the minimum at every depth, which is also what Tab. S18 shows as the head rows are perturbed. And the gain is concentrated near the bottom: PCC moves the minimum by +0.0333 and the mean of the worst five per cent by +0.0068, a fifth as much, where the oracle moves them by +0.1343 and +0.0917, two thirds as much. The single quantiles are jumpy at this sample size — the fifth percentile of 300 classes is the fifteenth class, and it moves +0.0016 while the tenth percentile moves +0.0163 — which is why the CVaR rows are the ones to read. The last row is the price: at matched size, coverage moved into the tail comes out of the mean.
The concentration is what the selection rule asks for. is chosen to maximise worst-class coverage on the labelled classes (Sec. E), so the method spends its one scalar on the minimum, while the oracle reads every class's test labels and has no such bottleneck. Selecting against a risk-averse surrogate instead — CVaR, say — would plausibly trade some of the headline for a flatter tail and less variance across splits, and is the version we would build next. We did not substitute it here because the criterion was fixed before the runs (Sec. E), and a pre-registered statistic is worth more than the best of several chosen afterwards.
Z. Both sides of the sup-norm bound
Prop. 1 assumes each is -Lipschitz and concludes that two matched offset vectors give worst-class coverages within times their sup-norm distance. Both quantities are observable, so neither needs to be assumed. This section measures both, on the primary configuration over five splits, and the result is the one Sec. 3.3 reports: the bound holds and does not explain where lands.
Two things are read at each . The sup-norm distance is taken on the matched thresholds, which is what the proposition is stated over; taking it on the raw offsets instead drops , a constant added to every class and therefore a direct shift of a sup norm. And because the proof invokes Lipschitzness only at the two thresholds being compared, the constant it needs is not a global one: is the smallest constant for which the proof's own inequality holds at those points, and is the median of the same ratio over classes.
| λ | Δσ | worst-class | |||
|---|---|---|---|---|---|
| 0.00 | 0.9421 | +0.008 | 19.1 | 0.54 | 0.5825 |
| 0.05 | 0.9234 | +0.011 | 10.3 | 0.49 | 0.6197 |
| 0.10 | 0.9006 | +0.009 | 16.0 | 0.51 | 0.6405 |
| 0.20 | 0.8416 | -0.014 | 16.8 | 0.47 | 0.6136 |
| 0.30 | 0.7776 | -0.042 | 34.7 | 0.47 | 0.5700 |
| 0.50 | 0.6627 | -0.099 | 16.2 | 0.43 | 0.4855 |
| 0.70 | 0.5510 | -0.156 | 13.3 | 0.42 | 0.4090 |
| 1.00 | 0.6467 | -0.242 | 14.1 | 0.39 | 0.1256 |
Table S22. Both sides of Eq. 7 on the held-out label space, five splits at the primary configuration. is the differential size-matching shift. The and rows reproduce Tab. 1: their difference is . The labelled label space, where is selected, behaves the same way: the distance is smallest at and worst-class coverage peaks at 0.1.
The bound holds at every on both label spaces, which is the check that the two sides are being read at the same thresholds. It is also useless. Instantiated with it exceeds the gap it bounds by a factor of 99 on the held-out space and 49 on the labelled one. The reason is visible in the two columns: is 0.4 to 0.5 and barely moves, so the typical class is well behaved, while is ten to thirty-five times larger. With 76 evaluation rows per class the empirical is a step function of height , so any class whose two thresholds fall within one row of each other returns an arbitrarily large ratio. What measures at this depth is the discreteness of the estimate, not the smoothness of ; is the number to read, and it says a threshold change of moves a typical class's coverage by about .
The substantive finding is that the sup norm does not select . It falls monotonically from to and rises again at 1, so it does have an interior minimum — but at , while worst-class coverage peaks at 0.1 and has already fallen by 0.23 by the time the distance reaches its minimum. Between the two optima the columns move in opposite directions at every step of the grid. A reader given only Eq. 7 would choose and lose most of the effect.
What does move with is , from to : a wider correction inflates average set size, and Eq. 4 pays for it by shifting every threshold down, the worst class included. That term is four times the size of the entire effect this paper reports and is exactly what a sup-norm distance between two already matched vectors cannot see, since it is common to all classes. This is why is not merely suboptimal but catastrophic — worst-class coverage 0.1256 against 0.5825 at — even though its sup-norm distance is smaller than at .
Table S22 also answers what the shrinkage grid itself is worth. Its range brackets the optimum on both sides: is the null and is catastrophic, so there is nothing to gain by extending it. Its resolution is load-bearing, and unevenly so. Worst-class coverage peaks at on both label spaces — the labelled one, where is selected, and the held-out one, where the headline is read — so the selection rule transfers rather than merely being self-consistent, and on all five splits. But the neighbouring grid points cost 0.021 and 0.027, which is a third of the effect being reported, and already scores below the null on both spaces. A grid whose smallest non-zero value is 0.5 therefore selects and forgoes the effect entirely. The density near zero is not a formality; a uniformly spaced grid of the same size would have found nothing.
Prop. 1 is therefore sound and its bound verified, but it is a qualitative statement about why a worst-class objective is governed by a maximum rather than a mean, and it should not be read as an account of where lands. The selection rule of Eq. 6 is empirical for this reason, and this measurement is the argument for keeping it so.