arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.04924cs.LGcs.DCcs.NE
收藏

卷积神经网络量化中的隐维探索

Exploring Hidden Dimensions in Parallelizing Convolutional Neural Networks

Stanford University(斯坦福大学);Microsoft(微软)

Zhihao Jia, Sina Lin, Charles R. Qi, Alex Aiken

摘要:

在过去的几年里,训练深度卷积神经网络的计算需求不断增长。当前的方法通过应用单个并行化策略(例如,数据或模型并行)到网络中的所有层。虽然很容易推理,但这些方法在大规模分布式训练中会导致次优的运行时性能,因为网络中的不同层可能更喜欢不同的并行化策略。在本文中,我们提出了逐层并行,允许网络中的每一层使用单独的并行化策略。我们通过解决图搜索问题来共同优化每一层的并行化方式。我们的评估表明,逐层并行通过增加训练吞吐量,降低通信成本,实现更好的可扩展性到多个GPU,同时保持原始网络的准确性,优于最先进的方法。

英文摘要:

The past few years have witnessed growth in the computational requirements for training deep convolutional neural networks. Current approaches parallelize training onto multiple devices by applying a single parallelization strategy (e.g., data or model parallelism) to all layers in a network. Although easy to reason about, these approaches result in suboptimal runtime performance in large-scale distributed training, since different layers in a network may prefer different parallelization strategies. In this paper, we propose layer-wise parallelism that allows each layer in a network to use an individual parallelization strategy. We jointly optimize how each layer is parallelized by solving a graph search problem. Our evaluation shows that layer-wise parallelism outperforms state-of-the-art approaches by increasing training throughput, reducing communication costs, achieving better scalability to multiple GPUs, while maintaining original network accuracy.

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

↑