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

Patch-level Representation Learning for Self-supervised Vision Transformers

About

Recent self-supervised learning (SSL) methods have shown impressive results in learning visual representations from unlabeled images. This paper aims to improve their performance further by utilizing the architectural advantages of the underlying neural network, as the current state-of-the-art visual pretext tasks for SSL do not enjoy the benefit, i.e., they are architecture-agnostic. In particular, we focus on Vision Transformers (ViTs), which have gained much attention recently as a better architectural choice, often outperforming convolutional networks for various visual tasks. The unique characteristic of ViT is that it takes a sequence of disjoint patches from an image and processes patch-level representations internally. Inspired by this, we design a simple yet effective visual pretext task, coined SelfPatch, for learning better patch-level representations. To be specific, we enforce invariance against each patch and its neighbors, i.e., each patch treats similar neighboring patches as positive samples. Consequently, training ViTs with SelfPatch learns more semantically meaningful relations among patches (without using human-annotated labels), which can be beneficial, in particular, to downstream tasks of a dense prediction type. Despite its simplicity, we demonstrate that it can significantly improve the performance of existing SSL methods for various visual tasks, including object detection and semantic segmentation. Specifically, SelfPatch significantly improves the recent self-supervised ViT, DINO, by achieving +1.3 AP on COCO object detection, +1.2 AP on COCO instance segmentation, and +2.9 mIoU on ADE20K semantic segmentation.

Sukmin Yun, Hankook Lee, Jaehyung Kim, Jinwoo Shin• 2022

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K (val)
mIoU41.2
2731
Object DetectionCOCO 2017 (val)--
2454
Image ClassificationImageNet-1k (val)
Top-1 Accuracy75.6
1453
Instance SegmentationCOCO 2017 (val)--
1144
Semantic segmentationCoco-Stuff (test)
mIoU28.5
184
Semantic CorrespondenceSPair-71k (test)
PCK@0.127.34
122
Video Object SegmentationDAVIS
J Mean52.5
58
Unsupervised Object DiscoveryCOCO 20k
CorLoc55.47
56
Video Object SegmentationDAVIS 2017
Jaccard Index (J)60.7
42
Video Object SegmentationDAVIS (val)
Mean J & F Score51.4
28
Showing 10 of 12 rows

Other info

Code

Follow for update