Skip to main content
QUICK REVIEW

[论文解读] MILAN: Masked Image Pretraining on Language Assisted Representation

Zejiang Hou, Fei Sun|arXiv (Cornell University)|Aug 11, 2022
Multimodal Machine Learning ApplicationsComputer Science被引用 27
一句话总结

MILAN 使用一个掩蔽自编码器对视觉变换器进行预训练,其重构目标来自 CLIP 的语言辅助图像表示,使用提示解码器与语义感知补丁采样以在 ImageNet 微调和下游迁移中实现更优表现。

ABSTRACT

Self-attention based transformer models have been dominating many computer vision tasks in the past few years. Their superb model qualities heavily depend on the excessively large labeled image datasets. In order to reduce the reliance on large labeled datasets, reconstruction based masked autoencoders are gaining popularity, which learn high quality transferable representations from unlabeled images. For the same purpose, recent weakly supervised image pretraining methods explore language supervision from text captions accompanying the images. In this work, we propose masked image pretraining on language assisted representation, dubbed as MILAN. Instead of predicting raw pixels or low level features, our pretraining objective is to reconstruct the image features with substantial semantic signals that are obtained using caption supervision. Moreover, to accommodate our reconstruction target, we propose a more effective prompting decoder architecture and a semantic aware mask sampling mechanism, which further advance the transfer performance of the pretrained model. Experimental results demonstrate that MILAN delivers higher accuracy than the previous works. When the masked autoencoder is pretrained and finetuned on ImageNet-1K dataset with an input resolution of 224x224, MILAN achieves a top-1 accuracy of 85.4% on ViT-Base, surpassing previous state-of-the-arts by 1%. In the downstream semantic segmentation task, MILAN achieves 52.7 mIoU using ViT-Base on ADE20K dataset, outperforming previous masked pretraining results by 4 points.

研究动机与目标

  • 通过在掩蔽图像预训练中利用语言监督,降低对大标注数据集的依赖。
  • 通过重构来自 CLIP 的图像特征而非原始像素来学习具有语义丰富的表示。
  • 通过高效的提示解码器与语义感知的补丁采样来提升预训练效率。
  • 在下游任务如目标检测、实例分割、语义分割等上实现强劲转移。

提出的方法

  • 使用一个掩蔽自编码器,其中 CLIP 图像编码器的输出作为被掩蔽补丁的重构目标。
  • 采用一个冻结编码器输出并将其用作固定提示以重构被掩蔽补丁特征的提示解码器,从而减少解码更新。
  • 通过均方误差在归一化的被掩蔽与未被掩蔽补丁的特征上计算重构损失。
  • 实现一个语义感知采样策略,根据 CLIP 最后一层注意力选择未被掩蔽的补丁,以强调语义重要区域。
  • 在 ImageNet-1K 上对 ViT-Base 与 ViT-Large 进行 400 个时期的预训练,并通过微调、线性探针以及下游任务进行评估。
  • 与 MAE 及语言-图像预训练基线进行对比,以 isolating 目标、解码器设计与采样的影响。

实验结果

研究问题

  • RQ1将语言辅助的 CLIP 特征重构是否能提升微调和线性探针性能,相较于基于像素的目标?
  • RQ2在以 CLIP 表征为目标时,提示解码器如何影响效率与精度?
  • RQ3语义感知补丁采样是否提升预训练效率和下游迁移?
  • RQ4与以往的掩蔽式预训练方法相比,MILAN 在下游任务如 COCO 检测/分割与 ADE20K 语义分割上的性能提升是多少?

主要发现

  • 在 ImageNet-1K 上,MILAN 对 ViT-Base 获得 86.4% 的 top-1,对 ViT-Large 获得 88.3%,均在 400 个时期预训练并以 224x224 分辨率微调。
  • MILAN 在线性探针方面优于以往的掩蔽预训练和语言-图像方法,并达到或超过 SOTA 对比学习方法的水平。
  • 在 COCO 上,MILAN 对 ViT-Base 的 VPxAPbox 与 VPxAPmask 分别比有监督预训练提升约 4.7 与 2.6 点。
  • 在 ADE20K 上,MILAN 以 ViT-Base 达到 52.7 mIoU,超过 MAE4.6 点。
  • MILAN 在 ImageNet-Adversarial、ImageNet-Rendition 与 ImageNet-Sketch 上表现出鲁棒性优势,显著超过先前模型。
  • 消融研究证实基于 CLIP 的目标、提示解码器与语义采样均对精度提升有贡献,完整的 MILAN 方案达到最佳结果。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。