利用随机计算中的随机性

Pai-Shun Ting, J. Hayes
{"title":"利用随机计算中的随机性","authors":"Pai-Shun Ting, J. Hayes","doi":"10.1109/iccad45719.2019.8942138","DOIUrl":null,"url":null,"abstract":"Stochastic computing (SC) computes with randomized bit-streams using standard logic circuits. Its defining features are low power, small area, and high fault tolerance; its drawbacks are long run times and inaccuracies due to its inherently random behavior. Consequently, much previous work has focused on improving SC performance by introducing non-random or deterministic data formats and components, often at considerable cost. However, as this paper shows, taking advantage of, or even adding to, a stochastic circuit's randomness can play a major positive role in applications like neural networks (NNs). The amount of such randomness, must however, be carefully controlled to achieve a beneficial effect without corrupting an application's functionality. The paper first discusses the use of mean square deviation (MSD) as a metric for randomness in SC. It then describes a low-cost element to control the MSD levels of stochastic signals. Finally, it examines two applications where SC can provide performance-enhancing randomness at very low cost, while retaining all the other benefits of SC. Specifically, it is shown how to improve the visual quality of black-and-white images via stochastic dithering, a technique that leverages randomness to enhance image details. Further, the paper demonstrates how the randomness of an SC-based layer makes an NN more resilient against adversarial attacks than an NN realized entirely by conventional, non-stochastic designs.","PeriodicalId":363364,"journal":{"name":"2019 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)","volume":"2011 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Exploiting Randomness in Stochastic Computing\",\"authors\":\"Pai-Shun Ting, J. Hayes\",\"doi\":\"10.1109/iccad45719.2019.8942138\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Stochastic computing (SC) computes with randomized bit-streams using standard logic circuits. Its defining features are low power, small area, and high fault tolerance; its drawbacks are long run times and inaccuracies due to its inherently random behavior. Consequently, much previous work has focused on improving SC performance by introducing non-random or deterministic data formats and components, often at considerable cost. However, as this paper shows, taking advantage of, or even adding to, a stochastic circuit's randomness can play a major positive role in applications like neural networks (NNs). The amount of such randomness, must however, be carefully controlled to achieve a beneficial effect without corrupting an application's functionality. The paper first discusses the use of mean square deviation (MSD) as a metric for randomness in SC. It then describes a low-cost element to control the MSD levels of stochastic signals. Finally, it examines two applications where SC can provide performance-enhancing randomness at very low cost, while retaining all the other benefits of SC. Specifically, it is shown how to improve the visual quality of black-and-white images via stochastic dithering, a technique that leverages randomness to enhance image details. Further, the paper demonstrates how the randomness of an SC-based layer makes an NN more resilient against adversarial attacks than an NN realized entirely by conventional, non-stochastic designs.\",\"PeriodicalId\":363364,\"journal\":{\"name\":\"2019 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)\",\"volume\":\"2011 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/iccad45719.2019.8942138\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iccad45719.2019.8942138","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

随机计算(SC)使用标准逻辑电路进行随机比特流计算。其主要特点是低功耗、小面积、高容错性;它的缺点是运行时间长,由于其固有的随机行为而不准确。因此,以前的许多工作都集中在通过引入非随机或确定性数据格式和组件来提高SC性能上,通常需要相当大的成本。然而,正如本文所示,利用甚至增加随机电路的随机性可以在神经网络(NNs)等应用中发挥重要的积极作用。但是,必须仔细控制这种随机性的数量,以便在不破坏应用程序功能的情况下获得有益的效果。本文首先讨论了使用均方偏差(MSD)作为SC中随机性的度量,然后描述了一个低成本的元素来控制随机信号的MSD水平。最后,它检查了两个应用程序,其中SC可以以非常低的成本提供性能增强的随机性,同时保留SC的所有其他好处。具体而言,它展示了如何通过随机抖动提高黑白图像的视觉质量,这是一种利用随机性增强图像细节的技术。此外,本文还展示了基于sc层的随机性如何使神经网络比完全由传统的非随机设计实现的神经网络更能抵御对抗性攻击。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Exploiting Randomness in Stochastic Computing
Stochastic computing (SC) computes with randomized bit-streams using standard logic circuits. Its defining features are low power, small area, and high fault tolerance; its drawbacks are long run times and inaccuracies due to its inherently random behavior. Consequently, much previous work has focused on improving SC performance by introducing non-random or deterministic data formats and components, often at considerable cost. However, as this paper shows, taking advantage of, or even adding to, a stochastic circuit's randomness can play a major positive role in applications like neural networks (NNs). The amount of such randomness, must however, be carefully controlled to achieve a beneficial effect without corrupting an application's functionality. The paper first discusses the use of mean square deviation (MSD) as a metric for randomness in SC. It then describes a low-cost element to control the MSD levels of stochastic signals. Finally, it examines two applications where SC can provide performance-enhancing randomness at very low cost, while retaining all the other benefits of SC. Specifically, it is shown how to improve the visual quality of black-and-white images via stochastic dithering, a technique that leverages randomness to enhance image details. Further, the paper demonstrates how the randomness of an SC-based layer makes an NN more resilient against adversarial attacks than an NN realized entirely by conventional, non-stochastic designs.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信