[Paper Review] Survey on Large Scale Neural Network Training
This survey provides a comprehensive analysis of techniques to train large-scale deep neural networks efficiently on single or multi-GPU systems. It covers memory reduction via rematerialization and offloading, parallel training strategies including data, model, and pipeline parallelism, and optimized optimizers with gradient compression and low-precision arithmetic, enabling larger batch sizes and improved computational efficiency without model or hardware changes.
Modern Deep Neural Networks (DNNs) require significant memory to store weight, activations, and other intermediate tensors during training. Hence, many models do not fit one GPU device or can be trained using only a small per-GPU batch size. This survey provides a systematic overview of the approaches that enable more efficient DNNs training. We analyze techniques that save memory and make good use of computation and communication resources on architectures with a single or several GPUs. We summarize the main categories of strategies and compare strategies within and across categories. Along with approaches proposed in the literature, we discuss available implementations.
Motivation & Objective
- To identify generic, non-invasive techniques that improve training efficiency for large DNNs without changing the model or hardware.
- To address memory bottlenecks caused by large model parameters, activations, and optimizer states on a single GPU.
- To optimize communication and computation efficiency in multi-GPU training environments.
- To evaluate the trade-offs between memory, computation, and communication in large-scale DNN training.
- To provide a systematic comparison of existing techniques and their integration in modern deep learning frameworks.
Proposed method
- Rematerialization (re-computing activations during backpropagation) to reduce GPU memory usage.
- Activation and weight offloading to CPU or system memory to extend GPU memory capacity.
- Use of mixed-precision and low-bit quantization for gradients and optimizer states to reduce memory and communication costs.
- Employment of data, model, and pipelined model parallelism to distribute memory and computation across multiple GPUs.
- Application of gradient compression and communication-efficient optimizers (e.g., LAMB, LARS) to reduce inter-GPU data exchange.
- Integration of checkpointing and hybrid strategies (e.g., offloading + rematerialization) to balance memory and compute overhead.
Experimental results
Research questions
- RQ1What are the most effective memory reduction techniques for large DNNs on a single GPU?
- RQ2How do different parallelism strategies (data, model, pipeline) affect communication, computation, and memory efficiency?
- RQ3To what extent can gradient compression and low-precision arithmetic improve training scalability?
- RQ4How do rematerialization and offloading strategies interact when combined with parallel training?
- RQ5What are the trade-offs between training speed, memory usage, and model convergence when using these optimization techniques?
Key findings
- Rematerialization enables significant memory savings on a single GPU with minimal computational overhead, especially when combined with offloading.
- Offloading of activations and weights allows training models that exceed GPU memory capacity, though it increases communication costs.
- Gradient compression and low-precision arithmetic reduce communication volume in multi-GPU training, improving scalability with minimal impact on convergence.
- Pipelined and model parallelism reduce memory per GPU but increase communication costs, which can be mitigated by gradient compression.
- The combination of rematerialization and offloading can achieve higher memory efficiency than either technique alone.
- Optimizers like LAMB and LARS enable larger batch sizes with improved stability and convergence, especially when combined with mixed-precision training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.