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

Unsupervised Representation Learning by Balanced Self Attention Matching

About

Many leading self-supervised methods for unsupervised representation learning, in particular those for embedding image features, are built on variants of the instance discrimination task, whose optimization is known to be prone to instabilities that can lead to feature collapse. Different techniques have been devised to circumvent this issue, including the use of negative pairs with different contrastive losses, the use of external memory banks, and breaking of symmetry by using separate encoding networks with possibly different structures. Our method, termed BAM, rather than directly matching features of different views (augmentations) of input images, is based on matching their self-attention vectors, which are the distributions of similarities to the entire set of augmented images of a batch. We obtain rich representations and avoid feature collapse by minimizing a loss that matches these distributions to their globally balanced and entropy regularized version, which is obtained through a simple self-optimal-transport computation. We ablate and verify our method through a wide set of experiments that show competitive performance with leading methods on both semi-supervised and transfer-learning benchmarks. Our implementation and pre-trained models are available at github.com/DanielShalam/BAM .

Daniel Shalam, Simon Korman• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-1k (val)
Top-1 Accuracy78.1
1453
Video Object SegmentationDAVIS 2017 (val)
J mean62.3
1130
Semantic segmentationADE20K
mIoU46.1
936
Image ClassificationStanford Cars (test)--
306
Image ClassificationFGVC-Aircraft (test)--
231
Object DetectionCOCO--
144
Image ClassificationOxford Flowers-102 (test)
Top-1 Accuracy97.9
131
Image ClassificationImageNet 1K (train val)
Top-1 Accuracy83.2
107
Image ClassificationFood-101 (test)
Top-1 Acc78.2
89
Image ClassificationOxford-IIIT Pet (test)
Overall Accuracy93.9
59
Showing 10 of 14 rows

Other info

Code

Follow for update