arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.15317cs.LGcs.CVcs.DC
收藏

SplitBrain:混合数据和模型并行深度学习

SplitBrain: Hybrid Data and Model Parallel Deep Learning

NEC Laboratories America, Inc.(NEC美国实验室公司)

Farley Lai, Asim Kadav, Erik Kruus

摘要:

最近深度学习应用的成功与那些广泛可用的强大计算资源相吻合,这些计算资源用于训练具有巨大数据集的复杂机器学习模型。尽管如此,使用模型并行(与数据并行相反)训练诸如卷积神经网络之类的大型模型是具有挑战性的,因为模型碎片之间的通信的复杂性质使得难以以可接受的折衷在多个机器上有效地划分计算。本文介绍了SplitBrain,一个支持混合数据和模型并行的高性能分布式深度学习框架。具体来说,SplitBrain提供了特定于层的分区,可以将计算密集型卷积层放在一起,同时对内存需求层进行分片。提出了一种新的可扩展组通信,以进一步提高训练吞吐量,减少通信开销。实验结果表明,SplitBrain在实现数据和模型并行VGG时,与CIFAR-10相比,可以实现接近线性的加速比,同时节省高达67%的内存消耗。

英文摘要:

The recent success of deep learning applications has coincided with those widely available powerful computational resources for training sophisticated machine learning models with huge datasets. Nonetheless, training large models such as convolutional neural networks using model parallelism (as opposed to data parallelism) is challenging because the complex nature of communication between model shards makes it difficult to partition the computation efficiently across multiple machines with an acceptable trade-off. This paper presents SplitBrain, a high performance distributed deep learning framework supporting hybrid data and model parallelism. Specifically, SplitBrain provides layer-specific partitioning that co-locates compute intensive convolutional layers while sharding memory demanding layers. A novel scalable group communication is proposed to further improve the training throughput with reduced communication overhead. The results show that SplitBrain can achieve nearly linear speedup while saving up to 67\% of memory consumption for data and model parallel VGG over CIFAR-10.

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

↑