Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device

In this paper, a Dynamically-Biased Long Short-Term Memory (DB-LSTM) neural network architecture is proposed for artificial intelligence internet of things (AIoT) applications. Different from the conventional LSTM which uses static bias, DB-LSTM adjusts the cell bias dynamically based on the previou...

Full description

Saved in:
Bibliographic Details
Main Authors: Hu, Jinhai, Goh, Wang Ling, Gao, Yuan
Other Authors: School of Electrical and Electronic Engineering
Format: Conference or Workshop Item
Language:English
Published: 2024
Subjects:
Online Access:https://hdl.handle.net/10356/179102
https://ieeexplore.ieee.org/abstract/document/9458508
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-179102
record_format dspace
spelling sg-ntu-dr.10356-1791022024-07-19T15:39:04Z Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device Hu, Jinhai Goh, Wang Ling Gao, Yuan School of Electrical and Electronic Engineering 2021 IEEE 3rd International Conference on Artificial Intelligence Circuits and Systems (AICAS) Institute of Microelectronics, A*STAR Engineering LSTM Fixed-point weight Time series forecasting In this paper, a Dynamically-Biased Long Short-Term Memory (DB-LSTM) neural network architecture is proposed for artificial intelligence internet of things (AIoT) applications. Different from the conventional LSTM which uses static bias, DB-LSTM adjusts the cell bias dynamically based on the previous status. Hence, a DB-LSTM cell contains information of both the previous output and the current cell state. With more information, the DB-LSTM is able to achieve faster training convergence and better accuracy. Furthermore, weight quantization is performed to reduce the weights to either 1-bit or 2-bit, so that the algorithm can be implemented in portable edge device. With the same 100 epochs training setup, more than 70% loss reduction are achieved for floating 32-bit, 1-bit and 2-bit weights, respectively. The loss degradation due to weight quantization is also negligible. The performance of the proposed model is also validated with the classical air passenger forecasting problem. 0.075 loss and 94.96% accuracy are achieved with 2-bit weight when compared to the ground truth, which is comparable to full-length 32-bit weight. Agency for Science, Technology and Research (A*STAR) Submitted/Accepted version This work was supported by Agency for Science, Technology and Research (A*STAR), Singapore under the Nanosystems at the Edge programme (Grant No. A18A1b0055). 2024-07-19T05:13:54Z 2024-07-19T05:13:54Z 2021 Conference Paper Hu, J., Goh, W. L. & Gao, Y. (2021). Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device. 2021 IEEE 3rd International Conference on Artificial Intelligence Circuits and Systems (AICAS). https://dx.doi.org/10.1109/AICAS51828.2021.9458508 978-1-6654-1913-0 https://hdl.handle.net/10356/179102 10.1109/AICAS51828.2021.9458508 https://ieeexplore.ieee.org/abstract/document/9458508 en A18A1b0055 © 2021 IEEE. All rights reserved. This article may be downloaded for personal use only. Any other use requires prior permission of the copyright holder. The Version of Record is available online at http://doi.org/10.1109/AICAS51828.2021.9458508. application/pdf
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering
LSTM
Fixed-point weight
Time series forecasting
spellingShingle Engineering
LSTM
Fixed-point weight
Time series forecasting
Hu, Jinhai
Goh, Wang Ling
Gao, Yuan
Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
description In this paper, a Dynamically-Biased Long Short-Term Memory (DB-LSTM) neural network architecture is proposed for artificial intelligence internet of things (AIoT) applications. Different from the conventional LSTM which uses static bias, DB-LSTM adjusts the cell bias dynamically based on the previous status. Hence, a DB-LSTM cell contains information of both the previous output and the current cell state. With more information, the DB-LSTM is able to achieve faster training convergence and better accuracy. Furthermore, weight quantization is performed to reduce the weights to either 1-bit or 2-bit, so that the algorithm can be implemented in portable edge device. With the same 100 epochs training setup, more than 70% loss reduction are achieved for floating 32-bit, 1-bit and 2-bit weights, respectively. The loss degradation due to weight quantization is also negligible. The performance of the proposed model is also validated with the classical air passenger forecasting problem. 0.075 loss and 94.96% accuracy are achieved with 2-bit weight when compared to the ground truth, which is comparable to full-length 32-bit weight.
author2 School of Electrical and Electronic Engineering
author_facet School of Electrical and Electronic Engineering
Hu, Jinhai
Goh, Wang Ling
Gao, Yuan
format Conference or Workshop Item
author Hu, Jinhai
Goh, Wang Ling
Gao, Yuan
author_sort Hu, Jinhai
title Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
title_short Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
title_full Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
title_fullStr Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
title_full_unstemmed Dynamically-biased fixed-point LSTM for time series processing in AIoT edge device
title_sort dynamically-biased fixed-point lstm for time series processing in aiot edge device
publishDate 2024
url https://hdl.handle.net/10356/179102
https://ieeexplore.ieee.org/abstract/document/9458508
_version_ 1814047166326374400