LayerDropBack: A Universally Applicable Approach for Accelerating Training of Deep Networks

Evgeny Hershkovitch Neiterman, Gil Ben-Artzi
12/23/2024
cs.CV

Official code: neiterman21/LDB (2 stars, Apache-2.0, last commit 2024-08-23).

Abstract

Training very deep convolutional networks is challenging, requiring significant computational resources and time. Existing acceleration methods often depend on specific architectures or require network modifications. We introduce LayerDropBack (LDB), a simple yet effective method to accelerate training across a wide range of deep networks. LDB introduces randomness only in the backward pass, maintaining the integrity of the forward pass, guaranteeing that the same network is used during both training and inference. LDB can be seamlessly integrated into the training process of any model without altering its architecture, making it suitable for various network topologies. Our extensive experiments across multiple architectures (ViT, Swin Transformer, EfficientNet, DLA) and datasets (CIFAR-100, ImageNet) show significant training time reductions of 16.93\% to 23.97\%, while preserving or even enhancing model accuracy. Code is available at \url{https://github.com/neiterman21/LDB}.

View on arXivView PDF

Code Implementations(1)

neiterman21/LDBOfficial100%
Apache-2.0
21Python, Jupyter NotebookJul 13, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{neiterman2024layerdropback,
  title  = {LayerDropBack: A Universally Applicable Approach for Accelerating Training of Deep Networks},
  author = {Evgeny Hershkovitch Neiterman and Gil Ben-Artzi},
  year   = {2024},
  eprint = {2412.18027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.18027v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.18027.svg)](https://codeofpaper.com/paper/2412.18027)

Discussion