English

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

Machine Learning 2023-10-16 v2 Neural and Evolutionary Computing Optimization and Control

Abstract

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.

Keywords

Cite

@article{arxiv.2305.08960,
  title  = {One Forward is Enough for Neural Network Training via Likelihood Ratio Method},
  author = {Jinyang Jiang and Zeliang Zhang and Chenliang Xu and Zhaofei Yu and Yijie Peng},
  journal= {arXiv preprint arXiv:2305.08960},
  year   = {2023}
}
R2 v1 2026-06-28T10:35:11.783Z