Keypoint Aware Masked Image Modelling
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 ImageNet-1K dataset with a ViT-B trained for the same number of epochs while taking the same wall-clock-time. 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 longer attention distances. Our code is available at https://github.com/madhava20217/KAMIM.
Authors
- A. Subramanyam (ORCID: https://orcid.org/0009-0000-1951-3138)
- Madhava Krishna
Institutions
- Indraprastha Institute of Information Technology Delhi (IN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10889887
- Citations
- 1
- Primary Topic
- Computer Graphics and Visualization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 3.54