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

面向掩码图像建模的困难图像块挖掘

Hard Patches Mining for Masked Image Modeling

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Megvii Technology(旷视科技)

Haochen Wang, Kaiyou Song, Junsong Fan, Yuxi Wang, Jin Xie, Zhaoxiang Zhang

AI总结:

本文提出困难图像块挖掘(HPM)框架,通过辅助损失预测器自主选择高难度掩码位置,将模型从被动解题者转变为主动出题者,从而提升掩码图像建模的表示学习效果。

摘要:

掩码图像建模(MIM)因其在学习可扩展视觉表示方面的巨大潜力而吸引了大量研究关注。在典型方法中,模型通常专注于预测被掩码图像块的特定内容,其性能与预定义的掩码策略高度相关。直观上,这一过程可以被视为训练一个学生(模型)去解决给定的问题(预测被掩码的图像块)。然而,我们认为模型不仅应专注于解决给定的问题,还应站在教师的角度,自行生成更具挑战性的问题。为此,我们提出了困难图像块挖掘(HPM),这是一个全新的MIM预训练框架。我们观察到重建损失天然可以作为预训练任务难度的度量指标。因此,我们引入了一个辅助损失预测器,首先预测逐图像块的损失,然后决定下一步在哪里进行掩码。该预测器采用相对关系学习策略,以防止对精确重建损失值的过拟合。在各种设置下的实验证明了HPM在构建掩码图像方面的有效性。此外,我们通过实验发现,仅引入损失预测目标就能产生强大的表示,验证了模型具备感知何处难以重建的能力的有效性。

英文摘要:

Masked image modeling (MIM) has attracted much research attention due to its promising potential for learning scalable visual representations. In typical approaches, models usually focus on predicting specific contents of masked patches, and their performances are highly related to pre-defined mask strategies. Intuitively, this procedure can be considered as training a student (the model) on solving given problems (predict masked patches). However, we argue that the model should not only focus on solving given problems, but also stand in the shoes of a teacher to produce a more challenging problem by itself. To this end, we propose Hard Patches Mining (HPM), a brand-new framework for MIM pre-training. We observe that the reconstruction loss can naturally be the metric of the difficulty of the pre-training task. Therefore, we introduce an auxiliary loss predictor, predicting patch-wise losses first and deciding where to mask next. It adopts a relative relationship learning strategy to prevent overfitting to exact reconstruction loss values. Experiments under various settings demonstrate the effectiveness of HPM in constructing masked images. Furthermore, we empirically find that solely introducing the loss prediction objective leads to powerful representations, verifying the efficacy of the ability to be aware of where is hard to reconstruct.

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

↑