An Accurate and Time-Efficient Subtractor by Cross Format Coding in Stochastic Computing

Zhihuai Zhang, Weiqian Zhang, S. Xiong, Yudi Zhao
{"title":"An Accurate and Time-Efficient Subtractor by Cross Format Coding in Stochastic Computing","authors":"Zhihuai Zhang, Weiqian Zhang, S. Xiong, Yudi Zhao","doi":"10.1109/APCCAS55924.2022.10090251","DOIUrl":null,"url":null,"abstract":"Different from binary computation, stochastic computation (SC), as a new paradigm, uses stochastic bit stream (SBS) to encode data. By simplifying computing elements, the circuit area can be greatly reduced. SBS can be generated by a stochastic number generator (SNG) with a variety of formats. In this work, we use unipolar (UP) and bipolar (BP) formats to optimize the traditional SC subtractor, which is named the UP-to-BP Subtractor (UBS). A new cross format coding (CFC) method is proposed for stochastic computing, which combines the UP and BP format, and is applied to Sobel edge detection in image processing algorithms. The fault tolerance and detection efficacy of the proposed CFC method and conventional binary computing are compared in this paper. By using the CFC method, the detected F-Score is improved by 0.15(23%). If the F-score remains unchanged, the processing speed can be about 10 times faster.","PeriodicalId":243739,"journal":{"name":"2022 IEEE Asia Pacific Conference on Circuits and Systems (APCCAS)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Asia Pacific Conference on Circuits and Systems (APCCAS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/APCCAS55924.2022.10090251","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Different from binary computation, stochastic computation (SC), as a new paradigm, uses stochastic bit stream (SBS) to encode data. By simplifying computing elements, the circuit area can be greatly reduced. SBS can be generated by a stochastic number generator (SNG) with a variety of formats. In this work, we use unipolar (UP) and bipolar (BP) formats to optimize the traditional SC subtractor, which is named the UP-to-BP Subtractor (UBS). A new cross format coding (CFC) method is proposed for stochastic computing, which combines the UP and BP format, and is applied to Sobel edge detection in image processing algorithms. The fault tolerance and detection efficacy of the proposed CFC method and conventional binary computing are compared in this paper. By using the CFC method, the detected F-Score is improved by 0.15(23%). If the F-score remains unchanged, the processing speed can be about 10 times faster.
随机计算中一种精确、省时的交叉格式编码减法
与二进制计算不同,随机计算作为一种新的计算范式,采用随机比特流(SBS)对数据进行编码。通过简化计算元件,可以大大减小电路面积。SBS可以由具有多种格式的随机数字生成器(SNG)生成。在这项工作中,我们使用单极(UP)和双极(BP)格式来优化传统的SC减法器,该减法器被称为UP- BP减法器(UBS)。提出了一种结合UP和BP格式的随机计算交叉格式编码方法,并将其应用于图像处理算法中的Sobel边缘检测。本文比较了CFC方法与传统二进制计算方法的容错性和检测效率。采用CFC方法,检测到的F-Score提高了0.15(23%)。如果f分数不变,处理速度可以提高10倍左右。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信