Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (9): 2732-2740.DOI: 10.11772/j.issn.1001-9081.2025081055

• Artificial intelligence • Previous Articles    

CNN pruning and quantization compression method for reconfigurable structures

Yixin ZHANG1, Lin JIANG2(), Yuancheng LI3, Chen JI3   

  1. 1.College of Electrical and Control Engineering,Xi’an University of Science and Technology,Xi’an Shaanxi 710600,China
    2.School of Information Science and Technology,Northwest University,Xi’an Shaanxi 710127,China
    3.College of Artificial Intelligence and Computer Science,Xi’an University of Science and Technology,Xi’an Shaanxi 710600,China
  • Received:2025-09-11 Revised:2025-11-17 Accepted:2025-11-20 Online:2025-12-01 Published:2026-09-10
  • Contact: Lin JIANG
  • About author:ZHANG Yixin, born in 1999, M. S. candidate. Her research interests include neural network model compression, reconfigurable computing.
    JIANG Lin, born in 1970, Ph. D., professor. His research interests include application specific integrated circuit design, computer architecture.
    LI Yuancheng, born in 1981, Ph. D., associate professor. His research interests include computer architecture, high-performance computing.
    JI Chen, born in 2000, M. S. candidate. His research interests include neural network lightweighting.
  • Supported by:
    National Science and Technology Major Program on “Next-Generation Artificial Intelligence”(2022ZD0119005);Natural Science Basic Research Program of Shaanxi Province(2025JC-YBMS-754)

面向可重构结构的CNN剪枝与量化压缩方法

张一心1, 蒋林2(), 李远成3, 纪辰3   

  1. 1.西安科技大学 电气与控制工程学院,西安 710600
    2.西北大学 信息科学与技术学院,西安 710127
    3.西安科技大学 人工智能与计算机学院,西安 710600
  • 通讯作者: 蒋林
  • 作者简介:张一心(1999—),女,河南周口人,硕士研究生,CCF会员,主要研究方向:神经网络模型压缩、可重构计算
    蒋林(1970—),男,陕西杨凌人,教授,博士生导师,博士,主要研究方向:专用集成电路设计、计算机体系结构
    李远成(1981—),男,河南开封人,副教授,博士,CCF会员,主要研究方向:计算机体系结构、高性能计算
    纪辰(2000—),男,陕西咸阳人,硕士研究生,CCF会员,主要研究方向:神经网络轻量化。
  • 基金资助:
    新一代人工智能国家科技重大专项(2022ZD0119005);陕西省自然科学基础研究计划项目(2025JC-YBMS-754);陕西省自然科学基础研究计划项目(2024JC-YBMS-539)

Abstract:

To address the problems of high memory access overhead, redundant computation, and limited efficient deployment caused by the large parameter size of Convolutional Neural Networks (CNNs), a CNN pruning and quantization compression method for reconfigurable structures was proposed to integrate network structure characteristics and hardware deployment requirements, and to perform co-optimization from both pruning and quantization dimensions. First, a convolutional layer pruning strategy based on feature similarity was introduced, in which feature evaluation, cluster and grouping, similarity calculation, and redundancy removal were performed in turn to filter out low-contribution and redundant filters. Second, progressive threshold pruning was applied at the fully connected layers to compress redundant weights. Third, in the quantization part, layer sensitivity indices were constructed using Hessian traces, and the precision of each layer was assigned adaptively under a bit-width budget. Finally, combining the characteristics of reconfigurable structures, an optimized deployment scheme was designed. Experimental results on the CIFAR-10 dataset show that the proposed method achieves a compression ratio of 16.2x for VGG16, surpassing Automated deep neural network Pruning and Quantization framework (APQ) (13.9x). Compared to the model using fixed 16-bit precision, the pruned VGG16 using the proposed deployment scheme on a self-reconfigurable and self-evolvable Artificial Intelligence (AI) chip has the inference latency reduced from 23.3 ms to 9.1 ms, achieving a 2.56x speedup. It can be seen that the proposed method reduces the storage and transmission costs while maintaining the classification accuracy, improving the deployment efficiency and computational performance on edge devices.

Key words: reconfigurable structure, Convolutional Neural Network (CNN), model compression, structured pruning, adaptive quantization, Artificial Intelligence (AI) chip

摘要:

针对卷积神经网络(CNN)参数量大导致访存开销大、计算冗余和高效部署受限等问题,提出一种面向可重构结构的CNN剪枝与量化压缩方法,结合网络结构特性与硬件部署需求,从剪枝与量化两个维度协同优化。首先,提出基于特征相似的卷积层剪枝策略,依次经过特征信息评估、聚类分组、相似度计算和冗余筛选,筛选低贡献及冗余滤波器;其次,在全连接层采用渐进式阈值剪枝压缩冗余权重;再次,在量化部分利用Hessian迹构建层敏感度指标,在位宽预算下自适应地分配各层精度;最后,结合可重构结构特性,提出优化部署方案。实验结果表明,在CIFAR-10数据集上,本文方法对VGG16实现了16.20倍的压缩比,相较于APQ(Automated deep neural network Pruning and Quantization framework)的13.90倍具备更高压缩比;与16 bit固定精度的模型相比,采用本文部署策略后,剪枝后的VGG16在自重构自演化人工智能(AI)芯片上的推理时延由23.3 ms降至9.1 ms,加速比达2.56倍。本文方法在保证分类准确率的同时降低了存储与传输开销,提升了边缘设备部署效率与计算性能。

关键词: 可重构结构, 卷积神经网络, 模型压缩, 结构化剪枝, 自适应量化, 人工智能芯片

CLC Number: