arrow
返回

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
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

U
University of Auckland
学者数:
2.3W
论文数: 2.4W
被引数: 3.3W
引用论文

引用论文

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
err分享
err收藏
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
err分享
err收藏
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
err分享
err收藏
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
err分享
err收藏
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
err分享
err收藏
学者 查看更多内容