An Efficient General-Purpose Optical Accelerator for Neural Networks

Sijie Fei, Amro Eldebiky, Grace Li Zhang, Bing Li, Ulf Schlichtmann

This paper, titled "An Efficient General-Purpose Optical Accelerator for Neural Networks," presents a novel hybrid architecture designed to overcome the rigidity and inefficiency of current optical computing hardware. By moving away from monolithic designs toward a modular, flexible approach, the authors demonstrate significant gains in energy efficiency and mapping flexibility for deep neural networks (DNNs).

TL;DR

The authors propose a hybrid general-purpose optical accelerator (GOA) that replaces large, inefficient Mach-Zehnder Interferometer (MZI) arrays with smaller, independent modules linked by microring resonators (MRRs). By combining this modular hardware with hardware-aware training and matrix approximation, they achieve over 67% energy reduction and 21% lower latency compared to traditional optical architectures.

What Problem Does This Paper Address?

Optical computing promises massive speedups and ultra-low power consumption for DNNs by performing matrix-vector multiplications at the speed of light. The standard building block is the Mach-Zehnder Interferometer (MZI), which can implement a $2 \times 2$ unitary matrix. To handle larger matrices, MZIs are typically arranged in large, fixed "interleaving" arrays.

However, these traditional GOAs suffer from a mapping mismatch. If a neural network layer's weight matrix doesn't perfectly fit the hardware's dimensions, many MZIs are left unused. Even worse, because of the interleaving structure, signals must often pass through these "unused" MZIs, requiring them to be powered and programmed just to let the signal through without interference. This leads to significant waste in both area and energy.

Figure 1: (a) MZI structure and the interleaving MZI array. (b) The mapping mismatch problem where many MZIs are "affected" but not mathematically "needed."

Methods

The researchers introduce three main innovations to solve these inefficiencies:

  1. Hybrid Modular Architecture: Instead of one giant array, they use a grid of small $k \times k$ MZI modules. These modules are connected by Microring Resonators (MRRs). MRRs act as optical switches and adders; by using Wavelength Division Multiplexing (WDM), the system can sum partial results from different modules at the photodiode without needing extra electronic components.
  2. Matrix Approximation ($U\Sigma$): Standard methods decompose a weight matrix into two unitary matrices ($U, V^*$) and one diagonal matrix ($\Sigma$) using Singular Value Decomposition (SVD). This requires two full MZI arrays. The authors propose approximating most layers using just $U\Sigma$, nearly halving the required hardware. For "critical" layers where accuracy might drop, they can selectively restore the full $U\Sigma V^*$ form by linking two modules horizontally.
  3. Hardware-Aware Co-Design:
    • Genetic Algorithm (GA): The authors use a GA to find the optimal module size ($k$) and grid dimensions ($m \times n$) for a given area budget.
  4. Network Adjustment: If a module has "empty" space, the researchers don't leave it idle. They actually increase the kernel depth or filter count of the neural network to fill that space, which can improve the model's representational power and accuracy.
Figure 3: The proposed hybrid architecture featuring small MZI modules, MRRs, and WDM-based accumulation.

Datasets

The framework was evaluated using two popular image classification benchmarks:

  • CIFAR-10
  • CIFAR-100

These were tested against two standard DNN architectures: VGG16 and ResNet18.

Key Insights and Ideas

  • Flexibility via MRRs: Using MRRs to route signals between small modules effectively turns a rigid hardware fabric into a reconfigurable one. This allows the hardware to adapt to different layer sizes rather than forcing the software to fit a fixed grid.
  • The "Free" Accuracy Boost: One of the most clever insights is using hardware underutilization as an opportunity. By expanding the neural network's dimensions to fill the $k \times k$ modules, they turn a hardware limitation into a software feature that boosts accuracy.
  • Selective Restoration: Not all layers are created equal. By identifying which layers are most sensitive to the $U\Sigma$ approximation and only using full SVD ($U\Sigma V^*$) for those, they maintain high accuracy while keeping the overall footprint small.
Figure 4: (a) The $U\Sigma$ approximation vs (b) the restored SVD form using two modules.

Key Results

The proposed hybrid GOA significantly outperformed traditional interleaving SVD-based accelerators:

  • Mapping Efficiency: Improved by 21.87% to 25.52% across different models and datasets.
  • Energy Consumption: Reduced by over 67%.
  • Computation Latency: Reduced by over 21%.
  • Accuracy: Despite the matrix approximations, the final models often achieved slightly higher accuracy than the baselines (e.g., 93.57% vs 93.55% for VGG16 on CIFAR-10) due to the structural adjustments that utilized spare hardware capacity.

Limitations and Future Work

  • WDM Scaling: The number of modules that can be summed in a single column is limited by the number of available wavelengths in the WDM system.
  • E/O Conversion: While the paper minimizes electrical-to-optical (E/O) conversions, these remain a significant source of latency and power draw in any hybrid system.
  • Future Directions: The authors suggest that further improvements could come from exploring different optical components beyond MZIs or more advanced reinforcement learning techniques for architecture search.

Summary updated

BibTeX
@inproceedings{fei2025efficient,
  author = {Sijie Fei and Amro Eldebiky and Grace Li Zhang and Bing Li and Ulf Schlichtmann},
  title = {{An Efficient General-Purpose Optical Accelerator for Neural Networks}},
  booktitle = {ASP-DAC},
  year = {2025},
  doi = {10.1145/3658617.3697706},
}
Figure