Authors
Karttikeya Mangalam, Haoqi Fan, Yanghao Li, Chao-Yuan Wu, Bo Xiong, Christoph Feichtenhofer, Jitendra Malik
Publication date
2022
Conference
Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition
Pages
10830-10840
Description
We present Reversible Vision Transformers, a memory efficient architecture design for visual recognition. By decoupling the GPU memory footprint from the depth of the model, Reversible Vision Transformers enable memory efficient scaling of transformer architectures. We adapt two popular models, namely Vision Transformer and Multi-scale Vision Transformers, to reversible variants and benchmark extensively across both model sizes and tasks of image classification, object detection and video classification. Reversible Vision Transformers achieve a reduced memory footprint of up to 15.5 x at identical model complexity, parameters and accuracy, demonstrating the promise of reversible vision transformers as an efficient backbone for resource limited training regimes. Finally, we find that the additional computational burden of recomputing activations is more than overcome for deeper models, where throughput can increase up to 3.9 x over their non-reversible counterparts. Code and models are available at https://github. com/facebookresearch/mvit.
Total citations
20222023202412318
Scholar articles
K Mangalam, H Fan, Y Li, CY Wu, B Xiong… - Proceedings of the IEEE/CVF Conference on Computer …, 2022