Adapting in the Dark: Efficient and Stable Test-Time Adaptation for Black-Box Models
Yunbei Zhang, Shuaicheng Niu, Chengyi Cai, Feng Liu, Jihun Hamm
NeurIPS 2026
TL;DR. BETA uses a small local steering model and prediction harmonization to learn a visual prompt for black-box vision APIs, enabling stable test-time adaptation with a single API call per image at a fraction of the cost of zeroth-order methods.
Abstract. Test-Time Adaptation (TTA) for black-box models accessible only via APIs remains a largely unexplored challenge. Existing approaches such as post-hoc output refinement offer limited adaptive capacity, while Zeroth-Order Optimization (ZOO) enables input-space adaptation but faces high query costs and optimization challenges in the unsupervised TTA setting. We introduce BETA (Black-box Efficient Test-time Adaptation), a framework that addresses these limitations by employing a lightweight, local white-box steering model to create a tractable gradient pathway. Through a prediction harmonization technique combined with consistency regularization and prompt learning-oriented filtering, BETA enables stable adaptation with no additional API calls and negligible latency beyond standard inference. BETA achieves a 7.1-percentage-point accuracy gain on ViT-B/16 (ImageNet-C) and 3.4 points on CLIP (ImageNet-S/R), surpassing several strong white-box and gray-box methods including TENT and TPT. On a commercial API, BETA achieves comparable performance to ZOO at 250× lower cost while maintaining real-time inference speed, establishing it as a practical and efficient solution for real-world black-box TTA. Project website: https://yunbeizhang.github.io/BETA/.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper tackles the problem of strict black‑box test‑time adaptation, where the only access to the target model is through an API that returns class‑probability outputs. In this setting, adaptation must be done under tight query and latency constraints. The proposed approach, BETA, introduces a small visual prompt that is optimized online using a lightweight local steering model, which supplies gradients for updating the prompt, while the final prediction is obtained by combining the outputs of both the steering model and the black‑box target through a harmonization mechanism. The authors evaluate the method on a broad set of benchmarks and report consistent improvements over existing one‑query black‑box baselines.
All three reviewers found the problem setting relevant and timely, and they agreed that the paper is clearly written and empirically strong. They appreciated the simplicity of the design, the avoidance of expensive zeroth‑order optimization, and the thorough ablations and control studies. The inclusion of a real commercial API adds credibility to the practical motivation, showing its generalization capabilities in real world scenarios. Overall, the reviewers were positive.
That said, several issues need to be addressed for the contribution to be fully convincing. First, the “strict black‑box” framing is somewhat narrower than implied, i.e., BETA assumes access to full class‑probability vectors over a known label space, a steering model that is compatible with the target task, and a pixel‑level prompt that survives whatever preprocessing the API applies. These assumptions should be made explicit. Second, the stability claims are not fully substantiated. Most results are single‑seed, and the instability figure illustrates only the unstable ablation rather than the complete method. Indeed, multi‑seed statistics would strengthen the evidence, especially on challenging corruptions and the real API. Third, the method’s reliance on the steering model is not deeply examined. Since all gradients come from the steering model, its semantic alignment with the target is crucial, yet the paper does not explore how performance changes when the steering model is weak, mismatched, or unrelated. Furthermore, the hyperparameter selection process is unclear. The fusion weight appears tuned using information unavailable in deployment, and the filtering threshold depends on the number of classes. The paper should clarify what validation data were used and how settings transfer across datasets. Fifth, the ablation study does not isolate the effect of steering‑model adaptation, does not discuss failure cases, and does not analyze when the method breaks down. Finally, while BETA reduces API queries, it still requires backpropagation through a ViT‑Small steering model and online updates of both the prompt and normalization parameters. The practicality of this approach for CPU‑only or low‑resource clients is not evaluated, which may reinforce the scalability of the proposed approach to real-world or practical scenarios.
Final justification
This submission received overall positive feedback during the first review phase, with authors resolving most of the raised concerns during the rebuttal. Nevertheless, several important concerns remained after the discussion. In particular, the lack of evaluation on more diverse architectural families and the empirical generalization to other tasks different than classification are limitations that may undermine the impact of this work.
Having said this, I believe that the authors have positively addressed most of the comments, and I therefore recommend its acceptance, as its strengths outweigh the remaining limitations.
Please incorporate as much as the important feedback requested by the reviewers in the final version of the manuscript.
Read meta-review
Meta-review
This paper tackles the problem of strict black‑box test‑time adaptation, where the only access to the target model is through an API that returns class‑probability outputs. In this setting, adaptation must be done under tight query and latency constraints. The proposed approach, BETA, introduces a small visual prompt that is optimized online using a lightweight local steering model, which supplies gradients for updating the prompt, while the final prediction is obtained by combining the outputs of both the steering model and the black‑box target through a harmonization mechanism. The authors evaluate the method on a broad set of benchmarks and report consistent improvements over existing one‑query black‑box baselines.
All three reviewers found the problem setting relevant and timely, and they agreed that the paper is clearly written and empirically strong. They appreciated the simplicity of the design, the avoidance of expensive zeroth‑order optimization, and the thorough ablations and control studies. The inclusion of a real commercial API adds credibility to the practical motivation, showing its generalization capabilities in real world scenarios. Overall, the reviewers were positive.
That said, several issues need to be addressed for the contribution to be fully convincing. First, the “strict black‑box” framing is somewhat narrower than implied, i.e., BETA assumes access to full class‑probability vectors over a known label space, a steering model that is compatible with the target task, and a pixel‑level prompt that survives whatever preprocessing the API applies. These assumptions should be made explicit. Second, the stability claims are not fully substantiated. Most results are single‑seed, and the instability figure illustrates only the unstable ablation rather than the complete method. Indeed, multi‑seed statistics would strengthen the evidence, especially on challenging corruptions and the real API. Third, the method’s reliance on the steering model is not deeply examined. Since all gradients come from the steering model, its semantic alignment with the target is crucial, yet the paper does not explore how performance changes when the steering model is weak, mismatched, or unrelated. Furthermore, the hyperparameter selection process is unclear. The fusion weight appears tuned using information unavailable in deployment, and the filtering threshold depends on the number of classes. The paper should clarify what validation data were used and how settings transfer across datasets. Fifth, the ablation study does not isolate the effect of steering‑model adaptation, does not discuss failure cases, and does not analyze when the method breaks down. Finally, while BETA reduces API queries, it still requires backpropagation through a ViT‑Small steering model and online updates of both the prompt and normalization parameters. The practicality of this approach for CPU‑only or low‑resource clients is not evaluated, which may reinforce the scalability of the proposed approach to real-world or practical scenarios.
Final justification
This submission received overall positive feedback during the first review phase, with authors resolving most of the raised concerns during the rebuttal. Nevertheless, several important concerns remained after the discussion. In particular, the lack of evaluation on more diverse architectural families and the empirical generalization to other tasks different than classification are limitations that may undermine the impact of this work.
Having said this, I believe that the authors have positively addressed most of the comments, and I therefore recommend its acceptance, as its strengths outweigh the remaining limitations.
Please incorporate as much as the important feedback requested by the reviewers in the final version of the manuscript.
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
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.
Formatting concerns
No paper formating concerns.
3 comments
Rebuttal
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.
| Steering Model | Architecture | Parameters | BETA Accuracy |
|---|---|---|---|
| ViT-Tiny | Transformer | 6M | 58.2 |
| ResNet-50 | CNN | 26M | 60.8 |
| ViT-Small | Transformer | 22M | 62.6 |
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 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 and allowed it to be jointly optimized during adaptation.
| Strategy | ImageNet-C Average Accuracy |
|---|---|
| Fixed | 62.6 |
| Learnable , initialized at , ended with | 62.7 |
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 .
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 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 with ViT-Small to 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 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 , the hardest corruption setting. We report the average across all corruptions and the individual Contrast result.
| Evaluation | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 | Mean STD |
|---|---|---|---|---|---|---|
| 15 corruption average | 62.6 | 62.5 | 62.5 | 62.4 | 62.5 | |
| Contrast | 53.4 | 53.2 | 53.0 | 53.0 | 53.1 |
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- 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.
Thank you for the detailed rebuttal. I appreciate that the authors addressed nearly all of my concerns with additional experiments and thoughtful explanations. In particular, the additional evaluation on different steering models, the learnable hyperparameter experiment, the multiple-seed analysis, and the discussion of failure cases significantly strengthen the paper. I will keep my score and I believe the rebuttal substantially improves the submission. Overall, I have a positive view of the paper and would be happy to see it accepted.
Thank you very much for your thoughtful follow-up. We are very encouraged that the additional experiments and clarifications addressed nearly all of your concerns and substantially strengthened your assessment of the submission. We especially appreciate your positive view of the paper and your comment that you would be happy to see it accepted.
Since the rebuttal has resolved nearly all of the concerns underlying the original evaluation, may we kindly ask whether you would be willing to reconsider the numerical score so that it more closely reflects your updated assessment? If any concern remains, we would be grateful for the opportunity to address it further. We sincerely appreciate your consideration and support.
- Rating
- 4/6
- Confidence
- 5/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge of test-time adaptation when the target model is available only as a strict black-box API: the user can query prediction probabilities but cannot access parameters, gradients, tokens, or intermediate features. The paper proposes BETA, which learns a shared visual prompt using a lightweight local steering model. BETA combines the steering model’s prediction with the black-box output through prediction harmonization, while using filtering and consistency regularization to stabilize prompt learning. The method also updates normalization parameters of the steering model. The paper reports results on ImageNet-C, ImageNet-S/R, CLIP-based targets, and a commercial Clarifai API, emphasizing one API call per sample and lower query cost than ZOO-based prompting.
Strengths and weaknesses
Strengths : 1. The problem setting is timely and practically relevant. Strict black-box TTA is clearly distinguished from white-box and gray-box settings, and the constraints of API cost, latency, and unavailable gradients are well motivated.
-
The use of a local steering model to construct a usable optimization path for an otherwise inaccessible target model is interesting. Prediction harmonization provides a reasonable way to incorporate the black-box prediction without requiring gradients through the target.
-
The paper clearly identifies the limitations of existing black-box alternatives. In particular, the discussion of ZOO highlights the trade-off between query cost and instability, while the Clarifai experiment gives the method practical relevance beyond simulated black-box experiments.
Weaknesses : 1. The method may depend more strongly on the steering model than the paper suggests. Although the steering model does not need to match the target model’s accuracy, all gradients still flow through it. Therefore, it likely needs to provide semantically meaningful directions for the target task. The zero-shot CLIP experiments are encouraging, but CLIP is itself a strong general-purpose representation. The paper does not clearly establish how weak, mismatched, or unrelated a steering model can be before BETA fails.
-
The claimed efficiency should be discussed at the system level. BETA avoids additional API calls, but still requires local backpropagation through a steering model and online updates of both the prompt and normalization parameters. The reported latency is measured on an RTX 3090 GPU, while the local memory cost of the ViT-Small steering model is substantial. It is unclear how practical the approach would be on CPU-only clients, edge devices, or low-resource API users.
-
The current ablation does not isolate the contribution of steering-model adaptation. BETA updates both the visual prompt and the steering model’s normalization parameters, but the main ablation does not include a fully frozen steering model or a variant without the steering loss. It is therefore unclear whether the gain mainly comes from input prompting, steering-model adaptation, or their combination.
-
The comparisons with white-box and gray-box methods should be stated more carefully. BETA is strong among strict black-box methods, but it does not consistently outperform all stronger-access methods. For example, several white-box or gray-box baselines remain better in the reported tables. The claims of the paper should emphasize the accuracy-efficiency trade-off under strict black-box access rather than imply a general advantage over methods with stronger access.
-
Some baseline behavior needs more clarification. In particular, LAME often performs below the source model, which differs from the usual expectation for output refinement. The paper should describe the exact adaptation protocol used for LAME and explain why it degrades in this setting.
Questions
-
How much semantic alignment is needed between the steering model and the black-box target? Could the authors include negative controls using a randomly initialized steering model, an unrelated pretrained model, or a model with deliberately permuted class semantics?
-
How does BETA perform under practical local-compute constraints, such as CPU-only execution, lower-end GPUs, or smaller steering models? The current efficiency analysis is based on a high-end GPU.
-
Could the authors provide qualitative visualizations of the learned prompts after adapting to different corruptions such as fog, contrast, blur, and noise? This would help assess whether the prompt learns meaningful shift-specific corrections or mainly exploits generic input shortcuts.
-
Figure 1 appears visually close to a sequential pipeline, although the prompted input is fed in parallel to the black-box target and the steering model. Revising the figure to emphasize the parallel structure would improve clarity.
Limitations
The method assumes access to a compatible local steering model and a black-box API that returns sufficiently rich class probabilities. It also relies on local gradient-based optimization, which may limit deployment on low-resource clients despite its API efficiency. Finally, the evaluation mainly focuses on image classification shifts and corruption benchmarks; the behavior of a shared prompt under highly non-stationary, recurrent, or task-changing streams remains less clear.
Final justification
I am satisfied with the authors’ responses and believe that my main concerns have been sufficiently addressed. I will therefore maintain my current score of 4, with a positive view toward acceptance.
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for the thoughtful and technically detailed assessment. We especially appreciate the positive comments regarding the practical relevance of black box adaptation, the local steering pathway, and the real API evaluation. We provide additional clarifications and results below.
W1 and Q1. Pretrained local steering models and semantic alignment
We appreciate the reviewer highlighting the role of semantic alignment in the steering model. Appendix B.2, Table 11 already evaluates BETA with two off-the-shelf zero-shot CLIP steering models under substantial architectural and domain mismatch. We reproduce the results below for convenience.
| Dataset | Black-box Target | Source | LAME | TT-Aug | BETA with CLIP-RN50 | BETA with CLIP ViT-B/32 |
|---|---|---|---|---|---|---|
| Derm7pt | CLIP ViT-B/16 | 55.9 | 56.0 | 56.6 | 57.1 | 58.6 |
| Derm7pt | BiomedCLIP | 60.9 | 60.4 | 61.0 | 61.2 | 62.1 |
| EuroSAT | CLIP ViT-B/16 | 42.0 | 40.9 | 39.6 | 50.1 | 53.3 |
Both steering models improve performance across natural-image, medical, and remote-sensing settings. In particular, generic CLIP steering models remain beneficial even when the black-box target is the domain-specialized BiomedCLIP model. These results suggest that the steering model need not exactly match the target architecture, capacity, pretraining distribution, or domain specialization. The gain may become smaller as the mismatch increases, but a generic pretrained encoder can still provide a useful adaptation signal.
A randomly initialized steering model represents an extreme case without meaningful class semantics. Its predictions have nearly maximal entropy, so the entropy filter rejects almost all samples. This suppresses uninformative adaptation updates and keeps performance close to the Source model. In practice, many pretrained vision encoders and zero-shot vision-language models are publicly available. Therefore, obtaining a lightweight local model with basic alignment to the target label space is generally feasible and is unlikely to become the primary bottleneck of BETA.
W2 and Q2. CPU execution and local efficiency
Thank you for encouraging us to clarify the local computational requirements. The submitted paper reports GPU measurements on an RTX 3090. To complement those results, we also profile the complete client-side BETA update on an AMD Ryzen Threadripper PRO 5955WX using eight CPU threads.
| Steering Model | Parameters | Batch Size | Latency per Image | Peak Process Memory |
|---|---|---|---|---|
| ViT-T/16 | 5.7M | 1 | 48.0 ms | 0.70 GB |
| ViT-T/16 | 5.7M | 8 | 24.0 ms | 1.09 GB |
| ViT-S/16 | 22.1M | 1 | 89.0 ms | 0.82 GB |
| ViT-S/16 | 22.1M | 8 | 61.6 ms | 1.53 GB |
These measurements include prompt construction, steering forward passes, backward propagation, and the optimizer update. Table 7 reports the corresponding accuracy trade-off. ViT-T/16 improves the ViT-B/16 target from 55.5 to 58.2, while ViT-S/16 reaches 62.6. The CPU results show that BETA can operate without a local GPU, and the smaller steering model provides a practical option when local resources are more constrained.
W3. Isolating prompt learning and steering model adaptation
We add the requested isolation experiment using the same ViT-B/16 target, ViT-S/16 steering model, ImageNet-C evaluation protocol, and fixed hyperparameters.
| Setting | ImageNet-C Average Accuracy |
|---|---|
| Target prediction only | 55.5 |
| Target and steering model frozen, fixed posterior harmonization | 54.1 |
| Prompt updated, steering model fully frozen | 60.7 |
| Steering model updated, no prompt update | 57.1 |
| Prompt and steering model jointly updated, full BETA | 62.6 |
The frozen configuration shows that posterior harmonization alone does not explain the improvement. Updating the prompt with a frozen steering model reaches 60.7, while updating the steering model without prompt learning reaches 57.1. Combining both mechanisms achieves the best result of 62.6. These results clarify that prompt learning and steering model adaptation provide complementary contributions.
W4. Clarification on different access levels
We appreciate the opportunity to clarify this wording. Our primary comparisons are with black box methods that operate under the same target access conditions as BETA. Methods that require target parameters, gradients, tokens, or intermediate features are not applicable under this strict API setting and are included as stronger-access reference points. BETA achieves the best performance among the evaluated methods that satisfy the same black box constraints. It also outperforms several white box or gray box methods in some settings, despite using less target access, although we do not intend to claim superiority over every stronger-access method. We will revise the relevant sentences to make this distinction more explicit.
W5. LAME implementation protocols
Thank you for requesting additional details about the baseline implementations. We follow the official implementations and evaluation procedures of LAME [C] with codebase in FOA [D]. We also verified our LAME implementation under the original configuration and obtained performance consistent with the FOA paper.
The official LAME formulation constructs its affinity graph using target features and then refines the output predictions without updating the target parameters. Under our access taxonomy, this feature-affinity implementation is therefore a gray box reference. We will make this access distinction explicit in the revision.
Using the official LAME protocol, we obtain 54.1 on ImageNet-C, compared with 55.5 for Source. Under severe corruptions, the target feature neighborhoods used by LAME can become less reliable. Laplacian refinement may then propagate locally consistent but incorrect predictions, which can lead to a small degradation relative to Source.
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.
Q4. Figure 1
We agree that the current presentation can make the computation appear sequential. We will revise Figure 1 so that the prompted input clearly branches in parallel to the black box target and the local steering model. The revised figure will also show that only the local steering pathway receives gradients. This change will clarify both the optimization pathway and the parallel execution used in our efficiency analysis.
[C] Parameter-free Online Test-time Adaptation. CVPR, 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.
I thank the authors for their careful and detailed response. The additional experiments and clarifications address most of my concerns. However, a few limitations remain, particularly regarding the dependence on the steering model and the relative roles of prompt optimization and steering-model adaptation.
Nevertheless, I find the strict black-box adaptation setting important and the proposed approach both interesting and meaningful as an early solution to this problem. I believe the strengths outweigh the remaining limitations, and I therefore maintain my score of 4 with a positive view toward acceptance.
Thank you very much for your thoughtful follow-up. We appreciate your confirmation that the additional experiments and clarifications addressed most of your concerns, as well as your positive view toward acceptance.
We also appreciate your characterization of the remaining limitations. We will clarify that BETA does not require a task-specific steering model or close semantic alignment with the target domain. Instead, a well-trained vision encoder providing general-purpose visual representations can serve as the steering model, as demonstrated by our results across different architectures, model scales, and specialized domains. We will also make the isolation results more explicit: prompt optimization provides the primary improvement from 55.5 to 60.7, while steering-model adaptation provides a complementary contribution, with their combination reaching 62.6.
Thank you again for your careful assessment and support. If any further clarification would be helpful during the discussion, we would be happy to provide it.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses online test-time adaptation when the target classifier is reachable only through an API returning class probabilities, under cost and latency constraints. The proposed method, BETA, uses a lightweight local "steering" model to provide gradients for a shared additive visual prompt fed to the API; the two models' predictions are fused ("prediction harmonization") and the mixture entropy is optimized through the steering model, with sample filtering and a clean-vs-prompted KL loss for stability. Adaptation costs one API call per image. Experiments cover ImageNet-C, EuroSAT, Derm7pt, CLIP/BiomedCLIP targets, and a commercial Clarifai API, where BETA outperforms the evaluated one-query black-box baselines.
Strengths and weaknesses
Strengths
- Practical setting. Black-box test-time adaptation under API cost and latency constraints is underexplored.
- Simple, sensible design that avoids costly zeroth-order optimization, with good motivating evidence for why simpler alternatives fail.
- Strong control studies that isolate the contribution (vs. inference-time ensembling, knowledge distillation, and the steering model's white-box ceiling), plus a clear component ablation (Table 8) showing both stabilizers matter.
Weaknesses
- The "black-box" setting is narrower than the framing suggests: it needs a full probability vector over a known, aligned closed label set, a compatible local classifier, and a pixel prompt that survives the API's own preprocessing. This is closer to probability-access closed-set classification than to general black-box adaptation.
- The central stability claim is under-supported. The main tables are single-run, and the instability figure shows only the unstable ablation rather than the full method; seed mean and standard deviation are needed, especially on the hardest corruption and the real API.
- The hyperparameter protocol is unclear. The fusion weight is tuned using white-box measurements unavailable in real deployment, and the filtering threshold is class-count dependent; the paper should state what validation data and labels were used and how the configuration transfers across datasets.
Questions
- What does the method require from the API (full probabilities vs. top-k), and does the pixel prompt survive API-side resizing, cropping, normalization, and compression?
- How were the hyperparameters selected (which validation data, any target labels?), and how is the class-count-dependent threshold set for non-1000-class datasets?
Limitations
yes
Final justification
My initial concerns were the strength of the operational black-box assumptions, the single-run evaluation, and the unclear hyperparameter protocol. The rebuttal and discussion mostly resolved them. The authors showed the steering classifier is constructible zero-shot from label names and committed to stating the operational assumptions in the formulation and limitations.
These clarifications confirm the method delivers what it reports within its scope: probability-access APIs with an exposed, matchable, closed label vocabulary. That scope was already reflected in my assessment and remains the main bound on significance. I maintain my rating.
Formatting concerns
none
4 comments
Rebuttal
We thank the reviewer for the careful assessment and for recognizing the practical motivation, consistent improvements, and potential impact of BETA. We address the concerns below.
W1 and Q1. API outputs, black box access, and API preprocessing
We agree that access to a probability distribution provides more information than access to only the predicted label. However, this requirement does not provide access to model parameters, gradients, intermediate features, training data, or the API preprocessing pipeline. BETA adapts solely through queries and output scores. It therefore addresses black box adaptation under a practical and commonly available level of API access, such as that provided by Clarifai.
More importantly, BETA is not restricted to the full probability vector. We evaluated restricted output settings in which only the Top probabilities are returned. The visible probabilities are renormalized, while the model, optimization procedure, and hyperparameters remain unchanged.
| Available API Output | Accuracy | Improvement over Source |
|---|---|---|
| Source | 55.5 | N/A |
| Top 1 | 58.1 | +2.6 |
| Top 10 | 62.2 | +6.7 |
| Top 20 | 62.5 | +7.0 |
| Full Probability Vector | 62.6 | +7.1 |
These results show that the improvement does not depend on observing the complete probability vector. Top 10 access already recovers nearly all of the performance of BETA, while Top 1 provides less uncertainty information for adaptation. On ImageNet, the cumulative probability mass of the Top 10 and Top 20 predictions frequently exceeds , and the Top 20 mass exceeds for of the samples. Top 10 and Top 20 therefore retain nearly all of the relevant information in the full vector, which explains their similar performance.
The learned prompt is applied directly in pixel space before the image is submitted to the API. Any resizing, normalization, compression, or other processing performed by the API remains unknown and is treated as part of the black box mapping. The prompt is optimized through the outputs obtained after this unknown processing. Our experiments with different CLIP models and real Clarifai APIs demonstrate that the learned pixel prompt remains effective across distinct and undisclosed preprocessing pipelines. The Top results further show that this behavior does not require unrestricted access to API outputs.
W2. Single run evaluation and statistical stability
We retained the run reported in the paper and conducted four additional runs with independent random seeds, yielding five runs in total. The evaluation uses ImageNet-C at severity level , which is the hardest corruption setting. We report both the average across all corruptions and the individual result on Contrast.
| Evaluation | Run 1 | Run 2 | Run 3 | Run 4 | Run 5 | Mean STD |
|---|---|---|---|---|---|---|
| 15 corruption average | 62.6 | 62.5 | 62.5 | 62.4 | 62.5 | |
| Contrast | 53.4 | 53.2 | 53.0 | 53.0 | 53.1 |
The means and standard deviations are computed from the unrounded accuracies. The small standard deviations demonstrate that the reported improvement is stable and is not attributable to a favorable random seed.
W3 and Q2. Hyperparameter selection protocol
All hyperparameters were selected using four disjoint validation corruptions from ImageNet-C, namely Speckle Noise, Gaussian Blur, Spatter, and Saturate. This follows the validation protocol used by MEMO [A].
After this selection, every hyperparameter was fixed and shared across all test corruptions, datasets, architectures, and random seeds. No hyperparameter was changed after receiving the test time data. The analyses presented in our figures use the same validation protocol.
For the class count dependent entropy threshold, the form follows EATA [B], where denotes the number of classes. The coefficient in was selected once using the same four validation corruptions and was subsequently fixed. This allows the threshold to scale with the number of classes without using any information from the test set.
[A] MEMO: Test Time Robustness via Adaptation and Augmentation. NeurIPS, 2022.
[B] Efficient Test-Time Model Adaptation without Forgetting. ICML, 2022.
Dear Reviewer 2KQb,
Thank you again for your time and thoughtful feedback. We have provided detailed responses and additional results addressing your concerns. We would be grateful to know whether these clarifications have adequately addressed your questions and might affect your overall assessment of the paper.
As the discussion period is nearing its end, please let us know if any concern remains. We would be happy to provide further clarification.
Best regards,
The Authors
Thank you for the rebuttal. The Top- ablation, the five-seed results, and the clarified validation protocol address the core of W1-W3; please incorporate them into the revision.
Remaining points:
-
The method still presumes a known, closed label set shared or explicitly mapped between the steering model and the API. It is unclear how the Clarifai output space was aligned with the ImageNet-C classes. These operational assumptions (aligned closed label set, compatible local classifier) should be stated explicitly in the limitations.
-
Seed variance on the real API, requested in the review, was not provided; a few repeats on one domain at the Appendix B.14 budget would settle this.
Thank you for confirming that the Top- ablation, five-seed evaluation, and validation protocol address the core concerns in W1–W3. We will incorporate these results and clarifications into the revised manuscript.
1(a). Operational scope and local steering-model construction
We appreciate this clarification and agree that the assumptions regarding the label vocabulary and its correspondence should be stated more explicitly. We will follow your suggestion and describe these requirements clearly in the problem formulation, experimental protocol, and limitations.
Importantly, BETA does not require an existing local classifier trained specifically for the target label set. Given only the target label names, users can construct a zero-shot steering classifier from a small publicly available vision-language model such as CLIP-RN50. The CLIP text encoder converts these names into classifier weights without domain-specific training or source data. Appendix B.2, Table 11 evaluates this construction under substantial domain and model mismatch. Zero-shot CLIP steering improves the target from 42.0 to 53.3 on EuroSAT, from 55.9 to 58.6 on Derm7pt, and from 60.9 to 62.1 when steering the domain-specialized BiomedCLIP target. These results show that an exactly matched or task-specific local classifier is not required.
1(b). Label correspondence on Clarifai
The Clarifai classifier returns a structured list of predictions for each input rather than an anonymous vector. Each prediction has the following form:
{"id": "<concept_id>", "name": "goldfish", "value": 0.72}
Here:
idis the public identifier of the predicted class concept.nameis the corresponding ImageNet label name.valueis the predicted probability.
We match each returned name to the corresponding class in the ImageNet label dictionary used by the local vision model. The associated value is then placed directly into that class position. The same class correspondence is used by both models, and we do not perform any label shuffling, score-based reordering, or learned remapping. This procedure uses neither test labels nor internal information from the API model.
We will disclose that the current formulation assumes an exposed label vocabulary that can be directly matched through class identifiers or names. Extending BETA to partially overlapping or open-vocabulary output spaces that require an additional semantic mapping layer is an interesting direction for future work.
2. Stability on the real Clarifai API
Following your suggestion, we conducted five independent runs on the Contrast corruption using the same USD $5 budget per run and otherwise identical settings. The five runs show that BETA stably improves the Contrast accuracy from 38.6 to 46.7 under a small API budget.
| Evaluation | Source | BETA Run 1 | BETA Run 2 | BETA Run 3 | BETA Run 4 | BETA Run 5 | Mean STD |
|---|---|---|---|---|---|---|---|
| Clarifai, Contrast | 38.6 | 46.9 | 47.2 | 46.1 | 46.0 | 47.1 |
We hope that these additional results and clarifications address the remaining concerns and strengthen your assessment of our work. We would be grateful if you could reconsider your overall evaluation in light of this new evidence. If any concern remains, please let us know, and we would be happy to clarify it further.
Comments on the paper
1 comment
Rebuttal discussion
Dear reviewers,
As we move toward the end of the discussion period for the authors, I kindly ask each of you to review the authors’ rebuttal and provide an updated assessment. Some of the raised concerns may now be resolved, while others might still require clarification.
To support a clear and constructive meta‑review, please indicate:
-
Which concerns you consider fully addressed.
-
Which remain unresolved or insufficiently answered.
-
Any new issues, if any, introduced by the rebuttal.
Your timely feedback will help ensure consistency and fairness in the evaluation.
Thanks, your AC.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal Summary for the Area Chair
Dear Area Chair,
Thank you for coordinating the discussion and summarizing the central concerns. We briefly summarize how each concern was addressed during the rebuttal.
Black-box assumptions. We clarified the required API access and will state the assumptions explicitly. BETA reaches 62.2% with only the Top 10 probabilities and 62.5% with Top 20, compared with 62.6% using the full vector. A local classifier can be constructed from a public CLIP model, while exposed class names and identifiers establish label correspondence. Our Clarifai experiments also confirm that the pixel prompt remains effective under unknown API preprocessing. (Reviewer
2KQbstated that “the Top-K ablation, the five-seed results, and the clarified validation protocol address the core of W1-W3.” We subsequently provided the requested clarification on label correspondence.)Statistical stability. We added five-seed evaluations on ImageNet-C at severity 5, obtaining 62.48±0.04% over all 15 corruptions. We also reported five independent Clarifai runs under a USD 5 budget, obtaining 46.7±0.57%. (Reviewer
2KQbconfirmed that the five-seed evaluation addressed the stability concern. ReviewerBa8qstated that the multiple-seed analysis “significantly strengthen[s] the paper.”)Steering-model dependence, component roles, and failure cases. We evaluated steering models across different architectures and scales, including CNN and ViT models, and all improve the black-box target. Appendix B.2, Table 11 further evaluates generic zero-shot CLIP steering models under substantial model and domain mismatch. Our isolation study obtains 60.7% with prompt learning and frozen steering, 57.1% with steering adaptation alone, and 62.6% with full BETA. The Appendix also discusses the main failure regimes. (Reviewer
Ba8qstated that the additional steering-model evaluations and failure-case discussion “significantly strengthen the paper,” that “the rebuttal substantially improves the submission,” and that they “would be happy to see it accepted.” ReviewermbWdagreed that “the strengths outweigh the remaining limitations.”)Hyperparameter selection. All hyperparameters were selected using four disjoint validation corruptions and subsequently fixed across all test settings. The logK threshold follows EATA. Making the fusion coefficient learnable changes accuracy only from 62.6% to 62.7%, supporting the simpler fixed choice. (Reviewer
2KQbconfirmed that the clarified validation protocol addressed the core concern. ReviewerBa8qalso highlighted the learnable-hyperparameter experiment as significantly strengthening the paper.)Low-resource practicality. We added CPU-only measurements using local hardware. With the lightweight ViT-Tiny steering model, BETA requires 24.0 ms per image while improving accuracy from 55.5% to 58.2%. This demonstrates that BETA remains practical without GPU access. (Reviewer
mbWdstated that the additional experiments and clarifications “address most of my concerns” and maintained “a positive view toward acceptance.”)We sincerely thank the Area Chair and reviewers for their constructive feedback, which helped us strengthen both the empirical evidence and the presentation of the paper. We will incorporate all promised experiments and clarifications into the revised manuscript. We respectfully hope that the additional evidence and the reviewers’ positive updated assessments will be taken into consideration in the final decision.