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

具有自一致性的高效掩码自编码器

Efficient Masked Autoencoders with Self-Consistency

Foundation Model Research Center, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所基础模型研究中心);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Wuhan AI Research(武汉人工智能研究院);Peng Cheng Laboratory(鹏城实验室);SenseTime Smart City Group(商汤科技智慧城市集团)

Zhaowen Li, Yousong Zhu, Zhiyang Chen, Wei Li, Chaoyang Zhao, Rui Zhao, Ming Tang, Jinqiao Wang

AI总结:

提出具有自一致性的高效掩码自编码器(EMAE),通过并行掩码策略和自一致性学习解决MIM数据利用不足和预测不一致问题,显著提升预训练效率及下游任务迁移性能。

摘要:

受自然语言处理任务中掩码语言建模(MLM)的启发,掩码图像建模(MIM)被认为是计算机视觉中一种强大的自监督预训练方法。然而,MIM的高随机掩码比例导致了两个严重的问题:1)每次迭代中对图像的数据利用不充分,导致预训练时间延长;2)预测的高度不一致性导致生成结果不可靠,即在不同掩码轮次中,对相同图像块的预测可能不一致,导致最终生成的结果语义发散。为了解决这些问题,我们提出了具有自一致性的高效掩码自编码器(EMAE),以提高预训练效率并增加MIM的一致性。具体而言,我们提出了一种并行掩码策略,将图像划分为K个不重叠的部分,每个部分由具有相同掩码比例的随机掩码生成。然后,MIM任务在一次迭代中并行地在所有部分上进行,模型最小化预测与被掩码图像块之间的损失。此外,我们设计了自一致性学习,以进一步保持各部分之间重叠掩码图像块的预测一致性。总体而言,我们的方法能够更高效地利用数据并获得可靠的表示。在ImageNet上的实验表明,EMAE在使用NVIDIA A100 GPU的情况下,在ViT-Large上取得了最佳性能,且仅使用了MAE预训练时间的13%。在多样化数据集上进行预训练后,EMAE在图像分类、目标检测和语义分割等各种下游任务上始终获得最先进的迁移能力。

英文摘要:

Inspired by the masked language modeling (MLM) in natural language processing tasks, the masked image modeling (MIM) has been recognized as a strong self-supervised pre-training method in computer vision. However, the high random mask ratio of MIM results in two serious problems: 1) the inadequate data utilization of images within each iteration brings prolonged pre-training, and 2) the high inconsistency of predictions results in unreliable generations, $i.e.$, the prediction of the identical patch may be inconsistent in different mask rounds, leading to divergent semantics in the ultimately generated outcomes. To tackle these problems, we propose the efficient masked autoencoders with self-consistency (EMAE) to improve the pre-training efficiency and increase the consistency of MIM. In particular, we present a parallel mask strategy that divides the image into K non-overlapping parts, each of which is generated by a random mask with the same mask ratio. Then the MIM task is conducted parallelly on all parts in an iteration and the model minimizes the loss between the predictions and the masked patches. Besides, we design the self-consistency learning to further maintain the consistency of predictions of overlapping masked patches among parts. Overall, our method is able to exploit the data more efficiently and obtains reliable representations. Experiments on ImageNet show that EMAE achieves the best performance on ViT-Large with only 13% of MAE pre-training time using NVIDIA A100 GPUs. After pre-training on diverse datasets, EMAE consistently obtains state-of-the-art transfer ability on a variety of downstream tasks, such as image classification, object detection, and semantic segmentation.

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

↑