{"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%.