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

学习视觉条件令牌以纠正全测试时适应的域偏移

Learning Visual Conditioning Tokens to Correct Domain Shift for Fully Test-time Adaptation

Southern University of Science and Technology(南方科技大学);Pengcheng Lab(鹏城实验室);Huawei Technologies Co., LTD.(华为技术有限公司)

Yushun Tang, Shuoshuo Chen, Zhehan Kan, Yi Zhang, Qinghai Guo, Zhihai He

AI总结:

本文提出双层视觉条件令牌学习方法,利用Transformer类令牌捕获域特征,在测试时适应中去除域偏移,提升跨域性能达1.9%。

摘要:

全测试时适应旨在基于推理阶段输入样本的序列分析来调整网络模型,以解决深度神经网络跨域性能下降的问题。本工作基于以下有趣的发现:在基于Transformer的图像分类中,第一个Transformer编码器层的类令牌可以在测试时适应过程中学习捕获目标样本的域特定特征。这个学习到的令牌,当与输入图像补丁嵌入结合时,能够在Transformer编码过程中逐步从输入样本的特征表示中去除域特定信息,从而显著提高源模型在不同域上的测试时适应性能。我们将这个类令牌称为视觉条件令牌(VCT)。为了成功学习VCT,我们提出了一种双层学习方法,以捕获域特定特征的长期变化,同时适应实例特定特征的局部变化。在基准数据集上的实验结果表明,我们提出的双层视觉条件令牌学习方法能够显著提高测试时适应性能,最高提升1.9%。

英文摘要:

Fully test-time adaptation aims to adapt the network model based on sequential analysis of input samples during the inference stage to address the cross-domain performance degradation problem of deep neural networks. This work is based on the following interesting finding: in transformer-based image classification, the class token at the first transformer encoder layer can be learned to capture the domain-specific characteristics of target samples during test-time adaptation. This learned token, when combined with input image patch embeddings, is able to gradually remove the domain-specific information from the feature representations of input samples during the transformer encoding process, thereby significantly improving the test-time adaptation performance of the source model across different domains. We refer to this class token as visual conditioning token (VCT). To successfully learn the VCT, we propose a bi-level learning approach to capture the long-term variations of domain-specific characteristics while accommodating local variations of instance-specific characteristics. Experimental results on the benchmark datasets demonstrate that our proposed bi-level visual conditioning token learning method is able to achieve significantly improved test-time adaptation performance by up to 1.9%.

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

↑