arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.13873cs.CVcs.LG
收藏

关键点感知的掩码图像建模

Keypoint Aware Masked Image Modelling

IIIT Delhi(德里印度信息技术学院)

Madhava Krishna, A V Subramanyam

AI总结:

本文提出 KAMIM,通过关键点特征驱动的逐块加权改进 SimMIM 预训练,显著提升线性探测和微调性能,并揭示其表示行为与对比学习相似。

摘要:

SimMIM 是一种广泛使用的通过掩码图像建模预训练视觉 Transformer 的方法。然而,尽管它在微调性能上取得了成功,但已有研究表明其在线性探测中表现欠佳。我们提出了一种基于关键点特征的高效逐块加权方法,该方法能够捕获局部信息,并在 SimMIM 的重建阶段提供更好的上下文。我们的方法 KAMIM 在 ImageNet-1K 数据集上使用 ViT-B 进行相同轮数训练时,将 top-1 线性探测准确率从 16.12% 提升至 33.97%,并将微调准确率从 76.78% 提升至 77.3%。我们在不同数据集、关键点提取器和模型架构上进行了广泛测试,并观察到逐块加权能够增强更大预训练数据集的线性探测性能。我们还分析了使用 KAMIM 训练的 ViT-B 所学到的表示,并观察到其行为与对比学习相似,表现为更长的注意力距离和跨层均匀的自注意力。我们的代码已在 https://github.com/madhava20217/KAMIM 公开提供。

英文摘要:

SimMIM is a widely used method for pretraining vision transformers using masked image modeling. However, despite its success in fine-tuning performance, it has been shown to perform sub-optimally when used for linear probing. We propose an efficient patch-wise weighting derived from keypoint features which captures the local information and provides better context during SimMIM's reconstruction phase. Our method, KAMIM, improves the top-1 linear probing accuracy from 16.12% to 33.97%, and finetuning accuracy from 76.78% to 77.3% when tested on the ImageNet-1K dataset with a ViT-B when trained for the same number of epochs. We conduct extensive testing on different datasets, keypoint extractors, and model architectures and observe that patch-wise weighting augments linear probing performance for larger pretraining datasets. We also analyze the learned representations of a ViT-B trained using KAMIM and observe that they behave similar to contrastive learning with regard to its behavior, with longer attention distances and homogenous self-attention across layers. Our code is publicly available at https://github.com/madhava20217/KAMIM.

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

↑