arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03524cs.LGmath.OC
收藏

基于光滑度感知的Quantization分布式优化算法

Theoretically Better and Numerically Faster Distributed Optimization with Smoothness-Aware Quantization Techniques

Texas A&M University(德州农工大学);KAUST(阿卜杜拉国王科技大学)

Bokun Wang, Mher Safaryan, Peter Richtárik

摘要:

为了解决分布式机器学习的高通信成本,近年来已经投入了大量的工作来设计各种压缩策略,例如稀疏化和量化,以及能够使用它们的优化算法。最近,Safaryan等人(2021)开创了一种截然不同的压缩设计方法:他们首先使用局部训练数据来形成局部平滑度矩阵,然后提出设计一种能够利用其中包含的平滑度信息的压缩器。虽然这种新颖的方法导致通信的大量节省,但它仅限于稀疏化,因为它严重依赖于压缩算子的线性。在这项工作中,我们将他们的平滑感知压缩策略推广到任意无偏压缩算子,其中也包括稀疏化。专门我们的结果随机量化,我们保证显着节省通信复杂性相比,标准量化。特别是,我们证明了块量化与$n$块理论上优于单块量化,导致通信复杂性降低了$\mathcal{O}(n)$因子,其中$n$是分布式系统中的节点数。最后,我们提供了大量的数值证据与凸优化问题,我们的平滑感知量化策略优于现有的量化方案,以及上述平滑感知稀疏化策略的三个评估指标:迭代次数,通信的比特总量,和挂钟时间。

英文摘要:

To address the high communication costs of distributed machine learning, a large body of work has been devoted in recent years to designing various compression strategies, such as sparsification and quantization, and optimization algorithms capable of using them. Recently, Safaryan et al. (2021) pioneered a dramatically different compression design approach: they first use the local training data to form local smoothness matrices and then propose to design a compressor capable of exploiting the smoothness information contained therein. While this novel approach leads to substantial savings in communication, it is limited to sparsification as it crucially depends on the linearity of the compression operator. In this work, we generalize their smoothness-aware compression strategy to arbitrary unbiased compression operators, which also include sparsification. Specializing our results to stochastic quantization, we guarantee significant savings in communication complexity compared to standard quantization. In particular, we prove that block quantization with $n$ blocks theoretically outperforms single block quantization, leading to a reduction in communication complexity by an $\mathcal{O}(n)$ factor, where $n$ is the number of nodes in the distributed system. Finally, we provide extensive numerical evidence with convex optimization problems that our smoothness-aware quantization strategies outperform existing quantization schemes as well as the aforementioned smoothness-aware sparsification strategies with respect to three evaluation metrics: the number of iterations, the total amount of bits communicated, and wall-clock time.

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

↑