An Optimal Control Approach to Deep Learning and Applications to Discrete-Weight Neural Networks

Qianxiao Li, Shuji Hao
3/4/2018
cs.LG

Official code: LiQianxiao/discrete-MSA (21 stars, Jupyter Notebook, GPL-3.0, last commit 2018-07-12).

Abstract

Deep learning is formulated as a discrete-time optimal control problem. This allows one to characterize necessary conditions for optimality and develop training algorithms that do not rely on gradients with respect to the trainable parameters.

Show full abstract

In particular, we introduce the discrete-time method of successive approximations (MSA), which is based on the Pontryagin's maximum principle, for training neural networks. A rigorous error estimate for the discrete MSA is obtained, which sheds light on its dynamics and the means to stabilize the algorithm. The developed methods are applied to train, in a rather principled way, neural networks with weights that are constrained to take values in a discrete set. We obtain competitive performance and interestingly, very sparse weights in the case of ternary networks, which may be useful in model deployment in low-memory devices.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
217Jupyter Notebook, PythonJun 2, 20188 years agoGPL-3.0

Similar Papers

Cite this paper

@article{li2018optimal,
  title  = {An Optimal Control Approach to Deep Learning and Applications to Discrete-Weight Neural Networks},
  author = {Qianxiao Li and Shuji Hao},
  year   = {2018},
  eprint = {1803.01299},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.01299}
}

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/1803.01299.svg)](https://codeofpaper.com/paper/1803.01299)

Discussion