Large-scale photonic computing with nonlinear disordered media

Hao Wang, Jianqi Hu, Andrea Morandi, Alfonso Nardi, Fei Xia, Xuanchen Li, Romolo Savo, Qiang Liu, Rachel Grange, Sylvain Gigan · DOI

Abstract

Neural networks find widespread use in scientific and technological applications, yet their implementations in conventional computers have encountered bottlenecks due to ever-expanding computational needs. Photonic neuromorphic hardware, which manipulates information and represents data continuously in the optical domain, is one of the promising platforms with potential advantages of massive parallelism, ultralow latency, and reduced energy consumption. While linear photonic neural networks are within reach, photonic computing with large-scale optical nonlinear nodes remains largely unexplored. Here, we demonstrate a large-scale, high-performance nonlinear photonic neural system based on a disordered polycrystalline slab composed of lithium niobate nanocrystals. Mediated by random quasi-phase-matching and multiple scattering, linear and nonlinear optical speckle features are generated as the interplay between the simultaneous linear random scattering and the second-harmonic generation, defining a complex neural network in which the second-order nonlinearity acts as internal nonlinear activation functions. Benchmarked against linear random projection, such nonlinear mapping embedded with rich physical computational operations shows improved performance across a large collection of machine learning tasks in image classification, regression, and graph classification with varying complexity. Demonstrating up to 27,648 input and 3,500 nonlinear output nodes, the combination of optical nonlinearity and random scattering serves as a scalable computing engine for diverse applications.

Introduction

Modern artificial intelligence is increasingly constrained by the energy and memory demands of the von Neumann architecture. As neural networks grow in scale, the constant movement of data between processors and memory creates significant bottlenecks. Photonic computing presents a compelling alternative, offering massive parallelism and ultra-low latency. However, a major hurdle has been the implementation of scalable, high-dimensional optical nonlinearities—the "activation functions" essential for deep learning. Most current photonic systems are predominantly linear, and existing nonlinear implementations often struggle with scalability or high power requirements.

Methods: Computing by Scattering

This research introduces a "computing by scattering" framework using a disordered polycrystalline slab of lithium niobate (LN) nanocrystals as a natural processing unit. The system operates through a multi-step process:

  1. Data Encoding: Input data, such as images or graphs, is encoded onto the spatial phase of an 800 nm laser pulse using a Spatial Light Modulator (SLM).
  2. Nonlinear Processing: The light enters the disordered LN slab, where it undergoes multiple scattering (linear random projection). Simultaneously, the material's second-order nonlinearity ($\chi^{(2)}$) facilitates second-harmonic generation (SHG), producing light at 400 nm.
  3. Feature Extraction: Cameras capture the resulting speckle patterns. The 800 nm speckle represents linear features, while the 400 nm speckle represents nonlinear features generated via random quasi-phase-matching.
  4. Readout: A computationally efficient digital linear regression layer maps these high-dimensional optical features to specific output labels.
Schematic of the nonlinear photonic computing system (a) and the corresponding physical and mathematical forward models for linear (b) and nonlinear (c) feature extraction.

Experimental Results and Benchmarking

The system was evaluated across 14 diverse datasets, spanning image classification, regression, and graph analysis. A consistent "nonlinear advantage" was observed, where the second-harmonic features provided superior representational power compared to linear features alone.

In image classification tasks, such as the Sign Language Digits (SLD) dataset, the nonlinear features achieved an accuracy of 85.96%, significantly outperforming the linear baseline of 74.82%. Similar improvements were noted for American Sign Language (ASL) and CIFAR-10 datasets. For regression tasks, such as predicting the hydrodynamic resistance of sailing yachts, the physical nonlinearity allowed the system to surpass even "ideal" simulated linear random projections.

Performance benchmarks for image classification tasks (SLD, ASL, and CIFAR-10), comparing the accuracy and F1-scores of nonlinear speckle features versus linear features.

Discussion and Scalability

The system demonstrates remarkable scalability, handling up to 27,648 input nodes and 3,500 nonlinear output nodes, with an estimated throughput of 18.8 Tera-Floating Point Operations Per Second (TFLOPS). Because the nonlinearity is a passive physical property of the LN nanocrystals, the "computation" occurs as light propagates through the medium, requiring no additional power for activation functions.

While the current tabletop setup utilizes bulky components, the results provide a roadmap for future miniaturization onto photonic chips. Future work may also explore reconfigurable materials to allow for trainable internal weights, further enhancing the flexibility of this high-performance photonic computing engine.

Summary updated

BibTeX
@article{wang2023large,
  author = {Hao Wang and Jianqi Hu and Andrea Morandi and Alfonso Nardi and Fei Xia and Xuanchen Li and Romolo Savo and Qiang Liu and Rachel Grange and Sylvain Gigan},
  title = {{Large-scale photonic computing with nonlinear disordered media}},
  journal = {Nat. Comput. Sci.},
  year = {2023},
  doi = {10.1038/s43588-024-00644-1},
}
Figure