When Should We Intervene at Test Time?
Organizations: Zhengzhou University of Aeronautics · Xi’an University of Technology
Abstract
Test-time adaptation helps a deployed model respond to changing inputs, but the same intervention can rescue one batch and damage the next. Updating normalization statistics, for example, can improve corrupted images yet fail when a batch contains mostly one class. Average accuracy hides these failures and cannot tell a model when to use an intervention. Target labels can guide this decision, but they are scarce and some choices are already clear. We introduce PORTAL, a controller that chooses when to deploy an intervention, which inputs to label, and when to stop querying. Each available prediction rule is a candidate, and its predictions are fixed before current feedback arrives. Every acquired label therefore evaluates all candidates on the same input. PORTAL combines these shared comparisons and directs queries toward candidates that can still overtake the current leader. It stops when the remaining labels cannot change the choice or when the possible accuracy gain no longer justifies another query. Our analysis links the required feedback to accuracy gaps and shared mistakes, explaining why some choices need much less evidence. Experiments show that this control turns an intervention that loses accuracy overall into a useful choice on selected batches. It prevents severe failures caused by changes in arrival order and preserves gains across complete corruption streams. When a fixed rule already works well, PORTAL uses little feedback to retain its performance. Periodic label checks reveal when past evidence needs refreshing and help the controller recover as conditions change. The acquired labels also train stronger candidates for future batches, and selection brings nearly all of their accuracy gains into deployment. The same feedback therefore improves both the choice made now and the predictions available to later batches.
Figures & tables
| Noise | Blur | Weather | Digital | Summary | |||||||||||||
| Model / rule | Gau. | Shot | Imp. | Def. | Gla. | Mot. | Zoom | Snow | Frost | Fog | Bri. | Con. | Ela. | Pix. | JPEG | Avg. | Labels |
| CIFAR-10-C / ResNet-18 | |||||||||||||||||
| Source | 25.8 | 32.8 | 25.0 | 56.6 | 51.5 | 67.6 | 65.0 | 77.3 | 66.4 | 73.5 | 91.2 | 33.9 | 76.8 | 45.6 | 73.1 | 57.48 1.12 | 0 |
| BN | 66.2 | 68.5 | 59.5 | 87.2 | 65.0 | 86.1 | 87.3 | 81.2 | 80.1 | 84.7 | 90.6 | 86.9 | 76.6 | 79.0 | 71.4 | 78.02 0.50 | 0 |
| Flip | 26.3 | 33.2 | 25.2 | 57.1 | 52.5 | 68.3 | 65.9 | 78.2 | 67.2 | 74.0 | 92.1 | 33.9 | 78.1 | 45.7 | 74.4 | 58.14 1.00 | 0 |
| BN+flip | 68.7 | 71.2 | 62.7 | 88.6 | 67.2 | 86.9 | 88.4 | 83.0 | 81.6 | 85.8 | 91.1 | 87.5 | 78.4 | 80.1 | 73.4 | 79.65 0.56 | 0 |
| A. Common-posterior acquisition | |||
| Acquisition | Accuracy (%) | Labels | Harm (pp) |
| Uniform | 59.35 0.13 | 132.8 | 1.78 |
| Disagreement | 59.31 0.23 | 96.8 | 1.86 |
| Maximum-pair KL | 59.33 0.26 | 118.8 | 1.85 |
| PORTAL value | 59.32 0.34 | 85.6 | 1.86 |
| B. Labels purchased after stopping | |||
| Stream | Label ceiling | Post-change gain (pp) | Recovery, delay |
| Two-pattern abrupt | 120 | 0.92 | |
| Two-pattern gradual | 120 | 0.80 | |
| Two-pattern gradual, larger budget | 160 | 0.94 | |
| 300-mode recurrent, priority audit | 100 | 0.685 / 0.798 / 0.642 | |
| 300-mode recurrent, larger-budget variant | 160 | 0.907 / 0.933 / 0.893 |
| Rule | Selected | Learned | Decision |
| Fixed BN+flip | 59.68 ±0.28 | — | 0 |
| Uniform ERM | 65.91 ±0.49 | 73.03 | 393.0 |
| Disagreement ERM | 70.29 ±0.76 | 72.98 | 393.0 |
| Portal | 72.64 ±1.05 | 73.03 | 70.8 |
Appendix figures & tables72 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
| , | Available batch interventions and incumbent at time . |
| , | Permanent eligible query and deployment/evaluation inputs. |
| , | Candidate correctness and its difference from incumbent correctness. |
| , , | Joint prediction stratum, target frequency and candidate class. |
| , | Conditional label law and expected target accuracy. |
| , | Best-candidate gap and within-stratum paired reward variance. |
| Analysis | Required observation structure | Result and validation |
| Shared-label complexity | Independent categorical labels within known, queryable strata; fixed prediction signatures | Information lower bound, paired-variance upper bound and local allocation coefficient. |
| Posterior querying | Positive independent Dirichlet priors and shared stratum label laws | Joint accuracy covariance, one-label value and sufficient local stopping conditions. |
| Gaussian finite budget | Common-factor joint Gaussian feedback with fixed risks and biases | Exact winner probabilities, budget and correlation responses; independent score simulation. |
| Frozen neural pools | Uniform subsets of a specified finite query pool; frozen predictions and evaluation outcomes | Exact discrete selection and deployment loss; independent subset simulation. |
| Persistent state | Shared future inputs, query labels and affine head/cache updates | Exact state recurrence, directional loss interval and margin bound; explicit branch replay. |
| Checkpoint 0 | Checkpoint 1 | Checkpoint 2 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Corruption | I | B | F | BF | I | B | F | BF | I | B | F | BF |
| Gaussian | 22.13 | 66.36 | 22.03 | 68.41 | 27.73 | 67.01 | 28.48 | 69.52 | 28.06 | 67.37 | 28.30 | 69.90 |
| Shot | 29.25 | 67.61 | 29.26 | 70.43 | 34.26 | 69.00 | 34.81 | 71.78 | 36.06 | 69.52 | 36.32 | 72.13 |
| Impulse | 22.53 | 58.86 | 22.97 | 62.09 | 22.02 | 60.92 | 22.04 | 63.55 | 29.56 | 60.85 | 30.38 | 63.89 |
| Defocus | 54.54 | 87.34 | 55.31 | 88.61 | 55.88 | 87.73 | 56.48 | 88.93 | 59.74 | 87.70 | 60.19 | 88.99 |
| Glass | 55.10 | 65.17 | 56.08 | 67.32 | 50.14 | 64.88 | 51.63 | 67.06 | 50.83 | 65.94 | 51.99 | 67.76 |
| Checkpoint 0 | Checkpoint 1 | Checkpoint 2 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Corruption | I | B | F | BF | I | B | F | BF | I | B | F | BF |
| Gaussian | 10.21 | 39.76 | 10.19 | 41.13 | 9.53 | 39.58 | 9.83 | 41.09 | 12.13 | 38.31 | 12.01 | 40.48 |
| Shot | 11.99 | 41.11 | 12.21 | 42.85 | 11.03 | 40.19 | 11.38 | 42.05 | 13.41 | 40.20 | 13.56 | 42.22 |
| Impulse | 6.64 | 34.72 | 6.77 | 36.32 | 6.63 | 33.61 | 6.62 | 35.27 | 8.23 | 33.57 | 8.23 | 35.83 |
| Defocus | 34.80 | 66.18 | 35.00 | 67.23 | 34.49 | 66.08 | 34.85 | 66.98 | 35.22 | 65.67 | 35.47 | 66.23 |
| Glass | 20.19 | 42.66 | 19.93 | 43.56 | 19.06 | 42.69 | 19.49 | 43.66 | 19.48 | 41.91 | 19.56 | 43.46 |
| Dataset | Method | Accuracy (%) | BF (pp) | Labels |
|---|---|---|---|---|
| CIFAR10-C | Fixed BF | 0.000 | 0.0 | |
| CIFAR10-C | Mean logits | -3.099 | 0.0 | |
| CIFAR10-C | Uniform ERM | -1.371 | 7065.0 | |
| CIFAR10-C | Disagreement ERM | -1.285 | 7065.0 | |
| CIFAR10-C | Symmetric-KL ERM | -0.444 | 7065.0 | |
| CIFAR10-C | Portal | -0.388 | 612.3 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 21.78 | 65.92 | 21.86 | 67.56 | 56.70 | 65.08 | 65.58 | 67.58 | 67.56 | 68.76 | 53 |
| Shot | 29.04 | 68.12 | 29.14 | 70.48 | 63.04 | 68.62 | 68.84 | 70.24 | 70.24 | 71.42 | 50 |
| Impulse | 23.06 | 57.74 | 23.04 | 61.38 | 55.34 | 57.96 | 58.04 | 61.28 | 61.38 | 62.24 | 54 |
| Defocus | 54.62 | 87.14 | 54.90 | 88.26 | 83.20 | 86.80 | 87.34 | 88.26 | 87.96 | 89.06 | 44 |
| Glass | 54.60 | 65.04 | 55.58 | 67.44 | 65.86 | 65.08 | 64.74 | 66.24 | 65.72 | 68.72 | 72 |
| Motion | 67.50 | 86.20 | 68.22 | 86.64 | 84.72 | 84.94 | 85.64 | 86.42 | 86.34 | 87.72 | 42 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 27.50 | 66.08 | 28.64 | 69.28 | 56.76 | 66.60 | 67.16 | 69.24 | 68.80 | 70.14 | 58 |
| Shot | 33.60 | 68.32 | 34.50 | 71.30 | 61.78 | 67.86 | 70.12 | 71.20 | 70.94 | 72.00 | 55 |
| Impulse | 22.04 | 60.30 | 22.04 | 62.82 | 50.36 | 60.20 | 60.86 | 62.48 | 62.74 | 63.92 | 62 |
| Defocus | 55.72 | 87.28 | 56.48 | 88.66 | 82.80 | 87.38 | 87.94 | 88.64 | 88.66 | 89.26 | 34 |
| Glass | 49.28 | 64.18 | 50.62 | 66.74 | 62.28 | 63.88 | 64.18 | 64.86 | 66.34 | 67.72 | 34 |
| Motion | 66.32 | 85.60 | 66.86 | 86.44 | 83.02 | 85.74 | 85.52 | 86.32 | 86.34 | 87.46 | 28 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 28.14 | 66.70 | 28.40 | 69.34 | 62.20 | 66.70 | 67.04 | 69.24 | 69.16 | 70.28 | 56 |
| Shot | 35.88 | 69.10 | 35.84 | 71.80 | 67.14 | 70.26 | 70.92 | 71.64 | 71.38 | 72.74 | 66 |
| Impulse | 29.98 | 60.48 | 30.44 | 64.04 | 57.80 | 62.32 | 62.50 | 63.24 | 63.14 | 64.96 | 64 |
| Defocus | 59.58 | 87.24 | 60.00 | 88.74 | 85.76 | 87.16 | 87.80 | 88.66 | 88.34 | 89.38 | 43 |
| Glass | 50.66 | 65.82 | 51.42 | 67.44 | 64.54 | 65.18 | 64.60 | 66.42 | 67.02 | 68.76 | 47 |
| Motion | 68.98 | 86.62 | 69.86 | 87.68 | 85.48 | 86.28 | 86.52 | 87.66 | 87.14 | 88.40 | 38 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 10.70 | 39.66 | 10.54 | 40.84 | 32.32 | 39.46 | 39.84 | 40.34 | 40.84 | 41.88 | 52 |
| Shot | 12.26 | 41.08 | 12.52 | 42.68 | 34.58 | 41.06 | 40.72 | 41.94 | 42.36 | 44.00 | 63 |
| Impulse | 7.16 | 35.04 | 7.22 | 36.34 | 29.18 | 35.34 | 35.32 | 36.16 | 34.74 | 37.74 | 46 |
| Defocus | 34.18 | 65.30 | 34.00 | 66.22 | 62.44 | 64.24 | 64.84 | 66.22 | 65.50 | 67.24 | 27 |
| Glass | 20.32 | 42.12 | 19.92 | 42.86 | 39.44 | 40.30 | 40.46 | 42.30 | 42.56 | 44.30 | 36 |
| Motion | 43.28 | 62.58 | 44.28 | 63.28 | 61.76 | 61.46 | 60.86 | 62.64 | 63.08 | 64.48 | 12 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 9.92 | 39.70 | 10.20 | 40.94 | 31.30 | 39.64 | 39.60 | 40.72 | 40.94 | 42.08 | 58 |
| Shot | 11.12 | 40.30 | 11.56 | 41.78 | 33.60 | 38.40 | 38.68 | 41.48 | 41.78 | 42.82 | 57 |
| Impulse | 7.36 | 34.02 | 7.36 | 35.30 | 30.76 | 34.56 | 34.90 | 34.96 | 35.10 | 36.50 | 41 |
| Defocus | 33.86 | 64.76 | 33.88 | 65.88 | 62.60 | 63.38 | 64.46 | 65.76 | 65.48 | 66.84 | 25 |
| Glass | 19.10 | 42.24 | 19.78 | 43.16 | 39.14 | 41.76 | 42.14 | 42.54 | 42.32 | 44.28 | 34 |
| Motion | 43.52 | 62.80 | 44.54 | 63.64 | 62.12 | 61.80 | 62.38 | 63.46 | 62.42 | 64.96 | 11 |
| Corruption | I | B | F | BF | Mean | U | D | K | J | O | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 12.32 | 38.18 | 12.06 | 39.90 | 34.02 | 38.80 | 38.66 | 39.38 | 39.66 | 40.76 | 53 |
| Shot | 13.68 | 40.16 | 13.62 | 41.86 | 36.10 | 40.10 | 39.98 | 41.20 | 41.56 | 43.06 | 36 |
| Impulse | 8.64 | 33.44 | 8.66 | 35.58 | 30.74 | 33.60 | 33.52 | 34.60 | 35.58 | 36.60 | 32 |
| Defocus | 34.64 | 65.46 | 34.90 | 65.72 | 62.14 | 64.62 | 64.76 | 65.70 | 65.62 | 67.06 | 29 |
| Glass | 19.90 | 40.74 | 19.88 | 42.22 | 39.28 | 40.30 | 40.22 | 41.24 | 41.12 | 43.30 | 27 |
| Motion | 42.68 | 62.22 | 43.58 | 62.74 | 60.96 | 60.78 | 60.90 | 62.42 | 62.28 | 63.72 | 14 |
| Dataset | Domain | S | T | V2 | V8 | |
|---|---|---|---|---|---|---|
| PACS | Art Painting | 2048 | 98.68 | 99.02 | 99.17 | 99.17 |
| PACS | Cartoon | 2344 | 99.45 | 99.57 | 99.57 | 99.62 |
| PACS | Photo | 1670 | 99.88 | 99.94 | 99.94 | 99.94 |
| PACS | Sketch | 3929 | 95.47 | 95.04 | 95.19 | 95.34 |
| PACS | Equal-domain | 9991 | 98.369 | 98.393 | 98.468 | 98.517 |
| PACS | Pooled | 9991 | 97.798 | 97.738 | 97.828 | 97.898 |
| Rule | PACS | OfficeHome | VLCS |
| Fixed eight views | 98.44/0 | 89.01/0 | 84.10/0 |
| Uniform ERM | 98.43/473.6 | 88.90/738.0 | 84.07/354.8 |
| Mean-pair KL | 98.44/473.6 | 88.63/738.0 | 83.91/354.8 |
| Portal , four | 98.44/1.4 | 89.01/7.4 | 83.92/89.4 |
| Fixed StatA | 98.40/0 | — | 85.11/0 |
| Portal + StatA | 98.44/2.4 | — | 84.58/96.0 |
| Dataset | Method | Equal-domain (%) | Pooled | V8 | Labels |
|---|---|---|---|---|---|
| PACS | Fixed S | 97.5412 | -0.2462 | 0.0 | |
| PACS | Fixed T | 97.5615 | -0.1578 | 0.0 | |
| PACS | Fixed V2 | 97.7037 | -0.0120 | 0.0 | |
| PACS | Fixed V8 | 97.7444 | 0.0000 | 0.0 | |
| PACS | Uniform ERM | 97.7403 | -0.0025 | 473.6 | |
| PACS | Disagreement ERM | 97.7403 | -0.0025 | 473.6 |
| Dataset | Domain | V8 | U | D | K | J | |
|---|---|---|---|---|---|---|---|
| PACS | Art Painting | 99.069 | 99.069 | 99.069 | 99.069 | 99.069 | 0.0 |
| PACS | Cartoon | 99.570 | 99.570 | 99.570 | 99.570 | 99.570 | 0.0 |
| PACS | Photo | 100.000 | 100.000 | 100.000 | 100.000 | 100.000 | 0.0 |
| PACS | Sketch | 95.108 | 95.098 | 95.098 | 95.119 | 95.129 | 1.4 |
| OfficeHome | Art | 88.898 | 88.865 | 88.405 | 88.388 | 88.898 | 0.0 |
| OfficeHome | Clipart | 78.016 | 77.668 | 77.239 | 77.426 | 78.034 | 6.0 |
| Estimator | Accuracy (%) | fixed (pp) |
|---|---|---|
| Unqueried fixed V8 | 92.8201 | 0.0000 |
| Unqueried selected output | 92.8839 | 0.0639 |
| Whole current batch | 90.1952 | 1.3689 |
| Next microbatch | 88.7376 | -0.0887 |
| Corruption | E | U | UM | UD | US | UMD | Blend | Avg | ||
|---|---|---|---|---|---|---|---|---|---|---|
| Gaussian | 62.61 | 60.33 | 60.23 | 61.86 | 64.26 | 60.71 | 60.54 | 61.36 | 59.77 | 60.73 |
| Shot | 55.25 | 53.35 | 54.04 | 54.60 | 57.33 | 54.01 | 53.71 | 54.48 | 53.34 | 53.69 |
| Impulse | 54.88 | 53.12 | 50.12 | 53.86 | 57.03 | 52.21 | 51.93 | 52.19 | 51.31 | 53.29 |
| Defocus | 64.08 | 62.50 | 63.02 | 62.79 | 65.30 | 62.75 | 62.61 | 63.08 | 62.66 | 62.54 |
| Glass | 61.54 | 60.28 | 60.54 | 60.58 | 63.43 | 60.53 | 60.26 | 60.61 | 60.34 | 60.32 |
| Motion | 53.52 | 53.51 | 53.61 | 53.01 | 54.85 | 53.11 | 52.60 | 52.61 | 53.38 | 53.14 |
| Additional-query stream | Independent repeat | Shared-prefix stream | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Corruption | P | F | A | P | F | A | P | F | A | q |
| Gaussian | 62.82 | 60.32 | 61.26 | 62.98 | 60.36 | 61.14 | 61.77 | 59.90 | 61.10 | 3.92 |
| Shot | 55.32 | 53.33 | 53.98 | 55.38 | 53.58 | 54.22 | 54.69 | 53.37 | 54.06 | 3.99 |
| Impulse | 54.90 | 53.02 | 53.66 | 54.88 | 53.08 | 53.63 | 54.24 | 51.38 | 53.23 | 3.49 |
| Defocus | 64.11 | 62.44 | 63.05 | 64.26 | 62.56 | 63.08 | 63.12 | 61.85 | 62.66 | 4.19 |
| Glass | 61.39 | 60.00 | 60.51 | 61.46 | 60.26 | 60.72 | 60.47 | 59.37 | 59.99 | 4.30 |
| Benchmark | Backbone | Reference | Metric | Reported | Fixed | |
|---|---|---|---|---|---|---|
| ImageNet-C | ResNet-50 | EATTA | Error | 50.90 | 49.3395 | 1.5605 |
| ImageNet-K | ResNet-50 | EATTA | Error | 61.40 | 61.1252 | 0.2748 |
| ImageNet-A | ViT-B/16 | TDA | Acc. | 60.11 | 60.2000 | 0.0900 |
| PACS | ViT-L/14 | WATT | Acc. | 97.51 | 98.5171 | 1.0071 |
| OfficeHome | ViT-L/14 | TPT | Acc. | 86.72 | 88.8435 | 2.1235 |
| VLCS | ViT-L/14 | TENT | Acc. | 80.20 | 83.7927 | 3.5927 |
| Query | Output | Accuracy (%) | BF | CE | Decision Q | Total Q |
|---|---|---|---|---|---|---|
| Uniform | Fixed BF | 0.000 | 1.2205 | 0.0 | 0 | |
| Uniform | Always learned | 13.353 | 0.9430 | 393.0 | 393 | |
| Uniform | Selected output | 6.233 | 1.0918 | 393.0 | 393 | |
| Disagreement | Fixed BF | 0.000 | 1.2205 | 0.0 | 0 | |
| Disagreement | Always learned | 13.304 | 0.9424 | 393.0 | 393 | |
| Disagreement | Selected output | 10.609 | 0.9999 | 393.0 | 393 |
| Scale | Query | Always learned | Selected | learned | |
|---|---|---|---|---|---|
| 1 | 4 | Uniform | 73.030 | 65.911 | -7.119 |
| 1 | 4 | Disagreement | 72.982 | 70.286 | -2.696 |
| 1 | 4 | Portal | 73.025 | 72.640 | -0.385 |
| 0.1 | 4 | Uniform | 75.321 | 68.125 | -7.196 |
| 0.1 | 4 | Disagreement | 75.576 | 71.981 | -3.596 |
| 0.1 | 4 | Portal | 75.302 | 74.729 | -0.573 |
| State | now | future | CE | Changes | |||
|---|---|---|---|---|---|---|---|
| Head commit | 1 | 0.2296 | -0.1972 | -0.5907 | -2.6530 | 8.1582 | 174.2 |
| Head commit | 4 | 0.2038 | -0.0578 | -0.7994 | -1.5634 | 3.0299 | 333.6 |
| Head commit | 16 | 0.2313 | -0.0169 | -0.4486 | -0.6574 | 0.8191 | 302.8 |
| Cache commit | 1 | 0.0293 | 0.0148 | -0.2187 | -0.2212 | 0.0115 | 7.6 |
| Cache commit | 4 | 0.0366 | 0.0118 | -0.1917 | -0.1935 | 0.0086 | 23.4 |
| Cache commit | 16 | 0.0372 | 0.0023 | -0.1503 | -0.1510 | 0.0036 | 40.4 |
| Domain | Single | Eight-view | Decision | Eight-view MiB |
|---|---|---|---|---|
| Art | 2.354 | 16.669 | 0.507 | 2616.9 |
| Clipart | 2.084 | 16.732 | 0.546 | 2617.6 |
| Product | 2.093 | 16.784 | 0.633 | 2617.6 |
| Real World | 2.100 | 16.809 | 0.451 | 2617.6 |
| Mean | 2.158 | 16.749 | 0.534 | 2617.4 |
| Acquisition | ||||
|---|---|---|---|---|
| Always candidate | - | 7.49 | 2.47 | 11.85 |
| Uniform | 1 | 4.54 | 0.84 | 4.33 |
| Uniform | 2 | 1.58 | 0.26 | 1.17 |
| Uniform | 3 | 0.30 | 0.00 | 0.05 |
| Disagreement | 1 | 5.77 | 1.25 | 5.81 |
| Disagreement | 2 | 3.50 | 0.53 | 2.47 |
| Acquisition | ||||
|---|---|---|---|---|
| Always candidate | - | 0.02 | 1.19 | 2.07 |
| Uniform | 1 | 0.01 | 0.05 | 0.12 |
| Uniform | 2 | 0.00 | 0.00 | 0.00 |
| Uniform | 3 | 0.00 | 0.00 | 0.00 |
| Disagreement | 1 | -0.04 | 0.43 | 0.68 |
| Disagreement | 2 | 0.03 | 0.07 | 0.12 |
| Acquisition | ||||
|---|---|---|---|---|
| Always candidate | - | 8.80 | 2.00 | 11.18 |
| Uniform | 1 | 5.15 | 0.72 | 4.30 |
| Uniform | 2 | 1.86 | 0.19 | 1.18 |
| Uniform | 3 | 0.33 | 0.00 | 0.10 |
| Disagreement | 1 | 7.03 | 0.69 | 5.16 |
| Disagreement | 2 | 4.26 | 0.24 | 2.31 |
| Overlap (%) | Changed (%) | ||||
|---|---|---|---|---|---|
| 0.25 | 7.50 | 1.40 | 7.54 | 68.40 | 19.54 |
| 0.5 | 7.37 | 1.34 | 7.22 | 77.51 | 13.74 |
| 1 | 7.25 | 1.15 | 6.15 | 100.00 | 0.00 |
| 2 | 7.10 | 1.01 | 5.78 | 82.49 | 9.31 |
| 4 | 6.85 | 1.05 | 5.90 | 76.18 | 13.59 |
| Binning | Bin | Batches | Query gain | E gain | Negative (%) | |
|---|---|---|---|---|---|---|
| All domains | 1 | 27 | 849.4 | 14.07 | 6.10 | 17.04 |
| All domains | 2 | 26 | 829.2 | 45.64 | 17.16 | 10.00 |
| All domains | 3 | 26 | 829.2 | 33.08 | 10.60 | 26.92 |
| All domains | 4 | 26 | 842.4 | 21.79 | 4.75 | 38.46 |
| All domains | 5 | 26 | 804.8 | 33.85 | 5.34 | 33.08 |
| Within domain | 1 | 28 | 900.4 | 25.71 | 9.23 | 22.86 |
| Uniform | Disagreement | Symmetric KL | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 2.42 | 0.40 | 2.22 | 5.05 | 0.51 | 3.89 | 5.85 | 1.00 | 5.36 |
| 3 | 1 | 5.15 | 0.72 | 4.30 | 7.03 | 0.69 | 5.16 | 7.25 | 1.15 | 6.15 |
| 3 | 2 | 1.86 | 0.19 | 1.18 | 4.26 | 0.24 | 2.31 | 5.20 | 0.51 | 2.66 |
| 3 | 3 | 0.33 | 0.00 | 0.10 | 1.53 | 0.03 | 0.62 | 2.78 | 0.12 | 0.90 |
| 5 | 1 | 6.51 | 0.74 | 4.87 | 7.56 | 1.01 | 6.26 | 7.63 | 1.20 | 6.80 |
| Mixture family | Output | Labels/batch | |||
|---|---|---|---|---|---|
| Disagreement + fixed BF | Mixture | 7.6495 | 1.1456 | 7.2663 | 1.9522 |
| Disagreement + fixed BF | Symmetric KL | 7.2491 | 1.1456 | 6.1468 | 3.0000 |
| Two disagreement counts | Mixture | 5.9117 | 0.5054 | 4.0110 | 3.0000 |
| Two disagreement counts | Symmetric KL | 5.1986 | 0.5054 | 2.6619 | 3.0000 |
| Cost | Point gap | 2.5% | 97.5% | |
|---|---|---|---|---|
| Batch net cost | 1 | -0.4004 | -0.5453 | -0.2555 |
| Batch net cost | 2 | -0.7131 | -1.5901 | 0.7030 |
| Batch net cost | 3 | 0.1090 | -2.5777 | 1.2591 |
| New errors | 1 | -0.0717 | -0.2560 | 0.1362 |
| New errors | 2 | 0.5973 | -0.1205 | 1.1252 |
| New errors | 3 | 0.7927 | 0.0611 | 1.2920 |
| Output | Image | Batch | 2 batches | 4 batches | 8 batches | Domain | Stream |
|---|---|---|---|---|---|---|---|
| Always BF | 11.1817 | 1.9976 | 1.2130 | 0.7220 | 0.3995 | 0.0000 | 0.0000 |
| Disagreement | 5.1649 | 0.6883 | 0.5247 | 0.3418 | 0.1877 | 0.0000 | 0.0000 |
| Symmetric KL | 6.1468 | 1.1456 | 0.8857 | 0.6691 | 0.4043 | 0.0193 | 0.0000 |
| Domain | Class | Always BF | Disagreement | Symmetric KL | |
|---|---|---|---|---|---|
| Art | dog | 183 | -6.23 | -3.72 | -2.40 |
| Art | elephant | 123 | 9.43 | 5.20 | 4.88 |
| Art | giraffe | 131 | -10.08 | -5.19 | -3.66 |
| Art | guitar | 91 | -4.84 | -2.86 | -2.42 |
| Art | horse | 92 | -3.26 | -2.17 | -2.17 |
| Art | house | 149 | 1.48 | 0.94 | 0.81 |
| Dataset | Readout | Full data (%) | Common (%) | Labels |
| PACS | Prompt average | 98.393 0.000 | 98.279 0.000 | 0 |
| PACS | Eight views | 98.517 0.000 | 98.437 0.000 | 0 |
| PACS | Mean logits | 98.502 0.000 | 98.390 0.000 | 0 |
| PACS | StatA | 98.445 0.051 | 98.404 0.063 | 0 |
| VLCS | Prompt average | 83.099 0.000 | 83.523 0.000 | 0 |
| VLCS | Eight views | 83.793 0.000 | 84.097 0.000 | 0 |
| Dataset | Domain | Readout | Accuracy (%) |
| PACS | Art | Eight views | 99.170 0.000 |
| PACS | Art | StatA | 99.219 0.035 |
| PACS | Cartoon | Eight views | 99.616 0.000 |
| PACS | Cartoon | StatA | 99.727 0.038 |
| PACS | Photo | Eight views | 99.940 0.000 |
| PACS | Photo | StatA | 100.000 0.000 |
| Dataset | Domain | Readout | Accuracy (%) |
| PACS | Art | Eight views | 99.069 0.000 |
| PACS | Art | StatA | 99.255 0.046 |
| PACS | Cartoon | Eight views | 99.570 0.000 |
| PACS | Cartoon | StatA | 99.725 0.094 |
| PACS | Photo | Eight views | 100.000 0.000 |
| PACS | Photo | StatA | 100.000 0.000 |
| Dataset | Time (s) | Peak MiB | Final-batch adjustments | Initialization |
| PACS | 7.95 0.24 | 24.51 | 0 | 1.75e-06 |
| VLCS | 5.92 0.03 | 20.33 | 5 | 1.83e-06 |
| Four readouts | Add StatA | |||
| Rule | Accuracy (%) | Labels | Accuracy (%) | Labels |
| Original view | 98.191 0.000 | 0.0 | 98.191 0.000 | 0.0 |
| Prompt average | 98.279 0.000 | 0.0 | 98.279 0.000 | 0.0 |
| Two views | 98.425 0.000 | 0.0 | 98.425 0.000 | 0.0 |
| Eight views | 98.437 0.000 | 0.0 | 98.437 0.000 | 0.0 |
| StatA | — | — | 98.404 0.063 | 0.0 |
| Four readouts | Add StatA | |||
| Rule | Accuracy (%) | Labels | Accuracy (%) | Labels |
| Original view | 80.845 0.000 | 0.0 | 80.845 0.000 | 0.0 |
| Prompt average | 83.523 0.000 | 0.0 | 83.523 0.000 | 0.0 |
| Two views | 83.861 0.000 | 0.0 | 83.861 0.000 | 0.0 |
| Eight views | 84.097 0.000 | 0.0 | 84.097 0.000 | 0.0 |
| StatA | — | — | 85.106 0.137 | 0.0 |
| PACS | OfficeHome | VLCS | ||||
| Rule | Acc. | Labels | Acc. | Labels | Acc. | Labels |
| Eight views | 98.437 0.000 | 0.0 | 89.008 0.000 | 0.0 | 84.097 0.000 | 0.0 |
| Mean logits | 98.390 0.000 | 0.0 | 88.237 0.000 | 0.0 | 83.650 0.000 | 0.0 |
| Portal | 98.442 0.007 | 1.4 | 89.010 0.012 | 7.4 | 83.919 0.170 | 89.4 |
| Uniform / mixture | 98.398 0.014 | 473.6 | 88.415 0.098 | 737.4 | 83.868 0.228 | 354.8 |
| Disagreement / mixture | 98.415 0.009 | 473.6 | 88.636 0.068 | 737.4 | 84.005 0.139 | 354.8 |
| Accuracy (%) | CE | Brier | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Acquisition | Labels | D | M | D | M | D | M | Fit (s) | |
| 0.1 | Uniform | 473.6 | 98.429 0.007 | 98.382 0.021 | 0.0580 | 0.0604 | 0.0252 | 0.0264 | 0.821 |
| 0.1 | Disagreement | 473.6 | 98.434 0.031 | 98.393 0.033 | 0.0584 | 0.0603 | 0.0253 | 0.0262 | 0.825 |
| 0.1 | Maximum KL | 473.6 | 98.439 0.029 | 98.407 0.049 | 0.0584 | 0.0597 | 0.0253 | 0.0259 | 1.028 |
| 0.1 | Target Fisher | 473.6 | 98.434 0.034 | 98.417 0.069 | 0.0583 | 0.0595 | 0.0253 | 0.0258 | 1.167 |
| 1 | Uniform | 473.6 | 98.429 0.007 | 98.398 0.014 | 0.0580 | 0.0604 | 0.0252 | 0.0264 | 0.503 |
| Accuracy (%) | CE | Brier | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Acquisition | Labels | D | M | D | M | D | M | Fit (s) | |
| 0.1 | Uniform | 737.4 | 88.863 0.121 | 88.523 0.144 | 0.3952 | 0.4105 | 0.1580 | 0.1623 | 1.464 |
| 0.1 | Disagreement | 737.4 | 88.637 0.118 | 88.579 0.094 | 0.4080 | 0.4060 | 0.1617 | 0.1609 | 1.283 |
| 0.1 | Maximum KL | 737.4 | 88.688 0.122 | 88.726 0.112 | 0.4018 | 0.4000 | 0.1601 | 0.1592 | 1.401 |
| 0.1 | Target Fisher | 737.4 | 88.687 0.088 | 88.724 0.077 | 0.4029 | 0.4006 | 0.1604 | 0.1595 | 1.570 |
| 1 | Uniform | 737.4 | 88.863 0.121 | 88.415 0.098 | 0.3952 | 0.4084 | 0.1580 | 0.1619 | 0.938 |
| Accuracy (%) | CE | Brier | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Acquisition | Labels | D | M | D | M | D | M | Fit (s) | |
| 0.1 | Uniform | 354.8 | 83.907 0.202 | 83.819 0.248 | 0.4629 | 0.4648 | 0.2402 | 0.2392 | 0.681 |
| 0.1 | Disagreement | 354.8 | 83.869 0.126 | 83.956 0.164 | 0.4651 | 0.4625 | 0.2404 | 0.2390 | 0.630 |
| 0.1 | Maximum KL | 354.8 | 83.918 0.158 | 84.068 0.151 | 0.4661 | 0.4603 | 0.2408 | 0.2371 | 0.666 |
| 0.1 | Target Fisher | 354.8 | 83.887 0.181 | 83.901 0.241 | 0.4659 | 0.4613 | 0.2409 | 0.2381 | 0.775 |
| 1 | Uniform | 354.8 | 83.907 0.202 | 83.868 0.228 | 0.4629 | 0.4615 | 0.2402 | 0.2382 | 0.462 |
| Source checkpoint | Photo source: batch size | Photo source: arrival order | |||||||||
| Rule | Art | Cart. | Sketch | 16 | 32 | 64 | 128 | Rev. | Mixed | Grad. | Class |
| Source | 68.42 | 76.91 | 38.32 | 50.85 | 50.85 | 50.88 | 50.88 | 50.88 | 50.88 | 50.88 | 50.88 |
| BN | 77.33 | 80.35 | 62.45 | 57.18 | 58.07 | 58.17 | 58.80 | 58.17 | 59.67 | 59.08 | 22.65 |
| Flip | 68.94 | 77.51 | 38.02 | 50.90 | 50.90 | 50.90 | 50.90 | 50.90 | 50.90 | 50.90 | 50.90 |
| BN+flip | 78.39 | 81.41 | 63.02 | 58.49 | 59.39 | 59.53 | 59.87 | 59.53 | 60.56 | 60.63 | 22.58 |
| Mean logits | 78.89 | 82.20 | 55.22 | 60.79 | 61.54 | 61.34 | 61.47 | 61.34 | 59.15 | 60.92 | 45.25 |
| Source checkpoint | Photo source: batch size | Photo source: arrival order | |||||||||
| Rule | Art | Cart. | Sketch | 16 | 32 | 64 | 128 | Rev. | Mixed | Grad. | Class |
| Source | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| BN | 0.59 | 1.73 | 0.01 | 5.97 | 3.83 | 2.58 | 1.48 | 2.58 | 0.87 | 1.53 | 32.41 |
| Flip | 1.00 | 1.13 | 1.46 | 1.75 | 1.52 | 1.21 | 0.91 | 1.21 | 1.28 | 1.29 | 1.12 |
| BN+flip | 0.55 | 1.21 | 0.00 | 5.21 | 3.28 | 1.93 | 1.12 | 1.93 | 0.70 | 1.08 | 32.41 |
| Mean logits | 0.12 | 0.37 | 0.01 | 1.14 | 0.58 | 0.19 | 0.04 | 0.19 | 0.14 | 0.13 | 8.10 |
| Rule | Accuracy (%) | Labels | New errors (pp) | |
| 0 | Uniform | 58.97 0.72 | 393.0 | 8.53 |
| 0 | Disagreement | 58.93 0.47 | 393.0 | 8.66 |
| 0 | Maximum KL | 58.73 0.23 | 393.0 | 8.55 |
| 0 | Portal | 59.31 0.36 | 130.8 | 10.53 |
| 0.1 | Uniform | 59.00 0.65 | 393.0 | 8.52 |
| 0.1 | Disagreement | 58.81 0.47 | 393.0 | 8.45 |
| Controller | Expanded-set error (%) | Expansion effect (pp) |
| HILTTA-style | 36.1698 | +14.3203 |
| Portal | 18.9375 | -1.2422 |
| Harmonized SimATTA-style | 15.2719 | — |
| Committee | 18.3438 | — |
| Controller | All inputs | Current-query-excluded |
| Always challenger | -5.7965 | -5.4337 |
| Random gate | ||
| Uniform three-query admission | ||
| Portal paired admission | +2.2583 | +1.7863 |
| Full-batch oracle | +3.3280 | +3.1247 |
| Step | Operation |
| 1 | Freeze all candidate logits and merge exact hard-output copies. Form joint prediction strata and target frequencies. |
| 2 | Initialize each stratum from Equation ( 86 ), adding eligible historical acquired-label counts. |
| 3 | Compute the posterior means/covariance, default-tied leader and all-candidate bound . |
| 4 | Stop if the local query allowance is exhausted or . Stop if no available target-stratum query remains. |
| 5 | Compute capped rival reachability. Stop if every rival is unreachable within the remaining local allowance. |
| 6 | Compute one-label decision values. On a zero-value plateau, use Equation ( 89 ). Stop if no available query has positive score. |
| Acquisition | Accuracy (%) | Labels | Batch harm (pp) |
| Uniform | 59.35 0.13 | 132.8 | 1.78 |
| Disagreement | 59.31 0.23 | 96.8 | 1.86 |
| Maximum-pair KL | 59.33 0.26 | 118.8 | 1.85 |
| PORTAL value | 59.32 0.34 | 85.6 | 1.86 |
| Setting | Stop reason | Stops | Extra | Choice change | accuracy (pp) |
| Primary | Unreachable | 653 | 1.0 | 0.00% | +0.000 0.000 |
| Primary | Unreachable | 653 | 3.0 | 0.00% | +0.000 0.000 |
| Primary | Unreachable | 653 | 5.0 | 0.31% | +0.000 0.051 |
| Price 0.05 | EVPI bound | 498 | 1.0 | 1.20% | -0.075 0.052 |
| Price 0.05 | EVPI bound | 498 | 3.0 | 2.21% | -0.019 0.100 |
| Price 0.05 | EVPI bound | 498 | 5.0 | 2.81% | -0.012 0.141 |
| Variant | Accuracy (%) | Labels | Batch harm | New errors |
| Primary | 59.31 0.36 | 130.8 | 1.92 | 10.53 |
| Label price 0.01 | 59.31 0.36 | 129.8 | 1.92 | 10.53 |
| Label price 0.025 | 59.32 0.39 | 123.8 | 1.91 | 10.46 |
| Label price 0.05 | 59.37 0.34 | 108.0 | 1.91 | 10.52 |
| Prior mass 0.25 | 59.31 0.34 | 137.0 | 1.89 | 10.42 |
| Prior mass 4 | 59.34 0.24 | 156.4 | 1.88 | 10.36 |
| Setting | Strata mean | P95 | History mass | Queries/batch | ||
| PACS RN50 | 7 | 4 | 27.17 | 37.00 | 34.30% | 1.00 |
| CIFAR-10-C | 10 | 4 | 30.62 | 42.00 | 20.20% | 0.26 |
| CIFAR-100-C | 100 | 4 | 60.43 | 64.00 | 3.51% | 0.16 |
| PACS CLIP | 7 | 4 | 7.53 | 9.00 | 0.01% | 0.01 |
| OfficeHome CLIP | 65 | 4 | 42.28 | 48.55 | 0.31% | 0.03 |
| VLCS CLIP | 5 | 4 | 8.34 | 12.00 | 8.74% | 0.75 |
| Query policy | Output | Accuracy (%) | BF | Total labels | Decision labels |
| CIFAR-10-C | |||||
| — | Fixed BN+flip | ||||
| Uniform | Learned | ||||
| Uniform | Selected | ||||
| Disagreement | Learned | ||||
| Disagreement | Selected | ||||
| Nominal labels/batch | Total cap | Actual labels | Accuracy (%) |
| 1 | 131 | 112.8 | 55.28 0.45 |
| 3 | 393 | 128.6 | 55.28 0.44 |
| 5 | 655 | 128.6 | 55.28 0.44 |
| Order | Incoming | BN+flip | Shared gate | Post-update | Initial-only |
| 201 | 79.06 | 79.95 | 79.21 | 79.28 | 79.04 |
| 202 | 78.87 | 79.37 | 78.92 | 79.16 | 78.87 |
| 203 | 79.78 | 80.31 | 80.05 | 79.88 | 79.78 |
| 204 | 81.35 | 81.85 | 81.47 | 81.76 | 81.35 |
| 205 | 80.00 | 80.82 | 80.26 | 80.17 | 80.05 |
| Mean SD | 79.81 0.98 | 80.46 0.94 | 79.98 1.00 | 80.05 1.04 | 79.82 0.99 |
| Two candidates | Four candidates | |||
| Rule | Accuracy | Labels | Accuracy | Labels |
| Identity | 50.88 0.00 | 0.0 | 50.88 0.00 | 0.0 |
| BN | — | — | 58.37 0.14 | 0.0 |
| Flip | — | — | 50.90 0.00 | 0.0 |
| BN+flip | 59.68 0.28 | 0.0 | 59.68 0.28 | 0.0 |
| Mean logits | 60.96 0.12 | 0.0 | 61.63 0.16 | 0.0 |
| History | Credit | Stop rule | Accuracy | Labels | Harm |
| Independent | 1 | Portal | 90.4 | 1.74 | |
| Independent | 1 | Reachability only | 90.4 | 1.74 | |
| Independent | 1 | Value bound only | 131.0 | 1.69 | |
| Independent | 1 | Confidence proxy | 131.0 | 1.69 | |
| Independent | 1 | Mean-gap threshold | 131.0 | 1.69 | |
| Independent | 3 | Portal | 140.0 | 1.88 |
| Data ( ) | Fixed | Portal | Top-KL |
| CIFAR-10-C (4) | 79.65 | 79.26/612.3 | 79.20/7065 |
| CIFAR-100-C (4) | 54.32 | 53.87/381.7 | 53.76/7065 |
| PACS (5) | 61.63 | 62.07/144.2 | 60.57/393 |
| CIFAR-10.1 (5) | 89.87 | 89.59/1.9 | 89.06/96 |
| Rule | Accuracy (%) | Labels | Harm |
| Fixed BN+flip | 0.0 | 5.05 | |
| Fixed mean logits | 0.0 | 0.00 | |
| Uniform empirical selection | 393.0 | 2.08 | |
| Top-KL empirical selection | 393.0 | 2.24 | |
| Portal , cumulative | 144.2 | 1.55 | |
| Portal , decay 0.9 | 250.4 | 1.62 |
| Condition | Best fixed | Ensemble | Cumulative | Decay | KL-5 | KL-4 |
| Art, domain, 64 | 78.89 | 78.89 | 78.01/79.0 | 77.90/138.7 | 77.89/377.3 | 77.45 |
| Cartoon, domain, 64 | 82.20 | 82.20 | 81.79/51.3 | 81.65/72.3 | 81.72/362.7 | 80.97 |
| Photo, domain, 16 | 60.79 | 60.79 | 60.50/98.7 | 60.66/156.3 | 60.20/1561.7 | 58.12 |
| Photo, domain, 32 | 61.54 | 61.54 | 61.30/111.0 | 61.39/202.3 | 60.52/783.0 | 59.25 |
| Photo, domain, 128 | 61.47 | 61.47 | 61.94/156.7 | 61.76/182.3 | 60.71/198.0 | 59.29 |
| Photo, class, 64 | 50.90 | 45.25 | 51.74/211.3 | 53.60/330.0 | 49.58/393.0 | 54.11 |
| Rule | Accuracy (%) | Labels |
| Fixed identity | 0.0 | |
| Fixed BN | 0.0 | |
| Fixed flip | 0.0 | |
| Fixed BN+flip | 0.0 | |
| Fixed mean logits | 0.0 | |
| Uniform empirical selection | 96.0 |
| Schedule | Rule | Accuracy (%) | Labels |
| Noise first | Fixed BN+flip | 0.0 | |
| Noise first | Fixed mean logits | 0.0 | |
| Noise first | Uniform empirical selection | 300.0 | |
| Noise first | Top-KL empirical selection | 300.0 | |
| Noise first | Portal , cumulative | 57.3 | |
| Noise first | Portal , decay 0.9 | 80.7 |
| Schedule | Corruption | 3 labels | 15 labels | 75 labels | 300 labels |
| Noise first | Brightness | 90.82 | 64.90 | 24.05 | 2.35 |
| Noise first | Gaussian noise | 11.53 | 11.59 | 1.73 | 0.00 |
| Noise first | Jpeg compression | 86.02 | 59.90 | 35.03 | 14.52 |
| Noise first | Shot noise | 11.66 | 16.63 | 7.61 | 1.06 |
| Alternating | Brightness | 91.41 | 67.66 | 30.35 | 4.71 |
| Alternating | Impulse noise | 12.40 | 15.79 | 5.53 | 0.06 |
| History | Stable | Abrupt | Gradual | |||
| Acc. | Labels | Acc. | Labels | Acc. | Labels | |
| Cumulative | 72.21 | 0.0 | 22.54 | 0.0 | 22.92 | 0.0 |
| No history | 62.60 | 150.4 | 64.10 | 150.2 | 63.42 | 90.0 |
| Decay 0.9 | 72.21 | 150.4 | 67.66 | 149.8 | 70.88 | 85.4 |
| One audit per batch | 72.21 | 50.0 | 27.24 | 72.8 | 22.92 | 30.0 |
| Audit/reset 0.05 | 72.21 | 54.2 | 38.34 | 74.4 | 33.71 | 38.2 |
| Change | Prioritized audit | Uniform audit |
| Abrupt | ||
| Gradual | ||
| Recurrent |
Inference-Time Intervention
Inference-time intervention changes model inputs, internal signals, or decisions during use to improve safety, reliability, or task performance.
See all 33 papers