Visual Representation Learning with Self-Supervised Attention for Low-Label High-data Regime

Prarthana Bhattacharyya, Chenge Li, Xiaonan Zhao, István Fehérvári, Jason Sun
1/22/2022
cs.CVcs.LG
transformer-attentioncontrastive-ssl

Official code: AutoVision-cloud/SSL-ViT-lowlabel-highdata (8 stars, Python, Apache-2.0, PyTorch, last commit 2022-05-05).

Abstract

Self-supervision has shown outstanding results for natural language processing, and more recently, for image recognition. Simultaneously, vision transformers and its variants have emerged as a promising and scalable alternative to convolutions on various computer vision tasks.

Show full abstract

In this paper, we are the first to question if self-supervised vision transformers (SSL-ViTs) can be adapted to two important computer vision tasks in the low-label, high-data regime: few-shot image classification and zero-shot image retrieval. The motivation is to reduce the number of manual annotations required to train a visual embedder, and to produce generalizable and semantically meaningful embeddings. For few-shot image classification we train SSL-ViTs without any supervision, on external data, and use this trained embedder to adapt quickly to novel classes with limited number of labels. For zero-shot image retrieval, we use SSL-ViTs pre-trained on a large dataset without any labels and fine-tune them with several metric learning objectives. Our self-supervised attention representations outperforms the state-of-the-art on several public benchmarks for both tasks, namely miniImageNet and CUB200 for few-shot image classification by up-to 6%-10%, and Stanford Online Products, Cars196 and CUB200 for zero-shot image retrieval by up-to 4%-11%. Code is available at \url{https://github.com/AutoVision-cloud/SSL-ViT-lowlabel-highdata}.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[ICASSP-2022] Visual Representation Learning with Self-Supervised Attention for Low-Label High-Data Regime

82Python, Jupyter NotebookOct 17, 20214 years agoApache-2.0
few-shot-classificationfew-shot-learningimage-retrievalmetric-learningpytorch+2 more

Similar Papers

Cite this paper

@article{bhattacharyya2022visual,
  title  = {Visual Representation Learning with Self-Supervised Attention for Low-Label High-data Regime},
  author = {Prarthana Bhattacharyya and Chenge Li and Xiaonan Zhao and István Fehérvári and Jason Sun},
  year   = {2022},
  eprint = {2201.08951},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.08951}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.08951.svg)](https://codeofpaper.com/paper/2201.08951)

Discussion