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

MAGE:掩码生成编码器,统一表示学习与图像合成

MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesis

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Google Research(谷歌研究院);University of Maryland(马里兰大学)

Tianhong Li, Huiwen Chang, Shlok Kumar Mishra, Han Zhang, Dina Katabi, Dilip Krishnan

AI总结:

提出MAGE框架,通过在掩码图像建模中使用可变掩码比率,首次统一了SOTA图像生成与自监督表示学习,在ImageNet-1K上以单个ViT-L模型同时取得9.10 FID和78.9%线性探测准确率。

摘要:

生成式建模和表示学习是计算机视觉中的两个关键任务。然而,这些模型通常是独立训练的,这忽略了每个任务帮助另一个任务的潜力,并导致了训练和模型维护的开销。在这项工作中,我们提出了MAsked Generative Encoder (MAGE),这是第一个统一SOTA图像生成和自监督表示学习的框架。我们的关键见解是,在掩码图像建模预训练中使用可变掩码比率,可以在相同的训练框架下进行生成式训练(非常高的掩码比率)和表示学习(较低的掩码比率)。受先前生成式模型的启发,MAGE在输入和输出处使用由vector-quantized GAN学习的语义令牌,并将其与掩码相结合。我们可以通过在编码器输出处添加对比损失来进一步改进表示。我们广泛评估了MAGE的生成和表示学习能力。在ImageNet-1K上,单个MAGE ViT-L模型在类别无条件图像生成任务中获得了9.10 FID,在线性探测中获得了78.9%的top-1准确率,在图像生成和表示学习两方面均实现了最先进的性能。代码可在https://github.com/LTH14/mage获取。

英文摘要:

Generative modeling and representation learning are two key tasks in computer vision. However, these models are typically trained independently, which ignores the potential for each task to help the other, and leads to training and model maintenance overheads. In this work, we propose MAsked Generative Encoder (MAGE), the first framework to unify SOTA image generation and self-supervised representation learning. Our key insight is that using variable masking ratios in masked image modeling pre-training can allow generative training (very high masking ratio) and representation learning (lower masking ratio) under the same training framework. Inspired by previous generative models, MAGE uses semantic tokens learned by a vector-quantized GAN at inputs and outputs, combining this with masking. We can further improve the representation by adding a contrastive loss to the encoder output. We extensively evaluate the generation and representation learning capabilities of MAGE. On ImageNet-1K, a single MAGE ViT-L model obtains 9.10 FID in the task of class-unconditional image generation and 78.9% top-1 accuracy for linear probing, achieving state-of-the-art performance in both image generation and representation learning. Code is available at https://github.com/LTH14/mage.

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

↑