arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.08960cs.LGcs.NEmath.OC
收藏

一次前向传播即可通过似然比方法训练神经网络

One Forward is Enough for Neural Network Training via Likelihood Ratio Method

Peking University(北京大学);University of Rochester(罗切斯特大学)

Jinyang Jiang, Zeliang Zhang, Chenliang Xu, Zhaofei Yu, Yijie Peng

AI总结:

本文提出统一似然比(ULR)方法,仅需一次前向传播即可估计梯度,避免反向传播的递归计算,支持灵活架构与局部训练,并提升鲁棒性。

摘要:

虽然反向传播(BP)是神经网络训练中梯度计算的主流方法,但其对微分链式法则的严重依赖限制了网络架构和训练流程的设计灵活性。我们避免了BP中的递归计算,提出了一种统一的似然比(ULR)方法,仅需一次前向传播即可进行梯度估计。ULR不仅可以扩展到训练各种神经网络架构,还可以通过ULR重新排列BP中的计算流程,以更好地适应设备。此外,我们提出了几种方差缩减技术,以进一步加速训练过程。我们的实验提供了跨多个方面的数值结果,包括各种神经网络训练场景、计算流程重排以及预训练模型的微调。所有发现表明,ULR通过允许局部模块训练而不损害全局目标,有效增强了神经网络训练的灵活性,并显著提升了网络的鲁棒性。

英文摘要:

While backpropagation (BP) is the mainstream approach for gradient computation in neural network training, its heavy reliance on the chain rule of differentiation constrains the designing flexibility of network architecture and training pipelines. We avoid the recursive computation in BP and develop a unified likelihood ratio (ULR) method for gradient estimation with just one forward propagation. Not only can ULR be extended to train a wide variety of neural network architectures, but the computation flow in BP can also be rearranged by ULR for better device adaptation. Moreover, we propose several variance reduction techniques to further accelerate the training process. Our experiments offer numerical results across diverse aspects, including various neural network training scenarios, computation flow rearrangement, and fine-tuning of pre-trained models. All findings demonstrate that ULR effectively enhances the flexibility of neural network training by permitting localized module training without compromising the global objective and significantly boosts the network robustness.

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

↑