arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.07389cs.LGcs.DCstat.ML
收藏

3LC:用于分布式机器学习的轻量级高效流量压缩

3LC: Lightweight and Effective Traffic Compression for Distributed Machine Learning

Carnegie Mellon University(卡内基梅隆大学);Intel Labs(英特尔实验室)

Hyeontaek Lim, David G. Andersen, Michael Kaminsky

摘要:

分布式机器学习(ML)的性能和效率在很大程度上取决于节点交换状态更改所需的时间。过度积极地尝试减少通信通常会牺牲最终模型的准确性,并需要额外的ML技术来补偿这种损失,从而限制了它们的通用性。一些减少通信的尝试会导致高计算开销,这使得它们的性能优势仅在慢速网络上可见。我们提出了3LC,一个有损压缩计划的状态变化流量,罢工之间的平衡多个目标:流量减少,准确性,计算开销,和一般性。它结合了三种新的技术-3值量化与稀疏乘法、四次编码和零游程编码-以利用量化和稀疏化技术的优势并避免它们的缺点。它实现了高达39- 107倍的数据压缩比,几乎与训练模型相同的测试精度,以及较高的压缩速度。分布式ML框架可以使用3LC,而无需修改现有的ML算法。我们的实验表明,与TensorFlow的基线设计相比,3LC将基于ResNet-110的图像分类器在10 GPU集群上用于CIFAR-10的挂钟训练时间减少了16- 23倍。

英文摘要:

The performance and efficiency of distributed machine learning (ML) depends significantly on how long it takes for nodes to exchange state changes. Overly-aggressive attempts to reduce communication often sacrifice final model accuracy and necessitate additional ML techniques to compensate for this loss, limiting their generality. Some attempts to reduce communication incur high computation overhead, which makes their performance benefits visible only over slow networks. We present 3LC, a lossy compression scheme for state change traffic that strikes balance between multiple goals: traffic reduction, accuracy, computation overhead, and generality. It combines three new techniques---3-value quantization with sparsity multiplication, quartic encoding, and zero-run encoding---to leverage strengths of quantization and sparsification techniques and avoid their drawbacks. It achieves a data compression ratio of up to 39--107X, almost the same test accuracy of trained models, and high compression speed. Distributed ML frameworks can employ 3LC without modifications to existing ML algorithms. Our experiments show that 3LC reduces wall-clock training time of ResNet-110--based image classifiers for CIFAR-10 on a 10-GPU cluster by up to 16--23X compared to TensorFlow's baseline design.

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

↑