Training single-electron and single-photon stochastic physical neural networks

arXiv cs.LG / 4/15/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper explores stochastic physical neural networks (PNNs) as an alternative to conventional deep learning by performing learning and inference through physical processes rather than purely digital computation.
  • It proposes two implementations of stochastic neurons: electronic stochastic neurons based on single-electron tunneling through a quantum dot, and photonic stochastic neurons based on a single-photon source driving coupled modes via a controllable beam-splitter-like interaction.
  • Training is conducted using stochastic neuron models and using coherently-driven single-photon detector stochastic neurons, with experiments focused on MNIST classification using single-hidden-layer stochastic PNNs.
  • The study compares training strategies for handling stochasticity and gradient estimation, varying the number of trials per layer and choosing between true probability vs empirical outputs in the backward pass.
  • Using empirical outputs in the backward pass, the authors report over 97% test accuracy with few trials per layer, maintaining high performance despite substantial noise and model uncertainty, suggesting viability of stochastic PNNs for deep learning.

Abstract

The computational demands of deep learning motivate the investigation of alternative approaches to computation. One alternative is physical neural networks~(PNNs), in which learning and inference are performed directly via physical processes. Stochastic PNNs arise when the underlying neurons are realized by the dynamics of a stochastic activation switch. Here we propose novel electronic and photonic stochastic neurons. The electronic realization is implemented by single-electron tunneling through a quantum dot. The photonic realization is implemented via a single-photon source driving one of two modes coupled via a controllable beam-splitter-like interaction. In the electronic case, the charge state of the quantum dot forms the basis for the stochastic neuron, whereas in the photonic case the occupation of the undriven mode serves as the basis for the stochastic neuron. Training of stochastic PNNs is performed with models of stochastic neurons, as well as with coherently-driven, single-photon detector stochastic neurons previously introduced. Several training strategies for MNIST handwritten digit classification have been investigated using single-hidden-layer stochastic PNNs, including varying the number of trials in each layer to control forward pass stochasticity and employing either true probability or empirical outputs in the backward pass to evaluate their influence on gradient estimation. We show that when empirical outputs are used in the backward pass, the network achieves more than 97\% test accuracy with few trials per layer. Despite the simplicity of the model architecture, high test accuracy is maintained in the presence of a high degree of noise and model uncertainty. The results demonstrate the potential of embracing stochastic PNNs for deep learning.