Backpropagation through nonlinear units for all-optical training of neural networks

Xianxin Guo, Thomas D. Barrett, Zhiming M. Wang, A. I. Lvovsky
12/23/2019
cs.ETeess.SPphysics.optics

Official code: tomdbar/all-optical-neural-networks (58 stars, Python, PyTorch, last commit 2020-09-30).

Abstract

Backpropagation through nonlinear neurons is an outstanding challenge to the field of optical neural networks and the major conceptual barrier to all-optical training schemes. Each neuron is required to exhibit a directionally dependent response to propagating optical signals, with the backwards response conditioned on the forward signal, which is highly non-trivial to implement optically.

Show full abstract

We propose a practical and surprisingly simple solution that uses saturable absorption to provide the network nonlinearity. We find that the backward propagating gradients required to train the network can be approximated in a pump-probe scheme that requires only passive optical elements. Simulations show that, with readily obtainable optical depths, our approach can achieve equivalent performance to state-of-the-art computational networks on image classification benchmarks, even in deep networks with multiple sequential gradient approximations. This scheme is compatible with leading optical neural network proposals and therefore provides a feasible path towards end-to-end optical training.

View on arXivView PDF

Code Implementations(1)

PyTorch

Supporting code for "End-to-end optical backpropagation for training neural networks".

5815PythonDec 22, 20196 years ago
backpropagationoptical-neural-networkpublication-codepytorch

Similar Papers

Cite this paper

@article{guo2019backpropagation,
  title  = {Backpropagation through nonlinear units for all-optical training of neural networks},
  author = {Xianxin Guo and Thomas D. Barrett and Zhiming M. Wang and A. I. Lvovsky},
  year   = {2019},
  eprint = {1912.12256},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.12256}
}

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

Discussion