Masked image modeling (MIM) has achieved promising results on various vision tasks. However, the limited discriminability of learned representation manifests there is still plenty to go for making a stronger vision learner. Towards this goal, we propose Contrastive Masked Autoencoders (CMAE), a new self-supervised pre-training method for learning more comprehensive and capable vision representations. By elaboratively unifying contrastive learning (CL) and masked image model (MIM) through novel designs, CMAE leverages their respective advantages and learns representations with both strong instance discriminability and local perceptibility. Specifically, CMAE consists of two branches where the online branch is an asymmetric encoder-decoder and the target branch is a momentum updated encoder. During training, the online encoder reconstructs original images from latent representations of masked images to learn holistic features. The target encoder, fed with the full images, enhances the feature discriminability via contrastive learning with its online counterpart. To make CL compatible with MIM, CMAE introduces two new components, i.e. pixel shift for generating plausible positive views and feature decoder for complementing features of contrastive pairs. Thanks to these novel designs, CMAE effectively improves the representation quality and transfer performance over its MIM counterpart. CMAE achieves the state-of-the-art performance on highly competitive benchmarks of image classification, semantic segmentation and object detection. Notably, CMAE-Base achieves $85.3\%$ top-1 accuracy on ImageNet and $52.5\%$ mIoU on ADE20k, surpassing previous best results by $0.7\%$ and $1.8\%$ respectively. Codes will be made publicly available.
翻译:蒙面图像建模(MIM)在各种愿景任务中取得了可喜的成果。然而,所学的模拟(MIM)在各种愿景任务中取得了可喜的成果。然而,所学的模拟(MIM)的差别性表现显示仍然有限,对于培养更强的视觉学习者而言,仍然有很多可加利用之处。为了实现这一目标,我们提议了一个自监督的新培训前方法,即反向蒙面图像建模(CMAE),以学习更全面和更有能力的视觉演示。通过创新设计,CMAE利用了它们各自的比较优势,学习了它们各自的优势,并学习了准确性能表现。具体来说,CLE在在线分支是不对称的编码解码解码器(CMAE)中有两个分支,其目标部分是不对称的编码解码解码(CIME),目标分支是更新了电路面图像(CIME)的升级(CIME),这些图像的升级(i.MA)将分别改进了CIMA值和图像的升级(I),并更新了CMA(ILA)的图像的升级(ial-deal-deal-deal-deal)的升级(ial-deal-deal-dealation),使C-deal-dealation)的图像(ial-dealation)的图像(ial-de)的图像(ial-de)的升级)。