Skip to main navigation Skip to search Skip to main content

Theoretical study of ReLU nonlinear activation functions in diffractive neural networks

  • Jikai Gao
  • , Zhouqi Zhang
  • , Yuxiang Sun
  • , Nanxing Chen
  • , Zhongjun Li
  • , Fenglei Wang
  • , Shuo Wang
  • , Jingtian Hu*
  • *Corresponding author for this work
  • Harbin Institute of Technology Shenzhen
  • The Chinese University of Hong Kong, Shenzhen
  • School of Astronautics, Harbin Institute of Technology

Research output: Contribution to journalArticlepeer-review

Abstract

This study investigates the impact of the classical rectified linear unit (ReLU) activation function and its derivatives on the inference capability of optical neural networks (ONNs) using a diffractive neural network platform, and it elucidates the relationship between the integration method of nonlinear functions into diffractive neural networks and their learning performance. The results demonstrate that while diffractive networks exhibit strong training adaptability, inappropriate nonlinear functions can compromise their performance. For instance, in a five-layer network, the addition of rectified translational linear unit (RTReLU) after each layer caused a drop in classification accuracy on the MNIST test set to 91.4% due to optical intensity attenuation, compared to the 92.6% attained by a purely linear network. In contrast, incorporating parametric rectified linear unit (PReLU) after each layer preserved post-threshold information, thereby improving the accuracy to 95.8%. In a three-layer network, however, the reduced depth mitigated optical intensity loss, and the resulting network with RTReLU added after each layer outperformed the linear network. Furthermore, it was found that strategic placement of a single RTReLU activation function can significantly enhance performance. For example, a five-layer network with RTReLU added only at the final layer achieved a peak accuracy of 96.6%.

Translated title of the contribution衍射神经网络中修正线性单元非线性函数的理论研究
Original languageEnglish
Article number250234
JournalGuangdian Gongcheng/Opto-Electronic Engineering
Volume52
Issue number11
DOIs
StatePublished - 2025
Externally publishedYes

Keywords

  • PReLU
  • RTReLU
  • diffractive neural networks
  • intensity attenuation
  • nonlinear activation functions

Fingerprint

Dive into the research topics of 'Theoretical study of ReLU nonlinear activation functions in diffractive neural networks'. Together they form a unique fingerprint.

Cite this