深度残差神经网络的层并行训练
Layer-Parallel Training of Deep Residual Neural Networks
摘要:
残差神经网络(ResNets)是一类很有前途的深度神经网络,它们在许多学习任务中表现出出色的性能,例如,图像分类和识别。在数学上,ResNet架构可以被解释为非线性初值问题的前向欧拉离散化,其时间相关的控制变量表示神经网络的权重。因此,训练ResNet可以被视为相关动力系统的最优控制问题。对于工程应用中出现的类似的时间相关的最优控制问题,时间并行方法在可扩展性方面显示出显著的改进。本文演示了如何使用这些技术来高效地训练ResNets。该算法取代了经典的(顺序)通过网络层的前向和后向传播的并行非线性多重网格迭代应用到层域。这增加了跨层并行的新维度,这在训练非常深的网络时很有吸引力。从这个基本思想,我们得到多层并行方法。最有效的版本采用同步优化方法,其中网络参数的更新基于不精确的梯度信息,以加快训练过程。使用监督分类的数值例子,我们证明了新方法实现了与传统方法相似的训练性能,但实现了层并行性,从而通过更大的并发性提供了比层串行方法更快的速度。
英文摘要:
Residual neural networks (ResNets) are a promising class of deep neural networks that have shown excellent performance for a number of learning tasks, e.g., image classification and recognition. Mathematically, ResNet architectures can be interpreted as forward Euler discretizations of a nonlinear initial value problem whose time-dependent control variables represent the weights of the neural network. Hence, training a ResNet can be cast as an optimal control problem of the associated dynamical system. For similar time-dependent optimal control problems arising in engineering applications, parallel-in-time methods have shown notable improvements in scalability. This paper demonstrates the use of those techniques for efficient and effective training of ResNets. The proposed algorithms replace the classical (sequential) forward and backward propagation through the network layers by a parallel nonlinear multigrid iteration applied to the layer domain. This adds a new dimension of parallelism across layers that is attractive when training very deep networks. From this basic idea, we derive multiple layer-parallel methods. The most efficient version employs a simultaneous optimization approach where updates to the network parameters are based on inexact gradient information in order to speed up the training process. Using numerical examples from supervised classification, we demonstrate that the new approach achieves similar training performance to traditional methods, but enables layer-parallelism and thus provides speedup over layer-serial methods through greater concurrency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。