Convergence Analysis for Training Stochastic Neural Networks via Stochastic Gradient Descent

Richard Archibald, Feng Bao, Yanzhao Cao, Hui Sun
12/17/2022
math.NAcs.LG

Official code: Huisun317/SNN (3 stars, Jupyter Notebook, last commit 2023-07-05).

Abstract

In this paper, we carry out numerical analysis to prove convergence of a novel sample-wise back-propagation method for training a class of stochastic neural networks (SNNs). The structure of the SNN is formulated as discretization of a stochastic differential equation (SDE).

Show full abstract

A stochastic optimal control framework is introduced to model the training procedure, and a sample-wise approximation scheme for the adjoint backward SDE is applied to improve the efficiency of the stochastic optimal control solver, which is equivalent to the back-propagation for training the SNN. The convergence analysis is derived with and without convexity assumption for optimization of the SNN parameters. Especially, our analysis indicates that the number of SNN training steps should be proportional to the square of the number of layers in the convex optimization case. Numerical experiments are carried out to validate the analysis results, and the performance of the sample-wise back-propagation method for training SNNs is examined by benchmark machine learning examples.

View on arXivView PDF

Code Implementations(1)

Huisun317/SNNOfficial100%

This repository contains our novel Stochastic Maximum principle approach for solving control problems using the SGD optimization procedure.

31Jupyter NotebookJun 8, 20223 years ago

Similar Papers

Cite this paper

@article{archibald2022convergence,
  title  = {Convergence Analysis for Training Stochastic Neural Networks via Stochastic Gradient Descent},
  author = {Richard Archibald and Feng Bao and Yanzhao Cao and Hui Sun},
  year   = {2022},
  eprint = {2212.08924},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.08924}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.08924.svg)](https://codeofpaper.com/paper/2212.08924)

Discussion