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

主动测试时适应:理论分析与一种算法

Active Test-Time Adaptation: Theoretical Analyses and An Algorithm

Texas A&M University(得克萨斯农工大学)

Shurui Gui, Xiner Li, Shuiwang Ji

AI总结:

提出主动测试时适应 ATTA 设定及 SimATTA 算法,通过有限标注、样本熵平衡和实时选择,在理论保证下显著提升域偏移适应性能。

摘要:

测试时适应(TTA)在无监督设置下处理流式测试数据的分布偏移。目前,大多数 TTA 方法只能应对轻微偏移,并严重依赖启发式和经验研究。为推进域偏移下的 TTA,我们提出主动测试时适应(ATTA)这一新问题设定,将主动学习融入完全 TTA 设定。我们给出学习理论分析,证明纳入有限的带标签测试实例可在理论保证下提升跨测试域的整体性能。我们还提出用于实现 ATTA 同时避免灾难性遗忘(CF)的样本熵平衡方法。我们利用实时样本选择技术,引入一种简单而有效的 ATTA 算法,称为 SimATTA。大量实验结果证实了与理论分析的一致性,并表明所提出的 ATTA 方法相对 TTA 方法带来显著性能提升,同时保持效率,并与要求更高的主动域适应(ADA)方法具有相近有效性。代码可在 https://github.com/divelek/ATTA 获取。

英文摘要:

Test-time adaptation (TTA) addresses distribution shifts for streaming test data in unsupervised settings. Currently, most TTA methods can only deal with minor shifts and rely heavily on heuristic and empirical studies. To advance TTA under domain shifts, we propose the novel problem setting of active test-time adaptation (ATTA) that integrates active learning within the fully TTA setting. We provide a learning theory analysis, demonstrating that incorporating limited labeled test instances enhances overall performances across test domains with a theoretical guarantee. We also present a sample entropy balancing for implementing ATTA while avoiding catastrophic forgetting (CF). We introduce a simple yet effective ATTA algorithm, known as SimATTA, using real-time sample selection techniques. Extensive experimental results confirm consistency with our theoretical analyses and show that the proposed ATTA method yields substantial performance improvements over TTA methods while maintaining efficiency and shares similar effectiveness to the more demanding active domain adaptation (ADA) methods. Our code is available at https://github.com/divelab/ATTA

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

↑