arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.31420cs.AI
收藏

BP-TTA:动态场景下的平衡与原型引导测试时自适应

BP-TTA: Balanced and Prototype-Guided Test-Time Adaptation in Dynamic Scenarios

College of Computer Science, Sichuan University(四川大学计算机科学学院);School of Artificial Intelligence, Sichuan University(四川大学人工智能学院)

Shaoyang Huang, Yashi Zhu, Yichen Yu, Lei Zhang, Zhang Yi, Tao He

AI总结:

提出BP-TTA方法,通过平衡批次采样和原型引导自适应,同时处理测试时流中的类别不平衡和持续域偏移问题,在动态场景下优于现有方法。

摘要:

测试时自适应(TTA)使在源域上训练的模型能够在分布偏移下在线适应未标记的测试数据。虽然最近的TTA方法已超越静态设置并开始考虑持续域偏移,但它们主要解决分布漂移,未能考虑动态场景中的类别不平衡。在现实世界的测试时流中,类别不平衡和持续域偏移经常同时发生并相互影响。本文提出了一种新颖的平衡与原型引导测试时自适应(BP-TTA)方法,该方法结合了批次平衡采样和原型引导自适应来处理类别不平衡和持续域偏移问题。BP-TTA通过将当前样本与高置信度历史实例整合来构建平衡的自适应批次,有效减轻对主导类别的偏差并稳定在线更新。同时,BP-TTA在推理过程中维护演化的类原型,并利用原型相似性作为模型自适应的约束,从而提高伪标签的可靠性并增强在持续域偏移下在线更新的稳定性。大量实验表明,BP-TTA在动态测试时流设置中始终优于最先进的TTA方法。

英文摘要:

Test-Time Adaptation (TTA) enables models trained on a source domain to adapt online to unlabeled test data under distribution shifts. While recent TTA methods have moved beyond static settings and begun to consider continual domain shifts, they primarily address distribution drift and fail to account for class imbalance in dynamic scenarios. In real-world test-time streams, class imbalance and continual domain shifts often occur at the same time and interact with each other. In this paper, we propose a novel Balanced and Prototype-Guided Test-Time Adaptation (BP-TTA) method, which combines batch-balanced sampling with prototype-guided adaptation to handle the class imbalance and continual domain shift problems. BP-TTA constructs balanced adaptation batches by integrating current samples with high-confidence historical instances, effectively mitigating bias toward dominant classes and stabilizing online updates. Meanwhile, BP-TTA maintains evolving class prototypes during inference and leverages prototype similarity as a constraint for model adaptation, thereby improving the reliability of pseudo-labels and enhancing the stability of online updates under persistent domain shifts. Extensive experiments demonstrate that BP-TTA consistently outperforms state-of-the-art TTA methods in dynamic test-time streaming settings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑