본문 바로가기
KERD
논문KCI 등재

GPNPU 아키텍처 설계 및 CNN을 이용한 성능 평가

GPNPU Architecture Design and its Performance Evaluation Using CNN

1

조회

0

다운로드

0

인용

0

참고문헌

키워드

초록

The deep neural networks (DNN) models are applied to diverse fields due to its astonishing performance. The DNN processing requires a huge number of computations with a massive amount of data. To expedite the DNN processing, AI accelerators are typically used. However, most of the proposed accelerator architectures are customized and tailored for a specific type of DNNs. This paper presents a GPNPU (General-Purpose Neural Processing Unit) architecture for efficiently processing various DNNs with instructions optimized for inference. The instructions go through different pipeline stages according to the instruction types. The pipeline stall is avoided with separate register files and corresponding datapath. The GPNPU was designed using Verilog-HDL and ported to UltraScale+ FPGA on ZCU102. It operates at 200 MHz with 0.444 W power consumption. Compared to the baseline, our GPNPU reduces the LUT and Flip-Flop usages by 15.6% and by 0.9%, respectively. Our GPNPU outperforms baseline in terms of execution time and power consumption at the same operating frequency. Additionally, Tiling allows GPNPU to process the convolution operation iteratively with reduced code size and data memory, consequently lowering power consumption. The output stationary dataflow enhances the energy efficiency via data reuse.

Abstract

The deep neural networks (DNN) models are applied to diverse fields due to its astonishing performance. The DNN processing requires a huge number of computations with a massive amount of data. To expedite the DNN processing, AI accelerators are typically used. However, most of the proposed accelerator architectures are customized and tailored for a specific type of DNNs. This paper presents a GPNPU (General-Purpose Neural Processing Unit) architecture for efficiently processing various DNNs with instructions optimized for inference. The instructions go through different pipeline stages according to the instruction types. The pipeline stall is avoided with separate register files and corresponding datapath. The GPNPU was designed using Verilog-HDL and ported to UltraScale+ FPGA on ZCU102. It operates at 200 MHz with 0.444 W power consumption. Compared to the baseline, our GPNPU reduces the LUT and Flip-Flop usages by 15.6% and by 0.9%, respectively. Our GPNPU outperforms baseline in terms of execution time and power consumption at the same operating frequency. Additionally, Tiling allows GPNPU to process the convolution operation iteratively with reduced code size and data memory, consequently lowering power consumption. The output stationary dataflow enhances the energy efficiency via data reuse.

참고문헌 (24)

  1. J. Park, "A Study of NPU Hardware for Convolutional Neural Network Inference in Embedded System", Korean Institute of Information Scientists and Engineers, pp.1488~1490 (2023)
  2. J. W. Jang, "Sparsity-Aware and Re-configurable NPU Architecture for Samsung Flagship Mobile SoC", 2021 ACM, 2021, 15~28
  3. S. Kang, "An Overview of Sparsity Exploitation in CNNs for On-Device Intelligence With Software-Hardware Cross-Layer Optimizations", IEEE Journal on Emerging and Selected Topics in Circuits and Systems, 11(4), pp.634~648 (2021)
  4. Y. H. Chen, "Eyeriss: A Spatial Architecture for Energy-Efficient Dataflow for Convolutional Neural Networks", 2016 ACM, 2016, pp.44(3), 367~379
  5. W. Lu, "FlexFlow: A Flexible Dataflow Accelerator Architecture for Convolutional Neural Networks", 2017 IEEE International Symposium on High Performance Computer Architecture (HPCA), pp.553~564 (2017)
  6. M. E. Elbtity, "High Speed, Approximate Arithmetic Based Convolutional Neural Network Accelerator", 2020 International SoC Design Conference (ISOCC), pp.71~72 (2020)
  7. C. Gao, "DeltaRNN: A Power-efficient Recurrent Neural Network Accelerator", Proceedings of the 2018 ACM, 2018, 21~3054
  8. M. Kim, "Deep Convolutional Neural Network Accelerator Featuring Conditional Computing and Low External Memory Access", 2020 IEEE Custom Integrated Circuits Conference (CICC), pp.1~4 (2020)
  9. J. T. Kuo, "Implementation of a Tile-Grained Pipeline Architecture for CNN Accelerator", 2023IEEE International Conference on Consumer Electronics-Asia (ICCE-Asia), pp.1~4 (2023)
  10. M. Tang, "A Dynamic Computational Memory Address Architecture for Systolic Array CNN Accelerators", 2022 IEEE 24th Int Conf on High Performance Computing &Communications, Cloud & Big Data Systems & Application (HPCC, SmartCity, pp.DependSys), 2022
  11. C. Gao, "FPGA-based Accelerator for Independently Recurrent Neural Network", 2018 IEEE 4th International Conference on Computer and Communications (ICCC), pp.2075~2080 (2018)
  12. L. Song, "PipeLayer: A Pipelined ReRAM-Based Accelerator for Deep Learning", 2017 IEEE International Symposium on High Performance Computer Architecture (HPCA), pp.541~552 (2017)
  13. F. Li, "FSA: A Fine-Grained Systolic Accelerator for Sparse CNNs", IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 39(11), pp.3589~3600 (2020)
  14. G. Kwon, "Design of NPU Simulator and Evaluation of Convolution Acceleration", Master, Computer Science and Engineering, pp.2023
  15. M. Sinha, "Data-flow Aware CNN Accelerator with Hybrid Wireless Interconnection", 2018 IEEE 29th International Conference on Application-specific Systems, Architectures and Processors (ASAP), pp.1~4 (2018)
  16. S. Kim, "Optimization of Scatter Network Architectures and Bank Allocations for Sparse CNN Accelerators", IEEE Access, 10, pp.85864~85879 (2022)
  17. "Introduction to Cloud TPU"[URL]
  18. F. Wu, "A New Accelerator for Convolution Neural Network", 2021 40th Chinese Control Conference (CCC), pp.7982~7985 (2021)
  19. X. He, "Sparse-TPU: Adapting Systolic Arrays for Sparse Matrices", ICS '20: Proceedings of the 34th ACM International Conference on Supercomputing, (19), pp.1~12 (2020)
  20. S. Y. Lin, "Reconfigurable MAC Systolic Array Architecture Design for Three-Dimensional Convolution Neural Network", 2020 IEEE International Conference on Consumer Electronics - Taiwan (ICCE-Taiwan), pp.1~2 (2020)
  21. Z. G. Liu, "Systolic Tensor Array : An Efficient Structured-Sparse GEMM Accelerator for Mobile CNN Inference", IEEE Computer Architecture Letters, 19(1), pp.34~37 (2020)
  22. S. Han, "EIE: Efficient Inference Engine on Compressed Deep Neural Network", 2016 ACM, 2016, pp.44(3), 243~254
  23. A. Parashar, "SCNN: An Accelerator for Compressed sp arse Convolutional Neural Networks", ACM, 2017, pp.45(2), 27~40
  24. T. Chen, "DianNao : A Small-Footprint High-Throughput Accelerator for Ubiquitous Machine-Learning", ACM SIGARCH Computer Architecture News, 42(1), pp.269~284 (2014)

관련 논문AI추천

이 간행물의 다른 논문 (6건)