深層学習の加速に向けたハードウェアおよびソフトウェア最適化:現在のトレンド、課題,および今後の展望
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)という脳に着想を得た 2 つのモデルの主要な特性を概説し、効率的かつ高性能な設計を生成するための手法を分析する。さらに、CPU、GPU、FPGA、ASIC の 4 つの主要な実行プラットフォームについて、最先端の主要解決策を記述し、特に設計の柔軟性が高く、推論プロセスにおいて特に高いエネルギー効率を有する可能性を秘める最後の 2 つの解決策に重点を置いた比較を行う。ハードウェア解決策に加え、本稿では 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.