An Accurate and Compact Hyperbolic Tangent and Sigmoid Computation Based Stochastic Logic

Van-Tinh Nguyen, Tieu-Khanh Luong, E. Popovici, Quang-Kien Trinh, Renyuan Zhang, Y. Nakashima
{"title":"An Accurate and Compact Hyperbolic Tangent and Sigmoid Computation Based Stochastic Logic","authors":"Van-Tinh Nguyen, Tieu-Khanh Luong, E. Popovici, Quang-Kien Trinh, Renyuan Zhang, Y. Nakashima","doi":"10.1109/MWSCAS47672.2021.9531838","DOIUrl":null,"url":null,"abstract":"In this paper, a proof-of-concept implementation of hyperbolic tanh(ax) and sigmoid(2ax) functions for high-precision as well as compact computational hardware based on stochastic logic is presented. Nonlinear activation introducing the non-linearity in the learning process is one of the critical building blocks of artificial neural networks. Hyperbolic tangent and sigmoid are the most commonly used nonlinear activation functions in machine-learning system such as neural networks. This work demonstrates the stochastic computation of tanh(ax) and sigmoid(2ax) functions-based Bernstein polynomial using a bipolar format. The format conversion from bipolar to unipolar format is involved in our implementation. One achievement is that our proposed implementation is more accurate than the state-of-the-arts including FSM based method, JK-FF and general unipolar division. On average, 90% of improvement of this work in terms of mean square error (MAE) has been achieved while the hardware cost and power consumption are comparable to the previous approaches.","PeriodicalId":6792,"journal":{"name":"2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS)","volume":"17 1","pages":"386-390"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MWSCAS47672.2021.9531838","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In this paper, a proof-of-concept implementation of hyperbolic tanh(ax) and sigmoid(2ax) functions for high-precision as well as compact computational hardware based on stochastic logic is presented. Nonlinear activation introducing the non-linearity in the learning process is one of the critical building blocks of artificial neural networks. Hyperbolic tangent and sigmoid are the most commonly used nonlinear activation functions in machine-learning system such as neural networks. This work demonstrates the stochastic computation of tanh(ax) and sigmoid(2ax) functions-based Bernstein polynomial using a bipolar format. The format conversion from bipolar to unipolar format is involved in our implementation. One achievement is that our proposed implementation is more accurate than the state-of-the-arts including FSM based method, JK-FF and general unipolar division. On average, 90% of improvement of this work in terms of mean square error (MAE) has been achieved while the hardware cost and power consumption are comparable to the previous approaches.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于随机逻辑的精确紧凑双曲正切和s型计算
本文提出了一种基于随机逻辑的高精度和紧凑计算硬件的双曲tanh(ax)和sigmoid(2ax)函数的概念证明实现。在学习过程中引入非线性的非线性激活是人工神经网络的关键组成部分之一。双曲正切函数和s型函数是神经网络等机器学习系统中最常用的非线性激活函数。本工作演示了使用双极格式的tanh(ax)和sigmoid(2ax)函数的Bernstein多项式的随机计算。从双极到单极格式的格式转换涉及到我们的实现。其中一个成果是我们提出的实现比目前最先进的包括基于FSM的方法,JK-FF和一般单极划分更准确。平均而言,在硬件成本和功耗与之前的方法相当的情况下,该方法在均方误差(MAE)方面实现了90%的改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Hybrid Frequency Domain Simulation Method to Speed-up Analysis of Injection Locked Oscillators SaFIoV: A Secure and Fast Communication in Fog-based Internet-of-Vehicles using SDN and Blockchain Capacitor-Less Memristive Integrate-and-Fire Neuron with Stochastic Behavior Polynomial Filters with Controllable Overshoot In Their Step Transient Responses A low kickback noise and low power dynamic comparator
×
引用
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