Enabling Large Batch Size Training for DNN Models Beyond the Memory Limit While Maintaining Performance
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
- 2021Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentationcited by 1,218
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 902
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 177
4 more
- 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
- 2017MegDet: A Large Mini-Batch Object Detectorcited by 66
- 2018Decoupled Parallel Backpropagation with Convergence Guaranteecited by 39
- 2018Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networkscited by 23
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 1.
3 papers.
- 2024CleanUMamba: A Compact Mamba Network for Speech Denoising using Channel Pruningcited by 2
- 2025GCond: Gradient Conflict Resolution via Accumulation-based Stabilization for Large-Scale Multi-Task Learningcited by 2
- 2023DistNet2D: Leveraging long-range temporal information for efficient segmentation and trackingcited by 1
- 2025GCond: Gradient Conflict Resolution via Accumulation-based Stabilization for Large-Scale Multi-Task Learning8 Sep 2025
- 2024CleanUMamba: A Compact Mamba Network for Speech Denoising using Channel Pruning14 Oct 2024
- 2023DistNet2D: Leveraging long-range temporal information for efficient segmentation and tracking30 Oct 2023