Adaptive Elastic Training for Sparse Deep Learning on Heterogeneous Multi-GPU Servers

Yujing Ma, Florin Rusu, Kesheng Wu, Alexander Sim
10/13/2021
cs.DCcs.LG
lora-peft-merging

Official code: YMA33/HeteroGPU (2 stars, Cuda, last commit 2021-10-15).

Abstract

Motivated by extreme multi-label classification applications, we consider training deep learning models over sparse data in multi-GPU servers. The variance in the number of non-zero features across training batches and the intrinsic GPU heterogeneity combine to limit accuracy and increase the time to convergence.

Show full abstract

We address these challenges with Adaptive SGD, an adaptive elastic model averaging stochastic gradient descent algorithm for heterogeneous multi-GPUs that is characterized by dynamic scheduling, adaptive batch size scaling, and normalized model merging. Instead of statically partitioning batches to GPUs, batches are routed based on the relative processing speed. Batch size scaling assigns larger batches to the faster GPUs and smaller batches to the slower ones, with the goal to arrive at a steady state in which all the GPUs perform the same number of model updates. Normalized model merging computes optimal weights for every GPU based on the assigned batches such that the combined model achieves better accuracy. We show experimentally that Adaptive SGD outperforms four state-of-the-art solutions in time-to-accuracy and is scalable with the number of GPUs.

View on arXivView PDF

Code Implementations(1)

YMA33/HeteroGPUOfficial100%
20Cuda, C++Aug 16, 20215 years ago

Similar Papers

Cite this paper

@article{ma2021adaptive,
  title  = {Adaptive Elastic Training for Sparse Deep Learning on Heterogeneous Multi-GPU Servers},
  author = {Yujing Ma and Florin Rusu and Kesheng Wu and Alexander Sim},
  year   = {2021},
  eprint = {2110.07029},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.07029}
}

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/2110.07029.svg)](https://codeofpaper.com/paper/2110.07029)

Discussion