arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.11537cs.CVcs.AI
收藏

AEMIM:对抗样本遇见掩码图像建模

AEMIM: Adversarial Examples Meet Masked Image Modeling

Peng Cheng Laboratory(鹏城实验室);University of the Chinese Academy of Sciences(中国科学院大学);Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学)

Wenzhao Xiang, Chang Liu, Hang Su, Hongyang Yu

AI总结:

提出将对抗样本作为重建目标融入掩码图像建模,通过在线生成对抗样本提升预训练难度与效率,作为通用插件增强各类MIM方法的泛化与鲁棒性。

摘要:

掩码图像建模(MIM)因其在表示学习中的卓越能力而受到广泛关注。作为传统方法的替代,从损坏图像中重建最近已成为一种有前景的预文本任务。然而,常规的损坏图像是使用通用生成器生成的,往往缺乏与预训练中特定重建任务的相关性。因此,从常规损坏图像进行重建无法确保预文本任务的难度,可能导致性能下降。此外,生成损坏图像可能会引入额外的生成器,导致显著的计算负担。为了解决这些问题,我们提出将对抗样本纳入掩码图像建模,作为新的重建目标。对抗样本仅使用训练好的模型在线生成,可以直接针对与预训练相关的任务进行干扰。因此,这种纳入不仅提高了重建的挑战性,还增强了效率,有助于模型获得更优越的表示。具体而言,我们引入了一个新颖的辅助预文本任务,即重建与原始图像对应的对抗样本。我们还设计了一种创新的对抗攻击,以制造更适合MIM预训练的对抗样本。值得注意的是,我们的方法不限于特定的模型架构和MIM策略,使其成为一种适应性强的插件,能够增强所有MIM方法。实验结果证实了我们的方法在增强现有MIM方法的泛化性和鲁棒性方面的显著能力。值得注意的是,我们的方法在各种任务上超越了基线的性能,包括ImageNet、其变体以及其他下游任务。

英文摘要:

Masked image modeling (MIM) has gained significant traction for its remarkable prowess in representation learning. As an alternative to the traditional approach, the reconstruction from corrupted images has recently emerged as a promising pretext task. However, the regular corrupted images are generated using generic generators, often lacking relevance to the specific reconstruction task involved in pre-training. Hence, reconstruction from regular corrupted images cannot ensure the difficulty of the pretext task, potentially leading to a performance decline. Moreover, generating corrupted images might introduce an extra generator, resulting in a notable computational burden. To address these issues, we propose to incorporate adversarial examples into masked image modeling, as the new reconstruction targets. Adversarial examples, generated online using only the trained models, can directly aim to disrupt tasks associated with pre-training. Therefore, the incorporation not only elevates the level of challenge in reconstruction but also enhances efficiency, contributing to the acquisition of superior representations by the model. In particular, we introduce a novel auxiliary pretext task that reconstructs the adversarial examples corresponding to the original images. We also devise an innovative adversarial attack to craft more suitable adversarial examples for MIM pre-training. It is noted that our method is not restricted to specific model architectures and MIM strategies, rendering it an adaptable plug-in capable of enhancing all MIM methods. Experimental findings substantiate the remarkable capability of our approach in amplifying the generalization and robustness of existing MIM methods. Notably, our method surpasses the performance of baselines on various tasks, including ImageNet, its variants, and other downstream tasks.

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

↑