The invention discloses an
optical diffraction neural network with nonlinear activation, which belongs to the field of
optical computing and structurally comprises an N * 1 MZI array, a
planar optical waveguide, an input
light source, a regulation and control
light source, a photoelectric
detector and a
control unit. Input light is input to the N * 1 MZI array, a
data signal is loaded on the phase shifter
electrode, and the input light enters the
planar optical waveguide after being modulated. A layer of a neural network can be formed by covering a flat optical
waveguide with a phase-change material and a nonlinear material, when light passes through a phase-change material area,
matrix multiplication is equivalent to be executed once, when light passes through a nonlinear material area, a nonlinear
activation function is equivalent to be operated once, a plurality of
layers of structures are arranged, and a
light source regulation and
control algorithm and a
gradient descent algorithm are combined, so that the neural network is formed. Targeted erasing assignment is carried out on the
phase change material, the multilayer
diffraction neural network which is small in occupied area, low in
power consumption and reconfigurable and has nonlinear activation can be achieved, and all operations of the multilayer neural network are achieved on the optical domain.