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

Multi-Dimensional Reconfigurable, Physically Composable Hybrid Diffractive Optical Neural Network

Ziang Yin, Yu Yao, Jeff Zhang, Jiaqi GuarXiv 2024 · DOI

Abstract

Diffractive optical neural networks (DONNs), leveraging free-space light wave propagation for ultra-parallel, high-efficiency computing, have emerged as promising artificial intelligence (AI) accelerators. However, their inherent lack of reconfigurability due to fixed optical structures post-fabrication hinders practical deployment in the face of dynamic AI workloads and evolving applications. To overcome this challenge, we introduce, for the first time, a multi-dimensional reconfigurable hybrid diffractive ONN system (MDR-HDONN), a physically composable architecture that unlocks a new degree of freedom and unprecedented versatility in DONNs. By leveraging full-system learnability, MDR-HDONN repurposes fixed fabricated optical hardware, achieving exponentially expanded functionality and superior task adaptability through the differentiable learning of system variables. Furthermore, MDR-HDONN adopts a hybrid optical/photonic design, combining the reconfigurability of integrated photonics with the ultra-parallelism of free-space diffractive systems. Extensive evaluations demonstrate that MDR-HDONN has digital-comparable accuracy on various task adaptations with 74x faster speed and 194x lower energy. Compared to prior DONNs, MDR-HDONN shows exponentially larger functional space with 5x faster training speed, paving the way for a new paradigm of versatile, composable, hybrid optical/photonic AI computing.

Introduction

Diffractive optical neural networks (DONNs) offer a path to ultra-high-speed, energy-efficient AI acceleration by processing information through light diffraction in 3D space. However, a significant barrier to their widespread adoption is the "rigidity" of fabricated optical hardware. Once a phase mask is etched or printed, its optical function is traditionally fixed, making it difficult to adapt to new tasks or evolving neural network architectures.

We present MDR-HDONN, a hybrid optical-photonic system that introduces multi-dimensional reconfigurability. Instead of relying on complex, active tuning of individual pixels, MDR-HDONN achieves versatility by treating the physical arrangement of fixed hardware components as learnable variables. This "physically composable" approach allows a single set of fabricated masks to be repurposed for a vast array of functions, effectively turning one piece of hardware into thousands of potential networks.

System Architecture and Full-System Learnability

The MDR-HDONN architecture is a hybrid design that integrates free-space diffractive layers with integrated photonic tensor cores (PTCs). This combination leverages the massive parallelism of diffractive optics for spatial processing and the flexible reconfigurability of photonics for channel mixing.

The MDR-HDONN system architecture highlights seven learnable physical dimensions, including wavelength, spacing, and mask orientation.

The core innovation is the optimization of seven distinct physical dimensions:

  1. Wavelength ($\lambda$): Adjusting the source laser wavelength to alter diffraction patterns.
  2. Spacing ($z$): Tuning the axial distance between diffractive layers to change the "receptive field."
  3. Orientation ($O$): Rotating or flipping masks (9 possible states per mask).
  4. Permutation ($P$): Reordering the sequence of physical masks.
  5. Pixel Size ($s$): Optimizing the meta-atom scale during the design phase.
  6. Channel Mixing ($\alpha$): Using integrated photonics for pre- and post-diffraction data blending.
  7. Polarization ($\beta$): Leveraging differential polarization to enhance linear expressivity.

To optimize these discrete and continuous physical parameters, we employ differentiable learning techniques. Specifically, the Gumbel-Softmax trick is used to learn discrete mask orientations, while the Augmented Lagrangian Method (ALM) enables the optimization of the physical permutation order of the metasurfaces through gradient descent.

Experimental Results

We evaluated MDR-HDONN across diverse benchmarks, including image classification (CIFAR-100, Fashion-MNIST) and scientific computing tasks like solving Partial Differential Equations (PDEs) such as Darcy flow and Navier-Stokes. These PDE tasks are particularly well-suited for the "global" processing nature of optics, where every pixel can interact with every other pixel simultaneously.

Efficiency and Performance

MDR-HDONN demonstrates remarkable efficiency gains. Compared to a high-end NVIDIA A6000 GPU, the system achieves a 74× speedup in inference latency and a 194× reduction in energy consumption. This performance stems from the inherent passive nature of light propagation, where the bulk of the computation occurs at the speed of light without electrical power.

Impact of Multi-Dimensional Reconfigurability

The ability to reconfigure the system's physical parameters significantly boosts its task-adaptation capabilities. Even when the "weights" (phase profiles) of the fabricated masks are frozen, the system can be repurposed for new tasks by simply adjusting its physical configuration.

Ablation study showing the cumulative accuracy gains as more reconfigurable physical dimensions (wavelength, orientation, permutation) are added to the system.

As shown in the ablation study, adding dimensions like orientation ($O$) and permutation ($P$) leads to substantial improvements in test accuracy. For instance, moving from 4 standard rotations to 9 orientations (including flips) provided a +4% accuracy boost on complex datasets. The permutation of masks effectively turns a small set of hardware into an exponentially large functional space ($9^{PL}$ orientations and $(PL)!$ permutations), allowing the system to "shuffle" its layers to find the optimal configuration for a given task.

Conclusion

MDR-HDONN represents a paradigm shift in optical computing, moving from fixed-function hardware to physically composable systems. By making the entire physical setup learnable, we unlock unprecedented versatility in DONNs without the need for complex active-tuning devices. This hybrid approach paves the way for scalable, energy-efficient AI accelerators capable of adapting to the dynamic needs of modern machine learning.

Summary updated

BibTeX
@misc{yin2024multi,
  author = {Ziang Yin and Yu Yao and Jeff Zhang and Jiaqi Gu},
  title = {{Multi-Dimensional Reconfigurable, Physically Composable Hybrid Diffractive Optical Neural Network}},
  year = {2024},
  eprint = {2411.05748},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.05748},
}
Figure