- Rating
- 4
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies black-box test-time adaptation (TTA), where the target model is accessible only through its input-output behavior and its internal components, such as weights, features, and gradients, are unavailable. The goal is to improve the performance of such models when test images are shifted or corrupted. To address this problem, the authors introduce BETA, a method that learns a small visual prompt at test time. Their framework uses two models: a target model, which is the black-box model, and a steering model, which is a local model used to optimize the visual prompt. The learned prompt is added to the input image, and the prompted image is passed through both the target and steering models. The predictions from the two models are then fused, and the prompt is updated by minimizing the entropy of the combined prediction through gradients from the steering model. Since entropy minimization can lead to prediction collapse, the method stabilizes adaptation using filtering, consistency loss, and a steering loss. The authors evaluate BETA on ImageNet-C, ImageNet-S, ImageNet-R, EuroSAT, and Derm7pt, showing that it improves performance over several baseline methods.
Strengths and weaknesses
Strength
- The paper is well written and easy to understand and the visualizations are clear and help explain the method effectively.
- The paper is well motivated and supported by a clear technical justification.
- The method not only performs well but is also efficient, making it more practical to use.
- The appendix provides a clear survey of the baseline models and categorizes them into white, gray, and black-box settings.
- The method achieves strong performance compared to baseline models across different datasets, tasks, and modalities, suggesting good generalizability.
Weaknesses
- The authors only use ViT-Small as the steering model. They do not show whether the method generalizes to other steering models. For example, if the target model is a Mamba-based model, would ViT-Small still work well as the steering model, or is the method sensitive to this choice?
- The value of is fixed. It would be useful to evaluate whether learning improves performance or stability.
- The ablation study does not discuss failure cases or conditions where the method performs poorly.
- Table 8 removes one component at a time and reports the resulting performance. However, this does not clearly show the standalone contribution of each component. I suggest evaluating each component separately to better understand its individual effect.
- The paper reports results from a single run without using multiple seeds. For example, Tables 2 and 3 shows Tent results under different corruptions as 2.2% and 0.9% which are very low compare to source only. Reporting results over multiple seeds would help clarify where the improvement come from.
- The method learns a pixel-level prompt to modify the input image. It is unclear whether this approach can extend to other modalities or tasks beyond classification. An explanation would help understanding this part.
- Section 2.3 is titled “BETA,” but it mainly explains the limitations of existing methods. The next section is then numbered 2.4 rather than being a subsection under BETA. It would be clearer to have a dedicated Section 2.3 for BETA and organize its components as subsections.
- Lines 1067, 1133, and 1179 contain broken cross-references: “Sec. ??”.
Questions
- Why was ViT-Small chosen as the steering model? Why not use other architectures or different model scales?
- Does BETA still work when the steering and target models have very different architectures, such as Mamba and ViT? If so, please support this with quantitative results.
- Have the authors tried using an adaptive or learnable ? How would this affect performance?
- Does the optimal value of change across datasets or target models?
- Can the ablation study be expanded to show progressive or additive gains from each component?
- Can the authors discuss failure cases in the ablation study?
- Can you provide visualizations of the learned visual prompt and the prompted images, and show how they differ from the original inputs?
Limitations
Yes. The authors mention the sensitivity to the steering model and acknowledge that their current work focuses on classification without exploring segmentation, detection, or other tasks. However, the limitations section would benefit from more detail.
Paper formatting concerns
No paper formating concerns.
Final justification
The authors have sufficiently addressed my main concerns through the rebuttal and additional experiments. In particular, the evaluations with different steering models, the learnable hyperparameter experiment, the multiple-seed analysis, and the discussion of failure cases significantly strengthen the paper.
Some limitations remain, particularly the lack of evaluation on more diverse architectural families (e.g., Mamba-based models) and the fact that generalization beyond classification is currently discussed conceptually rather than demonstrated empirically. These do not change my overall positive assessment, but they limit the empirical scope of the work.
Therefore, I will keep my original score of 4 (Borderline Accept). Overall, I believe the reasons to accept outweigh these remaining limitations, and I support acceptance.
We thank the reviewer for the thoughtful and constructive assessment. We especially appreciate the positive comments regarding the clarity, motivation, efficiency, baseline taxonomy, and empirical performance of BETA. We address the questions and suggestions below.
W1, Q1, and Q2. Steering model architectures and scales
Although ViT-Small is used as the default steering model, our experiments already evaluate steering models from different architectural families and model scales. In particular, we test ViT-Tiny with 6M parameters, ResNet-50 with 26M parameters, and ViT-Small with 22M parameters. The target is a black-box ViT-B/16 model with a Source accuracy of 55.5.
All three steering models improve the black-box target. In particular, the ResNet-50 result demonstrates successful cross-architecture adaptation from a CNN steering model to a Transformer target. We also observe the same cross-architecture behavior when steering a CLIP target. These results indicate that BETA does not require the steering and target models to share the same architecture.
CNNs and ViTs represent the two most commonly deployed vision architecture families, so we prioritized them in the current evaluation. We have not yet evaluated a Mamba target. Testing additional architectural families is an interesting extension that we plan to explore in future work.
W2, Q3, and Q4. Selection and adaptation of α
The fixed value α=0.4 was selected using four disjoint validation corruptions: Speckle Noise, Gaussian Blur, Spatter, and Saturate. This follows the validation protocol used by MEMO [A]. After this selection, α was fixed and used without modification across all test corruptions, datasets, target architectures, and random seeds.
We additionally evaluated a learnable version of α. We initialized it from the selected fixed value of 0.4 and allowed it to be jointly optimized during adaptation.
The learnable variant changes the average accuracy only marginally, from 62.6 to 62.7. We therefore retain the fixed value because it provides nearly identical performance with a simpler and more stable adaptation procedure.
The optimal value could in principle vary across tasks. However, under the standard test-time adaptation protocol, hyperparameters must be determined before receiving the test-time data. Selecting α separately using each test distribution would introduce test-set-dependent tuning and would not reflect a realistic deployment setting. We therefore select α once using the disjoint validation corruptions and apply the same value throughout the evaluation. The sensitivity analysis in the paper also shows that BETA remains stable over a relatively broad range of α∈[0.3,0.5].
W3 and Q6. Failure cases
Thank you for encouraging us to make the failure conditions more visible. The Appendix already discusses three relevant regimes.
First, BETA can provide a smaller improvement when the steering model does not encode meaningful semantics for the target labels. Examples include highly specialized pathology codes or rare instrument identifiers. In this case, the steering distribution pS provides a less informative gradient for learning the visual prompt.
Second, performance depends on the availability of sufficient local steering capacity. On ImageNet-C, the improvement decreases from +7.1% with ViT-Small to +2.7% with ViT-Tiny. More severely compressed steering models may provide gradients that are too coarse to optimize the pixel-space prompt effectively.
Third, if the black-box target distribution pB is confidently incorrect, the harmonization objective may anchor the prompt toward the incorrect prediction. This is a general limitation of input-only, single-query black-box adaptation because no target gradient, feature, or external supervision is available to correct such an error.
We will move a concise version of this discussion closer to the ablation analysis so that these operating conditions are easier to identify.
W4 and Q5. Standalone and progressive component contributions
Thank you for this helpful suggestion. Table 8 already provides a conditional additive analysis. Prediction Harmonization only obtains 54.2. Adding Input Adaptation without stabilization obtains 51.6. Adding KL regularization or filtering separately improves the accuracy to 59.7 and 60.2, respectively. Combining both produces the best result of 62.6.
KL regularization and filtering are designed to stabilize visual prompt learning. Without Input Adaptation, there is no prompt update for these components to regularize or filter. Evaluating either one without prompt learning would therefore not define a meaningful standalone adaptation procedure.
Appendix B.3 and Table 12 provide a complementary comparison. Steering adaptation followed by inference-time ensembling obtains 57.1, while additionally learning the prompt before ensembling obtains 54.7. Full BETA with Prediction Harmonization reaches 62.6. We will revise the discussion to present these complementary and additive results more clearly.
W5. Multiple-run evaluation and the TENT results
We agree that reporting multiple runs provides a clearer assessment of statistical stability. We therefore evaluated BETA using five independent random seeds on ImageNet-C at severity level 5, the hardest corruption setting. We report the average across all 15 corruptions and the individual Contrast result.
The small standard deviations show that BETA's improvement is stable and is not attributable to a favorable initialization or stream order.
For the cited TENT entries, we followed the implementation and evaluation protocol released in the official FOA codebase [D]. Our reproduced TENT results match those reported in the FOA paper, including the unusually low accuracies on certain individual severity-5 corruptions. These values reflect the previously documented instability of online entropy minimization on difficult corruption streams, rather than an implementation discrepancy. We will clarify the implementation source and evaluation protocol in the revised manuscript.
W6. Discussion and future directions beyond classification
The current evaluation follows the standard TTA protocol and focuses empirically on classification under distribution shift. However, the underlying principle of BETA is not inherently limited to classification. It requires an input-space adapter, a differentiable local steering model, and an accessible output representation from the black-box target.
For detection or segmentation, the harmonization objective could operate on object-level or per-pixel output distributions. For generative or language tasks, the visual prompt and class-distribution harmonization would need to be replaced by modality-appropriate input prompts and per-token output alignment. These extensions therefore appear feasible, although they require task-specific reformulation of the harmonized objective. We will clarify both this potential and the required modifications in the Discussion.
W7. Section organization and cross-references
Thank you for identifying these presentation issues. We will reorganize Section 2.3 so that BETA has a dedicated section and its individual components are presented as clearly structured subsections. We will also correct all broken “Sec. ??” cross-references, including those at the identified lines, and carefully check the complete revised manuscript for related formatting and reference errors.
Q3. Learned prompt visualization
Thank you for this suggestion. Our inspection shows that the learned prompts do not contain recognizable objects or explicit semantic content. Instead, they appear as structured, high-frequency patterns. This is consistent with prior visual prompting work [E], in which prompts function as learned input cues and are not necessarily expected to be human-interpretable. Instead, the prompt acts as a domain-adaptive input perturbation that changes how the frozen target responds to shifted inputs, conceptually related to adversarial reprogramming [F]. Since external links cannot be provided in the rebuttal, we will include representative prompt visualizations directly in the appendix of the revised version. We will also clarify that these visualizations serve as diagnostic examples rather than semantic explanations.
[A] MEMO: Test Time Robustness via Adaptation and Augmentation. NeurIPS, 2022.
[D] Test-Time Model Adaptation with Only Forward Passes. ICML, 2024.
[E] Exploring Visual Prompts for Adapting Large-Scale Models.
[F] Adversarial Reprogramming of Neural Networks, ICLR 2019.