Manuscript Offprint
arXiv:2609.37687WISE-ATTA: When to Ask for Labels in Budgeted Active Test-Time Adaptation
Abstract
Active test-time adaptation (ATTA) improves robustness under distribution shift by updating a deployed model during inference while selectively querying supervision. However, most existing ATTA methods implicitly assume that supervision can be requested for every incoming test batch, which can incur substantial annotation cost over long test streams. In this work, we introduce budgeted ATTA in which labels are available for only a fraction of test batches. This formulation shifts the central challenge from deciding what to label within a batch to deciding when supervision should be applied over time. To address this challenge, we propose a budget-aware approach WISE-ATTA that allocates supervision over the test stream based on lightweight signals computed online, prioritizing periods where supervision is likely to be most useful. When a batch is selected for supervision, we further employ a drift-based sample selection criterion that targets samples exhibiting ongoing, unconverged adaptation dynamics, enabling effective updates from a single labeled example. We evaluate this approach on synthetic corruptions (ImageNet-C) and natural distribution shifts (ImageNet-R/K/A). Across settings, WISE-ATTA achieves competitive or improved performance compared to recent ATTA methods while requiring substantially fewer labels. Overall, we find that the timing of supervision is a key, yet underexplored, aspect of active test-time adaptation.
1. Introduction
Modern machine learning models are routinely deployed in environments where the test distribution differs from training, for example, due to noise, changes in data acquisition, or broader domain shifts [11, 30, 33]. Test-time adaptation (TTA) addresses this challenge by updating a pretrained model on the unlabeled test stream as it becomes available, often using per-batch objectives based on entropy minimization or pseudo-label-based self-training [41, 45]. While effective over short horizons, purely unsupervised TTA can
Table 1. Comparison of ATTA methods on ImageNet-K. WISE-ATTA achieves the lowest average error with fewer labels.
| Method | Replay Buffer | Labels / Batch | Batch Sel. | Avg. Err. ↓ |
|---|---|---|---|---|
| CEMA [3] | ✓ | teacher | ✕ | 59.2 |
| SimATTA [9] | ✓ | 3 | ✕ | 58.2 |
| HILTTA [22] | ✕ | 3 | ✕ | 58.1 |
| EATTA [42] | ✕ | 1 | ✕ | 58.0 |
| WISE-ATTA (Ours) | ✕ | ≤ 0.5 | ✓ | 57.2 |
become unstable over long streams: small adaptation errors can accumulate, internal representations may drift, and performance can deteriorate as the distribution evolve [29, 45].
In response, active test-time adaptation (ATTA) augments TTA with sparse supervision, providing corrective signals that anchor the adaptation process and reduce error accumulation [9, 22, 42]. In practice, however, test-time supervision is costly: labels may require human experts or expensive teacher models [3, 22], and even low annotation rates can accumulate substantial cost over long deployments [42]. Moreover, not all test batches contribute equally to adaptation in a continual stream. This raises a central question: how should limited supervision be used during a continual test stream?
Thus far, existing ATTA methods implicitly adopt a batch-centric view of supervision. They assume that every incoming test batch is annotated and focus on reducing the number of labeled samples within each batch, for example by selecting representative [9] or highly learnable samples [42]. While effective at improving label efficiency locally, this formulation ties supervision rigidly to the batch structure of the test stream and applies it uniformly over time. Under a fixed global budget, such uniform allocation can be inefficient, as the benefit of supervision can vary substantially across batches and over the course of adaptation. As a result, existing methods leave open the question of when supervision should be applied in a continual test stream.
In this paper, we address this question and consider a budgeted ATTA setting in which supervision is available only for a limited subset of batches over a long test stream. This setting better reflects practical settings, where annotation incurs non-negligible cost and supervision may be available only intermittently due to human, computational, or latency constraints. Importantly, it changes the nature of active adaptation. Rather than only deciding what to label within a batch, effective adaptation now requires making online decisions about when a batch should be labeled. We show that explicitly reasoning about the timing of supervision plays a central role in effectively using a limited budget.
To this end, we introduce WISE-ATTA, a budget-aware approach to active test-time adaptation that estimates the utility of incoming batches and allocates a global label budget over time. As shown in Tab. 1, WISE-ATTA requires neither a replay buffer nor a teacher model, and can achieve stronger performance with fewer labels than prior ATTA methods.
A key challenge in this setting is to assess the potential benefit of supervision at the moment a batch becomes available. Such decisions must be made online and without access to ground-truth labels, relying only on statistics computed from the current model and the incoming data. WISE-ATTA addresses this with a two-stage strategy. First, it allocates supervision across the test stream by identifying batches where supervision is likely to reinforce ongoing, stable adaptation. Second, when a batch is selected, it chooses a single informative sample by comparing the model's current predictions to a temporally smoothed exponential moving average anchor. Samples whose predictions continue to drift relative to this anchor indicate that adaptation has not yet stabilized, making them promising candidates for supervision.
We evaluate WISE-ATTA on both synthetic corruptions and natural distribution shifts, including ImageNet-C/R/K/A. Across these settings, WISE-ATTA matches or improves upon recent ATTA baselines while using substantially fewer labels, demonstrating that explicitly accounting for when supervision is applied can improve label efficiency under limited annotation budgets.
In summary, we make the following contributions:
• Budgeted active test-time adaptation. We formulate a practical budgeted ATTA setting where supervision is available only for a subset of test batches, shifting the focus from what to label to when to label.
• Selective supervision under label budgets. We propose a budget-aware approach that selectively allocates supervision over long test streams and identifies informative samples for supervision.
• Evaluation of efficacy. We demonstrate competitive performance compared to state-of-the-art ATTA methods on ImageNet-C/R/K/A with up to 50% fewer labels.
2.1. Online Test-Time Adaptation
We consider TTA under a streaming evaluation protocol. A model is pretrained on a source domain and then deployed in a target environment, where test samples arrive sequentially in batches. Let denote the stream of test batches, where each batch contains unlabeled inputs observed at time , and where is typically unknown. We assume a non-stationary environment in which the test distribution drifts over time, motivating continual adaptation. The model consists of a feature extractor with parameters and a classifier with parameters , producing logits and class probabilities
where C is the number of classes. After observing each batch, the learner updates (a subset) of model parameters before proceeding to the next batch.
Entropy minimization. The standard objective for this update step is entropy minimization [41]. It is motivated by the observation that many test-time shifts primarily reduce prediction confidence without changing the predicted class. Encouraging sharper predictions allows the model to adapt to mildly shifted samples without requiring labels. For a given batch , the entropy objective is defined as
where denotes the model prediction for input at time , and the entropy of the prediction vector. Consistent with the motivation above, most TTA methods restrict adaptation to low-entropy samples as these are likely to correspond to mild distributional drift, whereas high-entropy predictions can induce noisy gradients and unstable updates [20, 29].
2.2. Active Test-Time Adaptation
While unsupervised test-time adaptation can be effective initially, it can become unstable over long test streams due to error accumulation and representation drift [28, 45]. To mitigate this, active test-time adaptation (ATTA) adds limited supervision [9, 42]. In this setting, the model is allowed to query ground-truth labels for a small subset of test samples and incorporate a supervised objective during adaptation. Let denote the labeled subset of batch and let denote the predicted probability of the ground-truth class . Following standard practice, we use the cross-entropy loss on the queried samples,
with when . The supervised signal is combined with entropy minimization via
where and control the relative contributions of the individual terms. An analysis of which parameters to update during adaptation is provided in Appendix J.
Batch-centric label efficiency. Sparse supervision can stabilize adaptation, but obtaining labels can be expensive [3, 22]. A central goal of ATTA is therefore to maximize the benefit obtained from each queried label. Existing ATTA methods typically approach this challenge from a within-batch perspective, focusing on reducing the number of annotations required per batch by selecting samples that are either representative or highly learnable. For example, SimATTA selects samples based on entropy and clustering criteria [9], and EATTA prioritizes samples according to prediction sensitivity to feature perturbations [42]. However, this batch-centric view abstracts away the temporal structure of continual test streams. In practice, the contribution of different batches to adaptation can vary substantially over time. By applying supervision uniformly across batches, existing approaches therefore leave open a fundamental question: how should limited supervision be allocated over time?
3. Budgeted Active Test-Time Adaptation
We address this question by introducing a budgeted ATTA setting, where only a limited number of labels can be queried over a long stream. Instead of assuming that every batch is labeled, supervision must be used selectively over time.
Problem setting. Formally, we consider a stream of test batches and a fixed annotation ratio that specifies the fraction of batches for which supervision may be requested. At each time step , the adaptation procedure decides whether to request supervision for the current batch . This decision is represented by a binary action , where indicates that batch is selected for supervision and otherwise. If , exactly one label is queried from , yielding a labeled set with ; if , then . The total annotation budget is enforced by the constraint
This setting couples two aspects of supervision usage: allocating limited supervision over time and using each queried label as effectively as possible.
To address both aspects, we introduce WISE-ATTA, which consists of (i) a budget-paced batch selection strategy that decides when to request supervision, and (ii) a drift-based single-sample selection rule that determines what to label within a selected batch. The two decisions serve distinct roles: batch selection identifies a reliable adaptation regime, while sample selection identifies where the model remains responsive to correction. Below, we describe each component in turn and then specify the adaptation update.
3.1. Batch Selection
We start by considering how supervision should be allocated across the stream. The goal is to identify batches where supervision is likely to yield meaningful updates, using only signals available online, without knowledge of future shifts.
Batch utility. To decide whether a batch warrants supervision, we need an unsupervised signal, since labels are unavailable at this stage. We use prediction entropy as a lightweight indicator of the model's current adaptation regime. Low entropy corresponds to a concentrated prediction, indicating that the model assigns relatively high probability to a small number of classes. Thus, the fraction of low-entropy predictions measures how much of the current batch lies in a comparatively confident prediction region. Under the standard assumption that confidence correlates with correctness, we use this quantity as a proxy for batch-level adaptation reliability. Importantly, confidence is used here to decide when to supervise, rather than which sample to label. Unlike conventional uncertainty sampling, the batch-level objective is to identify a regime in which a sparse corrective label can be incorporated reliably into the ongoing adaptation process. Formally, for each incoming batch , we define
where is a fixed threshold. Intuitively, measures the confident mass of the current batch and serves as a proxy for batch-level adaptation reliability. Alternative definitions of the batch-level utility proxy are analyzed and evaluated in Appendix B.
Utility-based allocation over time. Given the per-batch utility score , we still need a policy that decides when to spend supervision over the course of the stream. Two constraints shape this decision. First, supervision is limited, so labels should be allocated to batches that are informative relative to recent observations. Recent batches provide a natural reference for the model's current adaptation regime: both the model parameters and the input distribution evolve over time, so a utility score that appears high in absolute terms may be typical relative to the current stream state. Second, in realistic online deployments the total stream length is often unknown, ruling out policies that explicitly plan over the remaining horizon.
To address the first constraint, we maintain a sliding history buffer H of the most recent W batch utility scores and request supervision whenever the current score exceeds an adaptive quantile threshold :
The quantile level is governed by an effective annotation rate , which controls how permissive the policy currently is; a larger lowers the threshold and admits more batches, while a smaller tightens it.
To address the second constraint, we set via a pacing controller that does not require knowing the stream length. Let denote the desired long-run annotation ratio and the number of labels used before time . We define the budget debt as
i.e., the gap between the cumulative usage targeted under rate r and the labels actually spent so far. The effective rate is then
where is a local correction horizon. We clip to to keep it valid as a quantile level. Intuitively, when the policy has used labels too slowly ( ), increases and the threshold becomes more permissive; when labels have been spent too quickly ( ), decreases and the threshold tightens.
Practical refinements. We add two refinements to this strategy. First, at the start of the stream when the history buffer is still being populated ( ), there are too few past scores to estimate a reliable quantile threshold. During this warmup phase, we instead sample , matching the target annotation rate in expectation while fills up. Second, to prevent short-term fluctuations from causing persistent under-utilization of the budget, we apply a rate-floor correction. Let denote the number of labels used up to time and let be the target usage. We force annotation whenever , where is a slack parameter that tolerates small transient deviations. We ablate these design choices in Appendix D.
3.2. Sample Selection
Once a batch is selected for supervision, we must decide which sample to annotate. A natural choice would be prediction entropy, but it is poorly suited here as it is a static criterion; a snapshot of confidence at a single point in time and tells us nothing about whether that confidence is the result of ongoing adaptation or a stable end state. For this, we require a temporal criterion that captures how a sample's predictions evolve under adaptation, and thereby identifies the samples for which a label is informative. We discuss the complementary roles of entropy (batch level) and drift (sample level) in more detail in Appendix A.
Prediction drift as an adaptation signal. We capture this by examining how model predictions evolve and focus on samples whose predictions change consistently under ongoing adaptation. Such prediction drift indicates that the model is actively adjusting for these inputs, but has not yet stabilized. Supervising samples in this regime can be particularly effective as the model is receptive to correction, yet sufficiently aligned for the label to propagate reliably.
Anchor model. To this end, we maintain an exponential moving average (EMA) of the model as a temporally smoothed reference. Let and denote the current feature extractor and classifier, and let and denote their EMA counterparts (the anchor model). For an incoming batch , we compute class-probability predictions from the current model and the anchor, denoted and , respectively, and define the prediction drift as
When is selected for supervision, we query the label of the sample with the largest drift:
Finally, we update the anchor parameters after each batch with the current model with momentum :
The drift admits a local trajectory-sensitivity interpretation. Let and . A first-order expansion gives
and hence
Thus, drift measures how responsive a sample’s prediction is along the model’s recent adaptation direction, rather than its uncertainty at a single instant. Algorithm 1 summarizes the full procedure.
EATTA + Random WISE-ATTA + Uniform WISE-ATTA + Random WISE-ATTA + Budget-paced
(a) ImageNet-C, CTTA

(b) ImageNet-C, FTTA

(c) ImageNet-R/K/A, FTTA

Figure 1. Batch selection at 0.5 labels/batch. Change in error relative to EATTA [42] sample selection with uniform batch allocation; lower is better. (a) ImageNet-C under CTTA, (b) ImageNet-C under FTTA, both using ResNet-50, and (c) ImageNet-R/K/A under FTTA. Our budget-paced batch selection consistently improves over uniform and random allocation. Full results are provided in Appendix E.
4. Evaluation
We evaluate WISE-ATTA in the budgeted ATTA setting from several complementary perspectives. We first isolate the contribution of budget-paced batch selection under a fixed annotation budget (Sec. 4.1). We then evaluate the effectiveness of our drift-based sample selection by comparing against prior active TTA methods under both matched and larger annotation budgets (Sec. 4.2). Next, we study performance across a range of label budgets (Sec. 4.3) and analyze how WISE-ATTA allocates supervision over time and across samples (Secs. 4.4 and 4.5). We further examine robustness to delayed label availability in Appendix H and to different online batch sizes in Appendix G. Unless stated otherwise, we use a batch size of 64. Additional implementation details, algorithmic settings, datasets, models, and reproducibility information are provided in Appendices I and K.
4.1. Analysis of Batch Selection Strategies
We begin by asking whether our budget-paced batch selection criterion in fact identifies the important batches to annotate; those whose supervision yields the largest adaptation gains per labeled sample. Answering this requires isolating batch selection from the orthogonal axis of which samples within a batch get annotated, since the two are easily confounded. Strong sample selector can mask a weak batch selector, and vice versa. To this end, we hold the sample-selection method fixed and vary only the batch selection strategy. We further compare the budget-paced selection against two simple strategies: UNIFORM, which spreads the annotation budget evenly across batches, and RANDOM, which allocates it stochastically. We repeat this comparison under two sample selection methods: EATTA [42] and our drift-based selector.
We run these experiments on ImageNet-C, R, K, and A. For ImageNet-C, we evaluate under two standard test-time adaptation protocols. First, fully test-time adaptation (FTTA) [41], where the model is reset to the pretrained checkpoint whenever the corruption type changes. Second, continual test-time adaptation (CTTA) [45], where adaptation proceeds over a single continuous stream without resets.
Results. Figure 1 reports the error change relative to the EATTA + UNIFORM baseline under a fixed budget of 0.5 labels per batch. Two findings stand out. First, our budget-paced selection generally yields the largest error reductions across ImageNet-C under both CTTA and FTTA, with par-
Table 2. ImageNet-C error (%) under CTTA (top) and FTTA (bottom). #Labels denotes the average number of queried labels per batch; BFS denotes the replay buffer size when used. indicates methods that require a teacher model. Our methods are highlighted in gray.
CTTA Setting
| # Labels | Method | Noise | Blur | Weather | Digital | Avg. Err. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gauss. | Shot | Impul. | Defoc. | Glass | Motion | Zoom | Snow | Frost | Fog | Brit. | Contr. | Elastic | Pixel | JPEG | |||
| Non-Active | TENT [41] | 70.8 | 63.9 | 64.9 | 75.7 | 75.1 | 72.3 | 65.3 | 72.8 | 75.7 | 68.4 | 56.0 | 84.0 | 73.1 | 70.7 | 74.9 | 70.9 |
| CoTTA [45] | 78.2 | 68.6 | 64.3 | 75.2 | 71.5 | 69.6 | 67.5 | 72.0 | 71.4 | 67.2 | 62.3 | 73.5 | 69.4 | 66.8 | 68.6 | 69.8 | |
| SAR [29] | 70.0 | 62.2 | 62.9 | 73.0 | 70.1 | 65.7 | 58.0 | 63.8 | 64.1 | 53.6 | 42.0 | 68.3 | 53.8 | 50.3 | 53.2 | 60.7 | |
| ETA [28] | 65.2 | 59.5 | 61.1 | 70.0 | 69.0 | 63.8 | 57.3 | 58.9 | 60.8 | 48.7 | 39.5 | 58.2 | 48.6 | 45.2 | 48.1 | 56.9 | |
| 3 | SimATTA [9] (BFS = 300) | 65.3 | 59.2 | 60.4 | 68.0 | 65.0 | 58.4 | 53.0 | 54.9 | 57.5 | 45.9 | 38.0 | 56.8 | 48.3 | 43.8 | 47.2 | 54.8 |
| HILTTA [22] | 65.1 | 57.6 | 58.5 | 65.5 | 63.1 | 56.9 | 51.7 | 54.4 | 56.1 | 46.1 | 36.9 | 55.4 | 47.2 | 42.7 | 46.2 | 53.7 | |
| 1 | EATTA [42] | 64.9 | 57.5 | 58.0 | 67.1 | 65.2 | 57.7 | 53.7 | 55.3 | 58.3 | 46.5 | 37.7 | 59.2 | 47.9 | 43.6 | 46.7 | 54.6 |
| WISE-ATTA | 64.1 | 57.2 | 57.6 | 67.3 | 65.1 | 57.0 | 52.5 | 53.1 | 56.6 | 43.9 | 36.4 | 54.9 | 46.3 | 41.8 | 45.1 | 53.3 | |
FTTA Setting
| # Labels | Method | Noise | Blur | Weather | Digital | Avg. Err. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gauss. | Shot | Impul. | Defoc. | Glass | Motion | Zoom | Snow | Frost | Fog | Brit. | Contr. | Elastic | Pixel | JPEG | |||
| Non-Active | TENT [41] | 70.8 | 69.0 | 70.0 | 71.9 | 72.0 | 58.3 | 50.7 | 52.6 | 58.5 | 42.4 | 32.7 | 70.3 | 45.3 | 41.5 | 47.6 | 56.9 |
| CoTTA [45] | 78.2 | 77.8 | 77.2 | 81.8 | 77.8 | 63.8 | 53.2 | 57.6 | 60.4 | 44.1 | 32.8 | 73.5 | 48.9 | 43.0 | 52.6 | 61.5 | |
| SAR [29] | 69.9 | 69.2 | 69.1 | 71.2 | 71.7 | 57.9 | 50.8 | 52.9 | 57.8 | 42.5 | 32.7 | 62.3 | 45.7 | 41.7 | 47.8 | 56.2 | |
| ETA [28] | 65.2 | 62.4 | 63.5 | 66.8 | 66.6 | 52.6 | 47.2 | 48.4 | 53.8 | 40.2 | 32.2 | 54.8 | 42.3 | 39.2 | 45.0 | 52.0 | |
| -3 | CEMA [3] (BFS = 300) | 64.9 | 69.1 | 62.7 | 66.7 | 66.5 | 52.7 | 48.4 | 48.6 | 54.6 | 40.6 | 33.5 | 57.4 | 43.2 | 40.1 | 45.1 | 52.9 |
| SimATTA [9] (BFS = 300) | 67.4 | 63.7 | 65.5 | 68.1 | 66.8 | 55.3 | 49.7 | 51.3 | 55.9 | 42.7 | 33.7 | 56.3 | 45.4 | 41.7 | 47.4 | 54.1 | |
| HILTTA [22] | 65.0 | 63.1 | 64.5 | 66.1 | 66.3 | 54.4 | 48.4 | 49.8 | 54.8 | 41.4 | 32.5 | 55.6 | 43.6 | 40.5 | 45.8 | 52.8 | |
| 1 | EATTA [42] | 64.9 | 62.4 | 63.9 | 68.0 | 66.9 | 51.6 | 47.7 | 47.9 | 54.2 | 40.2 | 31.7 | 64.0 | 42.7 | 39.1 | 44.9 | 52.7 |
| WISE-ATTA | 64.1 | 61.5 | 62.5 | 66.9 | 65.9 | 50.8 | 47.4 | 47.5 | 53.8 | 39.7 | 32.0 | 56.8 | 42.3 | 38.9 | 44.4 | 51.6 | |
Table 3. Generalization under natural distribution shifts: FTTA error (%) on ImageNet-R/K/A with RN50-BN and ViT-B-16.
| # Labels | Method | ImageNet-R | ImageNet-K | ImageNet-A | Avg. Error | ||||
|---|---|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | ||
| Non-Active | TENT [41] | 57.8 | 53.4 | 69.5 | 65.6 | 99.9 | 77.4 | 75.7 | 65.5 |
| CoTTA [45] | 57.3 | 55.4 | 69.9 | 98.2 | 99.8 | 79.3 | 75.7 | 77.6 | |
| SAR [29] | 57.2 | 48.8 | 68.5 | 70.4 | 99.9 | 74.9 | 75.2 | 64.7 | |
| ETA [28] | 54.0 | 48.8 | 64.3 | 59.4 | 99.8 | 75.9 | 72.7 | 61.4 | |
| -3 | CEMA [3] | 51.4 | 44.6 | 65.6 | 60.0 | 97.7 | 72.9 | 71.6 | 59.2 |
| SimATTA [9] | 51.3 | 45.1 | 64.0 | 57.2 | 97.2 | 72.4 | 70.8 | 58.2 | |
| HILTTA [22] | 52.6 | 43.9 | 63.3 | 58.1 | 98.3 | 72.2 | 71.4 | 58.1 | |
| 1 | EATTA [42] | 52.8 | 44.3 | 64.1 | 58.2 | 99.1 | 71.5 | 72.0 | 58.0 |
| WISE-ATTA | 51.2 | 42.6 | 63.8 | 57.2 | 97.7 | 69.9 | 70.9 | 56.6 | |
particularly large gains on several corruptions. Second, under matched uniform or random batch allocation, our drift-based sample selector already improves over EATTA, while combining it with budget-paced selection provides further gains. The same trend holds on ImageNet-R/K/A across both backbones, with average improvements of 0.4 and 1.1 points for RN50-BN and ViT-B-16, respectively. Overall, the results show that batch- and sample-level selection provide complementary benefits under the same annotation budget.
4.2. Effectiveness of Drift-Based Sample Selection
Having established that budget-paced batch selection helps, we next ask the complementary question: given a batch, does WISE-ATTA pick the right samples to annotate? This matters because batch and sample selection are independent levers; gains from the former say nothing about the quality of the latter. To answer this, we compare WISE-ATTA against two families of baselines. The first is active TTA methods, which, like WISE-ATTA, choose which samples to annotate within the test stream: SimATTA [9] and HILTTA [22] (both querying three labels per batch), CEMA [3] (which additionally requires a replay buffer and a strong teacher), and the recent single-label method EATTA [42]. The second family are non-active, fully unsupervised TTA methods; that is, TENT [41], CoTTA [45], SAR [28], and ETA [20]. Including these is important for context as they establish the no-supervision floor. The gap between them and the active methods quantifies how much value labels can provide, and the gap to WISE-ATTA quantifies how much of that can be captured by WISE-ATTA.
Results. Table 2 reports ImageNet-C results under both CTTA and FTTA protocols, and Tab. 3 reports results on ImageNet-R/K/A. On ImageNet-C, WISE-ATTA achieves the lowest average error in both settings (CTTA: ;
FTTA: 51.6%), improving over EATTA by 1.3 and 1.1 points respectively despite using the same 1-label-per-batch budget. Notably, WISE-ATTA also outperforms the higher-budget HILTTA (3 labels per batch) by 0.4 points under CTTA and 1.2 points under FTTA, indicating that better sample selection can substantially offset more annotation effort. The same pattern holds under natural distribution shifts in Tab. 3. WISE-ATTA achieves the best average error for both models (RN50-BN: 70.9%; ViT-B-16: 56.6%), again improving over EATTA at the same budget and matching or exceeding the 3-label active baselines.
Together, this indicates that prediction drift is a stronger per-sample selection criterion than the entropy- and confidence-based signals used in prior active TTA, and that the gain transfers across both adaptation protocols and shift types.
4.3. Performance evaluation under varying label ratio
Thus far, we have focused on two annotation ratios ( and ). We now broaden the view and ask how WISE-ATTA performs, and how it compares to baselines, across a wide range of . Sweeping lets us characterize how WISE-ATTA's advantage scales with supervision. To isolate the effect of the batch selection strategy, we again compare against UNIFORM and RANDOM batch selection. For a fair comparison, we enforce full budget utilization for all approaches by labeling all remaining batches once the remaining budget suffices for the remaining batches.

ImageNet-R (ViT-B-16)
ImageNet-K (RN50)
ImageNet-K (ViT-B-16)
Label Ratio
Label Ratio
Figure 2. Performance under varying label ratios on ImageNet-R and ImageNet-K. WISE-ATTA consistently outperforms UNIFORM and RANDOM, especially in the low-label regime.
Results. Figure 2 shows results on ImageNet-R and ImageNet-K. Across all settings, WISE-ATTA outperforms both UNIFORM and RANDOM selection, which behave similarly across label ratios and fail to exploit differences in batch utility. The gains are most pronounced in the low-budget regime: increasing r from 0 to 0.2 improves performance by 4.12 points on ImageNet-R with RN50-BN (58.02 → 53.90) and by 7.66 points on ImageNet-K with ViT-B-16 (66.78 → 59.12). As the budget increases, WISE-ATTA approaches the performance of labeling every batch; at r = 0.6, it nearly matches performance at r = 1.0 while using substantially fewer labels.
4.4. Label Utilization over time
To understand why WISE-ATTA is effective, we next examine how it allocates its label budget over the test stream. Visualizing the allocation tells us where in the stream WISE-ATTA chooses to spend its budget We partition the stream into ten equal time bins and report the number of labeled batches per bin (Figure 3). The dashed line indicates uniform allocation as a reference.

ViT-B16, ImageNet-R
ViT-B16, ImageNet-K
Batches Timeline (%)
Batches Timeline (%)
Figure 3. Label utilization over the test-time stream.
Results. Across datasets and models, WISE-ATTA allocates labels non-uniformly, with higher density early in the stream. This behavior is desirable: when a new distribution shift is first encountered, the model is least aligned with the target domain and supervision provides the largest marginal benefit. The front-loading effect is especially pronounced on ImageNet-K, where label usage steadily decreases over time. On ImageNet-R, label allocation is broader, peaking in the early-to-mid portion of the stream ( ). Importantly, WISE-ATTA does not exhaust the budget immediately and continues to allocate labels near the end of evaluation, allowing it to react to high-utility batches throughout.
4.5. Selected Sample Analysis
We now zoom in from when WISE-ATTA spends its budget to which samples it spends it on. Our sample selection is based on the observation to select samples whose predictions change in a consistent and directional manner. Figure 4 contrasts samples queried by Max-Entropy, EATTA, and WISE-ATTA.
Max-Entropy focuses on the high-entropy tail, which can contain overly ambiguous samples that are difficult to exploit

(a)
(b)
Figure 4. Query behavior on ImageNet-R. (a) Entropy distribution of samples queried by Max-Entropy [40], EATTA [42], and WISE-ATTA. (b) Drift (vs. EMA anchor) versus entropy for queried samples. Additional results and discussion in Appendix C.
with a single labeled update, leading to the weakest performance. EATTA shifts toward lower-to-moderate entropy but selects samples with relatively small prediction drift, indicating that supervision is often spent in already stable regions. In contrast, WISE-ATTA avoids the highest-entropy extremes while prioritizing samples with higher drift relative to its EMA anchor, capturing samples that are still adapting and thus responsive to corrective supervision.
5. Discussion
Our findings highlight a practical lesson for test-time adaptation: if supervision is scarce, when labels are used can be as important as which samples are labeled. Below, we take a broader perspective on this and discuss assumptions, limitations, and future work.
Adaptation under limited resources. WISE-ATTA explicitly budgets supervision, but still updates the model at every time step. In compute constrained settings, it may also be necessary to budget updates themselves. Skipping updates does not merely reduce computation; it can also changes the balance between unsupervised and supervised correction. In Appendix F, we adapt WISE-ATTA to skip unsupervised updates on non-selected batches, and find that it remains competitive despite reduced update frequency. This suggests the need for principled criteria to decide when entropy minimization should be relied upon versus when supervised correction should dominate.
Data and shift structure. We consider test streams in which each batch is dominated by a single distribution shift. This is an oversimplification for many scenarios and a natural extension is heterogeneous batches where multiple shift sources co-occur within the same batch or within short temporal windows. In such settings, batch utility may need to reflect coverage across multiple modes, rather than short-term adaptation potential alone.
Resilience to stale supervision. Our delay analysis (Sec. H) shows that ATTA methods degrade sharply when labels arrive late. This points to delay-aware extensions like recency-weighted updates, latency-aware batch selection, or query strategies that anticipate the model's future state as a necessary step toward deployment-ready active TTA.
6. Related Work
Models deployed in the wild often face distribution shift, leading to significant performance degradation [11, 30, 33]. Test-time adaptation. To address this without frequent retraining, prior work has explored test-time training (TTT) and test-time adaptation (TTA). TTT optimizes an auxiliary self-supervised objective learned on the source domain at deployment and is therefore not fully off-the-shelf [8, 39]. In contrast, TTA adapts a pretrained model directly on the unlabeled test stream using unsupervised objectives such as entropy minimization or self-training [23, 41, 45]. While effective initially, unsupervised TTA can become unstable under long or severe shifts due to error accumulation, catastrophic forgetting, and drift in feature statistics [2, 16, 28, 38, 45]. To mitigate these issues, prior work filters unreliable samples [20, 28], refines pseudo-labels [2], adds regularization to reduce forgetting [1, 45], impose prototype-based constraints [6, 18, 43], or corrects feature statistics via running normalization estimates [15, 27, 47]. Nevertheless, purely unsupervised objectives remain vulnerable to confirmation bias and error accumulation, motivating occasional supervision at test time [9, 42].
Active test-time adaptation. Active learning (AL) studies how to query labels under a limited budget [21], using strategies as uncertainty, disagreement, expected model change, or diversity [36, 37, 40, 46]. Active test-time adaptation (ATTA) brings these ideas to the test-time setting, using sparse supervision to stabilize and guide online adaptation [9, 42]. Previous work in this area has focused on what to label within each batch, via uncertainty-based querying [9], online model selection [22], or teacher-guided distillation [3], with recent methods reducing supervision to even a single label per batch [42]. However, most ATTA methods assume a fixed querying cadence (i.e., labeling every batch), causing annotation cost to scale linearly with deployment length. As a result, the complementary problem of deciding when to request supervision under a global budget remains largely unexplored. Our work addresses this gap by explicitly reasoning about supervision allocation over time.
7. Conclusion
In this work, we study budgeted active test-time adaptation, where supervision is available only for a fraction of test batches and must be allocated over time. We introduce WISE-ATTA, which jointly decides when to query labels via budget-paced batch selection and what to label via drift-based single-sample querying. Across synthetic corruptions and natural distribution shifts, WISE-ATTA achieves competitive or improved robustness compared to prior ATTA meth-ods while using substantially fewer labels. More broadly, our results underscore the importance of temporal supervision allocation for stable and label-efficient test-time adaptation.
Acknowledgment
This work was funded by the German Federal Ministry of Education and Research under the grant AIgenCY (16KIS2012) and SisWiss (16KIS2330). In addition, this work was funded by zukunft.niedersachsen, the joint science funding program of the Lower Saxony Ministry of Science and Culture and the Volkswagen Foundation and the Daimler and Benz Foundation under the grant Ladenburger Kolleg, Project KonCheck.
References
[1] Dhanajit Brahma and Piyush Rai. A probabilistic framework for lifelong test-time adaptation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 8
[2] Dian Chen, Dequan Wang, Trevor Darrell, and Sayna Ebrahimi. Contrastive test-time adaptation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 8
[3] Yaofo Chen, Shuaicheng Niu, Shoukai Xu, Hengjie Song, Yaowei Wang, and Mingkui Tan. Towards robust and efficient cloud-edge elastic model adaptation via selective entropy distillation. In International Conference on Learning Representations (ICLR), 2024. 1, 3, 6, 8
[4] Matthias De Lange, Rahaf Aljundi, Marc Masana, Sarah Parisot, Xu Jia, Aleš Leonardis, Gregory Slabaugh, and Tinne Tuytelaars. A continual learning survey: Defying forgetting in classification tasks. IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI), 2021. 2
[5] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2009. 19
[6] Mario Döbler, Robert A Marsden, and Bin Yang. Robust mean teacher for continual and gradual test-time adaptation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 8
[7] 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 words: Transformers for image recognition at scale. In International Conference on Learning Representations (ICLR), 2021. 19
[8] Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations. In International Conference on Learning Representations (ICLR), 2018. 8
[9] Shurui Gui, Xiner Li, and Shuiwang Ji. Active test-time adaptation: Theoretical analyses and an algorithm. In International Conference on Learning Representations (ICLR), 2024. 1, 3, 6, 8, 18
[10] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2016. 19
[11] Dan Hendrycks and Thomas Dietterich. Benchmarking neural network robustness to common corruptions and perturbations. In International Conference on Learning Representations (ICLR), 2019. 1, 2, 8, 19
[12] Dan Hendrycks, Norman Mu, Ekin D Cubuk, Barret Zoph, Justin Gilmer, and Balaji Lakshminarayanan. Augmix: A simple data processing method to improve robustness and uncertainty. In International Conference on Learning Representations (ICLR), 2020. 2
[13] Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadamath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu,
Samyak Parajuli, Mike Guo, et al. The many faces of robustness: A critical analysis of out-of-distribution generalization. In IEEE/CVF International Conference on Computer Vision (ICCV), 2021. 19
[14] Dan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt, and Dawn Song. Natural adversarial examples. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 19, 20
[15] Junyuan Hong, Lingjuan Lyu, Jiayu Zhou, and Michael Spranger. Mecta: Memory-economic continual test-time model adaptation. In International Conference on Learning Representations (ICLR), 2023. 8
[16] Xuefeng Hu, Gokhan Uzunbas, Sirius Chen, Rui Wang, Ashish Shah, Ram Nevatia, and Ser-Nam Lim. Mixnorm: Test-time adaptation through online normalization estimation. arXiv preprint arXiv:2110.11478, 2021. 8
[17] Sergey Ioffe. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning (ICML), 2015. 19
[18] Minguk Jang, Sae-Young Chung, and Hye Won Chung. Test-time adaptation via self-training with nearest neighbor information. In International Conference on Learning Representations (ICLR), 2023. 8
[19] James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences (NAC), 2017. 2
[20] Jonghyun Lee, Dahuin Jung, Saehyung Lee, Junsung Park, Juhyeon Shin, Uiwon Hwang, and Sungroh Yoon. Entropy is not enough for test-time adaptation: From the perspective of disentangled factors. In International Conference on Learning Representations (ICLR), 2024. 2, 6, 8
[21] Dongyuan Li, Zhen Wang, Yankai Chen, Renhe Jiang, Weiping Ding, and Manabu Okumura. A survey on deep active learning: Recent advances and new frontiers. IEEE Transactions on Neural Networks and Learning Systems (TNNLS), 2024. 8
[22] Yushu Li, Yongyi Su, Xulei Yang, Kui Jia, and Xun Xu. Exploring human-in-the-loop test-time adaptation by synergizing active learning and model selection. Transactions on Machine Learning Research (TMLR), 2024. 1, 3, 6, 8, 19
[23] Jian Liang, Dapeng Hu, and Jiashi Feng. Do we really need to access the source data? source hypothesis transfer for unsupervised domain adaptation. In International Conference on Machine Learning (ICML), 2020. 8
[24] Jian Liang, Ran He, and Tieniu Tan. A comprehensive survey on test-time adaptation under distribution shifts. International Journal of Computer Vision (IJCV), 2025. 2
[25] David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. In Advances in Neural Information Processing Systems (NeurIPS), 2017. 2
[26] Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu. Towards deep learning models resistant to adversarial attacks. arXiv preprint arXiv:1706.06083, 2017. 2
[27] M Jehanzeb Mirza, Jakub Micorek, Horst Possegger, and Horst Bischof. The norm must go on: Dynamic unsupervised domain adaptation by normalization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 8
[28] Shuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Yaofo Chen, Shijian Zheng, Peilin Zhao, and Mingkui Tan. Efficient test-time model adaptation without forgetting. In International Conference on Machine Learning (ICML), 2022. 2, 6, 8, 19
[29] Shuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Zhiquan Wen, Yaofo Chen, Peilin Zhao, and Mingkui Tan. Towards stable test-time adaptation in dynamic wild world. In International Conference on Learning Representations (ICLR), 2023. 1, 2, 6, 19
[30] Yaniv Ovadia, Emily Fertig, Jie Ren, Zachary Nado, David Sculley, Sebastian Nowozin, Joshua Dillon, Balaji Lakshminarayanan, and Jasper Snoek. Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift. Advances in Neural Information Processing Systems (NeurIPS), 2019. 1, 2, 8
[31] German I Parisi, Ronald Kemker, Jose L Part, Christopher Kanan, and Stefan Wermter. Continual lifelong learning with neural networks: A review. Neural networks, 2019. 2
[32] Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. icarl: Incremental classifier and representation learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 2
[33] Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, and Vaishaal Shankar. Do imagenet classifiers generalize to imagenet? In International Conference on Machine Learning (ICML), 2019. 1, 2, 8
[34] David Rolnick, Arun Ahuja, Jonathan Schwarz, Timothy Lillicrap, and Gregory Wayne. Experience replay for continual learning. In Neural Information Processing Systems (NeurIPS), 2019. 2
[35] Shiori Sagawa, Pang Wei Koh, Tatsunori B Hashimoto, and Percy Liang. Distributionally robust neural networks for group shifts. In International Conference on Learning Representations (ICLR), 2020. 2
[36] Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In International Conference on Learning Representations (ICLR), 2018. 8
[37] H Sebastian Seung, Manfred Opper, and Haim Sompolinsky. Query by committee. In Conference on Learning Theory (COLT), 1992. 8
[38] Yongyi Su, Xun Xu, and Kui Jia. Towards real-world test-time adaptation: Tri-net self-training with balanced normalization. In AAAI Conference on Artificial Intelligence (AAAI), 2024. 8
[39] Yu Sun, Xiaolong Wang, Zhuang Liu, John Miller, Alexei Efros, and Moritz Hardt. Test-time training with self-supervision for generalization under distribution shifts. In International Conference on Machine Learning (ICML), 2020. 2, 8
[40] Dan Wang and Yi Shang. A new active labeling method for deep learning. In International Joint Conference on Neural Networks (IJCNN), 2014. 8
[41] Dequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno Olshausen, and Trevor Darrell. Tent: Fully test-time adaptation by entropy minimization. In International Conference on Learning Representations (ICLR), 2021. 1, 2, 5, 6, 8, 18, 19
[42] Guowei Wang and Changxing Ding. Effortless active labeling for long-term test-time adaptation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025. 1, 3, 5, 6, 8, 15, 18, 19
[43] Guowei Wang, Changxing Ding, Wentao Tan, and Mingkui Tan. Decoupled prototype learning for reliable test-time adaptation. IEEE Transactions on Multimedia, 2025. 8
[44] Haohan Wang, Songwei Ge, Zachary Lipton, and Eric P Xing. Learning robust global representations by penalizing local predictive power. In Advances in Neural Information Processing Systems (NeurIPS), 2019. 19
[45] Qin Wang, Olga Fink, Luc Van Gool, and Dengxin Dai. Continual test-time domain adaptation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 1, 2, 5, 6, 8
[46] Donggeun Yoo and In So Kweon. Learning loss for active learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019. 8
[47] Longhui Yuan, Binhui Xie, and Shuang Li. Robust test-time adaptation in dynamic scenarios. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 8
Appendix Overview
This appendix provides additional analyses, deployment studies, and implementation details supporting the main paper. It is organized into three parts.
Part I — Method Analysis and Ablations. We first examine the design and behavior of WISE-ATTA. We clarify the distinct roles of batch- and sample-level supervision (Appendix A), compare alternative batch-utility functions (Appendix B), analyze the behavior of queried samples (Appendix C), study sensitivity to the batch-selection hyperparameters (Appendix D), and provide the complete batch-selection results underlying the main-paper analysis (Appendix E).
Part II — Practical Deployment Studies. We then examine WISE-ATTA under several deployment constraints: skipping updates on non-selected batches (Appendix F), varying online batch sizes (Appendix G), and delayed label availability (Appendix H).
Part III — Implementation and Experimental Details. Finally, we provide the complete algorithm and hyperparameters (Appendix I), analyze which parameters should receive supervised updates (Appendix J), and provide dataset, model, and reproducibility details (Appendix K).
Part I: Method Analysis and Ablations
A. Batch-Level vs. Sample-Level Supervision
WISE-ATTA makes two separate supervision decisions: whether to select the current batch for supervision, and which sample to label once that batch is selected. Since these decisions address different questions, they rely on different signals.
Ideal batch. An ideal batch for supervision is not the one with the most uncertain predictions, where supervised gradients are likely to be noisy, nor the one where the model is already converged, where supervision is wasted. Instead, it is a batch in which the model is already reasonably aligned with the current target regime, so that a labeled update is likely to be reliable rather than dominated by noise. WISE-ATTA approximates this property using the number of low-entropy predictions in the batch, which serves as a proxy for batch-level adaptation stability: when many samples in the batch already receive relatively confident predictions, supervision is more likely to reinforce ongoing adaptation than to destabilize it.
Ideal sample. Within a selected batch, the goal is different. An ideal sample is neither the most confident nor the most uncertain example; instead, it should still be undergoing meaningful adaptation, so that a corrective label can have a nontrivial effect, while not being so unstable that a single supervision signal is unlikely to help. WISE-ATTA approximates this property using prediction drift relative to an EMA anchor, which singles out samples whose predictions are still changing in a structured way that results in ongoing but not yet converged adaptation dynamics.
Prediction entropy and prediction drift capture different aspects of model behavior and therefore serve complementary roles. Figure 5 shows that WISE-ATTA tends to query samples in a moderate-entropy range rather than the highest-entropy tail, consistent with this design.
B. Impact of Batch Utility Functions
We analyze how different definitions of batch utility affect adaptation under constrained supervision. WISE-ATTA selects batches for annotation based on a utility score, and we ablate several choices for measuring batch utility. Table 4 compares entropy-based utilities (mean, top-k, and low-k entropy), drift-based utilities (mean and top-k prediction drift), and our default COUNT( ).
Overall, entropy-based utilities perform worse across settings, regardless of whether we aggregate by mean, top-k, or low-k, suggesting that entropy statistics alone are not a reliable proxy for batch utility. Among drift-based variants, top-k drift is consistently stronger than mean drift and all entropy-based alternatives, likely because it better reflects whether a batch contains a small number of high-value samples for supervised updates. Finally, achieves the best
Table 4. Effect of different batch utility functions (error %, ↓).
| Utility Function | ImageNet-R | ImageNet-K | ||
|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | |
| Mean Entropy | 52.82 | 44.81 | 65.54 | 58.31 |
| Top-k Entropy | 52.77 | 44.62 | 65.62 | 58.85 |
| Low-k Entropy | 52.88 | 44.26 | 65.46 | 58.69 |
| Mean Drift | 52.85 | 44.32 | 65.23 | 58.78 |
| Top-k Drift | 52.25 | 43.94 | 65.09 | 58.44 |
| Count(H < τ) | 52.26 | 43.38 | 64.60 | 57.95 |
performance overall, reducing error by an average of 0.82 points across datasets and backbones compared to using MEAN ENTROPY, suggesting that batches with more stable (low-entropy) predictions tend to yield more reliable adaptation updates.
C. Query Behavior
We further analyze the samples selected for annotation by different query criteria on ImageNet-R. Figure 5 shows (left) the entropy distribution of queried samples and (right) the relationship between queried-sample entropy and prediction drift, defined as the discrepancy between the current model and an exponential moving average (EMA) anchor.
ResNet-50

(a)

(b)
ViT-B/16

(c)

(d)
Figure 5. Query behavior on ImageNet-R. Left: entropy distribution of queried samples; right: prediction drift vs. entropy for samples queried by Max-Entropy, EATTA, and WISE-ATTA. Prediction drift is the discrepancy between the current model and an exponential moving average (EMA) anchor. Across RN50-BN (top) and ViT-B-16 (bottom), WISE-ATTA avoids the highest-entropy extremes while favoring moderately uncertain samples with larger drift.
Finding. MAX-ENTROPY concentrates on extreme high-entropy samples, but these samples exhibit near-zero drift, indicating high ambiguity with limited directional signal for a single supervised update. EATTA shifts toward lower-to-moderate entropy but largely remains in a low-drift band, suggesting supervision is often spent where the model is already comparatively stable. In contrast, WISE-ATTA selects a distinct regime of moderate entropy with larger drift, matching our goal of querying samples that are both informative and learnable under a single-step update. This behavior is consistent across RN50-BN and ViT-B-16 and coincides with the best performance.
D. Sensitivity to Batch-Selection Hyperparameters
We assess the sensitivity of WISE-ATTA to its batch-selection hyperparameters: the history window size , the warmup length , and the slack parameter . Each hyperparameter is varied while the others are held fixed, and we report error (%) on ImageNet-R/K/A with RN50-BN and ViT-B-16 in Tab. 5.
Table 5. Sensitivity to batch-selection hyperparameters on ImageNet-R/K/A with RN50-BN and ViT-B-16 (FTTA error %, ↓). The default value used throughout the paper is highlighted in gray. WISE-ATTA is robust across all three hyperparameters — the spread in average error is at most 0.5 points across each sweep.
| Setting | Value | ImageNet-R | ImageNet-K | ImageNet-A | Avg. | |||
|---|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | |||
| Slack | w/o slack | 52.15 | 43.13 | 64.37 | 58.04 | 98.56 | 71.24 | 64.58 |
| w/ slack | 52.03 | 43.38 | 64.29 | 58.11 | 98.41 | 71.13 | 64.56 | |
| History window W | 1 | 52.59 | 44.40 | 65.01 | 58.50 | 97.89 | 71.84 | 65.04 |
| 50 | 52.06 | 44.07 | 65.16 | 58.10 | 98.32 | 70.81 | 64.75 | |
| 100 | 52.42 | 43.70 | 64.91 | 58.35 | 98.39 | 70.57 | 64.72 | |
| 150 | 52.16 | 43.54 | 65.13 | 58.07 | 98.39 | 70.57 | 64.64 | |
| 250 | 52.03 | 43.38 | 64.29 | 58.11 | 98.41 | 71.13 | 64.56 | |
| 300 | 52.12 | 43.58 | 64.63 | 57.85 | 98.39 | 70.57 | 64.52 | |
| Warmup length M | 1 | 52.03 | 43.38 | 64.29 | 58.11 | 98.41 | 71.13 | 64.56 |
| 5 | 51.89 | 43.21 | 64.78 | 57.88 | 98.15 | 73.11 | 64.84 | |
| 10 | 52.81 | 43.99 | 64.98 | 57.88 | 98.05 | 71.97 | 64.95 | |
| 15 | 53.42 | 43.07 | 64.73 | 57.79 | 98.36 | 71.37 | 64.79 | |
Observation. Overall, WISE-ATTA is reasonably stable across a broad range of settings. The average error varies only modestly across the tested values, suggesting that the proposed batch-selection rule does not depend critically on fine-tuning these hyperparameters.
Effect of slack . Adding slack yields a small but consistent improvement in the overall average error (64.58 64.56). This is consistent with the role of in Algorithm 1: the slack term avoids overly aggressive catch-up behavior when label usage is only slightly behind the target rate. Without slack, the controller is more reactive and may force supervision on batches whose utility is not especially high; with slack, supervision can be reserved for more informative batches.
Effect of history window . The method is fairly robust to the history window size. Very small windows, especially , perform worse, since the quantile threshold is then estimated from too little history and becomes overly sensitive to short-term noise. As increases, performance improves and stabilizes, with the best averages obtained for larger windows such as and . This suggests that using a sufficiently long recent history provides a more reliable estimate of relative batch utility while still adapting to changing stream conditions.
Effect of warmup length . Short warmup performs best, with giving the strongest average result among the tested values. Increasing the warmup length gradually degrades performance. This is expected because the warmup phase uses random budget allocation before the utility threshold becomes active. A longer warmup therefore delays the transition to utility-based selection and spends more of the limited label budget without exploiting the batch-utility signal. In other words, once even a small amount of history is available, it is better to begin using the adaptive threshold rather than continue exploring randomly.
E. Detailed Batch-Selection Results
We provide the complete results underlying the batch-selection analysis. We report per-corruption results on ImageNet-C under both CTTA and FTTA, as well as results on ImageNet-R/K/A across RN50-BN and ViT-B-16.
Table 6. ImageNet-C error (%) under CTTA (top) and FTTA (bottom) at a fixed annotation budget of 0.5 labels per batch. We compare uniform, random, and utility-based batch selection under matched supervision budgets. Our method is highlighted in gray.
| CTTA Setting | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Sample Selection | Batch Selection | Noise | Blur | Weather | Digital | Avg. Err. | |||||||||||
| Gauss. | Shot | Impul. | Defoc. | Glass | Motion | Zoom | Snow | Frost | Fog | Brit. | Contr. | Elastic | Pixel | JPEG | |||
| EATTA [42] | Uniform | 67.9 | 60.2 | 60.2 | 70.1 | 67.5 | 59.5 | 54.1 | 56.6 | 58.0 | 46.1 | 37.0 | 60.3 | 47.5 | 43.0 | 46.2 | 55.6 |
| Random | 66.7 | 59.6 | 59.6 | 69.4 | 66.5 | 59.1 | 53.7 | 55.7 | 58.3 | 46.1 | 37.1 | 60.8 | 47.3 | 43.3 | 46.2 | 55.3 | |
| WISE-ATTA | Uniform | 66.8 | 59.1 | 59.4 | 69.1 | 66.0 | 58.5 | 53.3 | 55.3 | 58.2 | 46.3 | 37.1 | 57.6 | 47.2 | 42.8 | 46.1 | 54.9 |
| Random | 67.2 | 59.4 | 59.4 | 69.2 | 66.4 | 58.9 | 53.5 | 55.6 | 58.2 | 46.1 | 36.9 | 57.5 | 47.1 | 42.7 | 46.0 | 54.9 | |
| Budget-paced | 64.8 | 58.8 | 59.2 | 68.1 | 65.6 | 58.1 | 53.2 | 54.4 | 57.5 | 45.3 | 36.6 | 56.4 | 46.5 | 42.3 | 45.7 | 54.2 | |
| FTTA Setting | |||||||||||||||||
| Sample Selection | Batch Selection | Noise | Blur | Weather | Digital | Avg. Err. | |||||||||||
| Gauss. | Shot | Impul. | Defoc. | Glass | Motion | Zoom | Snow | Frost | Fog | Brit. | Contr. | Elastic | Pixel | JPEG | |||
| EATTA [42] | Uniform | 67.9 | 64.0 | 65.8 | 74.3 | 70.0 | 53.5 | 48.5 | 49.6 | 55.6 | 41.1 | 32.2 | 72.3 | 43.7 | 40.0 | 45.7 | 54.9 |
| Random | 66.7 | 64.2 | 65.5 | 72.2 | 69.0 | 53.8 | 48.7 | 49.3 | 55.4 | 41.0 | 32.1 | 65.5 | 43.6 | 39.9 | 45.7 | 54.2 | |
| WISE-ATTA | Uniform | 66.8 | 64.0 | 65.9 | 70.1 | 69.4 | 54.3 | 48.8 | 49.3 | 55.3 | 41.0 | 32.2 | 60.2 | 44.0 | 40.0 | 45.6 | 53.8 |
| Random | 67.2 | 64.2 | 65.2 | 70.0 | 69.1 | 53.9 | 48.5 | 49.3 | 55.4 | 41.1 | 32.2 | 59.5 | 43.7 | 39.9 | 45.7 | 53.6 | |
| Budget-paced | 64.8 | 62.4 | 63.5 | 67.5 | 67.3 | 51.9 | 47.8 | 48.3 | 54.4 | 40.4 | 32.1 | 57.5 | 42.8 | 39.4 | 44.9 | 52.3 | |
Table 7. Batch selection strategies under a fixed annotation budget. FTTA error (%) on ImageNet-R/K/A with RN50-BN and ViT-B-16.
| Sample Selection | Batch Selection | ImageNet-R | ImageNet-K | ImageNet-A | Avg. Error | ||||
|---|---|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | ||
| EATTA [42] | Uniform | 53.1 | 44.7 | 65.8 | 59.0 | 98.1 | 72.5 | 72.3 | 58.7 |
| Random | 53.1 | 44.8 | 65.6 | 58.8 | 98.6 | 72.4 | 72.4 | 58.7 | |
| WISE-ATTA | Uniform | 52.8 | 44.9 | 65.6 | 58.6 | 98.2 | 71.9 | 72.2 | 58.5 |
| Random | 52.6 | 44.6 | 65.4 | 58.3 | 98.4 | 71.8 | 72.2 | 58.2 | |
| Budget-paced | 52.2 | 44.2 | 65.3 | 58.0 | 98.2 | 70.6 | 71.9 | 57.6 | |
Part II: Practical Deployment Studies
F. Skipping Updates on Non-selected Batches
We ablate a low-resource variant of WISE-ATTA that performs no backward/update step on batches not selected by WISE-ATTA (i.e., no unsupervised entropy-minimization update on non-selected batches). Table 8 compares this setting (“without update”) against the default configuration that still applies the unsupervised update (“with update”) at a label ratio of .
Table 8. Effect of skipping unsupervised updates on non-selected batches at label ratio (FTTA error %, ↓). With update applies the unsupervised loss on non-selected batches; Without update skips the backward pass entirely. WISE-ATTA degrades the least when unsupervised updates are removed (+0.1 vs. +0.2 to +0.4 for the baselines), indicating that its gains do not rely on the unsupervised signal from skipped batches.
| Setting | Method | ImageNet-R | ImageNet-K | Avg. | Δ Avg. | ||
|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | ||||
| With update | Uniform | 55.0 | 48.1 | 68.3 | 60.8 | 58.0 | – |
| Random | 54.5 | 48.7 | 68.2 | 60.2 | 57.9 | – | |
| WISE-ATTA | 53.4 | 44.7 | 66.2 | 58.7 | 55.7 | – | |
| Without update | Uniform | 55.0 | 48.2 | 68.6 | 61.0 | 58.2 | +0.2 |
| Random | 55.9 | 48.1 | 68.4 | 60.8 | 58.3 | +0.4 | |
| WISE-ATTA | 53.8 | 45.0 | 65.7 | 58.8 | 55.8 | +0.1 | |
Overall, removing updates on non-selected batches has negligible impact on performance. For WISE-ATTA, the average error changes only from 55.72 → 55.82 (+0.10), while Uniform and Random change by similarly small amounts (+0.18 and +0.41, respectively). This indicates that most of the gains come from spending computation and supervision on high-utility batches, and that WISE-ATTA can be simplified for resource-constrained deployment by updating only the selected batches. Importantly, WISE-ATTA retains its advantage over Uniform/Random in this lightweight mode, suggesting that budget-aware batch selection remains effective even without background unsupervised updates.
G. Batch Selection Under Different Online Batch Sizes
In practical deployments, the online batch size may vary due to latency and memory constraints, which can affect both adaptation dynamics and batch utility estimation. We therefore evaluate WISE-ATTA under different batch sizes on ImageNet-R and ImageNet-K with RN50-BN and ViT-B-16 (Tab. 9).
Table 9. Batch-size ablation on ImageNet-R/K with RN50-BN and ViT-B-16 (FTTA error %, ↓). WISE-ATTA consistently outperforms uniform and random batch selection across all batch sizes.
| Batch | Method | ImageNet-R | ImageNet-K | Avg. Error | |||
|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | ||
| 16 | Uniform | 56.5 | 41.8 | 56.5 | 41.8 | 56.5 | 41.8 |
| Random | 57.5 | 42.1 | 57.5 | 42.1 | 57.5 | 42.1 | |
| WISE-ATTA | 55.1 | 41.5 | 55.1 | 41.5 | 55.1 | 41.5 | |
| 32 | Uniform | 53.0 | 43.2 | 65.1 | 57.5 | 59.0 | 50.4 |
| Random | 52.7 | 42.9 | 65.2 | 57.6 | 59.0 | 50.3 | |
| WISE-ATTA | 52.1 | 41.9 | 64.5 | 57.1 | 58.3 | 49.5 | |
| 64 | Uniform | 52.8 | 44.4 | 65.6 | 58.6 | 59.2 | 51.5 |
| Random | 52.9 | 45.4 | 65.6 | 58.5 | 59.2 | 52.0 | |
| WISE-ATTA | 52.3 | 43.4 | 64.6 | 58.0 | 58.4 | 50.7 | |
| 128 | Uniform | 54.0 | 47.6 | 67.2 | 59.8 | 60.6 | 53.7 |
| Random | 54.1 | 47.1 | 67.5 | 59.3 | 60.8 | 53.2 | |
| WISE-ATTA | 53.1 | 45.7 | 65.8 | 58.8 | 59.4 | 52.2 | |
Across all batch sizes, WISE-ATTA consistently outperforms UNIFORM and RANDOM batch selection, demonstrating that budget-paced selection remains effective as the granularity of online updates changes. The improvements are particularly evident for smaller batches. For example, at batch size 16, it achieves the lowest error across all settings (e.g., 55.08 vs. 56.45/57.51 on ImageNet-R (RN50-BN) and 41.53 vs. 41.77/42.14 on ImageNet-R (ViT-B-16)). Although the gap narrows at larger batch sizes, it remains the best-performing strategy throughout (e.g., at batch size 128, 53.06 vs. 53.98/54.07 on ImageNet-R (RN50-BN)).
H. Effect of Label Annotation Delay
The analyses thus far have assumed an idealization that is rarely true in practice: that a queried label is returned to the learner instantaneously. We now zoom out from this assumption and study a setting that, despite its practical importance, has remained largely underexplored in active TTA: label annotation delay, where supervision arrives only after a fixed number of subsequent test batches. This better reflects realistic deployments, where human annotators and large teacher-model incur queueing and inference latency. To disentangle whether any observed degradation is specific to the front-loaded budget allocation or general to ATTA, we compare three methods that change one component at a time: EATTA, WISE-ATTA + UNIFORM, and full WISE-ATTA. The first two share uniform batch allocation and differ only in sample selection, while the last two share drift-based sample selection and differ only in batch selection. We evaluate on ImageNet-R and ImageNet-K.
Table 10. Effect of annotation delay at a fixed labeling rate of . FTTA error (%, ) on ImageNet-R and ImageNet-K with RN50-BN and ViT-B-16, as a function of the delay (in batches) between batch selection and label availability. WISE-ATTA is highlighted in gray.
| Delay | ImageNet-R | ImageNet-K | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RN50-BN | ViT-B-16 | RN50-BN | ViT-B-16 | |||||||||
| EATTA | WISE+Unif. | WISE-ATTA | EATTA | WISE+Unif. | WISE-ATTA | EATTA | WISE+Unif. | WISE-ATTA | EATTA | WISE+Unif. | WISE-ATTA | |
| 0 | 54.1 | 53.1 | 52.3 | 47.0 | 44.5 | 43.4 | 65.6 | 65.6 | 64.6 | 60.3 | 59.0 | 58.0 |
| 50 | 54.2 | 54.1 | 52.9 | 46.5 | 46.3 | 47.2 | 67.0 | 66.1 | 65.3 | 81.3 | 68.4 | 67.9 |
| 100 | 54.2 | 54.5 | 54.0 | 54.6 | 56.2 | 57.8 | 66.7 | 66.7 | 65.2 | 85.8 | 74.1 | 71.9 |
| 150 | 54.7 | 54.8 | 54.6 | 70.1 | 59.8 | 62.9 | 66.8 | 66.7 | 65.8 | 88.3 | 89.3 | 92.2 |
| 200 | 54.9 | 54.9 | 54.6 | 70.7 | 69.2 | 70.5 | 67.0 | 67.1 | 66.2 | 89.1 | 89.9 | 93.0 |
Results. Table 10 reveals two interesting findings. First, all three methods degrade systematically as delay grows, confirming that stale supervision is a general failure mode of ATTA rather than an artifact of utility-driven scheduling. Second, despite this shared degradation, full WISE-ATTA still achieves the lowest error in 14 of 20 dataset model delay combinations, indicating that budget-paced batch selection retains its advantage across most of the delay regime. Degradation is most severe on ViT-B-16/ImageNet-K, where error rises from 58.0 to 93.0 as delay grows from 0 to 200. This indicates that once the model has drifted far from the query-time regime, stale labels can become actively harmful, and motivates delay-aware extensions such as recency-weighted updates or latency-aware batch selection as an important direction for future work.
Part III: Implementation and Experimental Details
I. Algorithm and Hyperparameters
Algorithm 1 Budget-Paced Utility Batch Selection (WISE-ATTA)
Require: Stream ; target ratio ; window ; warmup ; correction horizon ; slack
1: , 2: for do 3: 4: 5: if then 6: 7: else if then 8: 9: else 10: ; 11: ; 12: end if 13: ; append to (drop oldest if ) 14: end for
Hyperparameters. Unless stated otherwise, we use a batch size of 64, following prior work [42]; we study the sensitivity to batch size in Appendix G. Learning rates are set to for ImageNet-C, for ImageNet-R/K, and for ImageNet-A. We use an EMA momentum of (Equation (3)), a history window of , warmup length , correction horizon , and slack (Algorithm 1). The combined loss in Equation (1) uses and and is optimized with SGD. We set the entropy threshold to , where is the number of classes. All results are averaged over three random seeds and obtained on a server equipped with a NVIDIA L40 GPU.
J. Supervised Update: Which Parameters to Adapt?
Which parameters to update. In unsupervised test-time adaptation, prior work has shown that restricting updates to normalization parameters is often sufficient and yields stable behavior over long test streams [9, 41, 42]. In the budgeted ATTA setting, however, supervision can be explicitly corrective: a queried label provides reliable information about the decision boundary. Restricting such supervision to normalization parameters alone can thus limit its impact. Therefore, we adopt a hybrid strategy. In unlabeled batches, we update only normalization parameters using entropy minimization. When a labeled sample is available, we additionally allow a supervised update of the classifier head. We validate this below.
Layer analysis for the supervised step. We investigate where supervised cross-entropy is most beneficial when only a single labeled sample is available. After the first-step normalization adaptation, we apply the supervised update to different model components and report the resulting error (Figure 6).
Across architectures and datasets, restricting supervision to the classifier head yields the most stable performance. For ViT-B-16, updating intermediate transformer blocks leads to high variance and is often worse than head-only supervision. For RN50-BN, adapting deeper residual stages consistently degrades accuracy, with error increasing sharply when supervision is applied to later blocks. These results suggest that under limited supervision, pushing supervised gradients into deeper layers can distort pretrained representations, whereas head-only supervision improves robustness.
K. Experimental Setup
K.1. Datasets and Models
Datasets. We consider both synthetic corruptions (ImageNet-C) and natural distribution shifts (ImageNet-R/K/A), which target complementary axes of robustness. Low-level perturbations of the imaging pipeline (noise, blur, weather, compression)

(a) ViT-B-16

(b) RN50-BN
Figure 6. Layer ablation for the supervised step in two-step adaptation. Updating only the classifier head is most stable, while adapting intermediate/deeper layers often hurts under single-label supervision.
and high-level shifts in rendition and source distribution, and together span the corruption types on which prior ATTA work is evaluated. For the synthetic corruptions, we consider ImageNet-C [11], which consists of 15 corruption types at five severity levels; following prior work [22, 28, 29, 41, 42], we report results at severity level 5. To natural corruptions, we use ImageNet-R [13], ImageNet-K [44], and ImageNet-A [14], which contain renditions, sketches, and adversarially filtered images, respectively. We construct the test streams by sequentially traversing the full evaluation sets of each dataset, and report results on these complete streams (Appendix K.3).
Models. We consider two widely used vision models: ResNet-50 with Batch Normalization (RN50-BN) [10, 17] and ViT-B-16 [7], both pretrained on ImageNet-1K [5]. We always start from the same pretrained checkpoint with no access to source-domain data during adaptation.
K.2. Reproducibility
The main paper describes the complete experimental setup, including datasets and evaluation protocols (ImageNet-C/R/K/A under FTTA/CTTA), model architectures and pretrained checkpoints (RN50-BN and ViT-B/16), optimization hyperparameters (batch size, learning rates, SGD settings, and loss weights), and all method-specific settings (e.g., W, M, H, , , and ). We report results averaged over three random seeds (0, 41, 58). Code, configuration files, and evaluation scripts are available at https://github.com/Muhammad-Huzaifaa/WISE-ATTA.
K.3. Dataset Details
We evaluate our methods on both synthetic corruptions and natural distribution shifts using four ImageNet-based benchmarks.
ImageNet-C. ImageNet-C [11] applies 15 common corruptions to the ImageNet-1K validation set (50,000 images), grouped into Noise, Blur, Weather, and Digital categories. Each corruption is provided at five severity levels, yielding 750,000 images per severity level and 3,750,000 in total. Following standard practice, we report results on severity level 5.
ImageNet-R. ImageNet-R [13] evaluates robustness to changes in depiction style by collecting artistic renditions (e.g., cartoons, paintings, sculptures) of ImageNet categories. It contains 30,000 images spanning 200 classes.
ImageNet-K (Sketch). ImageNet-Sketch [44] contains hand-drawn sketch representations of ImageNet objects. It includes sketches for 1,000 ImageNet classes with 50,000 images in total; we refer to this benchmark as ImageNet-K for consistency with our tables.
ImageNet-A. ImageNet-A [14] is a collection of natural adversarial examples that remain recognizable to humans but are challenging for ImageNet-trained models. It contains 7,500 images from 200 classes.