Skip to main content
QUICK REVIEW

[论文解读] How Mask Matters: Towards Theoretical Understandings of Masked Autoencoders

Qi Zhang, Yifei Wang|arXiv (Cornell University)|Oct 15, 2022
Generative Adversarial Networks and Image SynthesisComputer Science被引用 20
一句话总结

论文在 Masked Autoencoders (MAE) 与对比学习之间提供理论桥梁,证明 MAE 的下游保证,识别维度崩塌,并引入 Uniformity-enhanced MAE (U-MAE),在 CIFAR-10、ImageNet-100 和 ImageNet-1K 上取得了显著的经验提升。

ABSTRACT

Masked Autoencoders (MAE) based on a reconstruction task have risen to be a promising paradigm for self-supervised learning (SSL) and achieve state-of-the-art performance across different benchmark datasets. However, despite its impressive empirical success, there is still limited theoretical understanding of it. In this paper, we propose a theoretical understanding of how masking matters for MAE to learn meaningful features. We establish a close connection between MAE and contrastive learning, which shows that MAE implicit aligns the mask-induced positive pairs. Built upon this connection, we develop the first downstream guarantees for MAE methods, and analyze the effect of mask ratio. Besides, as a result of the implicit alignment, we also point out the dimensional collapse issue of MAE, and propose a Uniformity-enhanced MAE (U-MAE) loss that can effectively address this issue and bring significant improvements on real-world datasets, including CIFAR-10, ImageNet-100, and ImageNet-1K. Code is available at (https://github.com/zhangq327/U-MAE).

研究动机与目标

  • 了解 MAE 中遮蔽如何有助于学习有意义的表征。
  • 通过遮蔽诱导的正样本,形式化 MAE 与对比学习之间的联系。
  • 为 MAE 方法提供下游保证并分析遮蔽比例的影响。
  • 通过一个正则化目标识别并解决 MAE 的维度特征崩塌问题。
  • 证明 U-MAE 在标准自监督基准上的实际改进。

提出的方法

  • 将 MAE 建模为带遮蔽的编码器-解码器,并在遮蔽目标上使用重构损失。
  • 定义遮蔽图 G_M 和增强图 G_A,以研究输入-输出和输入相似性。
  • 证明 L_MAE 由遮蔽诱导的正样本上的对齐损失下界,建立 MAE 与对比学习之间的理论联系。
  • 引入 Uniformity-enhanced MAE (U-MAE),其均匀性项与谱对比损失相映射。
  • 提出一个基于遮蔽诱导连通性和特征值分析的 MAE 基于预训练的理论下游泛化界限。
  • 证明对于 λ = 1/(4L),U-MAE 下界一个谱对比损失(SCL)。
  • 在 CIFAR-10、ImageNet-100 和 ImageNet-1K 上对 ViT backbone 进行实证验证。

实验结果

研究问题

  • RQ1遮蔽如何影响 MAE 学习有意义表征的能力?
  • RQ2MAE 是否可以通过遮蔽诱导的正样本被解释为隐式对比学习?
  • RQ3在 MAE 预训练后,能够为下游分类提供哪些理论保证?
  • RQ4MAE 是否会出现特征崩塌,如何缓解?
  • RQ5遮蔽比例对下游性能有何影响,正则化的 MAE(U-MAE)能否提升结果?

主要发现

  • 较小的 MAE 重构损失意味着更好地对齐遮蔽诱导的正样本,将 MAE 与对比学习联系起来。
  • MAE 的重构损失界定了基于增强的正样本的对称对齐损失,为 MAE-对比学习的理论联系提供边界。
  • MAE 避免完全特征崩塌,但会经历维度(秩)崩塌,因此需要均匀性正则化。
  • 带有均匀性项的 U-MAE 在 CIFAR-10、ImageNet-100 与 ImageNet-1K 上的线性探测准确率有所提升,并减少维度崩塌。
  • 当 λ = 1/(4L) 时,U-MAE 的损失下界谱对比损失,促使优化在特征多样性方面与之对齐。
  • 下游分类误差可以被 MAE/U-MAE 预训练损失所界定,为基于 MAE 的 SSL 提供理论保证。

阅读本论文

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

在 Nubint 中阅读本论文

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