An Empirical Study of Training Self-Supervised Vision Transformers

Xinlei Chen, Saining Xie, Kaiming He
4/5/2021
cs.CVcs.LG

Official code: facebookresearch/moco-v3 (1,322 stars, last commit 2021-11-25).

Abstract

This paper does not describe a novel method. Instead, it studies a straightforward, incremental, yet must-know baseline given the recent progress in computer vision: self-supervised learning for Vision Transformers (ViT). While the training recipes for standard convolutional networks have been highly mature and robust, the recipes for ViT are yet to be built, especially in the self-supervised scenarios where training becomes more challenging. In this work, we go back to basics and investigate the effects of several fundamental components for training self-supervised ViT. We observe that instability is a major issue that degrades accuracy, and it can be hidden by apparently good results. We reveal that these results are indeed partial failure, and they can be improved when training is made more stable. We benchmark ViT results in MoCo v3 and several other self-supervised frameworks, with ablations in various aspects. We discuss the currently positive evidence as well as challenges and open questions. We hope that this work will provide useful data points and experience for future research.

View on arXivView PDF

Code Implementations(1)

PyTorch implementation of MoCo v3 https//arxiv.org/abs/2104.02057

1,322173PythonJun 17, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{chen2021empirical,
  title  = {An Empirical Study of Training Self-Supervised Vision Transformers},
  author = {Xinlei Chen and Saining Xie and Kaiming He},
  year   = {2021},
  eprint = {2104.02057},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.02057}
}

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

Discussion