mlsanityData to 7 Oct 2026

Enabling Large Batch Size Training for DNN Models Beyond the Memory Limit While Maintaining Performance

arXiv 2110.12484 ↗First posted 24 Oct 2021cs.LG cs.DCcited by 3

Not on the map. Why?

Abstract (arXiv)

Recent deep learning models are difficult to train using a large batch size, because commodity machines may not have enough memory to accommodate both the model and a large data batch size. The batch size is one of the hyper-parameters used in the training model, and it is dependent on and is limited by the target machine memory capacity because the batch size can only fit into the remaining memory after the model is uploaded. Moreover, the data item size is also an important factor because if each data item size is larger then the batch size that can fit into the remaining memory becomes smaller. This paper proposes a method called Micro-Batch Processing (MBP) to address this problem. This method helps deep learning models to train by providing a batch processing method that splits a batch into a size that can fit in the remaining memory and processes them sequentially. After processing the small batches individually, a loss normalization algorithm based on the gradient accumulation is used to maintain the performance. The purpose of our method is to allow deep learning models to train using larger batch sizes that exceed the memory capacity of a system without increasing the memory size or using multiple devices (GPUs).

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 16 of its 29 references that are in the map. First posted on arXiv 24 Oct 2021.

Builds on

16 of 29 references.

References · 16

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  6. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
  7. 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
  8. 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
  9. 2017Large Batch Training of Convolutional Networkscited by 529
  10. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  11. 2014One weird trick for parallelizing convolutional neural networkscited by 264
  12. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
4 more
  1. 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
  2. 2017MegDet: A Large Mini-Batch Object Detectorcited by 66
  3. 2018Decoupled Parallel Backpropagation with Convergence Guaranteecited by 39
  4. 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 1.

3 papers.