arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.04757cs.LGphysics.data-anstat.ML
收藏

深度神经网络中的时标分离和权值直接计算

Separation of time scales and direct computation of weights in deep neural networks

Northeastern University(东北大学);Northwestern University(西北大学)

Nima Dehmamy, Neda Rohani, Aggelos Katsaggelos

摘要:

人工智能正在以前所未有的速度彻底改变我们的生活。这场革命的核心是深度神经网络(DNN)的最新进展,学习执行复杂的高级任务。然而,训练DNN需要大量的数据,并且计算量非常大。获得对DNN找到的解决方案的分析理解可以帮助我们设计更有效的训练算法,取代常用的随机梯度下降(SGD)方法。我们分析了SGD的动态,并表明,实际上,直接计算的解决方案是可能的,在许多情况下。我们表明,DNN中使用的高性能设置在训练动态中引入了时间尺度的分离,允许SGD从最低(最接近输入)到最高的训练层。然后,我们表明,对于每一层,SGD发现的解决方案的分布可以估计使用基于类的主成分分析(PCA)层的输入。这一发现使我们能够完全放弃SGD,并使用这种基于类的PCA直接导出DNN参数,这可以使用比SGD少得多的数据进行很好的估计。我们在图像数据集MNIST,CIFAR10和CIFAR100上实现了这些结果,并发现,事实上,使用我们基于类的PCA导出的层与使用SGD训练的相同大小和架构的神经网络相当或更好。我们还确认,基于类的PCA通常使用SGD所需数据的一小部分即可收敛。因此,使用我们的方法,通过需要比SGD更少的训练数据,以及通过消除训练的昂贵的反向传播步骤中的层,可以减少训练时间。

英文摘要:

Artificial intelligence is revolutionizing our lives at an ever increasing pace. At the heart of this revolution is the recent advancements in deep neural networks (DNN), learning to perform sophisticated, high-level tasks. However, training DNNs requires massive amounts of data and is very computationally intensive. Gaining analytical understanding of the solutions found by DNNs can help us devise more efficient training algorithms, replacing the commonly used mthod of stochastic gradient descent (SGD). We analyze the dynamics of SGD and show that, indeed, direct computation of the solutions is possible in many cases. We show that a high performing setup used in DNNs introduces a separation of time-scales in the training dynamics, allowing SGD to train layers from the lowest (closest to input) to the highest. We then show that for each layer, the distribution of solutions found by SGD can be estimated using a class-based principal component analysis (PCA) of the layer's input. This finding allows us to forgo SGD entirely and directly derive the DNN parameters using this class-based PCA, which can be well estimated using significantly less data than SGD. We implement these results on image datasets MNIST, CIFAR10 and CIFAR100 and find that, in fact, layers derived using our class-based PCA perform comparable or superior to neural networks of the same size and architecture trained using SGD. We also confirm that the class-based PCA often converges using a fraction of the data required for SGD. Thus, using our method training time can be reduced both by requiring less training data than SGD, and by eliminating layers in the costly backpropagation step of the training.

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

↑