1. Training deep neural networks: a static load balancing approach.
- Author
-
Moreno-Álvarez, Sergio, Haut, Juan M., Paoletti, Mercedes E., Rico-Gallego, Juan A., Díaz-Martín, Juan C., and Plaza, Javier
- Subjects
DEAD loads (Mechanics) ,HETEROGENEOUS computing ,COMPUTING platforms ,IMAGE processing - Abstract
Deep neural networks are currently trained under data-parallel setups on high-performance computing (HPC) platforms, so that a replica of the full model is charged to each computational resource using non-overlapped subsets known as batches. Replicas combine the computed gradients to update their local copies at the end of each batch. However, differences in performance of resources assigned to replicas in current heterogeneous platforms induce waiting times when synchronously combining gradients, leading to an overall performance degradation. Albeit asynchronous communication of gradients has been proposed as an alternative, it suffers from the so-called staleness problem. This is due to the fact that the training in each replica is computed using a stale version of the parameters, which negatively impacts the accuracy of the resulting model. In this work, we study the application of well-known HPC static load balancing techniques to the distributed training of deep models. Our approach is assigning a different batch size to each replica, proportional to its relative computing capacity, hence minimizing the staleness problem. Our experimental results (obtained in the context of a remotely sensed hyperspectral image processing application) show that, while the classification accuracy is kept constant, the training time substantially decreases with respect to unbalanced training. This is illustrated using heterogeneous computing platforms, made up of CPUs and GPUs with different performance. [ABSTRACT FROM AUTHOR]
- Published
- 2020
- Full Text
- View/download PDF