Hardware-In-The-Loop Training of a 4f Optical Correlator with Logarithmic Complexity Reduction for CNNs
Lorenzo Pes, Maryam Dehbashizadeh Chehreghan, Rick Luiken, Sander Stuijk, Ripalta Stabile, Federico Corradi
TL;DR
The paper investigates hardware-in-the-loop training of a $4f$ optical correlator for CNN-style classification on a MNIST subset, comparing traditional backpropagation (BP) with the forward-only PEPITA algorithm. It demonstrates that PEPITA can achieve near-identical accuracy to BP while reducing training computational complexity from $O(n^2 \log n)$ to $O(n^2)$ and without requiring a differentiable device model. Using an optical setup with $8$ Fourier kernels and a simple CNN-like architecture, the study reports BP attaining $88.8 \pm 4$ and PEPITA $87.6 \pm 3$ on 600 training samples and 100 test samples, with an SSIM around $0.8$ between software and optical results. The work highlights practical bottlenecks (SLM-driven throughput) and points toward FPGA-based parallelism as a path to scaling to larger datasets.
Abstract
This work evaluates a forward-only learning algorithm on the MNIST dataset with hardware-in-the-loop training of a 4f optical correlator, achieving 87.6% accuracy with O(n2) complexity, compared to backpropagation, which achieves 88.8% accuracy with O(n2 log n) complexity.
