Skip to main content
QUICK REVIEW

[Paper Review] Backpropagation-free Training of Deep Physical Neural Networks

Ali Momeni, Babak Rahmani|arXiv (Cornell University)|Apr 20, 2023
Advanced Memory and Neural ComputingEngineering3 citations
TL;DR

This paper proposes a backpropagation-free training method called model-free forward-forward (MF-FF) training for deep physical neural networks (PNNs), enabling direct training of physical nonlinear systems without requiring detailed knowledge of their internal dynamics. The method achieves faster training, reduced digital computation, and lower power consumption—especially in optical PNNs—while remaining robust under dynamic perturbations, outperforming existing hardware-aware training schemes.

ABSTRACT

Recent years have witnessed the outstanding success of deep learning in various fields such as vision and natural language processing. This success is largely indebted to the massive size of deep learning models that is expected to increase unceasingly. This growth of the deep learning models is accompanied by issues related to their considerable energy consumption, both during the training and inference phases, as well as their scalability. Although a number of work based on unconventional physical systems have been proposed which addresses the issue of energy efficiency in the inference phase, efficient training of deep learning models has remained unaddressed. So far, training of digital deep learning models mainly relies on backpropagation, which is not suitable for physical implementation as it requires perfect knowledge of the computation performed in the so-called forward pass of the neural network. Here, we tackle this issue by proposing a simple deep neural network architecture augmented by a biologically plausible learning algorithm, referred to as "model-free forward-forward training". The proposed architecture enables training deep physical neural networks consisting of layers of physical nonlinear systems, without requiring detailed knowledge of the nonlinear physical layers' properties. We show that our method outperforms state-of-the-art hardware-aware training methods by improving training speed, decreasing digital computations, and reducing power consumption in physical systems. We demonstrate the adaptability of the proposed method, even in systems exposed to dynamic or unpredictable external perturbations. To showcase the universality of our approach, we train diverse wave-based physical neural networks that vary in the underlying wave phenomenon and the type of non-linearity they use, to perform vowel and image classification tasks experimentally.

Motivation & Objective

  • To address the energy and scalability limitations of backpropagation in physical neural networks (PNNs), especially in wave-based systems like optics and acoustics.
  • To eliminate the need for gradient computation and digital twin simulations by enabling direct training of physical nonlinear layers without prior knowledge of their internal behavior.
  • To improve training speed, reduce digital computation, and lower power consumption in PNNs, particularly in optical implementations.
  • To demonstrate robustness of the method under dynamic or unpredictable external perturbations where conventional hardware-aware training fails.
  • To enable hybrid training of massive physical neural networks for high-speed, low-energy inference and training.

Proposed method

  • Proposes a model-free forward-forward (MF-FF) training algorithm that trains only the linear, trainable layers of a PNN using positive and negative data samples without backpropagation.
  • Uses a two-stream forward pass: one for positive data (e.g., correct class) and one for negative data (e.g., incorrect class), updating weights based on the relative activation magnitudes.
  • Applies a modified version of the forward-forward algorithm to physical systems by treating the nonlinear physical layer as a black box, requiring no knowledge of its internal nonlinear mapping.
  • Employs a loss function that maximizes the activation difference between positive and negative data paths, enabling end-to-end training of the linear weights.
  • Integrates the MF-FF method with physical systems such as optical, microwave, and acoustic wave-based PNNs, using spatial light modulators (SLMs), DMDs, and programmable metasurfaces for input modulation.
  • Breaks down energy costs per layer, showing that $E_{load}$, $E_{readout}$, and $E_{feedforward}$ scale linearly with data size, while gradient update cost scales quadratically with $N$.

Experimental results

Research questions

  • RQ1Can a backpropagation-free training method be effectively applied to deep physical neural networks with arbitrary physical nonlinear layers?
  • RQ2Does the model-free forward-forward method reduce training energy and digital computation compared to conventional hardware-aware training in PNNs?
  • RQ3How does the MF-FF method perform under dynamic or unpredictable perturbations in physical systems where standard backpropagation fails?
  • RQ4Can the MF-FF method be universally applied across diverse wave-based physical systems, such as optics, microwaves, and acoustics?
  • RQ5To what extent does MF-FF training improve training speed and energy efficiency in optical PNNs?

Key findings

  • The MF-FF method outperforms state-of-the-art hardware-aware training methods by reducing training time and digital computation while lowering power consumption in physical systems, particularly in optical PNNs.
  • The method enables successful training of deep PNNs in optical, microwave, and acoustic systems, achieving accurate vowel and image classification in experimental setups.
  • MF-FF training remains robust under dynamic or unpredictable external perturbations, where all other hardware-aware training schemes fail.
  • Energy consumption for inference is dominated by $E_{load}$ and $E_{readout}$, which scale linearly with data size, while $E_{feedforward}$ is nearly free in wave-based systems.
  • Switching from LC-SLMs to DMDs improves inference speed by nearly 3 orders of magnitude, reaching up to 23,000 frames per second.
  • The digital energy cost of a forward pass in MF-FF scales quadratically with $N$ (due to $N^2$ MAC operations), but this is amortized in large models, making PNNs more energy-efficient per MAC than digital models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.