paper-with-me

Papers

Reversible Vision Transformers

2023-02-09 · CVPR 2022 1 · Karttikeya Mangalam, Haoqi Fan, Yanghao Li, Chao-yuan Wu, Bo Xiong, Christoph Feichtenhofer, Jitendra Malik

We present Reversible Vision Transformers, a memory efficient architecture design for visual recognition. By decoupling the GPU memory requirement from the depth of the model, Reversible Vision Transformers enable scaling up architectures with efficient memory usage. We adapt two popular models, namely Vision Transformer and Multiscale 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.5x at roughly identical model complexity, parameters and accuracy, demonstrating the promise of reversible vision transformers as an efficient backbone for hardware 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 2.3x over their non-reversible counterparts. Full code and trained models are available at https://github.com/facebookresearch/slowfast. A simpler, easy to understand and modify version is also available at https://github.com/karttikeya/minREV

📄 PDF Abstract BibTeX arXiv:2302.04869

Code (4)

facebookresearch/SlowFast 공식 구현 pytorch
facebookresearch/mvit 공식 구현 pytorch
karttikeya/minrev 공식 구현 pytorch
open-mmlab/mmclassification pytorch

Tasks

GPUimage-classificationImage Classificationobject-detectionObject DetectionVideo Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…
Adam 설명 없음

Similar Papers 제목 키워드 기반

PaReprop: Fast Parallelized Reversible Backpropagation

2023-06-15 · Tyler Zhu, Karttikeya Mangalam

The growing size of datasets and deep learning models has made faster and memory-efficient training crucial. Reversible transformers have recently been introduced as an exciting new method for extremely memory-efficient …

Benchmarking

Multi-split Reversible Transformers Can Enhance Neural Machine Translation

2021-04-01 · EACL 2021 2 · Yuekai Zhao, Shuchang Zhou, Zhihua Zhang

Large-scale transformers have been shown the state-of-the-art on neural machine translation. However, training these increasingly wider and deeper models could be tremendously memory intensive. We reduce the memory burde…

Machine TranslationTranslation

Reversible Column Networks

2022-12-22 · Yuxuan Cai, Yizhuang Zhou, Qi Han, Jianjian Sun 외

We propose a new neural network design paradigm Reversible Column Network (RevCol). The main body of RevCol is composed of multiple copies of subnetworks, named columns respectively, between which multi-level reversible …

image-classificationImage Classificationobject-detectionObject Detection+2

On Exact Bit-level Reversible Transformers Without Changing Architectures

2024-07-12 · Guoqiang Zhang, J. P. Lewis, W. B. Kleijn

Various reversible deep neural networks (DNN) models have been proposed to reduce memory consumption in the training process. However, almost all existing reversible DNNs either require special non-standard architectures…

image-classificationImage ClassificationQuantization

Memory-Efficient Differentiable Transformer Architecture Search

2021-05-31 · Findings (ACL) 2021 8 · Yuekai Zhao, Li Dong, Yelong Shen, Zhihua Zhang 외

Differentiable architecture search (DARTS) is successfully applied in many vision tasks. However, directly using DARTS for Transformers is memory-intensive, which renders the search process infeasible. To this end, we pr…