Channel and filter parallelism for large-scale CNN training
Channel and filter parallelism for large-scale CNN training
复制标题
DOI:
10.1145/3295500.3356207
复制
发表时间:
2019-11
期刊:
影响因子:
--
通讯作者:
Nikoli Dryden;N. Maruyama;Tim Moon;Tom Benson;M. Snir;B. V. Essen
中科院分区:
文献类型:
--
作者:
Nikoli Dryden;N. Maruyama;Tim Moon;Tom Benson;M. Snir;B. V. Essen
Accelerating large-scale CNN training is needed to keep training times reasonable as datasets grow larger and models become more complex. Existing frameworks primarily scale using data-parallelism, but this is limited by the mini-batch size, which cannot grow arbitrarily. We introduce three algorithms that partition channel or filter data to exploit parallelism beyond the sample dimension. Further, they partition the parameters of convolutional layers, replacing global all reduces with segmented allreduces---smaller, concurrent allreduces among disjoint processor sets. These algorithms enable strong scaling, reduced communication overhead, and reduced memory pressure, enabling training of very wide CNNs. We demonstrate improved strong and weak scaling, including up to 4.1x reductions in training time for residual networks and 4x reductions in allreduce overhead. We also show that wider models provide improved accuracy on ImageNet. We study the current limitations of our algorithms and provide a direction for future optimizations of large-scale deep learning frameworks.