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

StyleAdv:跨域少样本学习的元风格对抗训练

StyleAdv: Meta Style Adversarial Training for Cross-Domain Few-Shot Learning

Fudan University(复旦大学);Purple Mountain Laboratories(紫金山实验室)

Yuqian Fu, Yu Xie, Yanwei Fu, Yu-Gang Jiang

AI总结:

提出StyleAdv元风格对抗训练方法,通过合成虚拟且困难的对抗风格来增强跨域少样本学习模型的鲁棒性,在八个数据集上达到最新最优性能。

摘要:

跨域少样本学习(CD-FSL)是一项近期出现的任务,旨在解决不同领域间的少样本学习问题。其目标是将源数据集上学习到的先验知识迁移到新颖的目标数据集。CD-FSL任务尤其受到不同数据集之间巨大领域差距的挑战。关键在于,这种领域差距实际上源于视觉风格的变化,而wave-SAN经验性地表明,扩展源数据的风格分布有助于缓解这一问题。然而,wave-SAN只是简单地交换两张图像的风格。这种朴素操作使得生成的风格“真实”且“容易”,仍然落入源风格的原始集合中。因此,受朴素对抗学习的启发,我们提出了一种新颖的模型无关的元风格对抗训练(StyleAdv)方法,以及一种新颖的风格对抗攻击方法,用于CD-FSL。特别地,我们的风格攻击方法为模型训练合成了“虚拟”且“困难”的对抗风格。这是通过使用带符号的风格梯度扰动原始风格来实现的。通过持续攻击风格并迫使模型识别这些具有挑战性的对抗风格,我们的模型逐渐对视觉风格变得鲁棒,从而提升了对新颖目标数据集的泛化能力。除了典型的基于CNN的主干网络外,我们还将StyleAdv方法应用于大规模预训练的视觉Transformer。在八个不同目标数据集上进行的大量实验显示了我们方法的有效性。无论是基于ResNet还是ViT,我们都实现了CD-FSL的最新最优结果。代码可在https://github.com/lovelyqian/StyleAdv-CDFSL获取。

英文摘要:

Cross-Domain Few-Shot Learning (CD-FSL) is a recently emerging task that tackles few-shot learning across different domains. It aims at transferring prior knowledge learned on the source dataset to novel target datasets. The CD-FSL task is especially challenged by the huge domain gap between different datasets. Critically, such a domain gap actually comes from the changes of visual styles, and wave-SAN empirically shows that spanning the style distribution of the source data helps alleviate this issue. However, wave-SAN simply swaps styles of two images. Such a vanilla operation makes the generated styles ``real'' and ``easy'', which still fall into the original set of the source styles. Thus, inspired by vanilla adversarial learning, a novel model-agnostic meta Style Adversarial training (StyleAdv) method together with a novel style adversarial attack method is proposed for CD-FSL. Particularly, our style attack method synthesizes both ``virtual'' and ``hard'' adversarial styles for model training. This is achieved by perturbing the original style with the signed style gradients. By continually attacking styles and forcing the model to recognize these challenging adversarial styles, our model is gradually robust to the visual styles, thus boosting the generalization ability for novel target datasets. Besides the typical CNN-based backbone, we also employ our StyleAdv method on large-scale pretrained vision transformer. Extensive experiments conducted on eight various target datasets show the effectiveness of our method. Whether built upon ResNet or ViT, we achieve the new state of the art for CD-FSL. Code is available at https://github.com/lovelyqian/StyleAdv-CDFSL.

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

↑