paper-with-me

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 training, but they come with an additional computation overhead of activation re-computation in the backpropagation phase. We present PaReprop, a fast Parallelized Reversible Backpropagation algorithm that parallelizes the additional activation re-computation overhead in reversible training with the gradient computation itself in backpropagation phase. We demonstrate the effectiveness of the proposed PaReprop algorithm through extensive benchmarking across model families (ViT, MViT, Swin and RoBERTa), data modalities (Vision & NLP), model sizes (from small to giant), and training batch sizes. Our empirical results show that PaReprop achieves up to 20% higher training throughput than vanilla reversible training, largely mitigating the theoretical overhead of 25% lower throughput from activation recomputation in reversible training. Project page: https://tylerzhu.com/pareprop.

📄 PDF Abstract BibTeX arXiv:2306.09342

Code (1)

karttikeya/minrev 공식 구현 pytorch

Tasks

Benchmarking

Methods 이 논문이 사용한 방법론

MViT Multiscale Vision Transformer, or MViT, is a transformer architecture for modeling visual data such as images and videos.…

Similar Papers 제목 키워드 기반

PETRA: Parallel End-to-end Training with Reversible Architectures

2024-06-04 · Stéphane Rivaud, Louis Fournier, Thomas Pumir, Eugene Belilovsky 외

Reversible architectures have been shown to be capable of performing on par with their non-reversible architectures, being applied in deep learning for memory savings and generative modeling. In this work, we show how re…

The Reversible Residual Network: Backpropagation Without Storing Activations

2017-07-14 · NeurIPS 2017 12 · Aidan N. Gomez, Mengye Ren, Raquel Urtasun, Roger B. Grosse

Deep residual networks (ResNets) have significantly pushed forward the state-of-the-art on image classification, increasing in performance as networks grow both deeper and wider. However, memory consumption becomes a bot…

General Classificationimage-classificationImage Classification

Event-based backpropagation on the neuromorphic platform SpiNNaker2

2024-12-19 · Gabriel Béna, Timo Wunderlich, Mahmoud Akl, Bernhard Vogginger 외

Neuromorphic computing aims to replicate the brain's capabilities for energy efficient and parallel information processing, promising a solution to the increasing demand for faster and more efficient computational system…

Efficient, Accurate and Stable Gradients for Neural ODEs

2024-10-15 · Sam McCallum, James Foster

Training Neural ODEs requires backpropagating through an ODE solve. The state-of-the-art backpropagation method is recursive checkpointing that balances recomputation with memory cost. Here, we introduce a class of algeb…

Towards Zero Memory Footprint Spiking Neural Network Training

2023-08-16 · Bin Lei, Sheng Lin, Pei-Hung Lin, Chunhua Liao 외

Biologically-inspired Spiking Neural Networks (SNNs), processing information using discrete-time events known as spikes rather than continuous values, have garnered significant attention due to their hardware-friendly an…