返回
Resource efficient activation functions for neural network accelerators
DOI:10.1016/j.neucom.2021.11.032.png)
摘要
En 中文
Implementations of machine learning models in resource-limited embedded systems are becoming highly desired. This has led to a need for resource-efficient building blocks for computing the mathematical operations required for neural network training and inferencing. Efficient activation functions for low-end hardware devices with limited hardware capabilities are important. In this work, we present a method for generating symmetric and asymmetric activation functions for deep and convolution neural networks. Furthermore, we propose a solution that simultaneously computes a symmetric activation function with an integrated scaling functionality for Long Short Term Memory (LSTM) models. This effectively eliminates two of the three element-wise multipliers in an LSTM cell. Also, this built-in scaling requires no additional computation time because it is integrated within the computation of the symmetric non-linear mapping. This approach replaces the need to compute several Tanh activation functions and element-wise multipliers separately. A resource-efficient approximate multiplier is also proposed to eliminate the third element-wise multiplier and potentially replace all the resource-hungry multipliers. The digital implementation of the proposed method is highly amenable to parallelization and is extremely resource-efficient. We record an area-saving on field-programmable gate arrays with different precision. Our proposal's formulaic equivalents are also computationally fast on CPU-based engines. On an embedded ARM processor, our method achieves a speedup of at least 4.37x for the proposed functions. We show that LSTMs with our method can achieve up to 3.5x resource footprint saving when compared to the hard activation implementation. We demonstrate that our method achieves competitive results with negligible loss of performance. (C) 2021 Elsevier B.V. All rights reserved.
Keyword:
Activation function
FPGA
Square law
Deep neural network
LSTM
期刊
IF:
6.5
论文数:
2.5W
被引数:
6.5W
机构
引用论文
A deep learning-based radiomics model for predicting lymph node status from lung adenocarcinoma一种基于深度学习的放射组学模型,用于预测肺腺癌的淋巴结状态
Cross-linkable Polymer Matrix for Enhanced Thermal Stability of Succinonitrile-based Polymer Electrolyte in Lithium Rechargeable Batteries可交联聚合物基质,用于增强锂可充电电池中基于丁二腈的聚合物电解质的热稳定性
Soft plus Hardwired attention: An LSTM framework for human trajectory prediction and abnormal event detection
NEURAL NETWORKS
IF6.3
Fast generalization error bound of deep learning without scale invariance of activation functions
NEURAL NETWORKS
IF6.3

