Transferable polychromatic optical encoder for neural networks

Minho Choi, Jinlin Xiang, Anna Wirth-Singh, Seung‐Hwan Baek, Eli Shlizerman, Arka Majumdar

Abstract

Artificial neural networks (ANNs) have fundamentally transformed the field of computer vision, providing unprecedented performance. However, these ANNs for image processing demand substantial computational resources, often hindering real-time operation. In this paper, we demonstrate an optical encoder that can perform convolution simultaneously in three color channels during the image capture, effectively implementing several initial convolutional layers of a ANN. Such an optical encoding results in ~24,000 times reduction in computational operations, with a state-of-the art classification accuracy (~ 73.2%) in free-space optical system. In addition, our analog optical encoder, trained for CIFAR-10 data, can be transferred to the ImageNet subset, High-10, without any modifications, and still exhibits moderate accuracy. Our results evidence the potential of hybrid optical/digital computer vision system in which the optical frontend can pre-process an ambient scene to reduce the energy and latency of the whole computer vision system.

Introduction

Convolutional Neural Networks (CNNs) are the gold standard for computer vision, but they are computational gluttons. The initial layers of a CNN must process high-resolution raw data, requiring massive amounts of "Multiply-Accumulate" (MAC) operations. This leads to high power consumption and latency, which is a dealbreaker for edge devices like habitat-monitoring drones or autonomous vehicles with limited battery life.

While optical computing promises to solve this by using the speed of light, previous attempts were often limited to simple grayscale images or required bulky setups to handle color. This research introduces a hybrid optical-digital architecture that splits the workload, using a polychromatic optical encoder to perform the heavy lifting of initial convolutions at the speed of light.

Methods and Architecture

The proposed system utilizes a hybrid approach to balance the speed of optics with the flexibility of digital electronics. The architecture is derived through knowledge distillation, where a complex AlexNet model is compressed into a "student" model consisting of a single convolutional layer followed by two fully-connected layers.

Comparison of the original digital CNN with the proposed hybrid optical-digital architecture.

Meta-Optics Design

The first convolutional layer is replaced by a physical metasurface—a thin layer of silicon nitride (SiNx) nanopillars on a quartz substrate. By precisely engineering the shape of these pillars, the researchers created a lens with a specific Point Spread Function (PSF). Unlike traditional lenses that struggle with color blurring, this design exploits the inherent color-dependency of metasurfaces to perform different, simultaneous convolutions for Red, Green, and Blue channels in a single shot.

Digital Backend and Calibration

The "pre-processed" light hits a standard camera sensor. A lightweight digital backend then performs the final classification. To handle real-world imperfections like lens misalignment or fabrication errors, a digital "calibration layer" is added to tune the system without needing to redesign the physical optics.

Key Results

The system was evaluated using the CIFAR-10 dataset and a subset of ImageNet called High-10 to test transferability.

  • Computational Efficiency: The hybrid system achieved a 24,000x reduction in digital MAC operations compared to the original AlexNet. The energy required for the computational backend dropped from 3.65 mJ to just 150 nJ per image.
  • Accuracy: On the CIFAR-10 dataset, the system reached ~73.2% accuracy, a state-of-the-art result for free-space optical systems.
  • Transfer Learning: The CIFAR-optimized lens achieved ~60% accuracy on the High-10 dataset, proving that the optical frontend extracts generalized features useful across different tasks.
Confusion matrices comparing the classification performance of AlexNet, a compressed digital CNN, and the hybrid optical-digital CNN.

Discussion and Conclusion

This work demonstrates that you don't need to do everything with light to see massive benefits. Using optics for heavy, linear convolutions and digital electronics for complex, non-linear logic provides a path toward ultra-efficient computer vision. The discovery of transferability is particularly significant, as it suggests that static optical encoders can be versatile enough for general-purpose AI applications. Future work will focus on closing the remaining 5-10% accuracy gap through end-to-end co-design of the optical and digital components.

Summary updated

BibTeX
@inproceedings{choi2025transferable,
  author = {Minho Choi and Jinlin Xiang and Anna Wirth-Singh and Seung‐Hwan Baek and Eli Shlizerman and Arka Majumdar},
  title = {{Transferable polychromatic optical encoder for neural networks}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-025-61338-4},
}
Figure