掩码自编码器是2021年提出的视觉自监督预训练方法,核心是按高比例随机遮挡图像块、只让编码器处理可见部分,再用轻量解码器重建被遮挡内容,能力包括高比例掩码、非对称编解码结构、像素级重建与骨干复用。它解决的是视觉自监督训练效率低、难以扩展到超大模型的问题,并不解决下游任务数据分布与预训练数据不一致带来的迁移损失。
掩码自编码器的核心是遮挡掉大部分再重建,它可以帮助企业实现以下目标:
让训练成本明显下降。编码器只处理可见的少数图像块,计算量大幅下降,大规模预训练可以在有限时间内完成。
让大模型可以被预训练。简单的重建目标易于扩展,超大骨干的预训练成为可行路径,视觉基础模型有了统一的训练方案。
让密集预测任务受益。预训练编码器可直接用于检测与分割,特征质量在精细任务上明显优于早期对比学习方法。
让重建目标可以被优化。像素级重建容易陷入高频细节,用特征级目标替代后,表征更关注结构与形状,泛化能力随之提升。
总之,掩码自编码器可以帮助企业以较低的算力成本获得高质量的视觉骨干,加速视觉基础模型的训练并提升下游任务的迁移效果,但依赖较高的遮挡比例与特定的分块骨干设计,重建目标的选择需要按数据特点调整,极低标注场景下的表现也不总是占优。
翻译
Masked autoencoders are a visual self-supervised pretraining method proposed in 2021. Its core is masking a high proportion of image patches at random, letting the encoder process only the visible ones and using a lightweight decoder to reconstruct the hidden content, with capabilities covering high masking ratio, an asymmetric encoder-decoder structure, pixel-level reconstruction and backbone reuse. It solves the problem of inefficient visual self-supervised training and of difficulty scaling to very large models, but it does not solve the transfer loss when downstream data distribution differs from the pretraining data.
At the heart of the masked autoencoder is hiding most of the image and rebuilding it, which can help companies achieve the following:
Cut training cost sharply. The encoder only processes the few visible patches, computation drops markedly, and large-scale pretraining completes within a limited time.
Make very large models pretrainable. The simple reconstruction objective scales easily, pretraining of very large backbones becomes a practical path, and visual foundation models gain a common training recipe.
Help dense prediction tasks. The pretrained encoder feeds detection and segmentation directly, and feature quality clearly exceeds that of earlier contrastive methods on fine-grained tasks.
Make the reconstruction objective tunable. Pixel-level reconstruction easily overfits to high-frequency detail, and replacing it with a feature-level objective makes representations attend more to structure and shape, which improves generalization.
In short, masked autoencoders can help enterprises obtain high-quality visual backbones at relatively low compute cost, accelerate the training of visual foundation models and improve transfer to downstream tasks, while they rely on a high masking ratio and a particular patch-based backbone design, the reconstruction objective has to be adjusted to the data, and performance in extremely low-label settings is not always ahead.