Skip to main content
QUICK REVIEW

[Paper Review] Compressed Meta-Optical Encoder for Image Classification

Anna Wirth-Singh, Jinlin Xiang|arXiv (Cornell University)|Apr 23, 2024
Photonic and Optical DevicesEngineering5 citations
TL;DR

The paper demonstrates a hybrid optical-electronic CNN that compresses multiple convolutional layers into a single optical frontend, achieving AlexNet-Mod level accuracy on MNIST with over 100x reduction in MACs and significant power/latency benefits.

ABSTRACT

Optical and hybrid convolutional neural networks (CNNs) recently have become of increasing interest to achieve low-latency, low-power image classification and computer vision tasks. However, implementing optical nonlinearity is challenging, and omitting the nonlinear layers in a standard CNN comes at a significant reduction in accuracy. In this work, we use knowledge distillation to compress modified AlexNet to a single linear convolutional layer and an electronic backend (two fully connected layers). We obtain comparable performance to a purely electronic CNN with five convolutional layers and three fully connected layers. We implement the convolution optically via engineering the point spread function of an inverse-designed meta-optic. Using this hybrid approach, we estimate a reduction in multiply-accumulate operations from 17M in a conventional electronic modified AlexNet to only 86K in the hybrid compressed network enabled by the optical frontend. This constitutes over two orders of magnitude reduction in latency and power consumption. Furthermore, we experimentally demonstrate that the classification accuracy of the system exceeds 93% on the MNIST dataset.

Motivation & Objective

  • Motivate reducing latency and power in CNNs for image classification.
  • Develop a hybrid architecture with optical front end and electronic back end to perform convolutions.
  • Use knowledge distillation to bypass nonlinear activations and compress layers.
  • Design inverse-designed meta-optics to implement target convolution kernels via PSF engineering.
  • Demonstrate end-to-end classification on MNIST with substantial MAC reduction.

Proposed method

  • Use knowledge distillation to compress AlexNet-Mod (5 conv layers, 3 FC layers) into a two-layer linear electronic network (one conv-like layer + one FC layer).
  • Implement optical convolution by engineering the PSF of inverse-designed meta-optics (GS phase retrieval) for eight 6×6 kernels, separated into positive/negative parts and combined digitally.
  • Fabricate 16 sub-optics on a single substrate to realize the eight kernels and measure their PSFs experimentally.
  • Introduce a calibration layer to align optical outputs with the electronic backend without retraining the backend.
  • Compare AlexNet-Mod, compressed electronic CNN, and hybrid optical-electronic CNN in terms of accuracy and MACs.
  • Quantify computational benefits via MAC counts and discuss scalability with image resolution.
Figure 1: Schematic of convolutional neural networks for image classification tasks. (a) All-electronic multi-layered CNN. (b) All-electronic compressed CNN. (c) Hybrid CNN which combines an optical meta-optic front end and electronic backend. (d) The number of multiply-accumulate (MAC) operations o
Figure 1: Schematic of convolutional neural networks for image classification tasks. (a) All-electronic multi-layered CNN. (b) All-electronic compressed CNN. (c) Hybrid CNN which combines an optical meta-optic front end and electronic backend. (d) The number of multiply-accumulate (MAC) operations o

Experimental results

Research questions

  • RQ1Can a single optical convolutional front end, combined with a linear electronic backend, match the accuracy of a multi-layer electronic CNN on MNIST?
  • RQ2How much computational cost (MACs) and power can be saved by compressing convolutional layers and implementing them optically?
  • RQ3Does knowledge distillation enable effective training of a linear, non-nonlinear hybrid network for image classification?
  • RQ4How does PSF-engineered meta-optics perform in practice and how does a calibration layer affect real-world accuracy?

Key findings

  • Hybrid network achieves 93.4% test accuracy on MNIST with 85,824 MACs, vs 98.4% and 17,268,224 MACs for AlexNet-Mod.
  • Compressed electronic CNN (KD) reaches 96.2% test accuracy with 228,672 MACs.
  • Hybrid CNN (KD) achieves 93.4% test accuracy with 85,824 MACs, a reduction to 0.5% of AlexNet-Mod MACs.
  • Optical front end uses 16 sub-optics to realize 8 kernels and provides convolution by PSF engineering.
  • Calibration layer aligns optical outputs with the electronic backend, enabling end-to-end classification without retraining the backend.
  • Demonstrates over two orders of magnitude MAC reduction and ~5% drop in accuracy relative to the teacher model.
Figure 2: Schematic of the optical system. (a) PSF measurement setup using a monochromatic point light source (left) and optical convolution measurements using a micro-LED display (right). (b) A photograph of the fabricated meta-optics. The meta-optic contains 16 different sub-optics, spatially dist
Figure 2: Schematic of the optical system. (a) PSF measurement setup using a monochromatic point light source (left) and optical convolution measurements using a micro-LED display (right). (b) A photograph of the fabricated meta-optics. The meta-optic contains 16 different sub-optics, spatially dist

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.