A new optical network classifies digits using the first detected photon

Ishan Darji, Santosh Kumar, and Yu-Ping Huang of Stevens Institute of Technology have created an optical neural network that classifies handwritten digits by detecting only the first arriving photon. The network achieves 56.2 ± 2.3% accuracy on classifying three MNIST digits from 450 test images, exceeding the performance of random guessing and other optical configurations while using only 54 trained parameters.

This single-photon classification relies on a programmable classical pump beam shaped into Hermite-Gaussian modes to drive nonlinear optical processing. The work demonstrates a fundamentally different approach to machine learning, using the particle nature of light for potentially energy-efficient computation.

First-Photon Detection Achieves Digit Classification

The ability to classify images with accuracy relying on the detection of a single photon has been demonstrated through a novel nonlinear optical neural network. This network distinguishes between digits not by measuring the total light received, but by identifying the time of arrival of the very first photon, a feat challenging conventional image recognition paradigms. The system’s performance hinges on sum-frequency generation within a periodically poled lithium niobate crystal, converting a signal photon into an upconverted photon for detection.

The core of this network’s processing lies in the shaping of a programmable classical pump beam into Hermite-Gaussian modes, which function as trainable kernels. These pump-mode kernels are trained in situ, directly within the optical setup, using responses measured from training digits, bypassing the need for pre-calculated weights.

This approach allows the network to learn and adapt its internal parameters based on the incoming signal, a process important for accurate classification. The conversion probability per photon is intentionally kept low, ensuring each signal photon upconverts independently, and the resulting click from the detector directly measures a coherent projection rather than an integrated intensity. The network’s ability to discern between digits was tested on a set of 450 images, and it achieved an accuracy of 56. 2 ± 2. 3%.

This outperforms a camera at the object plane (33.3 %, random guessing) and at the Fourier plane (41.3 %). Its performance is comparable to that of a phase layer trained at the Fourier plane (57.7 %).

Sum-Frequency Generation Drives Nonlinear Optical Neural Network

This conversion probability is directly linked to the overlap between the input photon and a mode defined by the pump beam, effectively creating a mode-selective frequency conversion that forms the basis of the network’s processing capability. The system’s architecture diverges from conventional digital neural networks by employing a single trainable layer, the coherent projection established by the pump, positioned between the phase-encoded input image and the single-photon detector.

The input image is encoded as a phase onto a coherent signal beam, with grayscale values dictating the phase shift, ensuring all images possess the same intensity but unique phase information. This phase encoding is critical because the detector cannot access information beyond this phase, highlighting the network’s reliance on subtle signal variations for accurate classification.

The trainable layer uses a pump beam composed of a superposition of Hermite-Gaussian (HG) modes, acting as the network’s “kernels” and enabling the nonlinear optical process that drives SFG. The coefficients defining the HG mode superposition, denoted as cmnj, represent the trainable weights of the layer, directly influencing the upconversion probability and ultimately the classification outcome.

The network’s operation hinges on the Born rule, applied when the silicon avalanche photodiode registers the upconverted photon, functioning as the nonlinear readout mechanism. Each trained kernel corresponds to a specific class, and the probability of correctly identifying a class is determined by the ratio of the upconverted photon detection probability for that class to the sum of probabilities across all classes.

The authors write that the accuracy is the mean of P(yx|x) over test images of true class yx, emphasizing the network’s ability to classify images based on the arrival of a single photon. This reliance on the first detected photon is particularly noteworthy, as it demonstrates pattern recognition with minimal signal and suggests potential for extremely energy-efficient computation. The researchers explored the impact of the pump’s mode composition on classification performance, defining the kernel as the same superposition of HG modes used in the pump field, but with conjugated coefficients.

The resulting kernel, κmn, determines the overlap between the input signal and the pump mode, influencing the upconversion probability and the network’s ability to distinguish between different classes. The team found that the performance of the network varied depending on the class.

This approach simplifies the training process and allows the network to adapt to the specific characteristics of the input data. The use of HG modes as trainable kernels represents a departure from traditional digital neural networks, which typically rely on numerical weights, offering a potentially more efficient and compact implementation. Using the arrival time of the first detected photon, the NLONN classifies three MNIST digits with an accuracy of 56.2 ± 2.3% on 450 test images.

NLONN Performance Exceeds Linear Optical Benchmarks

Seventeen fixed phase filters were scanned on a coarse grid to establish a benchmark, with the best performing filter chosen based on training images. This result emphasises the adaptability of the network, which learns to distinguish patterns through its trainable parameters, rather than relying on pre-defined optical elements. This suggests that the method of encoding information within the pump field, using a superposition of Hermite-Gaussian modes, is an effective way to extract relevant features from the input image.

This demonstrates that the network can effectively extract information from minimal signal, even in the presence of noise or interference. Further improvements are anticipated through enhanced pump encoding and the use of higher-order kernel-mode superpositions. The researchers suggest that optimizing these aspects of the system could lead to even greater accuracy and efficiency. The potential for scaling this technology is also evident in the possibility of resolving the upconverted light using an array of single-photon avalanche diodes (SPADs).

The researchers explain. This approach would allow for the extraction of more information from each photon, potentially leading to significant gains in accuracy and performance. The network’s ability to achieve competitive results with a single spatial mode and a single-pixel detector highlights its potential as a low-power, high-speed computing platform.

Single-Pixel Detection Extracts Spatial Information

The network’s ability to classify images with only the first detected photon demonstrates an unexpected efficiency in optical computation, bypassing the need for extensive signal accumulation. Unlike traditional imaging systems, the network extracts information through interference within a nonlinear crystal, effectively projecting the image onto a single spatial mode before detection. The core of this information extraction lies in the training process, where pump-mode kernels are adjusted based on responses to training digits.

These kernels, shaped as a superposition of Hermite-Gaussian modes, act as trainable weights within the network, influencing the upconversion probability of signal photons. The system focuses both the signal and a strong pump beam into a nonlinear crystal at the Fourier plane, initiating sum-frequency generation. This process, combined with the single-mode fiber, ensures that only light within a specific spatial mode reaches the detector, effectively measuring the coherent projection of the input image onto the trained kernel.

This performance surpasses that of a simple lens and camera setup, which achieves 41. The intensity of the process remains consistent across all images, meaning all information is encoded in the phase of the input signal. A detector incapable of allowing self-interference of this signal would be limited to random guessing, achieving only 33. 3% accuracy. The network overcomes this limitation through sum-frequency generation, effectively projecting the photon and enabling the extraction of spatial information. This forces the network to encode all spatial information within the coherent projection, rather than relying on integrated intensity measurements.

👉 More information
🗞 All-Optical Neural Network by First-Photon Detection
✍️ Ishan Darji, Santosh Kumar and Yu-Ping Huang (Stevens Institute of Technology, Hoboken, New Jersey, USA)
🧠 ArXiv: https://arxiv.org/html/2611.35193v1

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Dr. Donovan

Latest Posts by Dr. Donovan: