How Much Can Reliability Drift Under a Fixed Confidence Distribution?
Organizations: Adelaide University
Abstract
A classifier's conditional accuracy can change while its confidence distribution stays exactly the same. We study the worst-case movement of the reliability relation under covariate shifts that preserve the distribution of the confidence score, constraining the reweighting within each confidence level by a budget; the resulting worst case, as a function of the budget, is a fragility profile. On an interval of budgets that can be computed from the source distribution, the profile equals exactly the square root of the budget times the within-level variance of the correctness propensity -- the grouping-loss term of calibration-refinement decompositions. Beyond this interval the profile is governed by the tails of the propensity law, and the entire upward profile determines the centred within-level law; consequently, calibration residual and grouping variance do not determine fragility in general, though they do when labels and predictions are deterministic. Since the propensity is not observed, we restrict reweightings to a learned finite readout within confidence bins, bound the part the restriction misses by the grouping variance remaining inside readout cells, estimate the restricted profile with role-separated labels, and provide a separate split-sample lower confidence bound. On ImageNet this bound is positive in both splits for four of six primary classifiers and nine of twelve additional ones as released, and for three of eighteen after temperature scaling. Held-out drift under optimised reweightings fitted without evaluation labels tracks the estimated profile; an exploratory label-permutation diagnostic yields near-zero agreement for this statistic while largely reproducing the correlation observed for unsigned random reweightings.
Figures & tables
| Model | Acc. | ECE | FAUC | ECE | FAUC | ||
|---|---|---|---|---|---|---|---|
| ResNet-50 V1 | 0.761 | 0.038 | 0.0004 | 0.042 | 0.024 | 0.0009 | 0.049 |
| ResNet-50 V2 | 0.809 | 0.412 | 0.0133 | 0.135 | 0.032 | 0.0009 | 0.046 |
| ConvNeXt-T | 0.825 | 0.169 | 0.0081 | 0.112 | 0.031 | 0.0011 | 0.048 |
| ViT-B/16 | 0.811 | 0.057 | 0.0011 | 0.048 | 0.042 | 0.0005 | 0.042 |
| Swin-T | 0.815 | 0.068 | 0.0015 | 0.056 | 0.032 | 0.0004 | 0.038 |
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
| bins used | target mass kept | mean | severity 1 | severity 5 | |
|---|---|---|---|---|---|
| all | 400/450 | ||||
| unflagged | ( – ) | 401/450 |
| Target | median | |||
|---|---|---|---|---|
| ImageNet-C (75 domains) | 0.103 | 0.034 | 0.102 | 0.63 |
| ImageNetV2 | 0.058 | 0.006 | 0.055 | 0.37 |
| ImageNet-Sketch | 0.240 | 0.024 | 0.223 | 0.89 |
| changed assignments / violations | max absolute difference | |||||||||
| bins | frozen | rank | ties | cells | FAUC + | FAUC - | sel. risk | |||
| ResNet-50 V1 | 0 | 0 | 0 | 0 | ||||||
| ResNet-50 V2 | 0 | 0 | 0 | 0 | ||||||
| ConvNeXt-T | 0 | 0 | 0 | 0 | ||||||
| ViT-B/16 | 0 | 0 | 0 | 0 | ||||||
| Swin-T | 0 | 0 | 0 | 0 | ||||||
| ECE | binary NLL | ECE 15 | |||||
|---|---|---|---|---|---|---|---|
| monotone | reduction | monotone | monotone | ||||
| ResNet-50 V1 | 0.03614 | 0.01288 | 0.39579 | 0.37929 | 0.03688 | 0.01349 | |
| ResNet-50 V2 | 0.41178 | 0.02162 | 0.80867 | 0.38869 | 0.41178 | 0.02064 | |
| ConvNeXt-T | 0.16933 | 0.01477 | 0.44668 | 0.35481 | 0.16933 | 0.01312 | |
| ViT-B/16 | 0.05589 | 0.02577 | 0.36461 | 0.34621 | 0.05605 | 0.02328 | |
| Swin-T | 0.06794 | 0.01989 | 0.36261 | 0.34134 | 0.06794 | 0.01740 | |
| range | range | Spearman | Kendall | pooled ties | edge gap | ||
|---|---|---|---|---|---|---|---|
| before | after | ||||||
| ResNet-50 V1 | – | – | 29 | 4 | |||
| ResNet-50 V2 | – | – | 29 | 4 | |||
| ConvNeXt-T | – | – | 29 | 4 | |||
| ViT-B/16 | – | – | 29 | 4 | |||
| Swin-T | – | – | 29 | 4 | |||
| ECE | bins chg. | merged | ECE | bins chg. | merged | |||
|---|---|---|---|---|---|---|---|---|
| ResNet-50 V1 | 0.04713 | 0 | 0 | 0.09074 | 0 | 146 | ||
| ResNet-50 V2 | 0.36709 | 0 | 0 | 0.46333 | 0 | 0 | ||
| ConvNeXt-T | 0.23640 | 0 | 0 | 0.10666 | 0 | 0 | ||
| ViT-B/16 | 0.16995 | 0 | 0 | 0.05472 | 0 | 0 | ||
| Swin-T | 0.16788 | 0 | 0 | 0.05107 | 0 | 0 | ||
| ARI | exact agreement | relative | relative FAUC | |
|---|---|---|---|---|
| ResNet-50 V1 | 0.136 | 0.379 | ||
| ResNet-50 V2 | 0.615 | 0.795 | ||
| ConvNeXt-T | 0.584 | 0.775 | ||
| ViT-B/16 | 0.611 | 0.796 | ||
| Swin-T | 0.575 | 0.770 | ||
| EffNet-B0 | 0.672 | 0.832 |
| stratum | shifts | median ratio | 90th pct. | ratio (%) |
|---|---|---|---|---|
| all | 720,000 | 0.264 | 0.741 | 3.86 |
| Q1 | 180,000 | 0.352 | 0.994 | 9.84 |
| Q2 | 180,000 | 0.270 | 0.742 | 3.43 |
| Q3 | 180,000 | 0.232 | 0.638 | 1.54 |
| Q4 | 180,000 | 0.226 | 0.595 | 0.63 |
| 360,000 | 0.257 | 0.708 | 3.08 |
| human proxy | cross-target (pre-specified) | same proxy (post-hoc) | |||||
|---|---|---|---|---|---|---|---|
| model | vote noise | ratio | ratio | ||||
| ResNet-56 | 9.29 | 9.3% | 0.021 | 0.33% | 0.521 | 6.3% [3.8, 10.1] | 50/50 |
| VGG16-BN | 8.33 | 9.9% | 0.012 | 0.17% | 0.093 | 1.7% [0.2, 3.5] | 50/50 |
| MobileNetV2 | 9.23 | 8.3% | 0.035 | 0.29% | 0.251 | 2.8% [1.3, 4.3] | 50/50 |
| pooled | 0.25% [0.0, 2.1] | 3.3% [1.4, 6.3] | 150/150 | ||||
| benchmark | partition, state | units | range | median | ||
|---|---|---|---|---|---|---|
| ImageNetV2 | original, | 30 | 12.2% | [2.1, 29.7] | 100% | 0.399 |
| revised, | 30 | 12.0% | [2.4, 31.5] | 100% | 0.357 | |
| revised, | 30 | 6.3% | [3.0, 12.4] | 100% | 0.331 | |
| ImageNet-Sketch | original, | 30 | 9.8% | [3.7, 24.7] | 100% | 0.891 |
| revised, | 30 | 10.0% | [2.8, 30.0] | 100% | 0.768 | |
| revised, | 30 | 7.8% | [1.6, 22.1] | 100% | 0.661 |
| Model | family | Acc. | ECE | FAUC | ECE | FAUC | ||
|---|---|---|---|---|---|---|---|---|
| DenseNet-201 | DenseNet | 0.773 | 0.032 | 0.0006 | 0.043 | 0.021 | 0.0009 | 0.050 |
| ResNeXt-50 32x4d | ResNeXt | 0.776 | 0.065 | 0.0009 | 0.049 | 0.028 | 0.0015 | 0.057 |
| RegNetX-4.0GF | RegNet | 0.785 | 0.052 | 0.0008 | 0.047 | 0.025 | 0.0017 | 0.061 |
| MobileNetV3-L | MobileNetV3 | 0.758 | 0.067 | 0.0029 | 0.076 | 0.021 | 0.0007 | 0.047 |
| DeiT-S/16 | DeiT | 0.799 | 0.081 | 0.0010 | 0.049 | 0.041 | 0.0002 | 0.037 |
| cohort | (ECE, ) | (ECE, FAUC) | ( , FAUC) |
|---|---|---|---|
| primary six | +1.00 / -0.37 | +1.00 / -0.83 | +1.00 / +0.60 |
| additional twelve | +0.61 / -0.28 | +0.81 / -0.36 | +0.92 / +0.99 |
| all eighteen | +0.75 / -0.26 | +0.85 / -0.36 | +0.95 / +0.95 |
| as released | split-fitted | monotone map | ||||
|---|---|---|---|---|---|---|
| Model | A fits/B cert. | B fits/A cert. | A fits/B cert. | B fits/A cert. | ECE reduction | lower NLL |
| DenseNet-201 | yes | |||||
| ResNeXt-50 32x4d | not fitted | – | ||||
| RegNetX-4.0GF | not fitted | – | ||||
| MobileNetV3-L | yes | |||||
| DeiT-S/16 | yes | |||||
| (ECE, FAUC) | ( , FAUC) | (ECE, ) | |
|---|---|---|---|
| primary six | +1.00 / 0.83 | +1.00 / +0.60 | +1.00 / 0.37 |
| additional twelve | +0.81 / 0.36 | +0.92 / +0.99 | +0.61 / 0.28 |
| all eighteen | +0.85 / 0.36 | +0.95 / +0.95 | +0.75 / 0.26 |
| leave one family out | [+0.79, +0.90] / [ 0.50, 0.28] | [+0.93, +0.98] / [+0.94, +0.96] | [+0.65, +0.90] / [ 0.42, 0.16] |
| one per family | +0.82 / 0.35 | +0.94 / +0.96 | +0.71 / 0.28 |
| state | pair | FAUC | FAUC ratio | ||
|---|---|---|---|---|---|
| ResNet-50 V2 / PoolFormer-S24 | 0.0461 / 0.0770 | 1.67 | 0.00086 / 0.00459 | ||
| ResNet-50 V2 / MViTv2-T | 0.0461 / 0.0407 | 1.13 | 0.00086 / 0.00061 | ||
| Swin-T / MViTv2-T | 0.0384 / 0.0407 | 1.06 | 0.00038 / 0.00061 | ||
| DenseNet-201 / MobileNetV3-L | 0.0495 / 0.0471 | 1.05 | 0.00094 / 0.00072 | ||
| RegNetX-4.0GF / ResMLP-12 | 0.0610 / 0.0384 | 1.59 | 0.00166 / 0.00022 | ||
| ResNet-50 V1 / PoolFormer-S24 | 0.0423 / 0.0723 | 1.71 | 0.00041 / 0.00417 |
| cohort | null variant | pooled | fixed radius | within unit |
|---|---|---|---|---|
| primary six | both roles | 0.901 / 0.876 [0.886] | 0.828 / 0.747 [0.771] | 0.776 / 0.748 [0.777] |
| only | 0.901 / 0.835 [0.843] | 0.828 / 0.692 [0.714] | 0.776 / 0.755 [0.776] | |
| only | 0.901 / 0.846 [0.854] | 0.828 / 0.659 [0.681] | 0.776 / 0.743 [0.765] | |
| additional twelve | both roles | 0.901 / 0.877 [0.881] | 0.838 / 0.755 [0.768] | 0.803 / 0.755 [0.774] |
| only | 0.901 / 0.851 [0.856] | 0.838 / 0.726 [0.741] | 0.803 / 0.759 [0.775] | |
| only | 0.901 / 0.866 [0.872] | 0.838 / 0.711 [0.722] | 0.803 / 0.764 [0.776] |
| outside variance regime | 0% | 0% | 0% | 45% | 99% | 100% |
| excess of | 0% | 0% | 0% | 0% | 10% | 44% |
| excess of capped variance | 0% | 0% | 0% | 0% | 9% | 10% |
| matched-variance difference | 0% | 0% | 0% | 1% | 10% | 19% |
| pairs differing by | 0% | 0% | 0% | 6% | 48% | 72% |
| law of | cap slack | full | capped | full | capped | |
|---|---|---|---|---|---|---|
| four-point (B) | 0.299 | 0.101 | 0.022 | 0.148 | 0.006 | 0.102 |
| mixture | 0.362 | 0.038 | 0.029 | 0.052 | 0.006 | 0.038 |
| three-point (A) | 0.400 | 0.000 | 0.030 | 0.030 | 0.006 | 0.006 |
| B, variance | 0.075 | 0.025 | 0.042 | 0.052 | 0.008 | 0.027 |
| law, direction | MAE f/c | MAE f/c | MAE f/c | |||||
|---|---|---|---|---|---|---|---|---|
| B | 0.3 | 0.155 | 0.011/0.011 | 0.006/0.006 | 0.003/0.003 | |||
| 1 | 0.283 | 0.020/0.020 | 0.010/0.010 | 0.005/0.005 | ||||
| 3 | 0.299 | 0.022/0.148 | 0.014/0.110 | 0.006/0.102 | ||||
| 0.3 | 0.155 | 0.011/0.011 | 0.005/0.005 | 0.002/0.002 | ||||
| 1 | 0.279 | 0.020/0.021 | 0.010/0.011 | 0.004/0.005 | ||||
| condition | sampling | bias f/c, | MAE f/c, | ||
|---|---|---|---|---|---|
| B, up, | proportional | / | 0.022/0.148 | 0.014/0.110 | 0.006/0.102 |
| equal | / | 0.025/0.097 | 0.013/0.101 | 0.006/0.101 | |
| iid, drop empty | / | 0.023/0.130 | 0.014/0.106 | 0.006/0.102 | |
| iid, drop | / | 0.025/0.025 | 0.020/0.020 | 0.006/0.102 | |
| asym., down, | proportional | / | 0.020/0.020 | 0.010/0.010 | 0.004/0.004 |
| equal | / | 0.012/0.013 | 0.006/0.006 | 0.003/0.003 |
| law, ordering | gap | B | A | gap | B | A | |||
|---|---|---|---|---|---|---|---|---|---|
| smooth, feature | 1 | 0.0000 | 0.0469 | 0.212 | 0.217 | 0.217 | 0.296 | 0.375 | 0.375 |
| 2 | 0.0385 | 0.0085 | 0.016 | 0.020 | 0.092 | 0.088 | 0.126 | 0.159 | |
| 4 | 0.0417 | 0.0053 | 0.010 | 0.014 | 0.072 | 0.030 | 0.057 | 0.126 | |
| 8 | 0.0440 | 0.0029 | 0.006 | 0.008 | 0.054 | 0.016 | 0.036 | 0.094 | |
| 16 | 0.0458 | 0.0012 | 0.003 | 0.003 | 0.034 | 0.003 | 0.013 | 0.059 | |
| law | ||||||
|---|---|---|---|---|---|---|
| smooth | 250 | 0.000/0.296 | 0.030/0.094 | 0.039/0.048 | 0.040/0.037 | 0.045/0.043 |
| 1000 | 0.000/0.296 | 0.015/0.089 | 0.020/0.036 | 0.020/0.023 | 0.020/0.019 | |
| 5000 | 0.000/0.296 | 0.007/0.088 | 0.009/0.031 | 0.009/0.018 | 0.008/0.008 | |
| rare | 250 | 0.000/0.264 | 0.038/0.063 | 0.040/0.046 | 0.044/0.041 | 0.044/0.044 |
| 1000 | 0.000/0.264 | 0.019/0.053 | 0.021/0.037 | 0.021/0.020 | 0.021/0.021 | |
| 5000 | 0.000/0.264 | 0.008/0.051 | 0.010/0.033 | 0.010/0.012 | 0.010/0.010 |
| state | FAUC 4 /FAUC 8 | FAUC 2 /FAUC 8 | : / | , |
|---|---|---|---|---|
| as released | 0.89 [0.76, 0.94] | 0.65 [0.56, 0.75] | 0.89 [0.85, 1.05] | 0.35 [-0.05, 0.79] |
| temperature-scaled | 0.80 [0.73, 0.89] | 0.62 [0.48, 0.72] | 0.89 [0.83, 1.08] | 0.14 [-0.04, 0.61] |