arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.13359cs.LGcs.DC
收藏

一种基于量化因子的生成对抗网络分布式训练算法

A Distributed Training Algorithm of Generative Adversarial Networks with Quantized Gradients

Shenzhen University(深圳大学);Tencent AI Lab(腾讯人工智能实验室)

Xiaojun Chen, Shu Yang, Li Shen, Xuanrong Pang

摘要:

以分布式方式训练生成对抗网络(GAN)是一种很有前途的技术,因为它有助于在现实世界的应用中有效地在大量数据上训练GAN。然而,已知GAN难以通过SGD型方法进行训练(可能无法收敛),并且分布式SGD型方法也可能遭受大量的通信成本。在本文中,我们提出了一个{具有量化梯度的分布式GANs训练算法,称为DQGAN},这是第一个具有量化梯度的GANs分布式训练方法。新方法基于一种称为乐观镜像下降(OMD)算法的特定单机算法来训练GANs,并且适用于满足一般$δ$近似压缩器的任何梯度压缩方法。我们设计的误差反馈操作用来补偿压缩带来的偏差,并保证新方法的收敛性。从理论上证明了{DQGAN}算法非渐近收敛于一阶平稳点,表明在参数服务器模型下,该算法能获得线性加速比.实验结果表明,我们的{DQGAN}算法可以降低通信成本,节省训练时间,并且在合成和真实数据集上的性能略有下降。

英文摘要:

Training generative adversarial networks (GAN) in a distributed fashion is a promising technology since it is contributed to training GAN on a massive of data efficiently in real-world applications. However, GAN is known to be difficult to train by SGD-type methods (may fail to converge) and the distributed SGD-type methods may also suffer from massive amount of communication cost. In this paper, we propose a {distributed GANs training algorithm with quantized gradient, dubbed DQGAN,} which is the first distributed training method with quantized gradient for GANs. The new method trains GANs based on a specific single machine algorithm called Optimistic Mirror Descent (OMD) algorithm, and is applicable to any gradient compression method that satisfies a general $δ$-approximate compressor. The error-feedback operation we designed is used to compensate for the bias caused by the compression, and moreover, ensure the convergence of the new method. Theoretically, we establish the non-asymptotic convergence of {DQGAN} algorithm to first-order stationary point, which shows that the proposed algorithm can achieve a linear speedup in the parameter server model. Empirically, our experiments show that our {DQGAN} algorithm can reduce the communication cost and save the training time with slight performance degradation on both synthetic and real datasets.

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

↑