Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Siamese Image Modeling for Self-Supervised Vision Representation Learning

About

Self-supervised learning (SSL) has delivered superior performance on a variety of downstream vision tasks. Two main-stream SSL frameworks have been proposed, i.e., Instance Discrimination (ID) and Masked Image Modeling (MIM). ID pulls together representations from different views of the same image, while avoiding feature collapse. It lacks spatial sensitivity, which requires modeling the local structure within each image. On the other hand, MIM reconstructs the original content given a masked image. It instead does not have good semantic alignment, which requires projecting semantically similar views into nearby representations. To address this dilemma, we observe that (1) semantic alignment can be achieved by matching different image views with strong augmentations; (2) spatial sensitivity can benefit from predicting dense representations with masked images. Driven by these analysis, we propose Siamese Image Modeling (SiameseIM), which predicts the dense representations of an augmented view, based on another masked view from the same image but with different augmentations. SiameseIM uses a Siamese network with two branches. The online branch encodes the first view, and predicts the second view's representation according to the relative positions between these two views. The target branch produces the target by encoding the second view. SiameseIM can surpass both ID and MIM on a wide range of downstream tasks, including ImageNet finetuning and linear probing, COCO and LVIS detection, and ADE20k semantic segmentation. The improvement is more significant in few-shot, long-tail and robustness-concerned scenarios. Code shall be released at https://github.com/fundamentalvision/Siamese-Image-Modeling.

Chenxin Tao, Xizhou Zhu, Weijie Su, Gao Huang, Bin Li, Jie Zhou, Yu Qiao, Xiaogang Wang, Jifeng Dai• 2022

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU51.1
2731
Object DetectionCOCO 2017 (val)
AP49.1
2454
Image ClassificationImageNet-1K 1.0 (val)
Top-1 Accuracy83.8
1866
Image ClassificationImageNet-1k (val)
Top-1 Accuracy84.1
1453
Instance SegmentationCOCO 2017 (val)
APm0.462
1144
Semantic segmentationADE20K
mIoU29.24
936
Semantic segmentationCityscapes
mIoU26.52
578
Object DetectionLVIS v1.0 (val)
APbbox40.5
518
Image ClassificationFood-101
Accuracy71.01
494
Instance SegmentationCOCO
APmask46.2
279
Showing 10 of 24 rows

Other info

Code

Follow for update