分层分区和合并实现高效和可扩展的深度学习
Layer-Wise Partitioning and Merging for Efficient and Scalable Deep Learning
摘要:
深度神经网络(DNN)模型通常从一层到另一层顺序训练,这会导致前向、后向和更新锁定的问题,导致训练时间方面的性能较差。现有的并行策略,以减轻这些问题提供次优的运行时性能。在这项工作中,我们提出了一种新的逐层划分和合并,向前和向后传递并行框架,以提供更好的训练性能。所提出的工作的新颖性包括:1)分层分区和合并模型,可以最大限度地减少设备之间的通信开销,而无需在训练过程中使用现有策略的内存成本; 2)前向传递和后向传递并行化和优化,以解决更新锁定问题并最大限度地减少总训练成本。对真实用例的实验评估表明,该方法在训练速度方面优于最先进的方法;并且在不影响非并行方法的准确性性能的情况下,实现了几乎线性的加速比。
英文摘要:
Deep Neural Network (DNN) models are usually trained sequentially from one layer to another, which causes forward, backward and update locking's problems, leading to poor performance in terms of training time. The existing parallel strategies to mitigate these problems provide suboptimal runtime performance. In this work, we have proposed a novel layer-wise partitioning and merging, forward and backward pass parallel framework to provide better training performance. The novelty of the proposed work consists of 1) a layer-wise partition and merging model which can minimise communication overhead between devices without the memory cost of existing strategies during the training process; 2) a forward pass and backward pass parallelisation and optimisation to address the update locking problem and minimise the total training cost. The experimental evaluation on real use cases shows that the proposed method outperforms the state-of-the-art approaches in terms of training speed; and achieves almost linear speedup without compromising the accuracy performance of the non-parallel approach.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。