[论文解读] Masked Feature Prediction for Self-Supervised Visual Pre-Training
MaskFeat通过对时空区域进行掩码并回归目标视觉特征(特别是 HOG)来预训练视频和图像模型,从而在没有外部数据的情况下实现强大的自监督性能。
We present Masked Feature Prediction (MaskFeat) for self-supervised pre-training of video models. Our approach first randomly masks out a portion of the input sequence and then predicts the feature of the masked regions. We study five different types of features and find Histograms of Oriented Gradients (HOG), a hand-crafted feature descriptor, works particularly well in terms of both performance and efficiency. We observe that the local contrast normalization in HOG is essential for good results, which is in line with earlier work using HOG for visual recognition. Our approach can learn abundant visual knowledge and drive large-scale Transformer-based models. Without using extra model weights or supervision, MaskFeat pre-trained on unlabeled videos achieves unprecedented results of 86.7% with MViT-L on Kinetics-400, 88.3% on Kinetics-600, 80.4% on Kinetics-700, 39.8 mAP on AVA, and 75.0% on SSv2. MaskFeat further generalizes to image input, which can be interpreted as a video with a single frame and obtains competitive results on ImageNet.
研究动机与目标
- 为视频和图像领域的自监督视觉预训练开发一个掩码特征预测目标。
- 评估广泛的潜在目标特征集,以识别高效且计算成本可控的预测。
- 证明预测连续特征(尤其是 HOG)在性能上可以超过离散化 token 方法和外部模型目标。
- 证明 MaskFeat 能在没有外部监督的情况下实现对下游视频任务的强迁移。
提出的方法
- 在视觉 Transformer 中用 [MASK] 标记掩盖时空立方体,并预测被掩盖区域的特征。
- 研究五种目标特征类型,涵盖像素颜色、HOG、dVAE 令牌、无监督 CNN/ViT 特征、监督特征和伪标签等。
- 使用 L2 回归(对于深度特征使用基于余弦的损失)将预测与来自未掩码数据的真值特征对齐。
- 优先预测每个被掩码的时空立方体的中心补丁特征;基于立方体的掩码能够捕捉空间和时间线索。
- 对于视频,掩盖 40% 的标记;对于图像,在 2D 补丁上操作;不需要外部分词器。
实验结果
研究问题
- RQ1对于 MaskFeat,哪些目标特征类型能在性能与计算成本之间取得最佳权衡?
- RQ2连续特征回归(如 HOG 或无监督深度特征)是否在被掩码的视觉预测方面优于基于 token 的离散化?
- RQ3MaskFeat 在大规模视频预训练及迁移到下游基准测试时在无外部监督下的表现如何?
- RQ4哪些掩码策略与预训练计划能够在视频与图像理解方面最大化性能?
主要发现
- HOG 是 MaskFeat 的一种特别有效的目标,在没有外部模型的情况下带来显著提升和高效性。
- 连续特征回归可以超过离散化 token 方法以及一些监督或蒸馏型目标。
- 无监督特征(如 DINO、MoCo)带来显著提升,尽管需要额外的预训练和计算;但 HOG 以更低成本仍具竞争力。
- 在未标注的 Kinetics 数据上进行预训练的 MaskFeat,在 MViT-L 上在 Kinetics-400 达到 86.7% top-1,在 Kinetics-600 达到 88.3%,且无需外部数据。
- 在以 K600 预训练时,MaskFeat 在 SSv2 上达到 75.0% top-1,在 AVA 上达到 39.8 mAP,展示出强大的迁移和定位性能。
- 在图像方面,MaskFeat 结合 ViT-B/L 使用 ImageNet-1K 可达到 84.0%/85.7% top-1,显示出有竞争力的图像域结果。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。