The invention provides a multi-target neural architecture search method and
system based on a gradient similarity hypernet, and the method comprises the steps: constructing a hypernet, and generating a shared weight through training; in the training process, a gradient norm importance sampling strategy is adopted, the sampling probability of paths and data is dynamically optimized, and architecture and data which have great influence on weight updating are preferentially selected, so that the efficiency is improved. For gradient conflicts in multi-objective optimization, a PCGrad
projection method is introduced, gradient similarity dynamic dominant direction selection and
gradient projection are calculated, conflicts are reduced, and the optimization process is stabilized. After super-network training,
population inheritance sharing weight is initialized, performance is obtained on a target
data set, non-dominated sorting and optimization are carried out through an
evolutionary algorithm, and it is ensured that balanced performance is achieved on the targets of precision,
floating point calculation times, parameter quantity and the like. According to the method, on the premise of ensuring multi-target balance optimization, the calculation cost is effectively reduced, and the efficiency and the performance of
neural network architecture search are improved.