LSTM的对数系统设计

Yu-Hsiang Huang, Gen-Wei Zhang, Shao-I Chu, Bing-Hong Liu, Chih-Yuan Lien, Su-Wen Huang
{"title":"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":"{\"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}","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

摘要

本文提出了一种基于对数系统(LNS)的神经网络长短期记忆(LSTM)模型的电路结构,以降低硬件成本和功耗。该设计利用分段多项式逼近技术来提高LNS中对数和反对数转换器的计算精度。结果表明,与现有的LNS相比,该方案的计算精度提高了81.5%,电路面积增加了4.37%。通过心音识别分类问题对所提出的LSTM结构进行了实验和验证。在IEEE754单精度格式的传统二进制系统中,识别精度为81.63%。采用近似激活函数所提出的LNS的识别准确率为74.22%,而使用现有LNS的识别准确率为71.75%。虽然精度比传统二进制系统差,但该体系的计算时间减少了38.68%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Design of Logarithmic Number System for LSTM
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%.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信