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

测试时相关性对齐

Test-time Correlation Alignment

College of Science, Beijing Forestry University(北京林业大学理学院)

Linjing You, Jiabao Lu, Xiayuan Huang

AI总结:

针对测试时自适应忽视相关性对齐、更新开销大及领域遗忘问题,提出LinearTCA与即插即用LinearTCA+,以线性对齐显著降低显存和计算并提升精度。

摘要:

深度神经网络在分布偏移下往往会出现性能下降。尽管领域自适应提供了一种解决方案,但隐私约束通常会阻止对源数据的访问,这使得测试时自适应(TTA,即仅使用无标签测试数据进行自适应)越来越有吸引力。然而,当前的TTA方法仍面临实际挑战:(1)主要关注实例级对齐,由于缺少源相关性而忽视了相关性对齐(CORAL);(2)模型更新需要复杂的反向传播操作,导致计算开销;以及(3)领域遗忘。为应对这些挑战,我们进行了理论分析以研究测试时相关性对齐(TCA)的可行性,证明高置信度实例与测试实例之间的相关性对齐能够在理论保证下提升测试性能。基于此,我们提出了两种简单而有效的算法:LinearTCA和LinearTCA+。LinearTCA应用简单的线性变换同时实现实例对齐和相关性对齐,无需额外的模型更新;而LinearTCA+作为即插即用模块,可轻松增强现有TTA方法。大量实验验证了我们的理论洞见,并表明TCA方法在各类任务、基准和骨干网络上均显著优于基线。值得注意的是,与最佳TTA基线相比,LinearTCA仅使用4%的GPU显存和0.6%的计算时间即可实现更高准确率。它在CLIP上也比现有方法高出1.86%以上。

英文摘要:

Deep neural networks often degrade under distribution shifts. Although domain adaptation offers a solution, privacy constraints often prevent access to source data, making Test-Time Adaptation (TTA, which adapts using only unlabeled test data) increasingly attractive. However, current TTA methods still face practical challenges: (1) a primary focus on instance-wise alignment, overlooking CORrelation ALignment (CORAL) due to missing source correlations; (2) complex backpropagation operations for model updating, resulting in overhead computation and (3) domain forgetting. To address these challenges, we provide a theoretical analysis to investigate the feasibility of Test-time Correlation Alignment (TCA), demonstrating that correlation alignment between high-certainty instances and test instances can enhance test performances with a theoretical guarantee. Based on this, we propose two simple yet effective algorithms: LinearTCA and LinearTCA+. LinearTCA applies a simple linear transformation to achieve both instance and correlation alignment without additional model updates, while LinearTCA+ serves as a plug-and-play module that can easily boost existing TTA methods. Extensive experiments validate our theoretical insights and show that TCA methods significantly outperforms baselines across various tasks, benchmarks and backbones. Notably, LinearTCA achieves higher accuracy with only 4% GPU memory and 0.6% computation time compared to the best TTA baseline. It also outperforms existing methods on CLIP over 1.86%.

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

↑