IEEE transactions on neural networks and learning systems

EMERY: A Distribution-Matched Quantization and Near-Memory Heterogeneous Accelerator on FPGA for Sparse CNN Inference.

Bowen Yao, Xiyuan Peng, Liansheng Liu, Haijun Zhang, Yu Peng

Key points

From the paper's conclusion
  • In addition, the proposed accelerator achieves improvements in throughput and energy efficiency by an average of $4.56\times $ and $4.69\times $ , respectively.

Abstract

In resource-constrained edge devices, the pruning and quantization techniques are commonly employed together to minimize the computational and memory requirements of convolutional neural networks (CNNs). However, quantizing sparse CNNs still poses significant challenges, particularly regarding accuracy loss and computational performance optimization. These challenges primarily arise from the nonuniform distribution of sparse data, the limitations of existing quantization strategies, and the mismatch between hardware resources and the sparse weights of CNNs. To address these challenges, this article proposes a mixed-strategy quantization method for sparse distribution matching and its acceleration technique. By establishing a learning mechanism for sparse CNNs under joint constraints of low-bit-width parameters and heterogeneous field-programmable gate array (FPGA) resources, this method enhances the expressive power of sparse CNNs in low-bit-width data domains and improves computational efficiency on heterogeneous FPGA resources. First, by leveraging the learning mechanism of CNNs, low-bit-width quantization is automatically adapted to the irregular characteristics of sparse weights, thereby reducing quantization errors with traditional uniform strategies. Second, an FPGA-based heterogeneous near-memory computing architecture is designed to align with the computational characteristics of the quantized model. This architecture enhances compatibility between heterogeneous resources and algorithms through a mixed shift-and-multiply operation, while fully leveraging the FPGA's resource advantages. Furthermore, an allocation strategy that co-optimizes heterogeneous hardware and the quantization method is proposed to improve the overall energy efficiency. Finally, compared with the related works, the results show that the proposed quantization method reduces the accuracy loss by 30.43%-95.03% and improves the compression ratio by $3.57\times \sim 127.88\times $ on VGG-16, ResNet-18, and MobileNet-v2. In addition, the proposed accelerator achieves improvements in throughput and energy efficiency by an average of $4.56\times $ and $4.69\times $ , respectively.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers