Abstract
Training Optical Neural Networks (ONNs) on-chip is notoriously difficult because fabrication errors make standard backpropagation inaccurate. This paper introduces "Layered-Parameter Perturbation," a novel zeroth-order optimization technique that accounts for the physical interdependencies of optical components to enable more efficient, "hardware-aware" black-box learning. By utilizing the Fisher Information Matrix to design parameter perturbations that yield isotropic output changes, the proposed method bridges the "reality gap" in silicon photonics.
Introduction
Optical Neural Networks (ONNs) promise massive speedups and energy efficiency by processing data with light. However, they face a significant "reality gap": every physical chip has tiny fabrication variations, such as errors in beam splitters or phase shifters, that are impossible to measure perfectly. Because backpropagation requires a precise mathematical model of the hardware, it often fails when training directly on a real chip.
Researchers typically turn to Zeroth-Order (ZO) optimization, a "black-box" method that tweaks parameters randomly and observes the change in loss. The problem is that standard ZO treats every parameter as independent. In ONNs, components like Mach-Zehnder Interferometers (MZIs) are arranged in layers; a change in an early phase shifter ripples through the entire "pathway" of the circuit. Standard random "poking" of parameters leads to a biased search that struggles to find the optimal configuration in complex, high-dimensional optical meshes.
Methods: Layered-Parameter Perturbation
The authors propose a new way to generate random perturbations for ZO optimization. Instead of using a standard normal distribution where every parameter is nudged independently, they use a specialized covariance matrix ($\Sigma_u$) derived from the hardware's structure.
Modeling Interrelation
The core of the approach is the "Output-First" perspective. Traditional optimization focuses on how we change the parameters. This paper argues that for hardware with complex internal paths, we should focus on how those changes manifest at the output. If the output changes are biased, the learning will be slow. To achieve this, they use the Fisher Information Matrix (FIM) to capture how changes in specific parameters affect the module's output. This accounts for the "layered" structure of MZI meshes without needing to know the exact value of every fabrication error.
Isotropic Output Search
The goal is to design parameter tweaks so that the resulting change at the output of the optical module is "isotropic" (uniform in all directions). This ensures the optimizer explores the solution space as efficiently as possible. They optimize the covariance matrix $\Sigma_u$ by minimizing a cost function based on LogDet divergence, which balances making the output search uniform while keeping the parameter changes regularized.
To maintain computational efficiency, these statistics are updated periodically rather than at every training step, making the method scalable to larger networks.
Experimental Evaluation
The researchers evaluated their method using simulated ONNs with realistic fabrication errors (splitting angle and attenuation-phase errors) on two standard benchmarks: MNIST (handwritten digits) and FashionMNIST (clothing items). Images were converted into complex-valued vectors using a Discrete Fourier Transform (DFT) to make them compatible with the coherent light processing of ONNs.
Key Results
The proposed method, ZO-$\Sigma_u$, consistently outperformed standard ZO and coordinate-wise optimization across several metrics:
- Accuracy: On MNIST with a 64-channel ONN, the proposed method achieved 94.70% accuracy, surpassing standard ZO (94.37%).
- Loss Convergence: In almost all tested scenarios, the "layered" approach reached lower training losses faster than conventional methods.
- Truncated Meshes: Most impressively, the method allowed "truncated" (smaller/shallower) optical meshes to outperform full-sized meshes trained with standard methods. This suggests we can save physical chip space by using smarter training algorithms.
- Scalability: Unlike CMA-ES (Covariance Matrix Adaptation Evolution Strategy), which failed to complete runs for larger 64-channel configurations within a day, the proposed method scaled smoothly.
Conclusion
As ONNs grow in complexity, "hardware-aware" optimization like Layered-Parameter Perturbation will be essential for bridging the gap between theoretical models and physical reality. While currently tested in simulation, this approach provides a robust framework for on-chip training that accounts for the unique physical constraints of photonic circuits. Future work will involve testing on physical silicon photonic chips and extending the architecture to diffractive networks.
Summary updated