Proceedings

Rubik's Optical Neural Networks: Multi-task Learning with Physics-aware Rotation Architecture

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 7197-7206.

https://doi.org/10.24963/ijcai.2023/847

Abstract

Recently, there are increasing efforts on advancing optical neural networks (ONNs), which bring significant advantages for machine learning (ML) in terms of power efficiency, parallelism, and computational speed. With the considerable benefits in computation speed and energy efficiency, there are significant interests in leveraging ONNs into medical sensing, security screening, drug detection, and autonomous driving. However, due to the challenge of implementing reconfigurability, deploying multi-task learning (MTL) algorithms on ONNs requires re-building and duplicating the physical diffractive systems, which significantly degrades the energy and cost efficiency in practical application scenarios. This work presents a novel ONNs architecture, namely, RubikONNs, which utilizes the physical properties of optical systems to encode multiple feed-forward functions by physically rotating the hardware similarly to rotating a Rubik's Cube. To optimize MTL performance on RubikONNs, two domain-specific physics-aware training algorithms RotAgg and RotSeq are proposed. Our experimental results demonstrate more than 4x improvements in energy and cost efficiency with marginal accuracy degradation compared to the state-of-the-art approaches.

  1. [Chen et al., 2022a] Ruiyang Chen, Yingjie Li, Minhan Lou, Jichao Fan, Yingheng Tang, Berardi Sensale-Rodriguez, Cunxi Yu, and Weilu Gao. Physics-aware machine learn- ing and adversarial attack in complex-valued reconfig- urable diffractive all-optical neural network. Laser & Pho- tonics Reviews, page 2200348, 2022.
  2. [Chen et al., 2022b] Ruiyang Chen, Yingjie Li, Minhan Lou, Cunxi Yu, and Weilu Gao. Complex-valued reconfigurable diffractive optical neural networks using cost-effective spatial light modulators. In CLEO: Applications and Tech- nology, pages JTh3B-56. Optica Publishing Group, 2022.
  3. [Clanuwat et al., 2018] Tarin Clanuwat, Mikel Bober-Irizar, Asanobu Kitamoto, Alex Lamb, Kazuaki Yamamoto, and David Ha. Deep learning for classical japanese literature. 2018.
  4. [Cohen et al., 2017] Gregory Cohen, Saeed Afshar, Jonathan Tapson, and Andre Van Schaik. Emnist: Extending mnist to handwritten letters. In 2017 International Joint Con- ference on Neural Networks (IJCNN), pages 2921-2926. IEEE, 2017.
  5. [Duan et al., 2023] Zhengyang Duan, Hang Chen, and Xing Lin. Optical multi-task learning using multi-wavelength diffractive deep neural networks. Nanophotonics, 2023.
  6. [Feldmann et al., 2019] J Feldmann, N Youngblood, C David Wright, H Bhaskaran, and WHP Pernice. All- optical spiking neurosynaptic networks with self-learning capabilities. Nature, 569(7755):208-214, 2019.
  7. [Gao et al., 2021] Weilu Gao, Cunxi Yu, and Ruiyang Chen. Artificial intelligence accelerators based on graphene op- toelectronic devices. Advanced Photonics Research, 2(6):2100048, 2021.
  8. [Gu et al., 2020] Jiaqi Gu, Zheng Zhao, Chenghao Feng, Mingjie Liu, Ray T Chen, and David Z Pan. Towards area- efficient optical neural networks: an fft-based architecture. In 2020 25th Asia and South Pacific Design Automation Conference (ASP-DAC), pages 476-481. IEEE, 2020.
  9. [Gu et al., 2022] Jiaqi Gu, Hanqing Zhu, Chenghao Feng, Zixuan Jiang, Mingjie Liu, Shuhan Zhang, Ray T Chen, and David Z Pan. Adept: Automatic differentiable de- sign of photonic tensor cores. In Proceedings of the 59th ACM/IEEE Design Automation Conference, pages 937- 942, 2022.
  10. [Jouppi et al., 2017] Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter Performance Analysis of a Tensor Process- ing Unit. Int'l Symp. on Computer Architecture (ISCA), pages 1-12, 2017.
  11. [LeCun, 1998] Yann LeCun. The mnist database of hand- written digits. http://yann.lecun.com/exdb/mnist/, 1998. Accessed: 2022-05-21. Link
  12. [Li and Yu, 2021] Yingjie Li and Cunxi Yu. Late breaking results: physical adversarial attacks of diffractive deep neural networks. In DAC, 2021.
  13. [Li et al., 2021] Yingjie Li, Ruiyang Chen, Berardi Sensale Rodriguez, Weilu Gao, and Cunxi Yu. Multi-task learning in diffractive deep neural networks via hardware-software co-design. Scientific Reports, pages 1-9, 2021.
  14. [Li et al., 2022] Yingjie Li, Ruiyang Chen, Weilu Gao, and Cunxi Yu. Physics-aware differentiable discrete code- sign for diffractive optical neural networks. In Proceed- ings of the 41st IEEE/ACM International Conference on Computer-Aided Design, pages 1-9, 2022.
  15. [Lin et al., 2018] Xing Lin, Yair Rivenson, Nezih T Yardimci, Muhammed Veli, Yi Luo, Mona Jarrahi, and Ay- dogan Ozcan. All-optical machine learning using diffrac- tive deep neural networks. Science, 361(6406):1004- 1008, 2018.
  16. [Lou and et al., 2023] Minhan Lou and et al. Effects of in- terlayer reflection and interpixel interaction in diffractive optical neural networks. Optics Letters, 2023.
  17. [Mengu et al., 2020] Deniz Mengu, Yair Rivenson, and Ay- dogan Ozcan. Scale-, shift-, and rotation-invariant diffrac- tive optical networks. ACS photonics, 8(1):324-334, 2020.
  18. [Mengu et al., 2023] Deniz Mengu, Anika Tabassum, Mona Jarrahi, and Aydogan Ozcan. Snapshot multispectral imag- ing using a diffractive optical network. Light: Science & Applications, 12(1):86, 2023.
  19. [Seshadri et al., 2022] Kiran Seshadri, Berkin Akin, James Laudon, Ravi Narayanaswami, and Amir Yazdanbakhsh. An evaluation of edge tpu accelerators for convolutional neural networks. In 2022 IEEE International Sympo- sium on Workload Characterization (IISWC), pages 79- 91. IEEE, 2022.
  20. [Shen et al., 2017] Yichen Shen, Nicholas C Harris, Scott Skirlo, Mihika Prabhu, Tom Baehr-Jones, Michael Hochberg, Xin Sun, Shijie Zhao, Hugo Larochelle, Dirk Englund, et al. Deep learning with coherent nanophotonic circuits. Nature Photonics, 11(7):441, 2017.
  21. [Strubell et al., 2019] Emma Strubell, Ananya Ganesh, and Andrew McCallum. Energy and policy considerations for deep learning in nlp. arXiv preprint arXiv:1906.02243, 2019.
  22. [Tait et al., 2017] Alexander N Tait, Thomas Ferreira De Lima, Ellen Zhou, Allie X Wu, Mitchell A Nahmias, Bhavin J Shastri, and Paul R Prucnal. Neuromorphic photonic networks using silicon photonic weight banks. Scientific reports, 7(1):1-10, 2017.
  23. [Tang et al., 2023] Yingheng Tang, Princess Tara Zamani, Ruiyang Chen, Jianzhu Ma, Minghao Qi, Cunxi Yu, and Weilu Gao. Device-system end-to-end design of pho- tonic neuromorphic processor using reinforcement learn- ing. Laser & Photonics Reviews, 17(2):2200381, 2023.
  24. [Xiao et al., 2017] Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for bench- marking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
  25. [Yan et al., 2022] Tao Yan, Rui Yang, Ziyang Zheng, Xing Lin, Hongkai Xiong, and Qionghai Dai. All-optical graph representation learning using integrated diffractive pho- tonic computing units. Science Advances, 8(24):eabn7630, 2022.
  26. [Yin et al., 2022] Jiaqi Yin, Zhiru Zhang, and Cunxi Yu. Ex- act memory-and communication-aware scheduling of dnns on pipelined edge tpus. In 2022 IEEE/ACM 7th Sympo- sium on Edge Computing (SEC), pages 203-215. IEEE, 2022.
  27. [Yin et al., 2023] Jiaqi Yin, Yingjie Li, Daniel Robinson, and Cunxi Yu. Respect: Reinforcement learning based edge scheduling on pipelined coral edge tpus. Design Au- tomation Conference (DAC'23), 2023.
  28. [Ying et al., 2020] Zhoufeng Ying, Chenghao Feng, Zheng Zhao, Shounak Dhar, Hamed Dalir, Jiaqi Gu, Yue Cheng, Richard Soref, David Z Pan, and Ray T Chen. Electronic- photonic arithmetic logic unit for high-speed computing. Nature communications, 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards