Parallel Training of Deep Networks with Local Updates

Autor: Laskin, Michael, Metz, Luke, Nabarro, Seth, Saroufim, Mark, Noune, Badreddine, Luschi, Carlo, Sohl-Dickstein, Jascha, Abbeel, Pieter
Rok vydání: 2020
Předmět:
Druh dokumentu: Working Paper
Popis: Deep learning models trained on large data sets have been widely successful in both vision and language domains. As state-of-the-art deep learning architectures have continued to grow in parameter count so have the compute budgets and times required to train them, increasing the need for compute-efficient methods that parallelize training. Two common approaches to parallelize the training of deep networks have been data and model parallelism. While useful, data and model parallelism suffer from diminishing returns in terms of compute efficiency for large batch sizes. In this paper, we investigate how to continue scaling compute efficiently beyond the point of diminishing returns for large batches through local parallelism, a framework which parallelizes training of individual layers in deep networks by replacing global backpropagation with truncated layer-wise backpropagation. Local parallelism enables fully asynchronous layer-wise parallelism with a low memory footprint, and requires little communication overhead compared with model parallelism. We show results in both vision and language domains across a diverse set of architectures, and find that local parallelism is particularly effective in the high-compute regime.
Comment: First two authors - Michael Laskin and Luke Metz - contributed equally. Order was determined by a coin flip
Databáze: arXiv