再帰的ニューラルネットワーク:埋め込み計算からの視点
Recurrent Neural Networks: An Embedded Computing Perspective
Recurrent Neural Networks: An Embedded Computing Perspective
@misc{rezk2019recurrent,
title = {Recurrent Neural Networks: An Embedded Computing Perspective},
author = {Nesma M. Rezk and Madhura Purnaprajna and Tomas Nordström and Zain Ul-Abdin},
year = {2019},
eprint = {1908.07062},
archivePrefix = {arXiv},
primaryClass = {cs.NE},
url = {https://arxiv.org/abs/1908.07062}
}
Rezk, N. M., Purnaprajna, M., Nordström, T., & Ul-Abdin, Z. (2019). Recurrent Neural Networks: An Embedded Computing Perspective [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.07062
REZK NM, PURNAPRAJNA M, NORDSTRÖM T, et al. Recurrent Neural Networks: An Embedded Computing Perspective[EB/OL]. (2019-07-23)[2026-11-30]. https://arxiv.org/abs/1908.07062.
要旨
リカレントニューラルネットワーク(RNN)は、時系列データおよび順列データを用いるアプリケーションに用いられる機械学習アルゴリズムの一種である。最近、RNN を埋め込みデバイス上で実行する関心が高まっている。しかし、RNN が高い計算能力と大規模なメモリ空間を必要とするため、実装上の困難が生じている。本稿では、埋め込みプラットフォームにおける既存の RNN モデルの実装をレビューし、埋め込みシステムの限界を克服するために採用された手法について議論する。RNN アルゴリズムを埋め込みプラットフォーム上にマッピングする目的と、その実現に直面する課題を定義する。次に、実装の観点から RNN モデルの構成要素を説明する。また、埋め込みプラットフォーム上で効率的に動作させるために適用された最適化手法についても議論する。最後に、定義された目的と実装を比較し、埋め込み RNN において現在解決されていないいくつかのオープンな研究課題と側面を指摘する。全体として、RNN モデルへのアルゴリズム的最適化とメモリアクセスオーバーヘッドの低減は、高い効率性を獲得するために不可欠である。さらに実装効率を向上させるために、将来の研究で適用が有望である最適化手法を指摘する。また、本稿では、多くの実装が高性能を目標としているのに対し、柔軟性はこれまであまり試みられていないことを観察する。したがって、本稿は RNN ハードウェア設計者に対し、柔軟性をより効果的に支援するための若干の指針を提供する。
Recurrent Neural Networks (RNNs) are a class of machine learning algorithms used for applications with time-series and sequential data. Recently, there has been a strong interest in executing RNNs on embedded devices. However, difficulties have arisen because RNN requires high computational capability and a large memory space. In this paper, we review existing implementations of RNN models on embedded platforms and discuss the methods adopted to overcome the limitations of embedded systems. We will define the objectives of mapping RNN algorithms on embedded platforms and the challenges facing their realization. Then, we explain the components of RNN models from an implementation perspective. We also discuss the optimizations applied to RNNs to run efficiently on embedded platforms. Finally, we compare the defined objectives with the implementations and highlight some open research questions and aspects currently not addressed for embedded RNNs. Overall, applying algorithmic optimizations to RNN models and decreasing the memory access overhead is vital to obtain high efficiency. To further increase the implementation efficiency, we point up the more promising optimizations that could be applied in future research. Additionally, this article observes that high performance has been targeted by many implementations, while flexibility has, as yet, been attempted less often. Thus, the article provides some guidelines for RNN hardware designers to support flexibility in a better manner.