arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1910.02120cs.LGstat.ML
收藏

使用独立子网训练的深度神经网络分布式学习

Distributed Learning of Deep Neural Networks using Independent Subnet Training

Rice University(莱斯大学)

Binhang Yuan, Cameron R. Wolfe, Chen Dun, Yuxin Tang, Anastasios Kyrillidis, Christopher M. Jermaine

摘要:

分布式机器学习(ML)可以比单一机器学习带来更多的计算资源,从而减少训练时间。分布式学习在许多机器上划分模型和数据,允许模型和数据集的大小超过单个机器的可用计算能力和内存。然而,在实践中,当分发是强制性的,而不是由从业者选择时,分布式ML是具有挑战性的。在这种情况下,由于每个工作者的内存容量有限,甚至由于数据隐私问题,数据可能会在工作者之间分离。在那里,现有的分布式方法将完全失败,因为工人之间的主要转移成本,甚至不适用。我们提出了一种新的分布式全连接神经网络学习方法,称为独立子网训练(IST),以处理这些情况。在IST中,原始网络被分解为一组具有相同深度的窄子网络。然后,在交换参数以产生新的训练循环之前,这些子网络在本地进行训练。这种自然的“模型并行”方法通过在每个设备上仅存储一部分网络参数来限制存储器使用。此外,不存在在工作者之间共享数据的要求(即,子网训练是本地的和独立的),并且通过将原始网络分解成独立的子网来减少通信量和频率。IST的这些属性可以处理由于分布式数据、缓慢互连或有限设备内存而导致的问题,使IST成为强制分发情况下的合适方法。我们的实验表明,IST的训练时间比常见的分布式学习方法要低得多。

英文摘要:

Distributed machine learning (ML) can bring more computational resources to bear than single-machine learning, thus enabling reductions in training time. Distributed learning partitions models and data over many machines, allowing model and dataset sizes beyond the available compute power and memory of a single machine. In practice though, distributed ML is challenging when distribution is mandatory, rather than chosen by the practitioner. In such scenarios, data could unavoidably be separated among workers due to limited memory capacity per worker or even because of data privacy issues. There, existing distributed methods will utterly fail due to dominant transfer costs across workers, or do not even apply. We propose a new approach to distributed fully connected neural network learning, called independent subnet training (IST), to handle these cases. In IST, the original network is decomposed into a set of narrow subnetworks with the same depth. These subnetworks are then trained locally before parameters are exchanged to produce new subnets and the training cycle repeats. Such a naturally "model parallel" approach limits memory usage by storing only a portion of network parameters on each device. Additionally, no requirements exist for sharing data between workers (i.e., subnet training is local and independent) and communication volume and frequency are reduced by decomposing the original network into independent subnets. These properties of IST can cope with issues due to distributed data, slow interconnects, or limited device memory, making IST a suitable approach for cases of mandatory distribution. We show experimentally that IST results in training times that are much lower than common distributed learning approaches.

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

↑