Research Article

Research on Neural Network Compression and FPGA Acceleration Based on Quantization and Pruning

Xuan Zhuo*
School of Instrumentation science and Opto-electronics Engineering, Beijing Information Science & Technology University, Beijng, 100000, China

* Corresponding author: [email protected]

Abstract

Aiming at the problem that the original AlexNet convolutional neural network suffers from massive parameters and high floating-point computational overhead, which hinders real-time deployment on the Zynq FPGA embedded platform, this paper proposes a joint model compression scheme combining structured channel pruning and KL-divergence-based INT8 quantization. First, L1 regularization is applied for sparse training; 50 % low-contribution convolutional channels are pruned, followed by fine-tuning to restore model accuracy. KL-divergence calibration is then adopted to implement 8-bit integer quantization, which lightweight the model in terms of both computation and storage. Model training and compression are completed with PyTorch, while inference simulation and FPGA deployment are realized via TensorRT and Vivado. Ablation and comparative experiments are carried out on three datasets: COVID-19 chest X-ray images, the German Traffic Sign Recognition Benchmark (GTSRB), and CIFAR-10. Furthermore, dual visualization including Grad-CAM heatmaps and overlaid inference plots is adopted to analyze how lightweight operations affect feature extraction. Experimental results show that the joint pruning-plus-quantization scheme reduces model parameters from 60 M to 28 M, compresses model volume by 88 %, shortens single-image inference latency from 2.40 ms to 0.72 ms with a 3.3-fold speedup, and only brings 0.54 % classification accuracy drop. Visualization demonstrates that the lightweight model can accurately locate target objects with only minor degradation in fine-texture recognition. Under controllable accuracy loss, the proposed scheme significantly cuts hardware resource consumption and provides a practical lightweight solution for portable FPGA-based image-recognition systems in medical and vehicular scenarios.

Keywords: Convolutional Neural Network; AlexNet; Channel Pruning; INT8 Quantization; Zynq FPGA
Published: October 27, 2026
DOI: 10.54254/2755-2721/2026.38110
Volume: ACE Vol.266
pp. 8-16
Download PDF

References

  1. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017). ImageNet classification with deep convolutional neural networks.Communications of the ACM, 60(6), 84-90.
  2. Sang, X. T. (2023). Research on image-recognition acceleration method based on FPGA hardware-software co-design [Doctoral dissertation]. Zhongyuan University of Technology.
  3. Qiu, J., Wang, J., Yao, S., Guo, K., Li, B., Zhou, E., Yu, J., Tang, T., Xu, N., Song, S., Wang, Y., & Yang, H. (2016). Going deeper with embedded FPGA platform for convolutional neural network. InProceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays (FPGA '16)(pp. 26-35). Association for Computing Machinery.New York, NY, USA.https://doi.org/10.1145/2847263.2847265
  4. Vandersteegen, M., Van Beeck, K., & Goedemé, T. (2021). Integer-only CNNs with 4 bit weights and bit-shift quantization scales at full-precision accuracy.Electronics, 10(23), 2823.
  5. Banner, R., Hubara, I., Hoffer, E., & Soudry, D. (2018). Scalable methods for 8-bit training of neural networks.Neural Information Processing Systems.