딥러닝 가속화를 위한 하드웨어 및 소프트웨어 최적화: 현재 동향, 과제 및 미래 전망
Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead
Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead
@misc{capra2020hardware,
title = {Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead},
author = {Maurizio Capra and Beatrice Bussolino and Alberto Marchisio and Guido Masera and Maurizio Martina and Muhammad Shafique},
year = {2020},
eprint = {2012.11233},
archivePrefix = {arXiv},
primaryClass = {cs.AR},
url = {https://arxiv.org/abs/2012.11233}
}
Capra, M., Bussolino, B., Marchisio, A., Masera, G., Martina, M., & Shafique, M. (2020). Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.11233
CAPRA M, BUSSOLINO B, MARCHISIO A, et al. Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead[EB/OL]. (2020-12-21)[2026-11-30]. https://arxiv.org/abs/2012.11233.
초록
현재 머신러닝 (ML) 은 일상생활에 광범위하게 도입되고 있다. 딥러닝 (DL) 은 의료용 컴퓨터 비전부터 현대 자동차의 자율주행까지, 보안, 의료, 금융 등 다양한 분야에 적용되어 있다. 그러나 뛰어난 성능을 달성하기 위해 이러한 알고리즘은 매우 깊은 네트워크를 사용하며, 이는 학습 및 추론 단계 모두에서 상당한 계산 자원을 요구한다. 단일 DL 모델의 추론만으로도 수십억 개의 곱셈 및 축적 연산이 필요할 정도로 DL 은 계산 및 에너지 집약적이다. 여러 고도화된 알고리즘이 제한된 에너지와 낮은 지연 시간 환경에서 실행되어야 하는 시나리오에서는 에너지 효율적인 DL 실행을 구현할 수 있는 비용 효율적인 하드웨어 플랫폼의 필요성이 대두된다. 본 논문은 먼저 딥 신경망 (DNN) 과 스파이킹 신경망 (SNN) 과 같은 두 가지 뇌에 영감을 받은 모델의 핵심 특성을 소개한 뒤, 효율적이고 고성능의 설계로 이를 생성하는 기법을 분석한다. 본 작업은 CPU, GPU, FPGA, ASIC 를 포함한 알고리즘 실행을 위한 네 가지 주요 플랫폼의 관련 연구를 요약하고 비교하며, 최신 기술의 주요 해결책을 설명한다. 특히 추론 과정에서 더 큰 설계 유연성을 제공하며 높은 에너지 효율성을 가질 잠재력을 지닌 마지막 두 가지 해결책에 중점을 둔다. 하드웨어 솔루션 외에도, 본 논문은 DNN 과 SNN 모델이 실행 중에 겪을 수 있는 중요한 보안 문제를 논의하고, 해당 네트워크 및 하드웨어 시스템의 품질을 평가하는 방법을 설명하는 포괄적인 벤치마킹 섹션을 제공한다.
Currently, Machine Learning (ML) is becoming ubiquitous in everyday life. Deep Learning (DL) is already present in many applications ranging from computer vision for medicine to autonomous driving of modern cars as well as other sectors in security, healthcare, and finance. However, to achieve impressive performance, these algorithms employ very deep networks, requiring a significant computational power, both during the training and inference time. A single inference of a DL model may require billions of multiply-and-accumulated operations, making the DL extremely compute- and energy-hungry. In a scenario where several sophisticated algorithms need to be executed with limited energy and low latency, the need for cost-effective hardware platforms capable of implementing energy-efficient DL execution arises. This paper first introduces the key properties of two brain-inspired models like Deep Neural Network (DNN), and Spiking Neural Network (SNN), and then analyzes techniques to produce efficient and high-performance designs. This work summarizes and compares the works for four leading platforms for the execution of algorithms such as CPU, GPU, FPGA and ASIC describing the main solutions of the state-of-the-art, giving much prominence to the last two solutions since they offer greater design flexibility and bear the potential of high energy-efficiency, especially for the inference process. In addition to hardware solutions, this paper discusses some of the important security issues that these DNN and SNN models may have during their execution, and offers a comprehensive section on benchmarking, explaining how to assess the quality of different networks and hardware systems designed for them.