Approximate Divider Design Based on Counting-Based Stochastic Computing Division

Shuyuan Yu, Yibo Liu, S. Tan
{"title":"Approximate Divider Design Based on Counting-Based Stochastic Computing Division","authors":"Shuyuan Yu, Yibo Liu, S. Tan","doi":"10.1109/MLCAD52597.2021.9531079","DOIUrl":null,"url":null,"abstract":"Stochastic computing (SC) promises extremely low cost and energy efficiency for error-tolerant arithmetic operations in many emerging applications such as image processing and deep neural networks. Existing SC-based nonlinear functions like division, however, require highly correlated bit-streams, which does not fit well with the existing SC computing framework in which randomness is required for accuracy. In this paper, we propose a novel SC-based divider design based on recently proposed counting-based stochastic computing scheme, which is much more accurate and faster than traditional SC, and does not depend on randomness of bit-streams for accuracy. We show how such counting-based SC can be applied to nonlinear functions like division. The new divider, called counting-based divider, or CBDIV, exploits both the correlation requirement of existing SC-based division methods and high efficiency of counting-based SC scheme. It essentially combines the best of two worlds in SC and the resulting division operation can be performed as a more efficient partial counting process. Experimental results show that the proposed CBDIV implemented in a 32nm technology node outperforms state of art works by 77.8% in accuracy, 37.1% in delay, 21.5% in area, 50.6% in ADP (area delay product) and 25.9% in power. CBDIV also saves 31.9% in energy consumption when compared to the fixed-point division baseline, and is much more energy efficient than existing SC-based dividers for binary inputs and outputs required in efficient image process implementations. Furthermore, CBDIV with 5-bit precision can even outperform state of art works with 7-bit precision in accuracy by 15.4%. Finally, we compare CBDIV with other state of art SC dividers in contrast stretch application and show that CBDIV can improve the accuracy with 20.6dB in average, which is a huge improvement.","PeriodicalId":210763,"journal":{"name":"2021 ACM/IEEE 3rd Workshop on Machine Learning for CAD (MLCAD)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 ACM/IEEE 3rd Workshop on Machine Learning for CAD (MLCAD)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MLCAD52597.2021.9531079","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Stochastic computing (SC) promises extremely low cost and energy efficiency for error-tolerant arithmetic operations in many emerging applications such as image processing and deep neural networks. Existing SC-based nonlinear functions like division, however, require highly correlated bit-streams, which does not fit well with the existing SC computing framework in which randomness is required for accuracy. In this paper, we propose a novel SC-based divider design based on recently proposed counting-based stochastic computing scheme, which is much more accurate and faster than traditional SC, and does not depend on randomness of bit-streams for accuracy. We show how such counting-based SC can be applied to nonlinear functions like division. The new divider, called counting-based divider, or CBDIV, exploits both the correlation requirement of existing SC-based division methods and high efficiency of counting-based SC scheme. It essentially combines the best of two worlds in SC and the resulting division operation can be performed as a more efficient partial counting process. Experimental results show that the proposed CBDIV implemented in a 32nm technology node outperforms state of art works by 77.8% in accuracy, 37.1% in delay, 21.5% in area, 50.6% in ADP (area delay product) and 25.9% in power. CBDIV also saves 31.9% in energy consumption when compared to the fixed-point division baseline, and is much more energy efficient than existing SC-based dividers for binary inputs and outputs required in efficient image process implementations. Furthermore, CBDIV with 5-bit precision can even outperform state of art works with 7-bit precision in accuracy by 15.4%. Finally, we compare CBDIV with other state of art SC dividers in contrast stretch application and show that CBDIV can improve the accuracy with 20.6dB in average, which is a huge improvement.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于计数随机计算除法的近似除法设计
在图像处理和深度神经网络等新兴应用中,随机计算(SC)为容错算术运算提供了极低的成本和能源效率。然而,现有的基于SC的非线性函数(如除法)需要高度相关的比特流,这与现有的SC计算框架(要求随机性以保证准确性)不太适合。在本文中,我们基于最近提出的基于计数的随机计算方案,提出了一种新的基于SC的分频器设计,它比传统的SC更准确和更快,并且不依赖于比特流的随机性。我们展示了这种基于计数的SC如何应用于诸如除法之类的非线性函数。基于计数的除法(CBDIV)既利用了现有基于SC的除法方法的相关性要求,又利用了基于计数的SC方案的高效率。它本质上结合了SC中最好的两个世界,由此产生的除法操作可以作为更有效的部分计数过程来执行。实验结果表明,在32nm技术节点上实现的CBDIV在精度、延迟、面积、ADP(面积延迟产品)和功耗方面分别比现有技术提高了77.8%、37.1%、21.5%和25.9%。与定点除法基线相比,CBDIV还节省了31.9%的能耗,并且在高效图像处理实现所需的二进制输入和输出方面,CBDIV比现有的基于sc的除法节能得多。此外,5位精度的CBDIV甚至比现有的7位精度的精度高出15.4%。最后,我们将CBDIV与其他最先进的SC分频器在对比拉伸应用中进行了比较,结果表明CBDIV平均提高了20.6dB的精度,这是一个巨大的进步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
ADAPT: An Adaptive Machine Learning Framework with Application to Lithography Hotspot Detection Approximate Divider Design Based on Counting-Based Stochastic Computing Division A Circuit Attention Network-Based Actor-Critic Learning Approach to Robust Analog Transistor Sizing Massive Figure Extraction and Classification in Electronic Component Datasheets for Accelerating PCB Design Preparation Fast Electrostatic Analysis For VLSI Aging based on Generative Learning
×
引用
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