TFS-ViT:用于域泛化的令牌级特征风格化
TFS-ViT: Token-Level Feature Stylization for Domain Generalization
AI总结:
本文提出TFS-ViT,一种令牌级特征风格化方法,通过混合不同域图像的归一化统计量并利用CLS令牌注意力图进行风格化,合成新域以提升ViT在未见数据上的泛化性能,在五个基准上达到最先进水平。
摘要:
标准深度学习模型,如卷积神经网络(CNN),缺乏泛化到训练中未见过的域的能力。这个问题主要源于这些模型常见但往往错误的假设,即源数据和目标数据来自相同的独立同分布(i.i.d.)分布。近年来,视觉Transformer(ViT)在广泛的计算机视觉任务中表现出色。然而,很少有研究调查它们泛化到新域的能力。本文首次提出了一种用于域泛化的令牌级特征风格化(TFS-ViT)方法,通过合成新域来提高ViT对未见数据的性能。我们的方法通过混合来自不同域的图像的归一化统计量来转换令牌特征。我们进一步通过一种新颖的注意力感知风格化策略改进了这种方法,该策略使用类别(CLS)令牌的注意力图来计算和混合对应于不同图像区域的令牌的归一化统计量。所提出的方法对骨干模型的选择灵活,并且可以轻松应用于任何基于ViT的架构,计算复杂度增加可忽略不计。综合实验表明,我们的方法能够在五个具有挑战性的域泛化基准上实现最先进的性能,并展示了其处理不同类型域偏移的能力。实现可在以下网址获得:https://github.com/Mehrdad-Noori/TFS-ViT_Token-level_Feature_Stylization。
英文摘要:
Standard deep learning models such as convolutional neural networks (CNNs) lack the ability of generalizing to domains which have not been seen during training. This problem is mainly due to the common but often wrong assumption of such models that the source and target data come from the same i.i.d. distribution. Recently, Vision Transformers (ViTs) have shown outstanding performance for a broad range of computer vision tasks. However, very few studies have investigated their ability to generalize to new domains. This paper presents a first Token-level Feature Stylization (TFS-ViT) approach for domain generalization, which improves the performance of ViTs to unseen data by synthesizing new domains. Our approach transforms token features by mixing the normalization statistics of images from different domains. We further improve this approach with a novel strategy for attention-aware stylization, which uses the attention maps of class (CLS) tokens to compute and mix normalization statistics of tokens corresponding to different image regions. The proposed method is flexible to the choice of backbone model and can be easily applied to any ViT-based architecture with a negligible increase in computational complexity. Comprehensive experiments show that our approach is able to achieve state-of-the-art performance on five challenging benchmarks for domain generalization, and demonstrate its ability to deal with different types of domain shifts. The implementation is available at: https://github.com/Mehrdad-Noori/TFS-ViT_Token-level_Feature_Stylization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。