This application discloses a method, apparatus, and device for
pruning deep neural networks based on
Gaussian mixture modeling, relating to the field of deep neural network
pruning technology. It addresses the problem that single
pruning strategies in existing technologies can easily lead to model accuracy collapse or convergence difficulties. The solution includes: obtaining a pre-trained deep neural
network model; performing
forward propagation on the deep neural
network model based on sample data to obtain the activation feature values of each
neuron in each
network layer of the deep neural
network model; dividing each
neuron into effective neurons and candidate neurons based on the activation feature values; for candidate neurons, using a
Gaussian mixture model to fit the distribution of the activation feature values of the candidate neurons to distinguish between
signal distributions representing effective information and
noise distributions representing redundant information; and pruning and removing candidate neurons belonging to the
noise distribution based on the fitting results.