Gradients of unitary optical neural networks using parameter-shift rule
Authors:
Preprint
Abstract
This paper explores the application of the parameter-shift rule (PSR) for computing gradients in unitary optical neural networks (UONNs). While backpropagation has been fundamental to training conventional neural networks, its implementation in optical neural networks faces significant challenges due to the physical constraints of optical systems. We demonstrate how PSR, which calculates gradients by evaluating functions at shifted parameter values, can be effectively adapted for training UONNs constructed from Mach-Zehnder interferometer meshes. The method leverages the inherent Fourier series nature of optical interference in these systems to compute exact analytical gradients directly from hardware measurements. This approach offers a promising alternative to traditional in silico training methods and circumvents the limitations of both finite difference approximations and all-optical backpropagation implementations. We present the theoretical framework and practical methodology for applying PSR to optimize phase parameters in optical neural networks, potentially advancing the development of efficient hardware-based training strategies for optical computing systems.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- Training neural networks with end-to-end optical backpropagationAdvanced Photonics, 2025
- Parameter shift rule with optimal phase selectionPhysical Review A, 2024
- Role of all-optical neural networksPhysical Review Applied, 2024
- Photonic neural networks and optics-informed deep learning fundamentalsAPL Photonics, 2024
- Accurate Self-Configuration of Rectangular Multiport InterferometersPhysical Review Applied, 2022
- Further compactifying linear optical unitariesAPL Photonics, 2021
- Inference in artificial intelligence with deep optics and photonicsNature, 2020
- Deep learning with coherent nanophotonic circuitsNature Photonics, 2017
- Experimental realization of any discrete unitary operatorPhysical Review Letters, 1994
- Learning representations by back-propagating errorsNature, 1986