The application discloses a deep
optical neural network training method and
system based on a
hybrid mutation strategy
genetic algorithm, and the method comprises the following steps: S1, sequentially stacking a
linear operation layer based on MZIs, a nonlinear activation layer based on EOA and a Dropmask based on a
mask to build an N-layer deep DONN; S2, preprocessing a
data set with different characteristic categories to conform to the
data input size of the DONN; S3, uniformly initializing the DONN
population, combining the MSE and the Accuracy between the real value and the predicted value as the fitness
evaluation function of the individual; S4, taking the exponential
ranking selection ERS and the uniform
crossover UC as the
selection operator and the
crossover operator in the training process, adopting a
hybrid mutation strategy, and distributing three operators, namely, the single-
point mutation SM, the uniform
mutation UM and the
Gaussian mutation GM, to different individuals for mutation according to a dynamic game probability; and S5, adopting a double-elite reservation strategy, reserving two individuals with the optimal MSE and Accuracy performance to the next generation, and through iterative evolution, until a termination condition is met, and a DONN individual with the globally optimal
network parameter is obtained.