Skip to main content
QUICK REVIEW

[论文解读] Pseudo Labelling for Enhanced Masked Autoencoders

Srinivasa Rao Nandam, Sara Atito|arXiv (Cornell University)|Jun 25, 2024
Advanced Numerical Analysis TechniquesEngineering被引用 3
一句话总结

本文提出了一种新颖的掩码自编码器框架,通过引入伪标签和分 token 重建的双解耦教师网络,增强了自监督表示学习。通过将教师模型解耦为伪标签教师和重建教师,该方法在 ImageNet-1K 及下游任务(如分类、分割和检测)中实现了最先进性能,且计算开销极低。

ABSTRACT

Masked Image Modeling (MIM)-based models, such as SdAE, CAE, GreenMIM, and MixAE, have explored different strategies to enhance the performance of Masked Autoencoders (MAE) by modifying prediction, loss functions, or incorporating additional architectural components. In this paper, we propose an enhanced approach that boosts MAE performance by integrating pseudo labelling for both class and data tokens, alongside replacing the traditional pixel-level reconstruction with token-level reconstruction. This strategy uses cluster assignments as pseudo labels to promote instance-level discrimination within the network, while token reconstruction requires generation of discrete tokens encapturing local context. The targets for pseudo labelling and reconstruction needs to be generated by a teacher network. To disentangle the generation of target pseudo labels and the reconstruction of the token features, we decouple the teacher into two distinct models, where one serves as a labelling teacher and the other as a reconstruction teacher. This separation proves empirically superior to a single teacher, while having negligible impact on throughput and memory consumption. Incorporating pseudo-labelling as an auxiliary task has demonstrated notable improvements in ImageNet-1K and other downstream tasks, including classification, semantic segmentation, and detection.

研究动机与目标

  • 通过在类别 token 和数据 token 上引入基于伪标签的辅助掩蔽任务,提升掩码自编码器(MAE)的性能。
  • 通过将教师模型解耦为两个专用模型,解决伪标签与重建之间优化动态冲突的挑战。
  • 通过在 token 嵌入空间而非像素层面执行重建,实现更有效的实例级判别与更丰富的上下文捕捉。
  • 在不增加计算负担的前提下保持高训练效率,避免先前方法中密集掩码带来的计算压力。
  • 在多种下游视觉任务(包括分类、分割和检测)中验证所提框架的有效性,涵盖低数据场景。

提出的方法

  • 该方法采用稀疏编码器,丢弃被掩码的 token,类似于 MAE,但对学习到的离散 token 而非原始像素执行重建。
  • 专用的伪标签教师通过特征相似性生成基于聚类的伪标签,利用对比损失训练学生网络。
  • 独立的重建教师使用指数移动平均(EMA)更新机制,为学生解码器生成目标 token,确保监督稳定。
  • 两个教师采用不同的 EMA 更新频率:重建教师在每个 epoch 结束时更新,而伪标签教师则进行迭代式更新。
  • 学生网络通过结合 token 级重建损失与伪标签对比损失的多任务目标进行训练。
  • 不同教师采用不同的数据增强策略:重建任务使用 MAE 风格增强,伪标签任务使用 DINO 风格增强,以确保监督的鲁棒性与多样性。
Figure 1 : The proposed architecture consists of a student encoder, a decoder, and two disentangled teacher encoders updated using EMA. The student encoder processes unmasked regions while the masked tokens are reintroduced at the student decoder. Input image tokens are shuffled via random permutati
Figure 1 : The proposed architecture consists of a student encoder, a decoder, and two disentangled teacher encoders updated using EMA. The student encoder processes unmasked regions while the masked tokens are reintroduced at the student decoder. Input image tokens are shuffled via random permutati

实验结果

研究问题

  • RQ1将伪标签作为辅助掩蔽任务是否能在不降低重建性能的前提下提升掩码自编码器的判别能力?
  • RQ2将教师模型解耦为独立的伪标签与重建模型,是否相比单一统一教师模型能带来更优的优化与性能?
  • RQ3在自监督视觉预训练中,与像素级重建相比,token 级重建在表示质量与效率方面表现如何?
  • RQ4在掩码自编码器背景下,不同数据增强策略对伪标签有效性有何影响?
  • RQ5所提框架是否能在多样化的下游视觉任务中实现最先进性能,包括低数据场景?

主要发现

  • 使用 ViT-Base 主干网络,该方法在 ImageNet-1K 上实现了 83.4% 的 top-1 准确率,优于 SdAE 及其他最先进基线模型。
  • 在 ADE20K 语义分割任务上达到 78.9% 的 mIoU,在 COCO 实例分割任务上达到 42.5% 的 AP,展现出强大的迁移能力。
  • 采用两个解耦教师相比单教师基线,使 ImageNet-1K 准确率提升了 1.2% 的绝对值。
  • 尽管增加了辅助任务,该方法仍保持高训练效率,内存与吞吐量开销可忽略不计。
  • 复杂的数据增强(如 DINO 风格)对有效伪标签至关重要,而简单增强无法带来性能增益。
  • 消融实验确认,伪标签与 token 级重建均独立且协同地促进性能提升。

阅读本论文

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

在 Nubint 中阅读本论文

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