arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.10909cs.LGstat.ML
收藏

利用SliceOut提高计算效率前沿

Improving compute efficacy frontiers with SliceOut

University of Oxford(牛津大学);Cohere

Pascal Notin, Aidan N. Gomez, Joanna Yoo, Yarin Gal

摘要:

推进深度学习的计算效率前沿对于需要频繁重新训练模型的任务或需要训练大量模型的工作负载至关重要。我们介绍了SliceOut --一个受辍学启发的方案,旨在利用GPU内存布局更快地训练深度学习模型,而不会影响最终的测试精度。通过随机丢弃连续的单元集,我们的方法通过(1)快速内存访问和较小张量的矩阵乘法来实现训练加速,以及(2)通过避免在权重梯度和激活中将内存分配给零单元来节省内存。在测试时,关闭SliceOut会在线性数量的体系结构中执行隐式集成,以保持测试准确性。我们展示了Wide ResNets,EfficientNets和Transformer模型的10-40%加速和内存减少,并且准确性损失极小。这导致更快地处理整体大型计算工作负载,并显着减少由此产生的能源消耗和二氧化碳排放。

英文摘要:

Pushing forward the compute efficacy frontier in deep learning is critical for tasks that require frequent model re-training or workloads that entail training a large number of models. We introduce SliceOut -- a dropout-inspired scheme designed to take advantage of GPU memory layout to train deep learning models faster without impacting final test accuracy. By dropping contiguous sets of units at random, our method realises training speedups through (1) fast memory access and matrix multiplication of smaller tensors, and (2) memory savings by avoiding allocating memory to zero units in weight gradients and activations. At test time, turning off SliceOut performs an implicit ensembling across a linear number of architectures that preserves test accuracy. We demonstrate 10-40% speedups and memory reduction with Wide ResNets, EfficientNets, and Transformer models, with minimal to no loss in accuracy. This leads to faster processing of large computational workloads overall, and significantly reduce the resulting energy consumption and CO2emissions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑