LUMEN-PRO: Automating Multi-Task Learning on Optical Neural Networks with Weight Sharing and Physical Rotation

Shanglin Zhou, Yingjie Li, Weilu Gao, Cunxi Yu, Caiwen Ding

Abstract

The democratization of AI encourages multi-task learning (MTL), demanding more parameters and processing time. To achieve highly energy-efficient MTL, Diffractive Optical Neural Networks (DONNs) have garnered attention due to extremely low energy and high computation speed. However, implementing MTL on DONNs requires manually reconfiguring and replacing layers, and rebuilding and duplicating the physical optical systems. To overcome the challenges, we propose LUMEN-PRO, an automated MTL framework using DONNs. We first propose to automate MTL utilizing an arbitrary backbone DONN and a set of tasks, resulting in a high-accuracy multi-task DONN model with small memory footprint that surpasses existing MTL. Second, we leverage the rotability of the physical optical system and replace task-specific layers with rotation of the corresponding shared layers. This replacement eliminates the storage requirement of task-specific layers, further optimizing the memory footprint. LUMEN-PRO provides flexibility in identifying optimal sharing patterns across diverse datasets, facilitating the search for highly energy-efficient DONNs. Experiments show that LUMEN-PRO provides up to 49.58% higher accuracy and 4× better cost efficiency than single-task and existing DONN approaches. It achieves memory lower bound of MTL, with memory efficiency matching single-task models. Compared to IBM-TrueNorth and Nanophotonic, LUMEN-PRO achieves 597× and 68× energy efficiency gain, respectively.

Introduction

As AI moves toward executing multiple interrelated tasks simultaneously (Multi-Task Learning), the demand for parameters, memory, and energy grows exponentially. While Diffractive Optical Neural Networks (DONNs) offer a promising path forward—processing information at the speed of light with near-zero energy consumption—they are notoriously rigid. Standard DONNs use physical masks (diffractive layers) to modulate light. Implementing MTL on these systems typically requires manually reconfiguring hardware or duplicating physical layers for each task, a "hardware tax" that often negates the energy benefits of optical computing. LUMEN-PRO addresses this by automating the design of these systems to handle multiple tasks without increasing the physical hardware footprint.

The LUMEN-PRO Framework

LUMEN-PRO introduces two primary innovations to solve the MTL-on-optical challenge:

  1. Automated Architecture Search: The framework transforms a standard DONN backbone into an "operator-level supermodel." Using a gradient-based search (Gumbel-Softmax trick), it automatically determines whether a layer should be shared across all tasks, dedicated to a specific task, or skipped entirely. This removes the need for manual trial-and-error design.
  2. Physical Layer Rotation: Instead of fabricating new physical masks for task-specific weights, LUMEN-PRO leverages the fact that rotating a square diffractive layer (by 90°, 180°, or 270°) changes the light modulation pattern. The framework treats these rotations as "virtual" task-specific layers. During training, the system learns weights that work across multiple tasks simply by being physically turned.

This approach achieves the theoretical "memory lower bound" for MTL because the physical storage requirements (the number of 3D-printed masks) remain identical to a single-task model.

Experimental Evaluation

The framework was evaluated on two major multi-task benchmarks:

  • MNIST Family: A combination of four image classification tasks: MNIST-10 (digits), Fashion-MNIST (clothing), Kuzushiji-MNIST (Japanese characters), and Extension-MNIST-Letters.
  • CelebA (CelebFaces Attributes Dataset): A four-task setup predicting facial attributes: Smiling, Mouth_Slightly_Open, Male, and Attractive.
Figure 3: Accuracy comparison across the MNIST family of datasets, showing LUMEN-PRO matching or exceeding single-task performance.

Results and Discussion

LUMEN-PRO demonstrated significant improvements over existing MTL baselines like VanillaMT and RubikONN. On the CelebA dataset, it achieved up to a 49.58% improvement in accuracy (specifically observed in the Male and Attractive attributes) compared to existing DONN approaches.

Figure 4: Performance metrics (F1-score and Accuracy) for four CelebA attributes, highlighting the substantial gains of LUMEN-PRO over baselines.

Efficiency Gains

  • Cost & Memory: The system achieved 4× better cost efficiency than single-task models and maintained a high sharing ratio (85% of the model shared across four tasks).
  • Energy Efficiency: Compared to state-of-the-art digital and photonic accelerators, LUMEN-PRO achieved a 597× energy efficiency gain over IBM-TrueNorth and a 68× gain over Holylight (Photonic CNN).
  • Throughput: The system maintains a high throughput of $10^4$ kFPS, processing images at the speed of light propagation through the masks.

Conclusion

LUMEN-PRO successfully automates the deployment of Multi-Task Learning on optical hardware. By treating physical rotation as a learnable parameter, it overcomes the rigidity of traditional DONNs, achieving the memory footprint of a single-task model while delivering massive energy savings. Future work may address the mechanical latency of high-speed rotation and the impact of physical noise in real-world deployments.

Summary updated

BibTeX
@inproceedings{zhou2024lumen,
  author = {Shanglin Zhou and Yingjie Li and Weilu Gao and Cunxi Yu and Caiwen Ding},
  title = {{LUMEN-PRO: Automating Multi-Task Learning on Optical Neural Networks with Weight Sharing and Physical Rotation}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-4733442/v1},
}
Figure