NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scientific Computing with Diffractive Optical Neural Networks

Ruiyang Chen, Yingheng Tang, Jianzhu Ma, Weilu Gao · DOI

Abstract

Traditional electronic hardware is increasingly constrained by energy consumption and heat dissipation limits, often referred to as the "power wall." Diffractive Optical Neural Networks (DONNs) present a high-speed, energy-efficient alternative by performing computations using light diffraction. However, their application has historically been limited to image-based tasks. This paper explores a novel framework that extends DONNs to complex scientific computing by implementing a universal feature engineering method. By translating non-visual scientific data into optical patterns, the researchers demonstrate the system's efficacy across diverse domains, including material science, drug discovery, and reinforcement learning, achieving performance comparable to electronic processors.

Introduction

The rapid advancement of machine learning (ML) has revolutionized scientific discovery, yet the underlying electronic hardware faces fundamental physical limitations. As models scale, the energy required for data movement and computation in traditional circuits grows exponentially. Optical computing offers a paradigm shift, utilizing photons to process information at the speed of light with minimal energy dissipation.

Among optical architectures, Diffractive Optical Neural Networks (DONNs) are particularly promising. These systems utilize successive layers of diffractive elements to modulate the phase and amplitude of light, effectively performing complex mathematical operations through physical diffraction. Despite their potential, DONNs have primarily been relegated to "native" optical tasks like image classification. The primary obstacle to broader adoption is the "encoding gap": scientific data, such as chemical formulas or physical states, does not naturally possess the spatial structure required for optical processing.

Methodology: Bridging the Encoding Gap

To address this, the researchers developed an all-optical reconfigurable DONN system coupled with a universal feature engineering pipeline.

Hardware Architecture

The system utilizes four cascaded Spatial Light Modulators (SLMs). Unlike static, 3D-printed DONNs, this setup is fully reconfigurable. The first SLM serves as the input layer, encoding data into the phase of an incident laser beam. The subsequent three SLMs act as trainable diffractive layers. By adjusting the phase maps on these SLMs, the system can be reprogrammed for different tasks without physical modification.

Feature Engineering and Training

The core innovation lies in the "one-hot" feature engineering approach. Categorical and numerical features—such as atomic counts in a crystal or temperature settings in a lab—are converted into binary vectors. These vectors are then reshaped into 2D matrices and interpolated into 100x100 binary images. This process "translates" abstract scientific parameters into a format the optical system can process spatially.

Training is conducted in silico using physics-aware models that simulate the diffraction of light through the SLM layers. Once the optimal phase maps are determined, they are uploaded to the hardware, allowing the DONN to perform inference at the speed of light.

Experimental Results across Scientific Domains

The versatility of the DONN framework was validated across five distinct scientific areas:

  1. Material Synthesis and Properties: The system was tasked with predicting the outcomes of Molybdenum Disulfide ($MoS_2$) growth and predicting properties (stability, bandgaps) from the Computational 2D Materials Database (C2DB). The DONN achieved 77% experimental accuracy in synthesis prediction and up to 86% in property classification.
  2. Cancer Drug Discovery: Using genomic mutation data and small-molecule inhibitor datasets, the system successfully predicted drug effectiveness, demonstrating its potential in bioinformatics.
  3. Photonic Device Design: The DONN predicted the performance of nanopatterned power splitters with nearly 100% accuracy, showing its utility in automating engineering design.
  4. Dynamic Control (Reinforcement Learning): In a proof-of-concept for control theory, the system processed state data (position and acceleration) to stabilize an inverted pendulum. The optical controller maintained balance for 200 steps, proving that DONNs can handle time-sensitive, dynamic tasks.

Discussion and Future Outlook

The results indicate that scientific prediction can be reframed as a light-steering problem. By shaping diffractive layers, the system directs light toward specific detector regions that correspond to predicted outcomes. This effectively transforms a specialized optical processor into a general-purpose scientific accelerator.

While the current implementation is limited by the 60 Hz refresh rate of liquid-crystal SLMs and the frame rates of CMOS sensors, the underlying physics allows for much higher throughput. The authors suggest that transitioning to high-speed electro-optic materials could eventually enable billions of predictions per second.

Current limitations include a reliance on binary input encoding and the need for electronic pre-processing for high-dimensional data (such as full genomes). Future iterations aim to implement grayscale encoding for continuous data and explore all-optical feature reduction to further minimize the electronic footprint.

Conclusion

This research marks a significant step toward practical optical computing for science. By providing a bridge between abstract data and physical diffraction, the authors have demonstrated that DONNs can rival traditional electronic models like Multilayer Perceptrons (MLP) and XGBoost in accuracy while offering a path toward overcoming the "power wall" of modern computing.

Summary updated

BibTeX
@article{chen2023scientific,
  author = {Ruiyang Chen and Yingheng Tang and Jianzhu Ma and Weilu Gao},
  title = {{Scientific Computing with Diffractive Optical Neural Networks}},
  journal = {Adv. Intell. Syst.},
  year = {2023},
  doi = {10.1002/aisy.202300536},
}
Figure