arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.12460cs.LGstat.ML
收藏

数据并行SGD的自适应梯度Quantization

Adaptive Gradient Quantization for Data-Parallel SGD

University of Toronto(多伦多大学);Vector Institute;IST Austria(奥地利科学技术研究所);NeuralMagic

Fartash Faghri, Iman Tabrizian, Ilia Markov, Dan Alistarh, Daniel Roy, Ali Ramezani-Kebrya

摘要:

SGD的许多通信高效变体使用梯度量化方案。这些方案通常是启发式的,并且在训练过程中是固定的。我们根据经验观察到,深度模型的梯度统计数据在训练过程中会发生变化。出于这种观察,我们介绍了两种自适应量化方案,ALQ和AMQ。在这两种方案中,处理器通过有效地计算参数分布的足够的统计量来并行地更新它们的压缩方案。在具有挑战性的低成本通信设置中,我们在CIFAR-10上将验证准确性提高了近2%,在ImageNet上提高了1%。我们的自适应方法对超参数的选择也更加鲁棒。

英文摘要:

Many communication-efficient variants of SGD use gradient quantization schemes. These schemes are often heuristic and fixed over the course of training. We empirically observe that the statistics of gradients of deep models change during the training. Motivated by this observation, we introduce two adaptive quantization schemes, ALQ and AMQ. In both schemes, processors update their compression schemes in parallel by efficiently computing sufficient statistics of a parametric distribution. We improve the validation accuracy by almost 2% on CIFAR-10 and 1% on ImageNet in challenging low-cost communication setups. Our adaptive methods are also significantly more robust to the choice of hyperparameters.

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

↑