paper-with-me

Papers

2BP: 2-Stage Backpropagation

2024-05-28 · Christopher Rae, Joseph K. L. Lee, James Richings

As Deep Neural Networks (DNNs) grow in size and complexity, they often exceed the memory capacity of a single accelerator, necessitating the sharding of model parameters across multiple accelerators. Pipeline parallelism is a commonly used sharding strategy for training large DNNs. However, current implementations of pipeline parallelism are being unintentionally bottlenecked by the automatic differentiation tools provided by ML frameworks. This paper introduces 2-stage backpropagation (2BP). By splitting the backward propagation step into two separate stages, we can reduce idle compute time. We tested 2BP on various model architectures and pipelining schedules, achieving increases in throughput in all cases. Using 2BP, we were able to achieve a 1.70x increase in throughput compared to traditional methods when training a LLaMa-like transformer with 7 billion parameters across 4 GPUs.

📄 PDF Abstract BibTeX arXiv:2405.18047

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Improved Forward-Forward Contrastive Learning

2024-05-06 · Gananath R

The backpropagation algorithm, or backprop, is a widely utilized optimization technique in deep learning. While there's growing evidence suggesting that models trained with backprop can accurately explain neuronal data, …

Contrastive Learning

Rethinking Deep Learning: Non-backpropagation and Non-optimization Machine Learning Approach Using Hebbian Neural Networks

2024-11-07 · Kei Itoh

Developing strong AI could provide a powerful tool for addressing social and scientific challenges. Neural networks (NNs), inspired by biological systems, have the potential to achieve this. However, weight optimization …

Quantum Neural Machine Learning - Backpropagation and Dynamics

2016-09-22 · Carlos Pedro Gonçalves

The current work addresses quantum machine learning in the context of Quantum Artificial Neural Networks such that the networks' processing is divided in two stages: the learning stage, where the network converges to a s…

BIG-bench Machine LearningQuantum Machine Learning

Biologically-inspired Semi-supervised Semantic Segmentation for Biomedical Imaging

2024-12-04 · Luca Ciampi, Gabriele Lagani, Giuseppe Amato, Fabrizio Falchi

We propose a novel two-stage semi-supervised learning approach for training downsampling-upsampling semantic segmentation architectures. The first stage does not use backpropagation. Rather, it exploits the bio-inspired …

Image SegmentationMedical Image SegmentationSemantic SegmentationSemi-Supervised Semantic Segmentation

Advancing Training Efficiency of Deep Spiking Neural Networks through Rate-based Backpropagation

2024-10-15 · Chengting Yu, Lei Liu, Gaoang Wang, Erping Li 외

Recent insights have revealed that rate-coding is a primary form of information representation captured by surrogate-gradient-based Backpropagation Through Time (BPTT) in training deep Spiking Neural Networks (SNNs). Mot…