WISE-ATTA:预算化主动测试时适应中何时请求标签
研究论文 · 2026/09/30
主动测试时自适应(ATTA)通过在推理过程中更新已部署模型并选择性查询监督信号,提升分布偏移下的鲁棒性。然而,现有ATTA方法大多隐含假设每个到来的测试批次都可请求监督,在长测试流中会造成大量标注成本。本文提出预算化ATTA,即仅对一部分测试批次提供标签。这一设定将核心挑战从决定批次内标注什么转变为决定何时在时间维度上应用监督。为此,作者提出预算感知方法WISE-ATTA,基于在线计算的轻量信号在测试流上分配监督,优先选择监督可能最有用的时段。当某批次被选中进行监督时,进一步采用基于漂移的样本选择准则,针对表现出持续、未收敛自适应动态的样本,从而利用单个标注样本实现有效更新。该方法在合成损坏(ImageNet-C)和自然分布偏移(ImageNet-R/K/A)上进行了评估。在各设定下,WISE-ATTA在所需标签显著减少的同时,取得了与近期ATTA方法相当或更优的性能。总体而言,作者发现监督的时机是主动测试时自适应中一个关键但尚未充分探索的方面。代码:https://github.com/Muhammad-Huzaifaa/WISE-ATTA
该研究将主动测试时自适应的关注点从“标注什么”转向“何时标注”,在预算约束下显著减少标注需求,同时保持或提升性能,为长测试流场景下的高效自适应提供了新思路。
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. Code: https://github.com/Muhammad-Huzaifaa/WISE-ATTA