Design of Logarithmic Number System for LSTM

Yu-Hsiang Huang, Gen-Wei Zhang, Shao-I Chu, Bing-Hong Liu, Chih-Yuan Lien, Su-Wen Huang
{"title":"Design of Logarithmic Number System for LSTM","authors":"Yu-Hsiang Huang, Gen-Wei Zhang, Shao-I Chu, Bing-Hong Liu, Chih-Yuan Lien, Su-Wen Huang","doi":"10.1109/ICASI57738.2023.10179504","DOIUrl":null,"url":null,"abstract":"This paper presents a circuit architecture of the long short-term memory (LSTM) model for neural networks by applying a logarithmic number system (LNS) with an aim to reducing the hardware cost and power consumption. The proposed design exploits the piece-wise polynomial approximation technique to enhance the computing accuracy of logarithmic and anti-logarithmic converters in LNS. Results show that the computing accuracy of the developed scheme has an improvement of 81.5% only with an increase of 4.37% in the circuit area over the existing LNS. The proposed LSTM architecture is experimented and verified by the heart sound recognition classification problem. The recognition accuracy is 81.63% in the conventional binary system with IEEE754 single-precision format. The proposed LNS with the approximated activation functions shows a recognition accuracy of 74.22%, while the recognition accuracy is 71.75% by using the existing LNS. Although the accuracy is worse than that of the traditional binary system, the computing time of the presented architecture is reduced by 38.68%.","PeriodicalId":281254,"journal":{"name":"2023 9th International Conference on Applied System Innovation (ICASI)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 9th International Conference on Applied System Innovation (ICASI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICASI57738.2023.10179504","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This paper presents a circuit architecture of the long short-term memory (LSTM) model for neural networks by applying a logarithmic number system (LNS) with an aim to reducing the hardware cost and power consumption. The proposed design exploits the piece-wise polynomial approximation technique to enhance the computing accuracy of logarithmic and anti-logarithmic converters in LNS. Results show that the computing accuracy of the developed scheme has an improvement of 81.5% only with an increase of 4.37% in the circuit area over the existing LNS. The proposed LSTM architecture is experimented and verified by the heart sound recognition classification problem. The recognition accuracy is 81.63% in the conventional binary system with IEEE754 single-precision format. The proposed LNS with the approximated activation functions shows a recognition accuracy of 74.22%, while the recognition accuracy is 71.75% by using the existing LNS. Although the accuracy is worse than that of the traditional binary system, the computing time of the presented architecture is reduced by 38.68%.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
LSTM的对数系统设计
本文提出了一种基于对数系统(LNS)的神经网络长短期记忆(LSTM)模型的电路结构,以降低硬件成本和功耗。该设计利用分段多项式逼近技术来提高LNS中对数和反对数转换器的计算精度。结果表明,与现有的LNS相比,该方案的计算精度提高了81.5%,电路面积增加了4.37%。通过心音识别分类问题对所提出的LSTM结构进行了实验和验证。在IEEE754单精度格式的传统二进制系统中,识别精度为81.63%。采用近似激活函数所提出的LNS的识别准确率为74.22%,而使用现有LNS的识别准确率为71.75%。虽然精度比传统二进制系统差,但该体系的计算时间减少了38.68%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Intelligent Detection of Disinformation Based on Chronological and Spatial Topologies Cluster based Indexing for Spatial Analysis on Read-only Database Straight-line Generation Approach using Deep Learning for Mobile Robot Guidance in Lettuce Fields Leveraging the Objective Intelligibility and Noise Estimation to Improve Conformer-Based MetricGAN Analysis of Eye-tracking System Based on Diffractive Waveguide
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1