Optical neural network via loose neuron array and functional learning

Yuchi Huo, Hujun Bao, Yifan Peng, Chen Gao, Wei Hua, Qing Yang, Haifeng Li, Rui Wang, Sung‐Eui YoonNature Communications 2023

Abstract

This research proposes a deep-learning paradigm, termed functional learning (FL), to physically train a loose neuron array—a group of non-handcrafted, non-differentiable, and loosely connected physical neurons whose connections and gradients are beyond explicit expression. The paradigm targets training non-differentiable hardware, solving challenges in modeling high-dimensional systems and end-to-end training through implicit gradient propagation. Verified with an original light field neural network (LFNN), it realizes a programmable incoherent optical neural network for light-speed, high-bandwidth, and power-efficient inference.

Introduction: The Challenge of Physical Neural Networks

Deep learning's energy demands have spurred interest in Optical Neural Networks (ONNs), which offer high-speed computation with minimal power. However, traditional ONNs require precise fabrication and complex mathematical models to account for hardware imperfections like thermal noise and misalignments. Many physical systems are also non-differentiable, making standard backpropagation impossible. Functional Learning (FL) addresses these issues by allowing optimization of "messy," uncalibrated hardware.

Methodology: Functional Learning and Loose Neuron Arrays

Functional Learning bridges the gap between physical hardware and mathematical optimization using a digital proxy:

  1. Loose Neuron Arrays (LNAs): The system uses arrays of neurons, such as pixels on liquid crystal (LC) panels, where connections are not explicitly defined.
  2. Functional Neural Network (FNN): A digital "proxy" network is trained to mimic the hardware's behavior.
  3. Alternating Minimization: Training alternates between z-learning (updating the FNN to match physical responses) and p-learning (using the FNN to calculate implicit gradients for hardware updates).
  4. X-activation: This function enables negative weights in incoherent light systems by subtracting a rotated version of the output.
Spatial distribution of input, liquid crystal (LC), and output neurons in the proposed light field neural network.

Key Insights: Robustness and Connectionism

A core finding is that "loose" configurations are a strength. Connecting many simple, non-handcrafted physical neurons can outperform sophisticated designs, aligning with the connectionist philosophy. The system is remarkably resilient; simulations showed it maintained performance even when 60% of physical neurons were malfunctioning. By using the FNN as a differentiable proxy, the system effectively "tricks" the black-box hardware into being trainable.

Functional learning successfully optimizes various 'loose' neuron configurations, including regular, normal, and uniform distributions.

Experimental Results

The LFNN prototype, built from off-the-shelf components, achieved significant results:

  • MNIST Accuracy: Reached 94.35% for a two-layer setup, comparable to digital benchmarks.
  • Superiority over Baselines: FL (90.78%) vastly outperformed Finite Difference (8.59%) and Genetic Algorithms (14.06%) within the same training time.
  • Complex Tasks: The system successfully performed CIFAR-10 classification and depth estimation on the RGB-D Object Dataset.

Conclusion

Functional Learning offers a path to build hardware without handcrafted design or precise assembly. While current training is limited by camera speeds, future high-speed sensors and all-optical nonlinearities could enable ultra-fast, energy-efficient AI hardware for brain-inspired computation and programmable optical devices.

Summary updated

BibTeX
@inproceedings{huo2023optical,
  author = {Yuchi Huo and Hujun Bao and Yifan Peng and Chen Gao and Wei Hua and Qing Yang and Haifeng Li and Rui Wang and Sung‐Eui Yoon},
  title = {{Optical neural network via loose neuron array and functional learning}},
  booktitle = {Nature Communications},
  year = {2023},
  doi = {10.1038/s41467-023-37390-3},
}
Figure