梯度多样性:可扩展分布式学习的一个关键因素
Gradient Diversity: a Key Ingredient for Scalable Distributed Learning
摘要:
实验发现,小批量随机梯度下降(SGD)算法的分布式实现在超过特定批量时会出现加速饱和和泛化能力下降的现象.在这项工作中,我们提出了一个分析暗示,并行处理的梯度之间的高相似性可能是这种性能下降的原因。我们引入了梯度多样性的概念,衡量并发梯度更新之间的相异性,并显示其在小批量SGD的性能的关键作用。我们证明了高梯度多样性的问题,小批量SGD是适合更好的加速,同时保持串行(一个样本)SGD的泛化性能。我们进一步建立了收敛的下限,其中小批量SGD减慢超过特定的批量大小,仅仅是由于缺乏梯度多样性。我们提供的实验证据表明梯度多样性在分布式学习中的关键作用,并讨论了如何像dropout,Langevin动力学和量化可以改善它。
英文摘要:
It has been experimentally observed that distributed implementations of mini-batch stochastic gradient descent (SGD) algorithms exhibit speedup saturation and decaying generalization ability beyond a particular batch-size. In this work, we present an analysis hinting that high similarity between concurrently processed gradients may be a cause of this performance degradation. We introduce the notion of gradient diversity that measures the dissimilarity between concurrent gradient updates, and show its key role in the performance of mini-batch SGD. We prove that on problems with high gradient diversity, mini-batch SGD is amenable to better speedups, while maintaining the generalization performance of serial (one sample) SGD. We further establish lower bounds on convergence where mini-batch SGD slows down beyond a particular batch-size, solely due to the lack of gradient diversity. We provide experimental evidence indicating the key role of gradient diversity in distributed learning, and discuss how heuristics like dropout, Langevin dynamics, and quantization can improve it.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。