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

PSO-PS:用于深度神经网络分布式训练的粒子群优化参数同步

PSO-PS: Parameter Synchronization with Particle Swarm Optimization for Distributed Training of Deep Neural Networks

Sichuan University(四川大学)

Qing Ye, Yuxuan Han, Yanan sun, JIancheng Lv

摘要:

参数更新是基于并行的分布式深度学习中的一个重要阶段。同步方法广泛应用于深度神经网络(DNN)的分布式训练。为了减少同步方法的通信和同步开销,降低同步频率(例如,每个$n$小批量)是一种直接的方法。然而,它经常受到收敛性差的影响。在本文中,我们提出了一种新的算法集成粒子群优化(PSO)到分布式DNN的训练过程中自动计算新的参数。在该算法中,计算工作被编码为一个粒子,DNN的权重和训练损失由粒子属性建模。在每个同步阶段,权值由PSO从所有工人收集的子权值更新,而不是平均权值或梯度。为了验证所提出的算法的性能,在两个常用的图像分类基准:MNIST和CIFAR10上进行了实验,并在多个不同的同步配置下与同行竞争对手进行了比较。实验结果证明了该算法的竞争力。

英文摘要:

Parameter updating is an important stage in parallelism-based distributed deep learning. Synchronous methods are widely used in distributed training the Deep Neural Networks (DNNs). To reduce the communication and synchronization overhead of synchronous methods, decreasing the synchronization frequency (e.g., every $n$ mini-batches) is a straightforward approach. However, it often suffers from poor convergence. In this paper, we propose a new algorithm of integrating Particle Swarm Optimization (PSO) into the distributed training process of DNNs to automatically compute new parameters. In the proposed algorithm, a computing work is encoded by a particle, the weights of DNNs and the training loss are modeled by the particle attributes. At each synchronization stage, the weights are updated by PSO from the sub weights gathered from all workers, instead of averaging the weights or the gradients. To verify the performance of the proposed algorithm, the experiments are performed on two commonly used image classification benchmarks: MNIST and CIFAR10, and compared with the peer competitors at multiple different synchronization configurations. The experimental results demonstrate the competitiveness of the proposed algorithm.

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

↑