Adapting Self-Supervised Vision Transformers by Probing Attention-Conditioned Masking Consistency

Viraj Prabhu, Sriram Yenamandra, Aaditya Singh, Judy Hoffman
6/16/2022
cs.CVcs.LG
transformer-attentioncontrastive-ssl

Official code: virajprabhu/PACMAC (20 stars, Python, last commit 2022-10-10).

Abstract

Visual domain adaptation (DA) seeks to transfer trained models to unseen, unlabeled domains across distribution shift, but approaches typically focus on adapting convolutional neural network architectures initialized with supervised ImageNet representations. In this work, we shift focus to adapting modern architectures for object recognition -- the increasingly popular Vision Transformer (ViT) -- and modern pretraining based on self-supervised learning (SSL).

Show full abstract

Inspired by the design of recent SSL approaches based on learning from partial image inputs generated via masking or cropping -- either by learning to predict the missing pixels, or learning representational invariances to such augmentations -- we propose PACMAC, a simple two-stage adaptation algorithm for self-supervised ViTs. PACMAC first performs in-domain SSL on pooled source and target data to learn task-discriminative features, and then probes the model's predictive consistency across a set of partial target inputs generated via a novel attention-conditioned masking strategy, to identify reliable candidates for self-training. Our simple approach leads to consistent performance gains over competing methods that use ViTs and self-supervised initializations on standard object recognition benchmarks. Code available at https://github.com/virajprabhu/PACMAC

View on arXivView PDF

Code Implementations(1)

virajprabhu/PACMACOfficial100%

Pytorch code for Adapting Self-Supervised Vision Transformers by Probing Attention-Conditioned Masking Consistency (NeurIPS 2022)

202PythonJun 16, 20224 years agoNOASSERTION

Similar Papers

Cite this paper

@article{prabhu2022adapting,
  title  = {Adapting Self-Supervised Vision Transformers by Probing Attention-Conditioned Masking Consistency},
  author = {Viraj Prabhu and Sriram Yenamandra and Aaditya Singh and Judy Hoffman},
  year   = {2022},
  eprint = {2206.08222},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.08222}
}

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/2206.08222.svg)](https://codeofpaper.com/paper/2206.08222)

Discussion