Implementation of stochastic computing in activation functions using stochastic arithmetic components

P. Ashok, B. T. Sundari
{"title":"Implementation of stochastic computing in activation functions using stochastic arithmetic components","authors":"P. Ashok, B. T. Sundari","doi":"10.1109/I2CT57861.2023.10126491","DOIUrl":null,"url":null,"abstract":"A new computing method using stochastic-based numbers is gaining importance as an approximate computing method to save area, energy, and computation time based on the accuracy required. This works uses stochastic computing, which is suitable for enhancing the efficiency of neural network. Herein we focus on developing activation functions that are essential parameters in the design of neural networks. The activation function in stochastic computing is typically a threshold function that maps the input bits to a binary output based on a probability distribution. This paper presents the development of modified activation functions tanh and COS using SC-based arithmetic components. Two different types of stochastic number generators (SNGs) have been used. Error analysis has been done based on the computation using two SNGs. Also, accuracy measurement is performed using error analysis for these complex functions mentioned above.","PeriodicalId":150346,"journal":{"name":"2023 IEEE 8th International Conference for Convergence in Technology (I2CT)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-04-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 8th International Conference for Convergence in Technology (I2CT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/I2CT57861.2023.10126491","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A new computing method using stochastic-based numbers is gaining importance as an approximate computing method to save area, energy, and computation time based on the accuracy required. This works uses stochastic computing, which is suitable for enhancing the efficiency of neural network. Herein we focus on developing activation functions that are essential parameters in the design of neural networks. The activation function in stochastic computing is typically a threshold function that maps the input bits to a binary output based on a probability distribution. This paper presents the development of modified activation functions tanh and COS using SC-based arithmetic components. Two different types of stochastic number generators (SNGs) have been used. Error analysis has been done based on the computation using two SNGs. Also, accuracy measurement is performed using error analysis for these complex functions mentioned above.
利用随机算法组件实现激活函数中的随机计算
一种新的基于随机数字的计算方法作为一种近似计算方法,在满足精度要求的基础上,节省了面积、能量和计算时间,越来越受到重视。本文采用随机计算方法,适合于提高神经网络的效率。在这里,我们的重点是开发激活函数,这是神经网络设计中必不可少的参数。随机计算中的激活函数通常是一个阈值函数,它将输入位映射到基于概率分布的二进制输出。本文介绍了利用基于sc的算法组件开发改进的激活函数tanh和COS。两种不同类型的随机数字发生器(sng)已经被使用。基于两个单气源的计算,进行了误差分析。此外,使用误差分析对上述复杂函数进行精度测量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信