컨볼루션 신경망을 기반으로 한 FPGA 딥러닝 가속
FPGA deep learning acceleration based on convolutional neural network
FPGA deep learning acceleration based on convolutional neural network
@misc{jun2020fpga,
title = {FPGA deep learning acceleration based on convolutional neural network},
author = {Xiong Jun},
year = {2020},
eprint = {2012.03672},
archivePrefix = {arXiv},
primaryClass = {cs.AR},
url = {https://arxiv.org/abs/2012.03672}
}
Jun, X. (2020). FPGA deep learning acceleration based on convolutional neural network [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.03672
JUN X. FPGA deep learning acceleration based on convolutional neural network[EB/OL]. (2020-11-17)[2026-11-29]. https://arxiv.org/abs/2012.03672.
초록
컨볼루션 신경망 (CNN) 의 대규모 연산량과 긴 계산 시간을 고려하여, 필드 프로그래머블 게이트 어레이 (FPGA) 를 기반으로 한 CNN 하드웨어 가속기를 제안한다. 먼저, 컨볼루션 레이어의 전진 연산 원리를 심층 분석하고 컨볼루션 연산의 병렬성을 탐구하여 입력 채널 병렬성, 출력 채널 병렬성 및 컨볼루션 윈도우 심층 파이프라인을 갖춘 하드웨어 아키텍처를 설계한다. 이후 해당 아키텍처 내에서 컨볼루션 연산을 가속화하기 위한 완전 병렬 곱셈 - 가산 트리 모듈과 컨볼루션 윈도우 파이프라인 동작을 구현하기 위한 효율적인 윈도우 버퍼 모듈을 설계한다. 최종 실험 결과는 제안된 가속기의 에너지 효율 비율이 32.73 GOPS/W 로 기존 솔루션 대비 34% 높으며, 성능은 317.86 GOPS 를 달성함을 보여준다.
In view of the large amount of calculation and long calculation time of convolutional neural network (CNN), this paper proposes a convolutional neural network hardware accelerator based on field programmable logic gate array (FPGA). First, through in-depth analysis of the forward operation principle of the convolutional layer and exploration of the parallelism of the convolutional layer operation, a hardware architecture of input channel parallelism, output channel parallelism and convolution window deep pipeline is designed. Then in the above architecture, a fully parallel multiplication-addition tree module is designed to accelerate the convolution operation and an efficient window buffer module to implement the pipeline operation of the convolution window. The final experimental results show that the energy efficiency ratio of the accelerator proposed in this article reaches 32.73 GOPS/W, which is 34% higher than the existing solution, and the performance reaches 317.86 GOPS.