Abstract:To address the high computational cost and storage demands of deep neural networks in tasks such as image classification, a model compression method combining structured pruning and knowledge distillation is proposed to maintain or even enhance performance while compressing the model. The method employs L1-regularized structured pruning to reduce parameters and computational load while preserving key feature extraction capabilities. Subsequently, output-guided knowledge distillation is applied, integrating cross-entropy loss and KL divergence to transfer the teacher model’s logits distribution to the student model for performance recovery. Optuna is further utilized for automated hyperparameter tuning, optimizing distillation temperature, learning rate, and loss weights to enhance distillation efficiency. Experimental results show that this method reduces the size of the VGG19_BN model by 55%–90% and computational load by 40%–74%, while improving accuracy by 3.82% and maintaining strong generalization capability.