Convolutional Neural Networks (ConvNets or CNNs) have been candidly deployed in the scope of computer vision and related fields. Nevertheless, the dynamics of training of these neural networks lie still elusive: it is hard and computationally expensive to train them. A myriad of architectures and training strategies have been proposed to overcome this challenge and address several problems in image processing such as speech, image and action recognition as well as object detection. In this article, we propose a novel Particle Swarm Optimization (PSO) based training for ConvNets. In such framework, the vector of weights of each ConvNet is typically cast as the position of a particle in phase space whereby PSO collaborative dynamics intertwines with Stochastic Gradient Descent (SGD) in order to boost training performance and generalization. Our approach goes as follows: i) [regular phase] each ConvNet is trained independently via SGD; ii) [collaborative phase] ConvNets share among themselves their current vector of weights (or particle-position) along with their gradient estimates of the Loss function. Distinct step sizes are coined by distinct ConvNets. By properly blending ConvNets with large (possibly random) step-sizes along with more conservative ones, we propose an algorithm with competitive performance with respect to other PSO-based approaches on Cifar-10 (accuracy of 98.31%). These accuracy levels are obtained by resorting to only four ConvNets -- such results are expected to scale with the number of collaborative ConvNets accordingly. We make our source codes available for download https://github.com/leonlha/PSO-ConvNet-Dynamics.
翻译:然而,这些神经网络的培训动态仍然难以捉摸:培训这些神经网络十分困难,而且计算成本昂贵。为了克服这一挑战,解决图像处理方面的诸多问题,例如语音、图像和动作识别以及目标检测。在本篇文章中,我们提议为ConvNet提供一个新的Particle Swarm优化(PSO)培训。在这个框架中,每个ConvNet的重量矢量通常会成为阶段空间中的一个粒子,使PSO合作动态与Stochatical梯层(SGD)相交,以提高培训绩效和普及程度。我们的方法如下:i)每个ConvNet都通过SGD独立培训;ii)[腐蚀阶段]ConvNet在它们自己之间只分享其当前重量矢量(或粒子定位),以及其递增度估算值在阶段空间中的粒子位置,使PSO-Net与Squrality值相交替。与CRiocial-ral-ral-sal-ral-sal-sqal-ral-ral-ral-sal-ral-ral-s laisal-de-s-s-sal-s lax lax-s-s lax lax laxxxxxxxxxx laxal-laxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,与Oxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx