Efficient Training of Visual Transformers with Small Datasets
By Yahui Liu, Enver Sangineto, Wei Bi, Nicu Sebe, Bruno Lepri, Marco De Nadai. 2021
229 citations recorded by the source corpus.
Visual Transformers (VTs) are emerging as an architectural paradigm alternative to Convolutional networks (CNNs). Differently from CNNs, VTs can capture global relations between image elements and they potentially have a larger representation capacity. However, the lack of the typical convolutional inductive bias makes these models more data-hungry than common CNNs. In fact, some local properties of the visual domain which are embedded in the CNN architectural design, in VTs should be learned from samples. In this paper, we empirically analyse different VTs, comparing their robustness in a small training-set regime, and we show that, despite having a comparable accuracy when trained on ImageNet, their performance on smaller datasets can be largely different. Moreover, we propose a self-supervised task which can extract additional information from images with only a negligible computational overhead. This task encourages the VTs to learn spatial relations within an image and makes the VT training much more robust when training data are scarce. Our task is used jointly with the standard (supervised) training and it does not depend on specific architectural choices, thus it can be easily plugged in the existing VTs. Using an extensive evaluation with different VTs and datasets, we show that our method can improve (sometimes dramatically) the final accuracy of the VTs. Our code is available at: https://github.com/yhlleo/VTs-Drloc.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Herv'e J'egou
- Edouard Grave
- Hugo Touvron
- Gautier Izacard
- Armand Joulin
- Jianfeng Gao
- Luke S. Zettlemoyer
- Ivan Laptev
In Computer Vision and Pattern Recognition
- Luc Van Gool
- Herv'e J'egou
- Dacheng Tao
- Andrew Zisserman
- Cordelia Schmid
- Armand Joulin
- Jitendra Malik
- Trevor Darrell
Citations in the corpus
- Comparison of Vision Transformers and Convolutional Neural Networks in Medical Image Analysis: A Systematic Review (2024, unknown): “First, they require larger datasets for effective training compared to CNNs [35–37], which can be critical in situations with limited data, such as medical data.”
- OpenEarthMap: A Benchmark Dataset for Global High-Resolution Land Cover Mapping (2022, background): “We believe that Vision Transformers with small-sized data [24] or limited labels [19] is an interesting topic that requires further study.”
- Are Large-scale Datasets Necessary for Self-Supervised Pre-training? (2021, methodology): “[67] use a different pre-training setup and backbones.”