인공 신경망 가속기 온칩 메모리 크기에 따른 주메모리 접근 횟수 추정에 대한 연구
Research on the Main Memory Access Count According to the On-Chip Memory Size of an Artificial Neural Network
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
이미지 인식 및 패턴 감지를 위해 널리 사용되는 알고리즘 중 하나는 convolution neural network (CNN)이다. CNN에서대부분의 연산량을 차지하는 convolution 연산을 효율적으로 처리하기 위해 외부 하드웨어 가속기를 사용하여 CNN 어플리케이션의 성능을 향상 시킬 수 있다. 이러한 하드웨어 가속기를 사용함에 있어서 CNN은 막대한 연산량을 처리하기 위해 오프칩 DRAM에서 가속기 내부의 메모리로 데이터를 갖고 와야 한다. 즉 오프칩 DRAM과 가속기 내부의 온칩 메모리 혹은글로벌 버퍼 사이의 데이터 통신이 CNN 어플리케이션의 성능에 큰 영향을 끼친다. 본 논문에서는 CNN 가속기 내의 온칩메모리 혹은 글로벌 버퍼의 크기에 따른 주메모리 혹은 DRAM으로의 접근 횟수를 추산할 수 있는 시뮬레이터를 개발하였다. CNN 아키텍처 중 하나인 AlexNet에서, CNN 가속기 내부의 글로벌 버퍼의 크기를 증가시키면서 시뮬레이션 했을 때,글로벌 버퍼 크기가 100kB 이상인 경우가 100kB 미만인 경우보다 가속기 내부와 오프칩 DRAM 간의 접근 횟수가 0.8배 낮은 것을 확인 했다.
Abstract
One widely used algorithm for image recognition and pattern detection is the convolution neural network (CNN). Toefficiently handle convolution operations, which account for the majority of computations in the CNN, we use hardwareaccelerators to improve the performance of CNN applications. In using these hardware accelerators, the CNN fetches datafrom the off-chip DRAM, as the massive computational volume of data makes it difficult to derive performanceimprovements only from memory inside the hardware accelerator. In other words, data communication between off-chipDRAM and memory inside the accelerator has a significant impact on the performance of CNN applications. In this paper,a simulator for the CNN is developed to analyze the main memory or DRAM access with respect to the size of theon-chip memory or global buffer inside the CNN accelerator. For AlexNet, one of the CNN architectures, when simulatedwith increasing the size of the global buffer, we found that the global buffer of size larger than 100kB has 0.8x as lowa DRAM access count as the global buffer of size smaller than 100kB.
참고문헌 (22)
- K. Simonyan, "Very deep convolutional networks for large-scale image recognition" (2015)
- LeCun, Yann, "Gradient-based learning applied to document recognition", IEEE, 86(11) (1998)[DOI]
- C. Farabet, "CNP: An FPGA-based processor for convolutional networks", Field Programmable Logic and Applications, 2009. FPL 2009. International Conference on, pp.32~37 (2009)
- "Google. Improving photo search : A step across the semantic gap"[URL]
- S. Ji, "3D convolutional neural networks for human action recognition", IEEE Trans. Pattern Anal. Mach. Intell, 35(1), pp.221~231 (2013)
- S. Cadambi, "A programmable parallel Accelerator for learning and classification", Proceedings of the 19th international conference on Parallel architectures and compilation techniques, pp.273~284 (2010)
- C. Farabet, "CNP: An FPGA-based processor for convolutional networks", Field Programmable Logic and Applications, 2009. FPL 2009. International Conference, pp.32~37 (2009)
- Y. Ma, "Optimizing the Convolution Operation to Accelerate Deep Neural Networks on FPGA", IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 26(7), pp.1354~1367 (2018)[DOI]
- Lukas Cavigelli, "Origami: A 803GOP", s, IEEE Transactions on Circuits and Systems for Video Technology, pp.2017, 27(11)[DOI]
- V. Gokhale, "A 240 G-ops", s Mobile Coprocessor for Deep Neural Networks, 2014 (2014), ~
- Zidong Du, "Shidiannao:shifting vision processing closer to the sensor", Proceedings of the 42nd. Annual International Symposium on Computer Architecture, pp.92~104 (2015)
- Dao-Fu Liu, "PuDianNao: A Polyvalent Machine Learning Accelerator", ASPLOS ’15 Proceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems, pp.369~381 (2015)
- Y.-H. Chen, "“Eyeriss: An energy-efficient reconfigurable Accelerator for deep convolutional neural networks", IEEE Journal of Solid-State Circuits (JSSC), 52(1), pp.127~138 (2017)[DOI]
- Y.-H. Chen, "Eyeriss:A spatial architecture for energy-efficient dataflow for convolutional neural networks", 43rd Annual International Symposium on Computer Architecture (ISCA) (2016)
- Yunji Chen, "DaDianNao: A Machine-Learning Supercomputer", Proceedings of the 47th Annual IEEE, 2014, ~
- Tianshi Chen, "DianNao: A Small-Footprint High-Throughput Accelerator for Ubiquitous Machine-Learning", ASPLOS ’14 Proceedings of the 19th international conference on Architectural support for programming languages and operating systems, pp.269~284 (2014)
- C. Zhang, "Optimizing FPGA-based Accelerator Design for Deep Convolutional Neural Networks", FPGA (2015)
- Ananda Samajdar, "SCALE-Sim:Systolic CNN Accelerator Simulator" (2018)
- Ananda Samajdar, "A Systematic Methodology for Characterizing Scalability of DNN Accelerators using SCALE-Sim", ISPASS (2020)
- Radu Dogaru, "BCONV-ELM:Binary Weights Convolutional Neural Network Simulator based on Keras", Tensorflow, for Low Complexity Implementations, 2019, ~
- Mengshu Sun, "HSIM-DNN: Hardware Simulator for Computation-, Storage-and Power-Efficient Deep Neural Networks", GLSVLSI, pp.3317996~ (2019)
- Francisco Muñoz-Martínez, "STONNE: A Detailed Architectural Simulator for Flexible Neural Network Accelerators" (2020)
