arrow
Return

Resource efficient activation functions for neural network accelerators

delete2022-04-01
delete7
PRE
AI
A
Adedamola Wuraola *
N
Nitish Patel
DOI:10.1016/j.neucom.2021.11.032delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Activation function
FPGA
Square law
Deep neural network
LSTM

Journal

Neurocomputing cover
Neurocomputing
IF:
6.5
Papers:
2.5W
Citations:
6.5W

Organization

U
University of Auckland
Scholars:
2.3W
Papers: 2.4W
Citations: 3.3W
Cited Papers

Cited Papers

An Intelligent Low-Power Low-Cost Mobile Lab-On-Chip Yeast Cell Culture Platform
err2020-01-01
err6
errOAAI
errLiao, Yumin; Yu, Ningmei; Tian, Dian; Wang, Chen; Li, Shuaijun; Li, Zhengpeng
errShare
errSave
A deep learning-based radiomics model for predicting lymph node status from lung adenocarcinoma
err2024-05-24
err0
errOAAI
errHui Xie; Chaoling Song; Lei Jian; Yeang Guo; Mei Li; Jiang Luo; Qing Li; Tao Tan
errShare
errSave
The Evolution of Combinatorial Gene Regulation in Fungi
err2008-02-26
err0
errOAAI
errBrian B Tuch; David J Galgoczy; Aaron D Hernday; Hao Li; Alexander D Johnson
errShare
errSave
Sugar Cane Nutrient Distribution Analysis
err2011-01-01
err0
PREAI
errC. B. Zamboni; M. A. G. da Silveira; R. F. Gennari; I. Garcia; N. H. Medina; Vito R. Vanin
errShare
errSave
Cross-linkable Polymer Matrix for Enhanced Thermal Stability of Succinonitrile-based Polymer Electrolyte in Lithium Rechargeable Batteries
err2011-12-31
err0
errOAAI
errMyung-Hyun Ryou; Dong-Jin Lee; Je-Nam Lee; Hong-Kyeong Lee; Myung-Won Seo; Hye-Won Lee; Weon-Ho Shin; Yong-Min Lee; Jang-Wook Choi; Jung-Ki Park
errShare
errSave
Soft plus Hardwired attention: An LSTM framework for human trajectory prediction and abnormal event detection
err2018-12-01
err239
errOAAI
errFernando, Tharindu; Denman, Simon; Sridharan, Sridha; Fookes, Clinton
errShare
errSave
The effect of chromium ions on the decomposition of colloidal ferrous hydroxide
err1982-08-01
err0
PREAI
errKatsuya Inouye; Takehiko Takano; Katsumi Kaneko; Tatsuo Ishikawa
errShare
errSave
researcher View more