# Class-specific Differential Detection in Diffractive Optical Neural Networks Improves Inference Accuracy

arXiv: https://arxiv.org/abs/1906.03417 · HTML: https://mlsanity.com/paper/1906.03417/

## Key facts

- Cited by 15 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 8 Jun 2019.

## Built on by (most cited first, 15 of 15)

- [Spatially Varying Nanophotonic Neural Networks](https://mlsanity.com/paper/2308.03407/) (2023)
- [Polarization Multiplexed Diffractive Computing: All-Optical Implementation of a Group of Linear Transformations Through a Polarization-Encoded Diffractive Network](https://mlsanity.com/paper/2203.13482/) (2022)
- [All-Optical Phase Conjugation Using Diffractive Wavefront Processing](https://mlsanity.com/paper/2311.04473/) (2023)
- [Information hiding cameras: optical concealment of object information into ordinary images](https://mlsanity.com/paper/2401.07856/) (2024)
- [Classification and reconstruction of spatially overlapping phase images using diffractive optical networks](https://mlsanity.com/paper/2108.07977/) (2021)
- [All-optical image classification through unknown random diffusers using a single-pixel diffractive network](https://mlsanity.com/paper/2208.03968/) (2022)
- [Optical multi-task learning using multi-wavelength diffractive deep neural networks](https://mlsanity.com/paper/2212.00022/) (2022)
- [Time-lapse image classification using a diffractive neural network](https://mlsanity.com/paper/2208.10802/) (2022)
- [Pyramid diffractive optical networks for unidirectional image magnification and demagnification](https://mlsanity.com/paper/2308.15019/) (2023)
- [High Throughput Multi-Channel Parallelized Diffraction Convolutional Neural Network Accelerator](https://mlsanity.com/paper/2112.12297/) (2021)
- [Differentiable Microscopy Designs an All Optical Phase Retrieval Microscope](https://mlsanity.com/paper/2203.14944/) (2022)
- [Misaligned orientations of 4f optical neural network for image classification accuracy on various datasets](https://mlsanity.com/paper/2210.08004/) (2022)
- [Snapshot 3D image projection using a diffractive decoder](https://mlsanity.com/paper/2512.20464/) (2025)
- [Automated HER2 scoring with uncertainty quantification using lensfree holography and deep learning](https://mlsanity.com/paper/2601.18219/) (2026)
- [Scalable, Energy-Efficient Optical-Neural Architecture for Multiplexed Deepfake Video Detection](https://mlsanity.com/paper/2605.19360/) (2026)

## Abstract (arXiv)

Diffractive deep neural networks have been introduced earlier as an optical machine learning framework that uses task-specific diffractive surfaces designed by deep learning to all-optically perform inference, achieving promising performance for object classification and imaging. Here we demonstrate systematic improvements in diffractive optical neural networks based on a differential measurement technique that mitigates the non-negativity constraint of light intensity. In this scheme, each class is assigned to a separate pair of photodetectors, behind a diffractive network, and the class inference is made by maximizing the normalized signal difference between the detector pairs. Moreover, by utilizing the inherent parallelization capability of optical systems, we reduced the signal coupling between the positive and negative detectors of each class by dividing their optical path into two jointly-trained diffractive neural networks that work in parallel. We further made use of this parallelization approach, and divided individual classes among multiple jointly-trained differential diffractive neural networks. Using this class-specific differential detection in jointly-optimized diffractive networks, our simulations achieved testing accuracies of 98.52%, 91.48% and 50.82% for MNIST, Fashion-MNIST and grayscale CIFAR-10 datasets, respectively. Similar to ensemble methods practiced in machine learning, we also independently-optimized multiple differential diffractive networks that optically project their light onto a common detector plane, and achieved testing accuracies of 98.59%, 91.06% and 51.44% for MNIST, Fashion-MNIST and grayscale CIFAR-10, respectively. Through these systematic advances in designing diffractive neural networks, the reported classification accuracies set the state-of-the-art for an all-optical neural network design.
